]> git.ipfire.org Git - thirdparty/systemd.git/commit
stdio-bridge: properly handle org.freedesktop.DBus.Local.Disconnected signal
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Nov 2023 22:29:50 +0000 (23:29 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 29 Nov 2023 05:15:44 +0000 (14:15 +0900)
commit0321248b79d14ceddd36140b327332f145ae68e7
treebd36d0ace583729aab1c5d43075a886f9e1ad0bc
parentec43827bf746c0ccccdac6341f4288d2a622d492
stdio-bridge: properly handle org.freedesktop.DBus.Local.Disconnected signal

Previously, we'd forward org.freedesktop.DBus.Local.Disconnected like
any other message to the other side. But that's not OK, as messages in
the org.freedesktop.DBus.Local.* namespace are supposed to never touch
the wire, and are synthetic messages that the library uses to
communicate with the app, but never with other apps.

dbus-daemon never cared, but dbus-broker complains about this, hence
clean this up.

See: #28514
src/stdio-bridge/stdio-bridge.c