From: bigon@debian.org (Laurent Bigonville) Date: Wed, 29 Jan 2014 22:15:44 +0100 Subject: [refpolicy] [PATCH v2] Add fcontext for rsyslog pidfile Message-ID: <1391030144-24506-1-git-send-email-bigon@debian.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com From: Laurent Bigonville --- policy/modules/system/logging.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/logging.fc b/policy/modules/system/logging.fc index b50c5fe..e30f25c 100644 --- a/policy/modules/system/logging.fc +++ b/policy/modules/system/logging.fc @@ -62,6 +62,7 @@ ifdef(`distro_redhat',` /var/run/klogd\.pid -- gen_context(system_u:object_r:klogd_var_run_t,s0) /var/run/log -s gen_context(system_u:object_r:devlog_t,s0) /var/run/metalog\.pid -- gen_context(system_u:object_r:syslogd_var_run_t,s0) +/var/run/rsyslogd\.pid -- gen_context(system_u:object_r:syslogd_var_run_t,mls_systemhigh) /var/run/syslogd\.pid -- gen_context(system_u:object_r:syslogd_var_run_t,mls_systemhigh) /var/run/syslog-ng.ctl -- gen_context(system_u:object_r:syslogd_var_run_t,s0) /var/run/syslog-ng(/.*)? gen_context(system_u:object_r:syslogd_var_run_t,s0) -- 1.9.rc1