aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2014-09-01 22:02:48 +0200
committerSven Vermeulen <sven.vermeulen@siphos.be>2014-09-01 22:02:48 +0200
commitc1a2275dd401ad5c2fc58916c3e33dcdaa00deba (patch)
treeffc6824885c723fca2ba79af940dfee0bacca25b
parentPython-exec wrappers has scripts in specific location, mark those as bin_t (diff)
downloadhardened-refpolicy-c1a2275dd401ad5c2fc58916c3e33dcdaa00deba.tar.gz
hardened-refpolicy-c1a2275dd401ad5c2fc58916c3e33dcdaa00deba.tar.bz2
hardened-refpolicy-c1a2275dd401ad5c2fc58916c3e33dcdaa00deba.zip
Courier authdaemon default socket location is in /var/lib
-rw-r--r--policy/modules/contrib/courier.fc5
1 files changed, 5 insertions, 0 deletions
diff --git a/policy/modules/contrib/courier.fc b/policy/modules/contrib/courier.fc
index 2f017a076..c0f288be1 100644
--- a/policy/modules/contrib/courier.fc
+++ b/policy/modules/contrib/courier.fc
@@ -30,3 +30,8 @@
/var/spool/authdaemon(/.*)? gen_context(system_u:object_r:courier_spool_t,s0)
/var/spool/courier(/.*)? gen_context(system_u:object_r:courier_spool_t,s0)
+
+ifdef(`distro_gentoo',`
+# Default location for authdaemon socket, should be /var/run imo but meh
+/var/lib/courier/authdaemon(/.*)? gen_context(system_u:object_r:courier_var_run_t,s0)
+')