NetBSD-Bugs archive

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

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: "Kamil Rytarowski" <kamil%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55241 CVS commit: src/tests/lib/libc/sys
Date: Thu, 14 May 2020 19:21:35 +0000

 Module Name:	src
 Committed By:	kamil
 Date:		Thu May 14 19:21:35 UTC 2020
 
 Modified Files:
 	src/tests/lib/libc/sys: t_ptrace_fork_wait.h
 
 Log Message:
 Ignore interception of the SIGCHLD signals.
 
 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
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index