summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-02-12 18:15:38 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-02-12 18:15:38 +0100
commita96c5aceda3ea0be5c8a01bb8a35e77d6fa25170 (patch)
treef960b9c62edf32d7560754a31f08aa9adf9a9fc8
parentc756d9cc9750d00872e5f589a0ce61c7f2f7a934 (diff)
downloadabrt-a96c5aceda3ea0be5c8a01bb8a35e77d6fa25170.tar.gz
abrt-a96c5aceda3ea0be5c8a01bb8a35e77d6fa25170.tar.xz
abrt-a96c5aceda3ea0be5c8a01bb8a35e77d6fa25170.zip
Added config file with dbus policies
-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>