diff options
author | Sven Vermeulen <sven.vermeulen@siphos.be> | 2014-11-11 14:33:21 +0100 |
---|---|---|
committer | Sven Vermeulen <sven.vermeulen@siphos.be> | 2014-11-11 14:33:21 +0100 |
commit | f849d7e0c29175d717cb3addf4285ce09a20c2bb (patch) | |
tree | 82a6e3e217045cf3bca7b6b4027daeda1240eb65 /policy/modules/contrib/cron.fc | |
parent | Add manual pages for munin SELinux policy, supports bug #526532 (diff) | |
download | hardened-refpolicy-f849d7e0c29175d717cb3addf4285ce09a20c2bb.tar.gz hardened-refpolicy-f849d7e0c29175d717cb3addf4285ce09a20c2bb.tar.bz2 hardened-refpolicy-f849d7e0c29175d717cb3addf4285ce09a20c2bb.zip |
Force munin crontab to be system_u (define context), fix bug #526532
Diffstat (limited to 'policy/modules/contrib/cron.fc')
-rw-r--r-- | policy/modules/contrib/cron.fc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/policy/modules/contrib/cron.fc b/policy/modules/contrib/cron.fc index 266a439db..590908c89 100644 --- a/policy/modules/contrib/cron.fc +++ b/policy/modules/contrib/cron.fc @@ -60,3 +60,7 @@ ifdef(`distro_suse',` /var/spool/cron/lastrun/[^/]* -- <<none>> /var/spool/cron/tabs -d gen_context(system_u:object_r:cron_spool_t,s0) ') + +ifdef(`distro_gentoo',` +/var/spool/cron/crontabs/munin -- gen_context(system_u:object_r:system_cron_spool_t,s0) +') |