diff options
Diffstat (limited to 'meta/recipes-connectivity/connman/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch | 28 |
1 files changed, 25 insertions, 3 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 707b3cafba..15a191da55 100644 --- a/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch +++ b/meta/recipes-connectivity/connman/connman/add_xuser_dbus_permission.patch | |||
@@ -1,9 +1,14 @@ | |||
1 | Because Poky doesn't support at_console we need to special-case the session | 1 | Because Poky doesn't support at_console we need to |
2 | user. | 2 | special-case the session user. |
3 | 3 | ||
4 | Upstream-Status: Inappropriate [configuration] | 4 | Upstream-Status: Inappropriate [configuration] |
5 | 5 | ||
6 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 6 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> |
7 | |||
8 | --- | ||
9 | src/connman-dbus.conf | 3 +++ | ||
10 | vpn/vpn-dbus.conf | 3 +++ | ||
11 | 2 files changed, 6 insertions(+) | ||
7 | 12 | ||
8 | diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf | 13 | diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf |
9 | index 98a773e..466809c 100644 | 14 | index 98a773e..466809c 100644 |
@@ -19,3 +24,20 @@ index 98a773e..466809c 100644 | |||
19 | <policy at_console="true"> | 24 | <policy at_console="true"> |
20 | <allow send_destination="net.connman"/> | 25 | <allow send_destination="net.connman"/> |
21 | </policy> | 26 | </policy> |
27 | diff --git a/vpn/vpn-dbus.conf b/vpn/vpn-dbus.conf | ||
28 | index 0f0c8da..9ad05b9 100644 | ||
29 | --- a/vpn/vpn-dbus.conf | ||
30 | +++ b/vpn/vpn-dbus.conf | ||
31 | @@ -6,6 +6,9 @@ | ||
32 | <allow send_destination="net.connman.vpn"/> | ||
33 | <allow send_interface="net.connman.vpn.Agent"/> | ||
34 | </policy> | ||
35 | + <policy user="xuser"> | ||
36 | + <allow send_destination="net.connman.vpn"/> | ||
37 | + </policy> | ||
38 | <policy at_console="true"> | ||
39 | <allow send_destination="net.connman.vpn"/> | ||
40 | </policy> | ||
41 | -- | ||
42 | 2.1.4 | ||
43 | |||