diff options
| author | Eric Suen <[email protected]> | 2024-08-27 17:40:03 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2024-08-27 22:42:27 +0000 |
| commit | 4ad858bd6fbe21c563f177d499da5f99b4b2480e (patch) | |
| tree | 437609c3b30f4212a01b050a54aee393bbb270f5 /security/selinux/hooks.c | |
| parent | selinux: annotate false positive data race to avoid KCSAN warnings (diff) | |
| download | kernel-4ad858bd6fbe21c563f177d499da5f99b4b2480e.tar.gz kernel-4ad858bd6fbe21c563f177d499da5f99b4b2480e.zip | |
selinux: replace kmem_cache_create() with KMEM_CACHE()
Based on guidance in include/linux/slab.h, replace kmem_cache_create()
with KMEM_CACHE() for sources under security/selinux to simplify creation
of SLAB caches.
Signed-off-by: Eric Suen <[email protected]>
[PM: minor grammar nits in the description]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
