All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Add several fcontext for debian specific paths for ntp
@ 2014-03-03 22:59 Laurent Bigonville
  2014-03-14 15:12 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Bigonville @ 2014-03-03 22:59 UTC (permalink / raw)
  To: refpolicy

From: Laurent Bigonville <bigon@bigon.be>

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740656
---
 ntp.fc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ntp.fc b/ntp.fc
index af3c91e..6682163 100644
--- a/ntp.fc
+++ b/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)
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-14 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 22:59 [refpolicy] [PATCH] Add several fcontext for debian specific paths for ntp Laurent Bigonville
2014-03-14 15:12 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.