PƔdraig Brady <P@draigBrady.com> writes:
> 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.
That change was after the clone implementation. It looks like before
then the POSIX_SPAWN_USEVFORK implementation actually used vfork which
would likewise use clone with CLONE_VM.
> The default settings may be just fine these days,
> though I've not looked into the details.
The default works well, that is what I used in my original message.
Gnulib's version uses vfork when POSIX_SPAWN_USEVFORK is used, which
might help other systems, though.
Collin