1 |
commit: a112724e4000453bd4b71d357b7eab790a44ac07 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Tue Dec 30 20:45:32 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 30 20:45:32 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=a112724e |
7 |
|
8 |
Use auth_use_pam in courier |
9 |
|
10 |
The auth_use_pam() method now includes the proper privileges to check |
11 |
the SELinux state. As courier is using PAM, this makes the policy easier |
12 |
to update (manageability) and the reason for the rules are then better |
13 |
documented. |
14 |
|
15 |
--- |
16 |
policy/modules/contrib/courier.te | 3 ++- |
17 |
1 file changed, 2 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/policy/modules/contrib/courier.te b/policy/modules/contrib/courier.te |
20 |
index ba0545c..d59f878 100644 |
21 |
--- a/policy/modules/contrib/courier.te |
22 |
+++ b/policy/modules/contrib/courier.te |
23 |
@@ -217,5 +217,6 @@ ifdef(`distro_gentoo',` |
24 |
# |
25 |
|
26 |
# Grant authdaemon getattr rights on security_t so that it can check if SELinux is enabled (needed through pam support) (bug 534030) |
27 |
- selinux_getattr_fs(courier_authdaemon_t) |
28 |
+ # selinux_getattr_fs(courier_authdaemon_t) |
29 |
+ auth_use_pam(courier_authdaemon_t) |
30 |
') |