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: Wed, 3 Dec 2014 12:56:09 +0000 (UTC) [thread overview]
Message-ID: <1417599009.9e584181277f9f01f7aecb928aa090895af51505.perfinion@gentoo> (raw)
commit: 9e584181277f9f01f7aecb928aa090895af51505
Author: Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Tue Dec 2 12:00:05 2014 +0000
Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com>
CommitDate: Wed Dec 3 09:30:09 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=9e584181
Allow users to talk to devicekit
Needed to read battery status and disk info.
type=USER_AVC msg=audit(1417367573.060:234): pid=3121 uid=101
auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t
msg='avc: denied { send_msg } for msgtype=signal
interface=org.freedesktop.UPower member=DeviceChanged
dest=org.freedesktop.DBus spid=3606 tpid=3858
scontext=system_u:system_r:devicekit_power_t
tcontext=staff_u:staff_r:staff_t tclass=dbus exe="/usr/bin/dbus-daemon"
sauid=101 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1417363447.011:103525): pid=3339 uid=101
auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t
msg='avc: denied { send_msg } for msgtype=signal
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
dest=org.freedesktop.DBus spid=4094 tpid=4090
scontext=system_u:system_r:devicekit_disk_t
tcontext=staff_u:staff_r:staff_t tclass=dbus exe="/usr/bin/dbus-daemon"
sauid=101 hostname=? addr=? terminal=?'
---
policy/modules/roles/staff.te | 5 +++++
policy/modules/roles/unprivuser.te | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
index 1a867f0..0c15bb5 100644
--- a/policy/modules/roles/staff.te
+++ b/policy/modules/roles/staff.te
@@ -200,6 +200,11 @@ ifdef(`distro_gentoo',`
')
optional_policy(`
+ devicekit_dbus_chat_disk(staff_t)
+ devicekit_dbus_chat_power(staff_t)
+ ')
+
+ optional_policy(`
dropbox_role(staff_r, staff_t)
')
diff --git a/policy/modules/roles/unprivuser.te b/policy/modules/roles/unprivuser.te
index e349a03..63dced4 100644
--- a/policy/modules/roles/unprivuser.te
+++ b/policy/modules/roles/unprivuser.te
@@ -185,6 +185,11 @@ ifdef(`distro_gentoo',`
')
optional_policy(`
+ devicekit_dbus_chat_disk(user_t)
+ devicekit_dbus_chat_power(user_t)
+ ')
+
+ optional_policy(`
dropbox_role(user_r, user_t)
')
next reply other threads:[~2014-12-03 12:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 12:56 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-02 14:19 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=1417599009.9e584181277f9f01f7aecb928aa090895af51505.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