Files
systemd/src
Michael Vogt 1af2d1c3e1 shared: extend socket-forward to support fd-pairs too
Now that the socket forward code is extracted we can
extend it to not just support bidirectional sockets
but also input/output fd-pairs. This will be needed
for e.g. the varlinkctl protocol upgrade support where
one side of the connection is a fd-pair (stdin/stdout).

This is done by creating two half-duplex forwarders
that operate independantly. This also allows to simplify
some state tracking, e.g. because each fd serves only one
direction we don't need to dynamically create the event mask
with EPOLLIN etc, its enough to set it once. It also handles
non-pollable FDs transparently.

Thanks to Lennart for his excellent suggestions here.
2026-03-31 18:25:09 +02:00
..
…
2026-03-11 03:23:53 +09:00
2026-03-25 02:03:56 +01:00
2026-03-28 19:56:30 +00:00
…
2026-02-20 16:56:16 +01:00
…
2026-03-18 10:28:47 +00:00