summaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf')
-rw-r--r--meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf b/meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf
new file mode 100644
index 0000000..0495200
--- /dev/null
+++ b/meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf
@@ -0,0 +1,37 @@
1<!-- This configuration file specifies the required security policies
2 for Bluetooth core daemon to work. -->
3
4<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
5 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
6<busconfig>
7
8 <!-- ../system.conf have denied everything, so we just punch some holes -->
9
10 <policy user="root">
11 <allow own="org.bluez"/>
12 <allow send_destination="org.bluez"/>
13 <allow send_interface="org.bluez.Agent1"/>
14 <allow send_interface="org.bluez.MediaEndpoint1"/>
15 <allow send_interface="org.bluez.MediaPlayer1"/>
16 <allow send_interface="org.bluez.ThermometerWatcher1"/>
17 <allow send_interface="org.bluez.AlertAgent1"/>
18 <allow send_interface="org.bluez.Profile1"/>
19 <allow send_interface="org.bluez.HeartRateWatcher1"/>
20 <allow send_interface="org.bluez.CyclingSpeedWatcher1"/>
21 </policy>
22
23 <policy at_console="true">
24 <allow send_destination="org.bluez"/>
25 </policy>
26
27 <!-- allow users of lp group (printing subsystem) to
28 communicate with bluetoothd -->
29 <policy group="lp">
30 <allow send_destination="org.bluez"/>
31 </policy>
32
33 <policy context="default">
34 <deny send_destination="org.bluez"/>
35 </policy>
36
37</busconfig>