summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-05-29 21:43:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-05 23:04:34 +0100
commite618834b30d30b995a0daeeb4b54d3f6dedb6b24 (patch)
tree734154a05ba29a20d8b49a7b1fdbb5ced7172a0d
parent34f819e22e337c3ad69f72a9bd9c4422d5a61c3a (diff)
downloadpoky-e618834b30d30b995a0daeeb4b54d3f6dedb6b24.tar.gz
connman: just give xuser the extra rights it needs
-rw-r--r--meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch14
1 files changed, 5 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch b/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch
index aa7a910eb7..707b3cafba 100644
--- a/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch
+++ b/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch
@@ -1,24 +1,20 @@
1Some platform (like atom-pc) enables rootless X, 1Because Poky doesn't support at_console we need to special-case the session
2thus we need to add the xuser in the list. 2user.
3 3
4Upstream-Status: Inappropriate [configuration] 4Upstream-Status: Inappropriate [configuration]
5 5
6Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> 6Signed-off-by: Ross Burton <ross.burton@intel.com>
7 7
8diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf 8diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf
9index 98a773e..cbe2ba3 100644 9index 98a773e..466809c 100644
10--- a/src/connman-dbus.conf 10--- a/src/connman-dbus.conf
11+++ b/src/connman-dbus.conf 11+++ b/src/connman-dbus.conf
12@@ -8,6 +8,13 @@ 12@@ -8,6 +8,9 @@
13 <allow send_interface="net.connman.Counter"/> 13 <allow send_interface="net.connman.Counter"/>
14 <allow send_interface="net.connman.Notification"/> 14 <allow send_interface="net.connman.Notification"/>
15 </policy> 15 </policy>
16+ <policy user="xuser"> 16+ <policy user="xuser">
17+ <allow own="net.connman"/>
18+ <allow send_destination="net.connman"/> 17+ <allow send_destination="net.connman"/>
19+ <allow send_interface="net.connman.Agent"/>
20+ <allow send_interface="net.connman.Counter"/>
21+ <allow send_interface="net.connman.Notification"/>
22+ </policy> 18+ </policy>
23 <policy at_console="true"> 19 <policy at_console="true">
24 <allow send_destination="net.connman"/> 20 <allow send_destination="net.connman"/>