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.