diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-08-31 08:07:35 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-31 08:37:46 +0200 |
commit | c8a0f0cb9aa8773a8133d990f5fd5d22b7cc5523 (patch) | |
tree | ee2fdb9167caa6d234f18165e31c2b18725c66bf /src/libelogind | |
parent | 1c540d7e5fda3dae36dc36887cce2d5a914c5481 (diff) |
Prep v239: Fix and add debug messages to method_can_shutdown_or_sleep()
Diffstat (limited to 'src/libelogind')
-rw-r--r-- | src/libelogind/sd-bus/bus-convenience.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libelogind/sd-bus/bus-convenience.c b/src/libelogind/sd-bus/bus-convenience.c index 41910515d..68a419c6d 100644 --- a/src/libelogind/sd-bus/bus-convenience.c +++ b/src/libelogind/sd-bus/bus-convenience.c @@ -529,6 +529,11 @@ _public_ int sd_bus_query_sender_creds(sd_bus_message *call, uint64_t mask, sd_b return sd_bus_get_owner_creds(call->bus, mask, creds); } + log_debug_elogind("Called by UID %u ; %s [%s] (%s)", c->uid, + c->unique_name ? c->unique_name : "no name", + c->label ? c->label : "no label", + c->description ? c->description : "no desc"); + return bus_creds_extend_by_pid(c, mask, creds); } |