From: "Jason Zaman" <gentoo@perfinion.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:userroles commit in: policy/modules/roles/
Date: Tue, 2 Dec 2014 14:19:05 +0000 (UTC) [thread overview]
Message-ID: <1417529815.d47a85f8cabba8dbde87875d61a500a55bbd663e.perfinion@gentoo> (raw)
commit: d47a85f8cabba8dbde87875d61a500a55bbd663e
Author: Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Tue Dec 2 11:14:38 2014 +0000
Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com>
CommitDate: Tue Dec 2 14:16:55 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d47a85f8
Add missing roles interfaces
Some interfaces were missing from staff_r and user_r, this adds them in
---
policy/modules/roles/staff.te | 16 ++++++++++++++++
policy/modules/roles/unprivuser.te | 16 ++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
index 1d4b3e0..1a867f0 100644
--- a/policy/modules/roles/staff.te
+++ b/policy/modules/roles/staff.te
@@ -188,6 +188,14 @@ ifndef(`distro_redhat',`
ifdef(`distro_gentoo',`
optional_policy(`
+ android_role(staff_r, staff_t)
+ ')
+
+ optional_policy(`
+ at_role(staff_r, staff_t)
+ ')
+
+ optional_policy(`
chromium_role(staff_r, staff_t)
')
@@ -230,4 +238,12 @@ ifdef(`distro_gentoo',`
optional_policy(`
skype_role(staff_r, staff_t)
')
+
+ optional_policy(`
+ wine_role(staff_r, staff_t)
+ ')
+
+ optional_policy(`
+ xscreensaver_role(staff_r, staff_t)
+ ')
')
diff --git a/policy/modules/roles/unprivuser.te b/policy/modules/roles/unprivuser.te
index c171833..e349a03 100644
--- a/policy/modules/roles/unprivuser.te
+++ b/policy/modules/roles/unprivuser.te
@@ -173,6 +173,14 @@ ifndef(`distro_redhat',`
ifdef(`distro_gentoo',`
optional_policy(`
+ android_role(user_r, user_t)
+ ')
+
+ optional_policy(`
+ at_role(user_r, user_t)
+ ')
+
+ optional_policy(`
chromium_role(user_r, user_t)
')
@@ -211,4 +219,12 @@ ifdef(`distro_gentoo',`
optional_policy(`
skype_role(user_r, user_t)
')
+
+ optional_policy(`
+ wine_role(user_r, user_t)
+ ')
+
+ optional_policy(`
+ xscreensaver_role(user_r, user_t)
+ ')
')
next reply other threads:[~2014-12-02 14:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-02 14:19 Jason Zaman [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-12-03 12:56 [gentoo-commits] proj/hardened-refpolicy:adminroles commit in: policy/modules/roles/ Jason Zaman
2014-12-03 12:56 ` [gentoo-commits] proj/hardened-refpolicy:userroles " Jason Zaman
2014-12-03 12:56 [gentoo-commits] proj/hardened-refpolicy:adminroles " Jason Zaman
2014-12-03 12:56 ` [gentoo-commits] proj/hardened-refpolicy:userroles " Jason Zaman
2014-12-03 12:56 Jason Zaman
2014-12-02 14:19 Jason Zaman
2014-12-02 14:19 Jason Zaman
2014-12-02 13:38 Jason Zaman
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=1417529815.d47a85f8cabba8dbde87875d61a500a55bbd663e.perfinion@gentoo \
--to=gentoo@perfinion.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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