summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-06-28 15:58:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-29 14:46:54 +0100
commit53de954ae433326d09f4cdcfd63d8241ba935980 (patch)
tree5a88e777bca060c1d7292bcf63859cb309a41ea5 /meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch
parent6873c1adea0dee712e2636da9e90bc755a6b4097 (diff)
downloadpoky-53de954ae433326d09f4cdcfd63d8241ba935980.tar.gz
connman: Upgrade to version 0.75
Enable ofono plugin. Adopt some logic in meta-oe on connman plugin runtime dependency. Remove the fix-shutdown-ap-disconnect.patch since the original logic no longer exists. Add Upstream-Status information for patches. (From OE-Core rev: 7d24ef3454d2bcdf175c17206c8016bafe5e9372) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch')
-rw-r--r--meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch b/meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch
new file mode 100644
index 0000000000..764c689fcc
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-0.75/add_xuser_dbus_permission.patch
@@ -0,0 +1,23 @@
1Some platform (like atom-pc) enables rootless X,
2thus we need to add the xuser in the list.
3
4Upstream-Status: Inappropriate [configuration]
5
6Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
7
8diff -ruN connman-0.65-orig/src/connman-dbus.conf connman-0.65/src/connman-dbus.conf
9--- connman-0.65-orig/src/connman-dbus.conf 2011-03-04 09:34:49.000000000 +0800
10+++ connman-0.65/src/connman-dbus.conf 2011-03-04 09:35:21.000000000 +0800
11@@ -7,6 +7,12 @@
12 <allow send_interface="net.connman.Agent"/>
13 <allow send_interface="net.connman.Counter"/>
14 </policy>
15+ <policy user="xuser">
16+ <allow own="net.connman"/>
17+ <allow send_destination="net.connman"/>
18+ <allow send_interface="net.connman.Agent"/>
19+ <allow send_interface="net.connman.Counter"/>
20+ </policy>
21 <policy at_console="true">
22 <allow send_destination="net.connman"/>
23 </policy>