mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-11 05:58:03 +02:00
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
21 lines
762 B
Text
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>
|