Blob: obex.conf

Blob id: 114bdb8825934262851331333851ea4d8c3aacd3

Size: 1.1 KB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- 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 user="root">
    <allow own="org.bluez.obex"/>
    <allow send_destination="org.bluez.obex"/>
    <allow send_interface="org.bluez.obex.Agent1"/>
    <allow send_interface="org.bluez.obex.Client1"/>
    <allow send_interface="org.bluez.obex.Session1"/>
    <allow send_interface="org.bluez.obex.Transfer1"/>
    <allow send_interface="org.bluez.obex.ObjectPush1"/>
    <allow send_interface="org.bluez.obex.PhonebookAccess1"/>
    <allow send_interface="org.bluez.obex.Synchronization1"/>
    <allow send_interface="org.bluez.obex.MessageAccess1"/>
    <allow send_interface="org.bluez.obex.Message1"/>
  </policy>

  <policy context="default">
    <allow send_destination="org.bluez.obex"/>
  </policy>

</busconfig>