All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 24/34]: patch to add a file context for /sbin/upstart
@ 2011-02-16  6:28 Guido Trentalancia
  2011-02-28 14:31 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Guido Trentalancia @ 2011-02-16  6:28 UTC (permalink / raw)
  To: refpolicy

This patch adds a file context for /sbin/upstart.

diff -pruN -x booleans.conf -x corenetwork.if -x corenetwork.te -x modules.conf refpolicy-git-02022011/policy/modules/system/init.fc refpolicy-git-02022011-new/policy/modules/system/init.fc
--- refpolicy-git-02022011/policy/modules/system/init.fc	2011-01-08 19:07:21.350758412 +0100
+++ refpolicy-git-02022011-new/policy/modules/system/init.fc	2011-01-26 01:40:07.111333360 +0100
@@ -34,6 +34,8 @@ ifdef(`distro_gentoo', `
 # /sbin
 #
 /sbin/init(ng)?		--	gen_context(system_u:object_r:init_exec_t,s0)
+# because nowadays, /sbin/init is often a symlink to /sbin/upstart
+/sbin/upstart		--	gen_context(system_u:object_r:init_exec_t,s0)
 
 ifdef(`distro_gentoo', `
 /sbin/rc		--	gen_context(system_u:object_r:initrc_exec_t,s0)

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

end of thread, other threads:[~2011-02-28 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16  6:28 [refpolicy] [PATCH 24/34]: patch to add a file context for /sbin/upstart Guido Trentalancia
2011-02-28 14:31 ` 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.