selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add missing require for 'daemon' attribute.
@ 2018-12-07  0:04 David Sugar
  2018-12-11 22:53 ` Chris PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: David Sugar @ 2018-12-07  0:04 UTC (permalink / raw)
  To: selinux-refpolicy

Not sure how I didn't notice this missing require before.

Signed-off-by: Dave Sugar <dsugar@tresys.com>
---
 policy/modules/system/init.if | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if
index 2e74b515..c3c0cf27 100644
--- a/policy/modules/system/init.if
+++ b/policy/modules/system/init.if
@@ -204,6 +204,7 @@ interface(`init_spec_daemon_domain',`
 	gen_require(`
 		type init_t;
 		role system_r;
+		attribute daemon;
 	')
 
 	typeattribute $1 daemon;
-- 
2.19.2


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

end of thread, other threads:[~2018-12-11 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-07  0:04 [PATCH] Add missing require for 'daemon' attribute David Sugar
2018-12-11 22:53 ` Chris PeBenito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).