]> git.ipfire.org Git - thirdparty/systemd.git/commit
executor: really set POSIX_SPAWN_SETSIGDEF for posix_spawn
authorLuca Boccassi <bluca@debian.org>
Mon, 5 Feb 2024 14:22:52 +0000 (14:22 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 5 Feb 2024 16:26:01 +0000 (16:26 +0000)
commit9ca13d60dbf5d76f52b21c12dd5c91cd082e291e
treee7dc9d2d352aab474ff3a8ceb1164fe47407d618
parent4e71714bcac45504fe3568e55d2f73c6043d03ae
executor: really set POSIX_SPAWN_SETSIGDEF for posix_spawn

posix_spawnattr_setflags() doesn't OR the input to the current set of flags,
it overwrites them, so we are currently losing POSIX_SPAWN_SETSIGDEF.

Follow-up for: 6ecdfe7d1008964eed3f67b489cef8c65a218bf1
src/basic/process-util.c