1 |
commit: d81279d70b3b2ffeb584878e42ad227e81dca5cd |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Oct 28 17:55:24 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sun Oct 28 17:55:24 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d81279d7 |
7 |
|
8 |
Adding admin interfaces |
9 |
|
10 |
Adding additional administrative interfaces to the sysadm role. Using the |
11 |
"bottom" of the file (with an ifdef on our distribution), hopefully making it |
12 |
easier to track upstream while still manipulating our own sets. |
13 |
|
14 |
--- |
15 |
policy/modules/roles/sysadm.te | 8 ++++++++ |
16 |
1 files changed, 8 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te |
19 |
index 56163f4..a1ac439 100644 |
20 |
--- a/policy/modules/roles/sysadm.te |
21 |
+++ b/policy/modules/roles/sysadm.te |
22 |
@@ -538,6 +538,14 @@ ifndef(`distro_redhat',` |
23 |
|
24 |
ifdef(`distro_gentoo',` |
25 |
optional_policy(` |
26 |
+ dovecot_admin(sysadm_t, sysadm_r) |
27 |
+ ') |
28 |
+ |
29 |
+ optional_policy(` |
30 |
+ fail2ban_run_client(sysadm_t, sysadm_r) |
31 |
+ ') |
32 |
+ |
33 |
+ optional_policy(` |
34 |
shorewall_admin(sysadm_t, sysadm_r) |
35 |
') |
36 |
') |