On 7/23/25 9:30 AM, Andreas Schwab wrote:
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.

Bash doesn't use posix_spawn.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to