SELinux-Refpolicy Archive on lore.kernel.org
 help / 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	[flat|nested] 2+ messages in thread

* Re: [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Chris PeBenito @ 2018-10-27 19:11 UTC (permalink / raw)
  To: Luis Ressel, selinux-refpolicy

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

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

end of thread, back to index

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

SELinux-Refpolicy Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux-refpolicy/0 selinux-refpolicy/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux-refpolicy selinux-refpolicy/ https://lore.kernel.org/selinux-refpolicy \
		selinux-refpolicy@vger.kernel.org selinux-refpolicy@archiver.kernel.org
	public-inbox-index selinux-refpolicy


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux-refpolicy


AGPL code for this site: git clone https://public-inbox.org/ public-inbox