summaryrefslogtreecommitdiffstats
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2017-10-12 02:57:08 +0200
committerJames Morris <james.l.morris@oracle.com>2017-10-20 06:22:44 +0200
commit9304b46c912d65a103a68f093b456ba3c02dca3b (patch)
tree7ff1e1cf15cee3bf54b31956977c4133fb3ca751 /mm/mempool.c
parentcapabilities: rename has_cap to has_fcap (diff)
downloadlinux-9304b46c912d65a103a68f093b456ba3c02dca3b.tar.xz
linux-9304b46c912d65a103a68f093b456ba3c02dca3b.zip
capabilities: use root_priveleged inline to clarify logic
Introduce inline root_privileged() to make use of SECURE_NONROOT easier to read. Suggested-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Reviewed-by: Serge Hallyn <serge@hallyn.com> Acked-by: James Morris <james.l.morris@oracle.com> Acked-by: Kees Cook <keescook@chromium.org> Okay-ished-by: Paul Moore <paul@paul-moore.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions