summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/avahi-dbus.conf.in
blob: 485c03e1c1ef0e89819aedcebed706710ee88ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- Only root or user @AVAHI_USER@ can own the Avahi service -->
  <policy user="@AVAHI_USER@">
    <allow own="org.freedesktop.Avahi"/>
  </policy>
  <policy user="root">
    <allow own="org.freedesktop.Avahi"/>
  </policy>

  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  <policy context="default">
    <allow send_interface="org.freedesktop.Avahi"/>

    <allow receive_interface="org.freedesktop.Avahi"
           receive_sender="org.freedesktop.Avahi"/>
  </policy>

  <limit name="max_match_rules_per_connection">512</limit>

</busconfig>