On Jul 23 2025, Chet Ramey wrote:
>> Strange ... AFAICS clone3() is used to spawn the subprocess for the shell
>> 307826 clone3({flags=CLONE_VM|CLONE_VFORK|CLONE_CLEAR_SIGHAND,
>> exit_signal=SIGCHLD, stack=0x7f7a0d302000, stack_size=0x9000}, 88
>> <unfinished ...>
>
> This is a libc fork() wrapper thing.
That's actually posix_spawn.
--
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."