aboutsummaryrefslogtreecommitdiff
path: root/system/cdemu-daemon/config/cdemu-daemon-dbus.conf
diff options
context:
space:
mode:
Diffstat (limited to 'system/cdemu-daemon/config/cdemu-daemon-dbus.conf')
-rw-r--r--system/cdemu-daemon/config/cdemu-daemon-dbus.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/cdemu-daemon/config/cdemu-daemon-dbus.conf b/system/cdemu-daemon/config/cdemu-daemon-dbus.conf
new file mode 100644
index 0000000000000..c450d78cf03bc
--- /dev/null
+++ b/system/cdemu-daemon/config/cdemu-daemon-dbus.conf
@@ -0,0 +1,19 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<busconfig>
+ <!-- Only root can own the CDEmuDaemon service on bus -->
+ <policy user="root">
+ <allow own="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+ <policy group="root">
+ <allow own="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+
+ <!-- Allow anyone to invoke methods on the interface -->
+ <policy context="default">
+ <allow send_destination="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+</busconfig>
+