diff options
author | greg@kroah.com <greg@kroah.com> | 2004-03-24 21:37:34 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:11 -0700 |
commit | 357f44a534e5e32e52020121c983aca90ae7ac1b (patch) | |
tree | a03580d8f12b5ea3aa60fa7242c42eaf10a3c852 /extras/dbus/etc/dbus-1/system.d/udev_sysbus_policy.conf | |
parent | c5039077b710dca041b2b36a3fc3247964abc069 (diff) |
[PATCH] move udev_dbus to extras/dbus
Should build now, but might have linking problems.
Diffstat (limited to 'extras/dbus/etc/dbus-1/system.d/udev_sysbus_policy.conf')
-rw-r--r-- | extras/dbus/etc/dbus-1/system.d/udev_sysbus_policy.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extras/dbus/etc/dbus-1/system.d/udev_sysbus_policy.conf b/extras/dbus/etc/dbus-1/system.d/udev_sysbus_policy.conf new file mode 100644 index 0000000000..b2660e65cf --- /dev/null +++ b/extras/dbus/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> + |