process-util: refuse FORK_DETACH + FORK_DEATHSIG_*
authorMike Yuan <me@yhndnzj.com>
Mon, 11 Nov 2024 18:38:36 +0000 (19:38 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Nov 2024 12:22:15 +0000 (12:22 +0000)
commitc8590ad60d17b8354d6c8e3f79b1de50abac919a
treeb17f2316272189093f167a33f79847d23dd06ec7
parent7eaf5ded61e6ae25c790dd3e672d3864f5574327
process-util: refuse FORK_DETACH + FORK_DEATHSIG_*

There's no synchoronization between the intermediate process
and the double-forked child, and the semantics are not useful.
Refuse such combination.
src/basic/process-util.c