Skip to contentSkip to conversation

Add missing require for 'daemon' attribute.

PATCH In review David Sugar 2 participants 2 messages Dec 7, 2018 – Dec 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing require for 'daemon' attribute.

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

---
 policy/modules/system/init.if | 1 +
 1 file changed, 1 insertion(+)
policy/modules/system/init.if +1 -0
index 2e74b515..c3c0cf27 100644
@@ -204,6 +204,7 @@ interface(`init_spec_daemon_domain',`
 	gen_require(`
 		type init_t;
 		role system_r;
+		attribute daemon;
 	')
 
 	typeattribute $1 daemon;
Signature · 1 line
2.19.2
#1 lore raw
Quoted 12 lines · David Sugar

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

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

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

Quoted 7 lines
policy/modules/system/init.if +1 -0
@@ -204,6 +204,7 @@ interface(`init_spec_daemon_domain',`
  	gen_require(`
  		type init_t;
  		role system_r;
+		attribute daemon;
  	')
 
  	typeattribute $1 daemon;

Merged.

Signature · 1 line
Chris PeBenito