2018-10-27 13:03:23

by Mira Ressel

[permalink] [raw]
Subject: [PATCH] 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(+)

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



2018-10-27 19:11:35

by Chris PeBenito

[permalink] [raw]
Subject: Re: [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute

On 10/27/2018 09:03 AM, Luis Ressel wrote:
> 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)

Merged.

--
Chris PeBenito