Race-free process creation in the GNU C Library
Race-free process creation in the GNU C Library
Posted Sep 14, 2023 19:03 UTC (Thu) by the8472 (guest, #144969)Parent article: Race-free process creation in the GNU C Library
Open a unix socket pair, fork, pidfd_open in the child, send the fd to the parent, do other process setup stuff, exec. We already had a communication channel to the parent anyway for error handling, previously it was a pipe, so it wasn't a big change.
Posted Jun 23, 2024 19:51 UTC (Sun)
by heiner (guest, #158880)
[Link]
I guess in a library context one cannot actually rule that out.
Race-free process creation in the GNU C Library