summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"/>