diff options
author | Adrian Bunk <adrian.bunk@movial.com> | 2011-06-03 09:18:45 +0000 |
---|---|---|
committer | Adrian Bunk <adrian.bunk@movial.com> | 2011-06-03 09:18:45 +0000 |
commit | 5352e0a7ab852820b03518ba392a69f3d76d9a00 (patch) | |
tree | f270d0001ea535fbc8dc190ba309336891034621 /debian/bluetooth-dbus.conf | |
parent | 799757ccf1d03c33c75bc597cd5ef77741dcb6a7 (diff) |
4.91-0ubuntu1snowball1packaging-4.91-0ubuntu1snowball1
Diffstat (limited to 'debian/bluetooth-dbus.conf')
-rw-r--r-- | debian/bluetooth-dbus.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/bluetooth-dbus.conf b/debian/bluetooth-dbus.conf new file mode 100644 index 0000000..78ddd73 --- /dev/null +++ b/debian/bluetooth-dbus.conf @@ -0,0 +1,37 @@ +<!-- 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"/> + <allow send_destination="org.bluez"/> + + <!-- allow root to send to agents --> + <allow send_interface="org.bluez.Agent"/> + </policy> + + <!-- allow users at the console, see consolekit or libpam-foreground --> + <policy at_console="true"> + <allow send_destination="org.bluez"/> + </policy> + + <!-- allow users of bluetooth group to communicate with hcid --> + <policy group="bluetooth"> + <allow send_destination="org.bluez"/> + </policy> + + <!-- allow users of lp group (printing subsystem) to communicate with hcid --> + <policy group="lp"> + <allow send_destination="org.bluez"/> + </policy> + + <policy context="default"> + <deny send_destination="org.bluez"/> + </policy> + +</busconfig> |