1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
systemd/etc/dbus-1/system.d/udev_sysbus_policy.conf

24 lines
791 B
Plaintext

<!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>