aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman
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 22:54:57 +0100
commit949861c1f09e3a92430c1494b62b9698c7d2a862 (patch)
tree24fb398f91b51c433dd4aa21c2d2efce589a8277 /meta/recipes-connectivity/connman/connman
parentce91f495e0c4ef3bf53ee8b2ea570061da38e14f (diff)
downloadopenembedded-core-949861c1f09e3a92430c1494b62b9698c7d2a862.tar.gz
connman: just give xuser the extra rights it needs
Diffstat (limited to 'meta/recipes-connectivity/connman/connman')
-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 @@
-Some platform (like atom-pc) enables rootless X,
-thus we need to add the xuser in the list.
+Because Poky doesn't support at_console we need to special-case the session
+user.
Upstream-Status: Inappropriate [configuration]
-Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
+Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf
-index 98a773e..cbe2ba3 100644
+index 98a773e..466809c 100644
--- a/src/connman-dbus.conf
+++ b/src/connman-dbus.conf
-@@ -8,6 +8,13 @@
+@@ -8,6 +8,9 @@
<allow send_interface="net.connman.Counter"/>
<allow send_interface="net.connman.Notification"/>
</policy>
+ <policy user="xuser">
-+ <allow own="net.connman"/>
+ <allow send_destination="net.connman"/>
-+ <allow send_interface="net.connman.Agent"/>
-+ <allow send_interface="net.connman.Counter"/>
-+ <allow send_interface="net.connman.Notification"/>
+ </policy>
<policy at_console="true">
<allow send_destination="net.connman"/>