bluetooth.conf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!-- This configuration file specifies the required security policies
  2. for Bluetooth core daemon to work. -->
  3. <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  4. "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  5. <busconfig>
  6. <!-- ../system.conf have denied everything, so we just punch some holes -->
  7. <policy user="root">
  8. <allow own="org.bluez"/>
  9. <allow send_destination="org.bluez"/>
  10. <allow send_interface="org.bluez.Agent1"/>
  11. <allow send_interface="org.bluez.MediaEndpoint1"/>
  12. <allow send_interface="org.bluez.MediaPlayer1"/>
  13. <allow send_interface="org.bluez.ThermometerWatcher1"/>
  14. <allow send_interface="org.bluez.AlertAgent1"/>
  15. <allow send_interface="org.bluez.Profile1"/>
  16. <allow send_interface="org.bluez.HeartRateWatcher1"/>
  17. <allow send_interface="org.bluez.CyclingSpeedWatcher1"/>
  18. <allow send_interface="org.bluez.GattCharacteristic1"/>
  19. <allow send_interface="org.bluez.GattDescriptor1"/>
  20. <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
  21. <allow send_interface="org.freedesktop.DBus.Properties"/>
  22. </policy>
  23. <policy at_console="true">
  24. <allow send_destination="org.bluez"/>
  25. </policy>
  26. <!-- allow users of lp group (printing subsystem) to
  27. communicate with bluetoothd -->
  28. <policy group="lp">
  29. <allow send_destination="org.bluez"/>
  30. </policy>
  31. <policy context="default">
  32. <deny send_destination="org.bluez"/>
  33. </policy>
  34. </busconfig>