1 |
commit: 32884aa76d0438d43b8dc42acfe4c17443690d69 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Aug 31 16:06:57 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 31 16:06:57 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=32884aa7 |
7 |
|
8 |
Courier imapd creates pid in /var/run by default |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/courier.te | 4 ++++ |
12 |
1 file changed, 4 insertions(+) |
13 |
|
14 |
diff --git a/policy/modules/contrib/courier.te b/policy/modules/contrib/courier.te |
15 |
index 5660ef5..11aad5a 100644 |
16 |
--- a/policy/modules/contrib/courier.te |
17 |
+++ b/policy/modules/contrib/courier.te |
18 |
@@ -217,6 +217,10 @@ ifdef(`distro_gentoo',` |
19 |
# |
20 |
# Courier tcpd daemon policy |
21 |
# |
22 |
+ |
23 |
+ # Startup of courier-imapd creates /var/run/imapd.pid.lock and imapd.lock |
24 |
+ files_pid_filetrans(courier_tcpd_t, courier_var_run_t, file) |
25 |
+ |
26 |
courier_authdaemon_stream_connect(courier_tcpd_t) |
27 |
courier_domtrans_authdaemon(courier_tcpd_t) |
28 |
') |