diff options
Diffstat (limited to 'meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch')
-rw-r--r-- | meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch | 23 |
1 files changed, 23 insertions, 0 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 new file mode 100644 index 0000000000..764c689fcc --- /dev/null +++ b/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Some platform (like atom-pc) enables rootless X, | ||
2 | thus we need to add the xuser in the list. | ||
3 | |||
4 | Upstream-Status: Inappropriate [configuration] | ||
5 | |||
6 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
7 | |||
8 | diff -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> | ||