diff options
Diffstat (limited to 'bus/policy.c')
-rw-r--r-- | bus/policy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bus/policy.c b/bus/policy.c index 7b4c5f26..7782563b 100644 --- a/bus/policy.c +++ b/bus/policy.c @@ -900,9 +900,9 @@ bus_client_policy_check_can_send (BusClientPolicy *policy, * only when reply was requested. requested_reply=false means * always allow. */ - if (!requested_reply && rule->allow && rule->d.send.requested_reply) + if (!requested_reply && rule->allow && rule->d.send.requested_reply && !rule->d.send.eavesdrop) { - _dbus_verbose (" (policy) skipping allow rule since it only applies to requested replies\n"); + _dbus_verbose (" (policy) skipping allow rule since it only applies to requested replies and does not allow eavesdropping\n"); continue; } @@ -1086,9 +1086,9 @@ bus_client_policy_check_can_receive (BusClientPolicy *policy, * only when reply was requested. requested_reply=false means * always allow. */ - if (!requested_reply && rule->allow && rule->d.receive.requested_reply) + if (!requested_reply && rule->allow && rule->d.receive.requested_reply && !rule->d.receive.eavesdrop) { - _dbus_verbose (" (policy) skipping allow rule since it only applies to requested replies\n"); + _dbus_verbose (" (policy) skipping allow rule since it only applies to requested replies and does not allow eavesdropping\n"); continue; } |