Race-free process creation in the GNU C Library
Race-free process creation in the GNU C Library
Posted Sep 2, 2023 7:02 UTC (Sat) by ibukanov (subscriber, #3942)Parent article: Race-free process creation in the GNU C Library
Posted Sep 2, 2023 10:14 UTC (Sat)
by bluca (subscriber, #118303)
[Link] (2 responses)
Posted Sep 2, 2023 10:57 UTC (Sat)
by darmengod (subscriber, #130659)
[Link] (1 responses)
But when it sends the pidfd to some other process, the receiver has no way to get the PID (number) without /proc being accessible, and that is undesirable.
Couldn't this be resolved by convention at the application layer? So the original parent process doesn't just send an empty message with SCM_PIDFD attached, but includes the PID as a number in the regular message payload?
Posted Sep 2, 2023 11:09 UTC (Sat)
by bluca (subscriber, #118303)
[Link]
Race-free process creation in the GNU C Library
Race-free process creation in the GNU C Library
Race-free process creation in the GNU C Library
