On 19/10/2025 23:27, Collin Funk wrote:
Pádraig Brady <[email protected]> writes:
where I noted glibc's implementation was just becoming usable,
which definitely should be the case by now.
What was wrong with it previously? As far as I can tell, before
glibc-2.24 posix_spawn just did fork/vfork + exec. Were there problems
with that implementation or some issues with the earlier clone versions?
I was thinking of https://sourceware.org/PR10354
Oh, in that case we can use the POSIX_SPAWN_USEVFORK. Attached an
example patch for 'install'.
That flag is a no-op
since:https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ccfb2964and only
there to allow old code to compile.
The default settings may be just fine these days,
though I've not looked into the details.
cheers,
Padraig