[PATCH 0/3] security: replace __get_free_pages() call with kmalloc()
Mike Rapoport (Microsoft)
rppt at kernel.org
Wed May 20 08:18:54 UTC 2026
This is a (tiny) part of larger work of replacing page allocator calls
with kmalloc:
Also in git:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git gfp-to-kmalloc/security
Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
---
Mike Rapoport (Microsoft) (3):
selinux: use k[mz]alloc() to allocate temporary buffers
selinux: hooks: use __getname() to allocate path buffer
apparmor: replace get_zeroed_page() with kzalloc()
security/apparmor/apparmorfs.c | 5 +++--
security/selinux/hooks.c | 4 ++--
security/selinux/selinuxfs.c | 12 ++++++------
3 files changed, 11 insertions(+), 10 deletions(-)
---
base-commit: 5d6919055dec134de3c40167a490f33c74c12581
change-id: 20260520-security-6cdd60da7129
Best regards,
--
Sincerely yours,
Mike.
More information about the Linux-security-module-archive
mailing list