Re: [PATCH RFC v2 8/22] selinux: avoid unnecessary indirection in struct level_datum
From: Paul Moore
Date: Tue Jan 07 2025 - 22:01:14 EST
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