[PATCH 0/3] security: replace __get_free_pages() call with kmalloc()

Mike Rapoport (Microsoft) posted 3 patches 4 days, 15 hours ago
security/apparmor/apparmorfs.c |  5 +++--
security/selinux/hooks.c       |  4 ++--
security/selinux/selinuxfs.c   | 12 ++++++------
3 files changed, 11 insertions(+), 10 deletions(-)
[PATCH 0/3] security: replace __get_free_pages() call with kmalloc()
Posted by Mike Rapoport (Microsoft) 4 days, 15 hours ago
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@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.