summaryrefslogtreecommitdiffstats
path: root/input/bluetooth-input.conf
diff options
context:
space:
mode:
Diffstat (limited to 'input/bluetooth-input.conf')
-rw-r--r--input/bluetooth-input.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/input/bluetooth-input.conf b/input/bluetooth-input.conf
new file mode 100644
index 00000000..90643f74
--- /dev/null
+++ b/input/bluetooth-input.conf
@@ -0,0 +1,21 @@
+<!-- This configuration file specifies the required security policies
+ for Bluetooth input service 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.input"/>
+ </policy>
+
+ <policy at_console="true">
+ <allow send_destination="org.bluez.Input"/>
+ <allow receive_sender="org.bluez.Input"/>
+
+ <allow send_path="/org/bluez/input"/>
+ </policy>
+
+</busconfig>