tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: system(3) semantics when SIGCHLD is SIG_IGN'd

On Sat, Aug 12, 2023 at 11:58:36AM +0000, Taylor R Campbell wrote:
 > What should system(3) do when the signal action for SIGCHLD is
 > SIG_IGN, or has SA_NOCLDWAIT set?
 > [...]

My suggestion would be invent a new working mechanism for disowning
children and banish the mess to COMPAT_POSIX_MISTAKE.

I had never noticed this specific additional behavior that prohibits
wait(2) from operating properly; that makes the feature broken instead
of just messy and ugly.

David A. Holland

Home | Main Index | Thread Index | Old Index