commit: 1e65313c840ddcb30577cc8bc51859e0a0717378 Author: Laurent Bigonville <bigon <AT> bigon <DOT> be> AuthorDate: Mon Mar 3 22:59:40 2014 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> CommitDate: Mon Mar 17 08:17:19 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1e65313c
Add several fcontext for debian specific paths for ntp https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740656 --- policy/modules/contrib/ntp.fc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/ntp.fc b/policy/modules/contrib/ntp.fc index af3c91e..6682163 100644 --- a/policy/modules/contrib/ntp.fc +++ b/policy/modules/contrib/ntp.fc @@ -1,13 +1,15 @@ +/etc/cron\.daily/ntp -- gen_context(system_u:object_r:ntpd_exec_t,s0) /etc/cron\.(daily|weekly)/ntp-simple -- gen_context(system_u:object_r:ntpd_exec_t,s0) /etc/cron\.(daily|weekly)/ntp-server -- gen_context(system_u:object_r:ntpd_exec_t,s0) +/etc/ntp\.conf -- gen_context(system_u:object_r:ntp_conf_t,s0) /etc/ntpd.*\.conf.* -- gen_context(system_u:object_r:ntp_conf_t,s0) /etc/ntp/crypto(/.*)? gen_context(system_u:object_r:ntpd_key_t,s0) /etc/ntp/data(/.*)? gen_context(system_u:object_r:ntp_drift_t,s0) /etc/ntp/keys -- gen_context(system_u:object_r:ntpd_key_t,s0) /etc/ntp/step-tickers.* -- gen_context(system_u:object_r:ntp_conf_t,s0) -/etc/rc\.d/init\.d/ntpd -- gen_context(system_u:object_r:ntpd_initrc_exec_t,s0) +/etc/rc\.d/init\.d/ntpd? -- gen_context(system_u:object_r:ntpd_initrc_exec_t,s0) /usr/sbin/ntpd -- gen_context(system_u:object_r:ntpd_exec_t,s0) /usr/sbin/ntpdate -- gen_context(system_u:object_r:ntpdate_exec_t,s0)
