summaryrefslogtreecommitdiffstats
path: root/recipes/connman
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-04 14:53:34 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-10 09:42:30 +0100
commit7ecb62b795173631620011f7a2c7e6a1b88476a6 (patch)
tree594f2e24319bb7a65b64f280bbf1825766dad743 /recipes/connman
parent5a04169ad35c702611aaa24b10e11590048dc823 (diff)
downloadopenembedded-7ecb62b795173631620011f7a2c7e6a1b88476a6.tar.gz
connman: don't give user 'system' permissions by default. We might not have one. (connman 0.46)
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes/connman')
-rw-r--r--recipes/connman/connman_0.46.bb1
-rw-r--r--recipes/connman/files/no_system_user_perms.patch14
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes/connman/connman_0.46.bb b/recipes/connman/connman_0.46.bb
index 26b7b82798..b1729c6890 100644
--- a/recipes/connman/connman_0.46.bb
+++ b/recipes/connman/connman_0.46.bb
@@ -32,6 +32,7 @@ EXTRA_OECONF += "\
SRC_URI = "\
http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
+ file://no_system_user_perms.patch;patch=1 \
file://connman \
"
diff --git a/recipes/connman/files/no_system_user_perms.patch b/recipes/connman/files/no_system_user_perms.patch
new file mode 100644
index 0000000000..e02bd30625
--- /dev/null
+++ b/recipes/connman/files/no_system_user_perms.patch
@@ -0,0 +1,14 @@
+diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf
+index 2be3764..b4d4acd 100644
+--- a/src/connman-dbus.conf
++++ b/src/connman-dbus.conf
+@@ -6,9 +6,6 @@
+ <allow send_destination="org.moblin.connman"/>
+ <allow send_interface="org.moblin.connman.Agent"/>
+ </policy>
+- <policy user="system">
+- <allow send_destination="org.moblin.connman"/>
+- </policy>
+ <policy at_console="true">
+ <allow send_destination="org.moblin.connman"/>
+ </policy>