diff options
| author | Kunwu Chan <[email protected]> | 2024-02-23 10:16:12 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2024-02-23 22:33:31 +0000 |
| commit | edc6670233a333ccfd1ec0548f068bd121d209c8 (patch) | |
| tree | cfb528410ff58ffd71f4fb570dfcd3b6106c961e /security/selinux/hooks.c | |
| parent | lsm: use default hook return value in call_int_hook() (diff) | |
| download | kernel-edc6670233a333ccfd1ec0548f068bd121d209c8.tar.gz kernel-edc6670233a333ccfd1ec0548f068bd121d209c8.zip | |
cred: Use KMEM_CACHE() instead of kmem_cache_create()
Commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro. Use the new KMEM_CACHE() macro instead of
direct kmem_cache_create() to simplify the creation of SLAB caches.
Signed-off-by: Kunwu Chan <[email protected]>
[PM: alignment fixes in both code and description]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
