diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-03-05 00:02:14 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-07 16:22:35 -0800 |
commit | cfbf50c235c2faeb53f43b42a12c49c022288488 (patch) | |
tree | e064adcd51606e6c49b2688d6bb34fa18f24f685 /meta/recipes-connectivity/connman/connman-0.65 | |
parent | 90d4624f0c5de6a35eace1f13c3e04df9737390c (diff) | |
download | openembedded-core-cfbf50c235c2faeb53f43b42a12c49c022288488.tar.gz openembedded-core-cfbf50c235c2faeb53f43b42a12c49c022288488.tar.bz2 openembedded-core-cfbf50c235c2faeb53f43b42a12c49c022288488.tar.xz openembedded-core-cfbf50c235c2faeb53f43b42a12c49c022288488.zip |
connman: add xuser to the dbus permission list
Some platform (like atom-pc) enables rootless X,
thus the connman frontend run on it need the
permission to connect with connman by dbus.
This commit grants permission to xuser.
This fixes [YOCTO #779]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-0.65')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch b/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch new file mode 100644 index 000000000..787d49ba8 --- /dev/null +++ b/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch @@ -0,0 +1,21 @@ +Some platform (like atom-pc) enables rootless X, +thus we need to add the xuser in the list. + +Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> + +diff -ruN connman-0.65-orig/src/connman-dbus.conf connman-0.65/src/connman-dbus.conf +--- connman-0.65-orig/src/connman-dbus.conf 2011-03-04 09:34:49.000000000 +0800 ++++ connman-0.65/src/connman-dbus.conf 2011-03-04 09:35:21.000000000 +0800 +@@ -7,6 +7,12 @@ + <allow send_interface="net.connman.Agent"/> + <allow send_interface="net.connman.Counter"/> + </policy> ++ <policy user="xuser"> ++ <allow own="net.connman"/> ++ <allow send_destination="net.connman"/> ++ <allow send_interface="net.connman.Agent"/> ++ <allow send_interface="net.connman.Counter"/> ++ </policy> + <policy at_console="true"> + <allow send_destination="net.connman"/> + </policy> |