projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201e419
)
core: set a description on private bus connections
author
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Feb 2018 21:30:17 +0000
(22:30 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 12 Feb 2018 10:34:00 +0000
(11:34 +0100)
Let's make things easier to debug
src/core/dbus.c
patch
|
blob
|
history
diff --git
a/src/core/dbus.c
b/src/core/dbus.c
index
6507913
..
87739f1
100644
(file)
--- a/
src/core/dbus.c
+++ b/
src/core/dbus.c
@@
-653,6
+653,8
@@
static int bus_on_connection(sd_event_source *s, int fd, uint32_t revents, void
return 0;
}
+ (void) sd_bus_set_description(bus, "private-bus-connection");
+
r = sd_bus_set_fd(bus, nfd, nfd);
if (r < 0) {
log_warning_errno(r, "Failed to set fd on new connection bus: %m");