diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2017-10-11 20:57:05 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-10-20 15:22:43 +1100 |
commit | db1a8922cf3f0b936595ba41774fe4b66adf091a (patch) | |
tree | 4037669ca131379ee303fa457b461e6ba8c542f7 /scripts/setlocalversion | |
parent | 33957a104c86985f087b08a363590a948c9ff08c (diff) | |
download | talos-obmc-linux-db1a8922cf3f0b936595ba41774fe4b66adf091a.tar.gz talos-obmc-linux-db1a8922cf3f0b936595ba41774fe4b66adf091a.zip |
capabilities: factor out cap_bprm_set_creds privileged root
Factor out the case of privileged root from the function
cap_bprm_set_creds() to make the latter easier to read and analyse.
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 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions