summaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:29:32 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:29:32 +0200
commit6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f (patch)
tree814ad3da280833de03535ca04cf5068da1d31822 /meta-eca/recipes-connectivity/bluez5/files/bluetooth.conf
downloadmeta-eca-6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f.tar.gz
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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>