]> git.meshlink.io Git - catta/blob - avahi-daemon/avahi-dbus.conf.in
implement DBUS protocol
[catta] / avahi-daemon / avahi-dbus.conf.in
1 <!DOCTYPE busconfig PUBLIC
2  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4 <busconfig>
5
6   <!-- Only root or user @AVAHI_USER@ can own the Avahi service -->
7   <policy user="@AVAHI_USER@">
8     <allow own="org.freedesktop.Avahi"/>
9   </policy>
10   <policy user="root">
11     <allow own="org.freedesktop.Avahi"/>
12   </policy>
13
14   <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
15   <policy context="default">
16     <allow send_interface="org.freedesktop.Avahi"/>
17
18     <allow receive_interface="org.freedesktop.Avahi"
19            receive_sender="org.freedesktop.Avahi"/>
20   </policy>
21
22   <limit name="max_match_rules_per_connection">512</limit>
23
24 </busconfig>