summaryrefslogtreecommitdiff
path: root/udev_sysbus_policy.conf
blob: b2660e65cfaf5f9298bb6920c843d496c0101684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>