Add neverallow for mac_override capability. It is not used by SELinux.

This commit is contained in:
Chris PeBenito 2016-01-06 09:09:36 -05:00
parent 994f605a2c
commit 2c465410d9
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
policy_module(domain, 1.13.0)
policy_module(domain, 1.13.1)
########################################
#
@ -35,6 +35,9 @@ attribute set_curr_context;
# dynamic transition, you should not be using it!!!
neverallow { domain -set_curr_context } self:process setcurrent;
# No domain needs mac_override as it is unused by SELinux.
neverallow domain self:capability2 mac_override;
# entrypoint executables
attribute entry_type;