commit: 793b9316c684d5e8474cb9f520dfa86016c1e930
Author: Guido Trentalancia via refpolicy <refpolicy <AT> oss <DOT> tresys
<DOT> com>
AuthorDate: Thu Dec 29 22:07:36 2016 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jan 1 16:31:26 2017 +0000
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=793b9316
sysadm: add the shutdown role
Add the shutdown role interface call to the sysadm role module.
Signed-off-by: Guido Trentalancia <guido <AT> trentalancia.net>
policy/modules/roles/sysadm.te | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index f7b3518..2a129bd 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -991,6 +991,10 @@ optional_policy(`
')
optional_policy(`
+ shutdown_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
slpd_admin(sysadm_t, sysadm_r)
')