complain_about_message (context, DBUS_ERROR_ACCESS_DENIED,
"Rejected send message", toggles,
message, sender, proposed_recipient, requested_reply,
- (addressed_recipient == proposed_recipient), privilege,
+ (addressed_recipient == proposed_recipient) || (type == DBUS_MESSAGE_TYPE_SIGNAL),
+ privilege,
error, out_rule);
_dbus_verbose ("security policy disallowing message due to sender policy\n");
if (out_rule)
complain_about_message(context, DBUS_ERROR_ACCESS_DENIED,
"Rejected receive message", toggles, message, sender,
proposed_recipient, requested_reply,
- (addressed_recipient == proposed_recipient), privilege, error, out_rule);
+ (addressed_recipient == proposed_recipient) || (type == DBUS_MESSAGE_TYPE_SIGNAL),
+ privilege, error, out_rule);
_dbus_verbose(
"security policy disallowing message due to recipient policy\n");
if (out_rule)