Re: [PATCH v3 2/2] selinux: move context hashing under sidtab

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

 



On Fri, Apr 17, 2020 at 4:12 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
>
> Now that context hash computation no longer depends on policydb, we can
> simplify things by moving the context hashing completely under sidtab.
> The hash is still cached in sidtab entries, but not for the in-flight
> context structures.
>
> Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
> ---
>  security/selinux/ss/context.h  | 11 +------
>  security/selinux/ss/policydb.c |  2 --
>  security/selinux/ss/services.c | 59 +++++++++++++++-------------------
>  security/selinux/ss/sidtab.c   | 32 ++++++++++--------
>  security/selinux/ss/sidtab.h   |  1 +
>  5 files changed, 47 insertions(+), 58 deletions(-)

Merged into selinux/next, thanks.

-- 
paul moore
www.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