NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/58091 CVS commit: src/tests/lib/libc/gen/posix_spawn
The following reply was made to PR kern/58091; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/58091 CVS commit: src/tests/lib/libc/gen/posix_spawn
Date: Sat, 15 Mar 2025 12:09:41 +0000
Module Name: src
Committed By: riastradh
Date: Sat Mar 15 12:09:41 UTC 2025
Modified Files:
src/tests/lib/libc/gen/posix_spawn: t_spawn.c
Log Message:
t_spawn: Add missing dup2 in t_spawn_sig.
Matches what h_execsig expects, and what t_execve_sig arranges: stdin
is a pipe that the parent will write a single byte to after it has
delivered SIGTERM.
Now this should have a higher chance of provoking the bug (though it
was already good enough in cursory testing!).
PR kern/58091: after fork/execve or posix_spawn, parent kill(child,
SIGTERM) has race condition making it unreliable
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/gen/posix_spawn/t_spawn.c
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