diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2017-10-11 20:57:08 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-10-20 15:22:44 +1100 |
commit | 9304b46c912d65a103a68f093b456ba3c02dca3b (patch) | |
tree | 7ff1e1cf15cee3bf54b31956977c4133fb3ca751 /certs | |
parent | fc7eadf768a3e2c062e52eea89b52a0076d53b0c (diff) | |
download | linux-stable-9304b46c912d65a103a68f093b456ba3c02dca3b.tar.gz linux-stable-9304b46c912d65a103a68f093b456ba3c02dca3b.tar.bz2 linux-stable-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 'certs')
0 files changed, 0 insertions, 0 deletions