Re: [PATCH] selinux: replace kmem_cache_create() with KMEM_CACHE()

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

 



On Aug 27, 2024 ericsu@xxxxxxxxxxxxxxxxxxx wrote:
> 
> Based on guidance in include/linux/slab.h, replace kmem_cache_create()
> with KMEM_CACHE() for sources under security/selinux, to simply creation
> of SLAB caches.
> 
> Signed-off-by: Eric Suen <ericsu@xxxxxxxxxxxxxxxxxxx>
> ---
>  security/selinux/avc.c        | 16 ++++------------
>  security/selinux/ss/avtab.c   |  7 ++-----
>  security/selinux/ss/ebitmap.c |  4 +---
>  security/selinux/ss/hashtab.c |  4 +---
>  4 files changed, 8 insertions(+), 23 deletions(-)

Looks good to me, merged into selinux/dev, thanks Eric!

--
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