dbus/test/data/valid-config-files/systemd-activation.conf.in
Adrian Szyndela 8fcc1f9a8a test: activation tests for send_destination_prefix
This adds a few tests for checking if activation is allowed
for names specified within send_destination_prefix namespaces.

Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Change-Id: I7a5a66f82fc08ce6cb46e37de2c3dfae24d9ea67
2019-05-14 10:31:13 +02:00

21 lines
762 B
Text

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<listen>@TEST_LISTEN@</listen>
<servicedir>@DBUS_TEST_DATA@/systemd-activation</servicedir>
<standard_session_servicedirs />
<policy context="default">
<allow send_destination="*"/>
<allow receive_sender="*"/>
<allow own="*"/>
</policy>
<policy context="mandatory">
<deny send_destination="com.example.SendDenied"/>
<deny send_destination_prefix="com.example.SendPrefixDenied"/>
<deny receive_interface="com.example.ReceiveDenied" receive_member="Call"/>
<allow send_destination_prefix="com.example.SendPrefixDenied.SendPrefixAllowed"/>
</policy>
</busconfig>