chiark / gitweb /
bus: when getting a kdbus connection into a container wait first for child, then...
authorLennart Poettering <lennart@poettering.net>
Mon, 23 Dec 2013 18:10:11 +0000 (19:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Dec 2013 18:10:11 +0000 (19:10 +0100)
commitfbadf04511389c4a0687ba5e9baf0ecebdbb07f1
treee54a8fe180ebe121a40c70cf23024c3fee77fd3e
parente7f7a1b0222c49fd4706a77bbdac59ac28a4ddbb
bus: when getting a kdbus connection into a container wait first for child, then read message

There's no EOF generated for AF_UNIX/SOCK_DGRAM sockets, hence let's
wait for the child first to see if it succeeded, only then read the socket.
src/libsystemd-bus/bus-container.c
src/machine/machinectl.c
src/shared/logs-show.c