From: guido@trentalancia.com (Guido Trentalancia)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 13/34]: patch to allow networkmanager dbus chat
Date: Wed, 16 Feb 2011 07:13:56 +0100 [thread overview]
Message-ID: <1297836836.3205.56.camel@tesla.lan> (raw)
This patch allows dbus chat between networkmanager and dbus and
between networkmanager and xdm. It also adds a missing permission
(sysnet_read_dhcpc_state) to the networkmanager module.
diff -pruN refpolicy-git-15022011-new-before-modification/policy/modules/services/dbus.te refpolicy-git-15022011-new-modified/policy/modules/services/dbus.te
--- refpolicy-git-15022011-new-before-modification/policy/modules/services/dbus.te 2011-02-15 23:15:42.079074132 +0100
+++ refpolicy-git-15022011-new-modified/policy/modules/services/dbus.te 2011-02-15 23:17:05.366699083 +0100
@@ -156,6 +156,10 @@ optional_policy(`
')
optional_policy(`
+ networkmanager_dbus_chat(system_dbusd_t)
+')
+
+optional_policy(`
policykit_dbus_chat(system_dbusd_t)
policykit_domtrans_auth(system_dbusd_t)
policykit_search_lib(system_dbusd_t)
diff -pruN refpolicy-git-15022011-new-before-modification/policy/modules/services/networkmanager.te refpolicy-git-15022011-new-modified/policy/modules/services/networkmanager.te
--- refpolicy-git-15022011-new-before-modification/policy/modules/services/networkmanager.te 2011-01-08 19:07:21.269745618 +0100
+++ refpolicy-git-15022011-new-modified/policy/modules/services/networkmanager.te 2011-02-15 23:17:58.800809233 +0100
@@ -141,6 +141,7 @@ sysnet_domtrans_ifconfig(NetworkManager_
sysnet_domtrans_dhcpc(NetworkManager_t)
sysnet_signal_dhcpc(NetworkManager_t)
sysnet_read_dhcpc_pid(NetworkManager_t)
+sysnet_read_dhcpc_state(NetworkManager_t)
sysnet_delete_dhcpc_pid(NetworkManager_t)
sysnet_search_dhcp_state(NetworkManager_t)
# in /etc created by NetworkManager will be labelled net_conf_t.
diff -pruN refpolicy-git-15022011-new-before-modification/policy/modules/services/xserver.te refpolicy-git-15022011-new-modified/policy/modules/services/xserver.te
--- refpolicy-git-15022011-new-before-modification/policy/modules/services/xserver.te 2011-02-15 23:07:24.845137330 +0100
+++ refpolicy-git-15022011-new-modified/policy/modules/services/xserver.te 2011-02-15 23:17:05.369699539 +0100
@@ -548,6 +548,10 @@ optional_policy(`
')
optional_policy(`
+ networkmanager_dbus_chat(xdm_t)
+')
+
+optional_policy(`
resmgr_stream_connect(xdm_t)
')
next reply other threads:[~2011-02-16 6:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 6:13 Guido Trentalancia [this message]
2011-02-23 14:36 ` [refpolicy] [PATCH 13/34]: patch to allow networkmanager dbus chat Christopher J. PeBenito
2011-02-23 18:50 ` Guido Trentalancia
2011-03-07 13:56 ` Christopher J. PeBenito
2011-03-07 17:09 ` Guido Trentalancia
2011-03-07 19:37 ` Christopher J. PeBenito
2011-03-07 21:39 ` Guido Trentalancia
2011-03-09 8:03 ` Russell Coker
2011-03-09 9:49 ` Guido Trentalancia
2011-03-09 11:23 ` Russell Coker
2011-03-09 14:41 ` Guido Trentalancia
2011-03-09 14:59 ` Russell Coker
2011-03-09 15:34 ` [refpolicy] run/build-time sanity checks Guido Trentalancia
2011-03-10 1:14 ` Russell Coker
2011-03-14 12:42 ` [refpolicy] [PATCH 13/34]: patch to allow networkmanager dbus chat Christopher J. PeBenito
2011-03-14 17:23 ` Guido Trentalancia
2011-03-14 18:04 ` Christopher J. PeBenito
2011-03-15 13:40 ` Guido Trentalancia
2011-03-10 21:53 ` Guido Trentalancia
2011-03-14 12:44 ` Christopher J. PeBenito
2011-03-14 17:26 ` Guido Trentalancia
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=1297836836.3205.56.camel@tesla.lan \
--to=guido@trentalancia.com \
--cc=refpolicy@oss.tresys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.