Skip to content

selinux: Clean up GFP flag usage

Ondrej Mosnacek selinux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selinux: switch unnecessary GFP_ATOMIC allocs to GFP_KERNELsecurity/selinux/hooks.c security/selinux/ss/policydb.c security/selinux/ss/services.c+10 -107 replies
2/2selinux: drop the gfp_t argument from str_read()security/selinux/ss/policydb.c+18 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] selinux: Clean up GFP flag usage

This series corrects a few places where GFP_ATOMIC was used instead of GFP_KERNEL for no reason and removes the no longer needed GFP flag argument from str_read().

v2: convert a few more occurences found in services.c

Ondrej Mosnacek (2):
selinux: switch unnecessary GFP_ATOMIC allocs to GFP_KERNEL
selinux: drop the gfp_t argument from str_read()

 security/selinux/hooks.c       |  6 ++---
 security/selinux/ss/policydb.c | 42 +++++++++++++++++-----------------
 security/selinux/ss/services.c |  4 ++--
 3 files changed, 26 insertions(+), 26 deletions(-)
Signature · 1 line
2.26.2