summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-31 20:38:14 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:14 -0700
commit8ccd82e04c28ca49b70a619e3d6e81d67e68ab95 (patch)
tree25fe9108aa98c2e2d8f1644b82afaff03f87ca37 /etc
parent6d88260a8be069a65ab52fa924e6d4dc13c4e83c (diff)
[PATCH] move the dbus config file to etc/dbus-1/system.d/
Diffstat (limited to 'etc')
-rw-r--r--etc/dbus-1/system.d/udev_sysbus_policy.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/dbus-1/system.d/udev_sysbus_policy.conf b/etc/dbus-1/system.d/udev_sysbus_policy.conf
new file mode 100644
index 0000000000..b2660e65cf
--- /dev/null
+++ b/etc/dbus-1/system.d/udev_sysbus_policy.conf
@@ -0,0 +1,23 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- This configuration file specifies the required security policies
+ for udev to work. -->
+
+ <!-- Only root can own the udev service and only root can use the
+ org.kernel.udev.NodeMonitor interface to send signals -->
+ <policy user="root">
+ <allow own="org.kernel.udev"/>
+
+ <allow send_interface="org.kernel.udev.NodeMonitor"/>
+ </policy>
+
+ <!-- Allow anyone to listen to the org.kernel.udev.NodeMonitor interface
+ for messages send from the owner of the org.kernel.udev service -->
+ <policy context="default">
+ <allow receive_interface="org.kernel.udev.NodeMonitor"/>
+ </policy>
+</busconfig>
+