aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVilgot Fredenberg <vilgot@fredenberg.xyz>2020-01-25 12:40:08 +0100
committerJason Zaman <perfinion@gentoo.org>2020-02-15 15:30:57 +0800
commit58d7998ff5e68c3160d5a4bf87f55d0a07aa9f50 (patch)
tree7779ed441a188aeb258b33f0dbfa38dbfc8b0477
parentAllow pulseaudio to watch generic device directories. (diff)
downloadhardened-refpolicy-58d7998ff5e68c3160d5a4bf87f55d0a07aa9f50.tar.gz
hardened-refpolicy-58d7998ff5e68c3160d5a4bf87f55d0a07aa9f50.tar.bz2
hardened-refpolicy-58d7998ff5e68c3160d5a4bf87f55d0a07aa9f50.zip
Remove obsolete gentoo specific rule
Looking at all audit versions in gentoo (2.8.5 to 2.6.4) every single one of them has `var/log/audit` as a directory and not as a file. Tested on gentoo. Signed-off-by: Jason Zaman <perfinion@gentoo.org>
-rw-r--r--policy/modules/system/logging.fc4
1 files changed, 0 insertions, 4 deletions
diff --git a/policy/modules/system/logging.fc b/policy/modules/system/logging.fc
index 6390510d..0cc7519e 100644
--- a/policy/modules/system/logging.fc
+++ b/policy/modules/system/logging.fc
@@ -63,10 +63,6 @@ ifdef(`distro_suse', `
/var/log/audit(/.*)? gen_context(system_u:object_r:auditd_log_t,mls_systemhigh)
/var/log/syslog-ng(/.*)? gen_context(system_u:object_r:syslogd_runtime_t,mls_systemhigh)
-ifndef(`distro_gentoo',`
-/var/log/audit\.log -- gen_context(system_u:object_r:auditd_log_t,mls_systemhigh)
-')
-
ifdef(`distro_redhat',`
/var/named/chroot/var/log -d gen_context(system_u:object_r:var_log_t,s0)
/var/named/chroot/dev/log -s gen_context(system_u:object_r:devlog_t,s0)