Re: The kill test of util-linux fails with bash 5.3
From:
Dr. Werner Fink
Subject:
Re: The kill test of util-linux fails with bash 5.3
Date:
Wed, 23 Jul 2025 15:35:57 +0200
On 2025/07/23 09:33:01 -0400, Chet Ramey wrote:
> 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.
Correct but (g)libc function call system(3) does
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr