summaryrefslogtreecommitdiffstats
path: root/meta-edison-distro/recipes-connectivity/bluez5/files/bluetooth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-edison-distro/recipes-connectivity/bluez5/files/bluetooth.conf')
-rw-r--r--meta-edison-distro/recipes-connectivity/bluez5/files/bluetooth.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-edison-distro/recipes-connectivity/bluez5/files/bluetooth.conf b/meta-edison-distro/recipes-connectivity/bluez5/files/bluetooth.conf
new file mode 100644
index 0000000..162c803
--- /dev/null
+++ b/meta-edison-distro/recipes-connectivity/bluez5/files/bluetooth.conf
@@ -0,0 +1,24 @@
+<!-- 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 context="default">
+ <allow own="org.bluez"/>
+ <allow own="org.bluez.obex"/>
+ <allow send_destination="org.bluez"/>
+ <allow send_destination="org.bluez.obex"/>
+ <allow send_interface="org.bluez.Agent1"/>
+ <allow send_interface="org.bluez.MediaEndpoint1"/>
+ <allow send_interface="org.bluez.Profile1"/>
+ <allow send_interface="org.bluez.ThermometerWatcher1"/>
+ <allow send_interface="org.bluez.AlertAgent1"/>
+ <allow send_interface="org.bluez.HeartRateWatcher1"/>
+ <allow send_interface="org.bluez.CyclingSpeedWatcher1"/>
+ </policy>
+
+</busconfig>