All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute
@ 2018-10-27 13:03 Luis Ressel
  2018-10-27 19:11 ` Chris PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Ressel @ 2018-10-27 13:03 UTC (permalink / raw)
  To: selinux-refpolicy

init_daemon_domain() applies this attribute too.
---
 policy/modules/system/init.if | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if
index bd5fe207..2e74b515 100644
--- a/policy/modules/system/init.if
+++ b/policy/modules/system/init.if
@@ -206,6 +206,8 @@ interface(`init_spec_daemon_domain',`
 		role system_r;
 	')
 
+	typeattribute $1 daemon;
+
 	domain_type($1)
 	domain_entry_file($1, $2)
 
-- 
2.19.1


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

end of thread, other threads:[~2018-10-27 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-27 13:03 [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute Luis Ressel
2018-10-27 19:11 ` Chris 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.