1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

connman: just give xuser the extra rights it needs

This commit is contained in:
Ross Burton
2012-05-29 21:43:54 +01:00
committed by Richard Purdie
parent 34f819e22e
commit e618834b30
@@ -1,24 +1,20 @@
Some platform (like atom-pc) enables rootless X, Because Poky doesn't support at_console we need to special-case the session
thus we need to add the xuser in the list. user.
Upstream-Status: Inappropriate [configuration] 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 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 --- a/src/connman-dbus.conf
+++ b/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.Counter"/>
<allow send_interface="net.connman.Notification"/> <allow send_interface="net.connman.Notification"/>
</policy> </policy>
+ <policy user="xuser"> + <policy user="xuser">
+ <allow own="net.connman"/>
+ <allow send_destination="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>
<policy at_console="true"> <policy at_console="true">
<allow send_destination="net.connman"/> <allow send_destination="net.connman"/>