__dbuspolicy1_change_creds(200, 0, "L");
for (i = 0; i < COUNT; i++) {
- int result = dbuspolicy1_check_in(c, "cynara.destination", "cynara.sender",
+ int result = dbuspolicy1_check_in(c, "org.freedesktop.systemd1", "cynara.sender",
"L", 200, 0, NULL, "cynara.interface", "cynara.method",
DBUSPOLICY_MESSAGE_TYPE_METHOD_CALL, "", 0, 0);
assert(result == desired_result);
assert(c != NULL);
__dbuspolicy1_change_creds(0, 0, NULL);
- tassert(dbuspolicy1_check_out(c, "", "bli.bla.blubb test.test1 test.tes3", "", "/an/object/path", "", DBUSPOLICY_MESSAGE_TYPE_SIGNAL, "", 0, 0) == true);
+ tassert(dbuspolicy1_check_out(c, "", "org.test.test3", "", "/an/object/path", "", DBUSPOLICY_MESSAGE_TYPE_SIGNAL, "", 0, 0) == true);
__dbuspolicy1_change_creds(5010, 0, NULL);
tassert(dbuspolicy1_check_out(c, "", "bli.bla.blubb", "", "/an/object/path", "", DBUSPOLICY_MESSAGE_TYPE_SIGNAL, "", 0, 0) == false);
<busconfig>
<policy context="default" >
- <check send_destination="cynara.destination" privilege="t"/>
+ <check send_destination="org.freedesktop.systemd1" privilege="t"/>
<check receive_sender="cynara.sender" privilege="t"/>
</policy>
</busconfig>