summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-24 17:02:08 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-24 17:07:14 +0200
commit078ef7b85ad77ba999588f72b31a50ced5907692 (patch)
tree2f2b7220f2c4c5ee6426ebc17b82e245f5617958 /test
parent04c553e322680b6fcdf5b271e84b0b4b0ad8d5f9 (diff)
downloadsystemd-078ef7b85ad77ba999588f72b31a50ced5907692.tar.gz
bus-policy: split API for bus-proxyd
Instead of operating on an sd_bus_message object, expose an API that has 4 functions: policy_check_own() policy_check_hello() policy_check_recv() policy_check_send() This also allows dropping extra code to parse message contents - the bus proxy already has dedicated code paths for that, and we can hook into those later. Tests amended accordingly.
Diffstat (limited to 'test')
-rw-r--r--test/bus-policy/methods.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bus-policy/methods.conf b/test/bus-policy/methods.conf
index d6c28c71bc..4d4675ea10 100644
--- a/test/bus-policy/methods.conf
+++ b/test/bus-policy/methods.conf
@@ -10,6 +10,8 @@
<deny send_destination="org.test.test1"/>
<allow send_destination="org.test.test1" send_interface="org.test.int1"/>
<allow send_destination="org.test.test1" send_interface="org.test.int2"/>
+
+ <allow receive_sender="org.test.test3" receive_interface="org.test.int3" receiver_member="Member111"/>
</policy>
</busconfig>