blob: d145613c06811104fd7577e6b2e403cf244a4719 [file] [log] [blame]
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Our well-known bus type, don't change this -->
<type>session</type>
<listen>@TEST_LISTEN@</listen>
<policy context="default">
<!-- Allow everything -->
<allow send_destination="*"/>
<allow receive_sender="*"/>
<allow own="*"/>
<!-- Exception: some messages are forbidden -->
<deny send_interface="com.example.CannotSend"/>
<deny send_interface="com.example.CannotBroadcast" send_broadcast="true"/>
<deny send_interface="com.example.CannotUnicast" send_broadcast="false"/>
<!-- A more long-winded way to spell the same things. -->
<deny send_interface="com.example.CannotBroadcast2"/>
<allow send_interface="com.example.CannotBroadcast2" send_broadcast="false"/>
<deny send_interface="com.example.CannotUnicast2"/>
<allow send_interface="com.example.CannotUnicast2" send_broadcast="true"/>
<deny receive_interface="com.example.CannotReceive"/>
</policy>
</busconfig>