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