diff options
author | Havoc Pennington <hp@redhat.com> | 2003-05-16 20:09:25 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-05-16 20:09:25 +0000 |
commit | 306eab3e3d998472ad111146a12b7697ea96c9b9 (patch) | |
tree | 613b5918113060fb66b7122307d8a6d2c2c2344f /bus/bus.c | |
parent | ce53bbd7af4488b8374aeccc2e80fb2f7eff0683 (diff) |
2003-05-16 Havoc Pennington <hp@redhat.com>
* dbus/dbus-connection.c: disable verbose lock spew
* tools/dbus-send.c: add --print-reply command line option
* tools/dbus-print-message.h (print_message): new util function
shared by dbus-send and dbus-monitor
* tools/dbus-monitor.c (handler_func): exit on disconnect
* dbus/dbus-transport-unix.c (do_reading): if the transport is
disconnected, don't try to use the read_watch
* dbus/dbus-watch.c (dbus_watch_get_enabled): assert watch != NULL
so we can find this bug more easily
Diffstat (limited to 'bus/bus.c')
-rw-r--r-- | bus/bus.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -970,6 +970,7 @@ bus_context_check_security_policy (BusContext *context, "had name \"%s\" destination \"%s\")", dbus_message_get_name (message), dest ? dest : DBUS_SERVICE_DBUS); + _dbus_verbose ("security policy disallowing message due to sender policy\n"); return FALSE; } @@ -986,6 +987,7 @@ bus_context_check_security_policy (BusContext *context, "had name \"%s\" destination \"%s\")", dbus_message_get_name (message), dest ? dest : DBUS_SERVICE_DBUS); + _dbus_verbose ("security policy disallowing message due to recipient policy\n"); return FALSE; } @@ -998,8 +1000,10 @@ bus_context_check_security_policy (BusContext *context, dbus_set_error (error, DBUS_ERROR_LIMITS_EXCEEDED, "The destination service \"%s\" has a full message queue", dest ? dest : DBUS_SERVICE_DBUS); + _dbus_verbose ("security policy disallowing message due to full message queue\n"); return FALSE; } - + + _dbus_verbose ("security policy allowing message\n"); return TRUE; } |