summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/DBus/dbus-crashcatcher.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/DBus/dbus-crashcatcher.conf b/lib/DBus/dbus-crashcatcher.conf
new file mode 100644
index 0000000..e2839f4
--- /dev/null
+++ b/lib/DBus/dbus-crashcatcher.conf
@@ -0,0 +1,24 @@
+<!-- This configuration file specifies the required security policies
+ for CrashCatcher 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="com.redhat.CrashCatcher"/>
+ <allow send_destination="com.redhat.CrashCatcher"/>
+ <allow send_interface="com.redhat.CrashCatcher"/>
+ </policy>
+
+ <policy at_console="true">
+ <allow send_destination="com.redhat.CrashCatcher"/>
+ </policy>
+
+ <policy context="default">
+ <deny send_destination="com.redhat.CrashCatcher"/>
+ </policy>
+
+</busconfig>