aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominick Grift <dominick.grift@gmail.com>2012-10-01 09:52:36 +0200
committerSven Vermeulen <sven.vermeulen@siphos.be>2012-10-02 20:05:53 +0200
commit96b4fba13ba34b1a70bbf39a8a374e34712d8bab (patch)
tree7efae43b4e14be9e6f126e4a700648704e56f03a /policy/modules/contrib/fetchmail.fc
parentfcoemon XML clean up (diff)
downloadhardened-refpolicy-96b4fba13ba34b1a70bbf39a8a374e34712d8bab.tar.gz
hardened-refpolicy-96b4fba13ba34b1a70bbf39a8a374e34712d8bab.tar.bz2
hardened-refpolicy-96b4fba13ba34b1a70bbf39a8a374e34712d8bab.zip
Changes to the fetchmail policy module
Ported from Fedora with changes Added init script file type Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
Diffstat (limited to 'policy/modules/contrib/fetchmail.fc')
-rw-r--r--policy/modules/contrib/fetchmail.fc22
1 files changed, 8 insertions, 14 deletions
diff --git a/policy/modules/contrib/fetchmail.fc b/policy/modules/contrib/fetchmail.fc
index 39928d5a1..5e3e57cc1 100644
--- a/policy/modules/contrib/fetchmail.fc
+++ b/policy/modules/contrib/fetchmail.fc
@@ -1,19 +1,13 @@
+HOME_DIR/\.fetchmailrc -- gen_context(system_u:object_r:fetchmail_home_t,s0)
-#
-# /etc
-#
+/etc/fetchmailrc -- gen_context(system_u:object_r:fetchmail_etc_t,s0)
-/etc/fetchmailrc -- gen_context(system_u:object_r:fetchmail_etc_t,s0)
+/etc/rc\.d/init\.d/fetchmail -- gen_context(system_u:object_r:fetchmail_initrc_exec_t,s0)
-#
-# /usr
-#
+/usr/bin/fetchmail -- gen_context(system_u:object_r:fetchmail_exec_t,s0)
-/usr/bin/fetchmail -- gen_context(system_u:object_r:fetchmail_exec_t,s0)
+/var/lib/fetchmail(/.*)? gen_context(system_u:object_r:fetchmail_uidl_cache_t,s0)
-#
-# /var
-#
-/var/lib/fetchmail(/.*)? gen_context(system_u:object_r:fetchmail_uidl_cache_t,s0)
-/var/mail/\.fetchmail-UIDL-cache -- gen_context(system_u:object_r:fetchmail_uidl_cache_t,s0)
-/var/run/fetchmail/.* -- gen_context(system_u:object_r:fetchmail_var_run_t,s0)
+/var/mail/\.fetchmail-UIDL-cache -- gen_context(system_u:object_r:fetchmail_uidl_cache_t,s0)
+
+/var/run/fetchmail/.* -- gen_context(system_u:object_r:fetchmail_var_run_t,s0)