aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/bluez/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-08 19:21:51 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-08 19:21:51 +0200
commit6f89098a071d8c1cb87c403a7d2f5f7f3ce14f70 (patch)
treed0629d67901abe13d40be2730f2660c6c39f68e0 /recipes/bluez/files
parent9bf9f5e64e6167d8a42ab960e67bf6fc6a258626 (diff)
downloadopenembedded-6f89098a071d8c1cb87c403a7d2f5f7f3ce14f70.tar.gz
bluez4: add less restrictive (and hence less secure) bluetooth dbus config
* this makes bluetooth actually work for non-root users and when using ssh/vnc/etc
Diffstat (limited to 'recipes/bluez/files')
-rw-r--r--recipes/bluez/files/bluetooth.conf29
1 files changed, 16 insertions, 13 deletions
diff --git a/recipes/bluez/files/bluetooth.conf b/recipes/bluez/files/bluetooth.conf
index 872084702a..1b357eabca 100644
--- a/recipes/bluez/files/bluetooth.conf
+++ b/recipes/bluez/files/bluetooth.conf
@@ -1,13 +1,16 @@
-#
-# additional cards for /etc/pcmcia/bluetooth.conf
-# Note for OE: This file is _appended_ to the stock
-# bluetooth.conf in bluez-utils, so no need to duplicate
-# entries for individual cards.
-#
-card "CSR BT01x0M Bluetooth CF Card"
- version "Bluetooth BT0100M", "", ""
- bind "serial_cs" class "bluetooth"
-
-card "Socket Bluetooth CF Card Rev. G"
- manfid 0x0104, 0x0096
- bind "serial_cs" class "bluetooth"
+<!-- This configuration file specifies the required security policies
+ for Bluetooth core daemon to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+ <policy>
+ <allow own="org.bluez"/>
+ <allow send_destination="org.bluez"/>
+ <allow send_interface="org.bluez.Agent"/>
+ </policy>
+
+</busconfig>