Skip to contentSkip to conversation

system/init: Give init_spec_daemon_domain()s the "daemon" attribute

PATCH In review Luis Ressel 2 participants 2 messages Oct 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 system/init: Give init_spec_daemon_domain()s the "daemon" attribute

init_daemon_domain() applies this attribute too.

---
 policy/modules/system/init.if | 2 ++
 1 file changed, 2 insertions(+)
policy/modules/system/init.if +2 -0
index bd5fe207..2e74b515 100644
@@ -206,6 +206,8 @@ interface(`init_spec_daemon_domain',`
 		role system_r;
 	')
 
+	typeattribute $1 daemon;
+
 	domain_type($1)
 	domain_entry_file($1, $2)
 
Signature · 1 line
2.19.1
#1 lore raw
Quoted 10 lines · Luis Ressel

init_daemon_domain() applies this attribute too.

---
  policy/modules/system/init.if | 2 ++
  1 file changed, 2 insertions(+)
policy/modules/system/init.if +0 -0
index bd5fe207..2e74b515 100644

policy/modules/system/init.if interface(`init_spec_daemon_domain',` · line 212

Quoted 7 lines
policy/modules/system/init.if +2 -0
@@ -206,6 +206,8 @@ interface(`init_spec_daemon_domain',`
  		role system_r;
  	')
 
+	typeattribute $1 daemon;
+
  	domain_type($1)
  	domain_entry_file($1, $2)

Merged.

Signature · 1 line
Chris PeBenito