policy: add new permission setsuid to file class
PATCH 1/1 policy: add new permission setsuid to file class
Add a new permission to the file class and a corresponding policy capability. This is checked any time chmod is called and the suid or sgid bits are set or will be set on that file. This does not enable the permission in policy, only defines it.
Signed-off-by Eric Paris <[email protected]>
---
policy/flask/access_vectors +1 -0
@@ -135,6 +135,7 @@ inherits file entrypoint execmod open + setsuid } class lnk_file
policy/policy_capabilities +7 -0
@@ -31,3 +31,10 @@ # blk_file: open # #policycap open_perms; + +# Enable additional acces controls for setting suid and sguid +# +# Checks enabled: +# file: setsuid +# +#policycap setsuid_perms;
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.