SELinux-Refpolicy Archive on lore.kernel.org
 help / Atom feed
* [PATCH] Add missing require for 'daemon' attribute.
@ 2018-12-07  0:04 David Sugar
  2018-12-11 22:53 ` Chris PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: David Sugar @ 2018-12-07  0:04 UTC (permalink / raw)
  To: selinux-refpolicy

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

Signed-off-by: Dave Sugar <dsugar@tresys.com>
---
 policy/modules/system/init.if | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if
index 2e74b515..c3c0cf27 100644
--- a/policy/modules/system/init.if
+++ b/policy/modules/system/init.if
@@ -204,6 +204,7 @@ interface(`init_spec_daemon_domain',`
 	gen_require(`
 		type init_t;
 		role system_r;
+		attribute daemon;
 	')
 
 	typeattribute $1 daemon;
-- 
2.19.2


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

* Re: [PATCH] Add missing require for 'daemon' attribute.
  2018-12-07  0:04 [PATCH] Add missing require for 'daemon' attribute David Sugar
@ 2018-12-11 22:53 ` Chris PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Chris PeBenito @ 2018-12-11 22:53 UTC (permalink / raw)
  To: David Sugar, selinux-refpolicy

On 12/6/18 7:04 PM, David Sugar wrote:
> Not sure how I didn't notice this missing require before.
> 
> Signed-off-by: Dave Sugar <dsugar@tresys.com>
> ---
>   policy/modules/system/init.if | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if
> index 2e74b515..c3c0cf27 100644
> --- a/policy/modules/system/init.if
> +++ b/policy/modules/system/init.if
> @@ -204,6 +204,7 @@ interface(`init_spec_daemon_domain',`
>   	gen_require(`
>   		type init_t;
>   		role system_r;
> +		attribute daemon;
>   	')
>   
>   	typeattribute $1 daemon;

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-12-07  0:04 [PATCH] Add missing require for 'daemon' attribute David Sugar
2018-12-11 22:53 ` 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