From: Luis Ressel <aranea@aixah.de>
To: selinux-refpolicy@vger.kernel.org
Subject: [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute
Date: Sat, 27 Oct 2018 15:03:20 +0200 [thread overview]
Message-ID: <20181027130320.3010-1-aranea@aixah.de> (raw)
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
next reply other threads:[~2018-10-27 13:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-27 13:03 Luis Ressel [this message]
2018-10-27 19:11 ` [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute Chris PeBenito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181027130320.3010-1-aranea@aixah.de \
--to=aranea@aixah.de \
--cc=selinux-refpolicy@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).