varlink: turn off O_NONBLOCK in exec: transport
authorLennart Poettering <lennart@poettering.net>
Mon, 8 Jan 2024 17:49:12 +0000 (18:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Jan 2024 22:24:39 +0000 (23:24 +0100)
commit07dca3c4b013bf9de440436142986408b4a3537d
treebf549b46cdb75cc36948647e17be18fd807dbc3a
parent3b1e80f7cb49971b98552f064c494f98b6243505
varlink: turn off O_NONBLOCK in exec: transport

If we invoke our own varlink implementation we'll turn on O_NONBLOCK
right-away again, hence there is little point in turning it off,
however, I generally think we probably should always path this fd as
blocking, since that is the default after all, and invoked processes
might want to use it like that.

Or to see this differently: I think the varlink fd passed for activation
in many ways is similar to and as fundamental as stdin/stderr/stdout,
hence should probably be synchronous by default.
src/shared/varlink.c