aboutsummaryrefslogtreecommitdiff
path: root/system/cdemu-daemon/config/cdemu-daemon-dbus.conf
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-01-30 16:18:02 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-31 10:15:39 +0700
commite711c6f3de02b1c23323e7a63107591a88b908ae (patch)
treeea37d3d44f61461d3eb4c4a2759b88478c9e50c7 /system/cdemu-daemon/config/cdemu-daemon-dbus.conf
parent216079a09e6c1c2fdfd7b9fa783c39d57ede4cad (diff)
Update CDEmu software series
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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>
+