Re: [PATCH RFC v2 8/22] selinux: avoid unnecessary indirection in struct level_datum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 16, 2024 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@xxxxxxxxxxxxx> wrote:
> 
> Store the owned member of type struct mls_level directly in the parent
> struct instead of an extra heap allocation.
> 
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
>  security/selinux/ss/mls.c      |  6 +++---
>  security/selinux/ss/policydb.c | 19 ++++++-------------
>  security/selinux/ss/policydb.h |  2 +-
>  3 files changed, 10 insertions(+), 17 deletions(-)

Merged into selinux/dev, thanks.

--
paul-moore.com




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux