NetBSD-Bugs archive

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

Re: PR/55241 CVS commit: src/tests/lib/libc/sys

The following reply was made to PR lib/55241; it has been noted by GNATS.

From: Andreas Gustafsson <>
Subject: Re: PR/55241 CVS commit: src/tests/lib/libc/sys
Date: Sat, 16 May 2020 19:07:16 +0300

 Kamil Rytarowski wrote:
 >  SIGCHLD once blocked is discarded by the kernel as it has the
 >  SA_IGNORE property. During the fork(2) operation all signals can be
 >  shortly blocked and missed (unless there is a registered signal
 >  handler in the traced child). This leads to a race in this test if
 >  there would be an intention to catch SIGCHLD.
 >  Fixes PR lib/55241 by Andreas Gustafsson
 >  To generate a diff of this commit:
 >  cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_ptrace_fork_wait.h
 This commit fixed many, but not all of the failures reported in this PR.
 For example, lib/libc/sys/t_ptrace_wait4:fork_singalmasked failed in
 the test run immediately after the commit:
 Andreas Gustafsson,

Home | Main Index | Thread Index | Old Index