CVS commit: [netbsd-9] src/sys/kern

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Sat Jun 27 17:22:27 UTC 2026

Modified Files:
	src/sys/kern [netbsd-9]: kern_exec.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #2015):

	sys/kern/kern_exec.c: revision 1.526

posix_spawn(2): Fix race between parent and child.

This was an embarrassing misuse of condition variables.

PR kern/59175: posix_spawn hang, hanging other process too
PR kern/52634: possible unhandled spurious wakeup in posix_spawn
(This only resolves one of the symptoms wiz had in PR 59175; there is
also another issue involved with p_vmspace and p_psstrp.)


To generate a diff of this commit:
cvs rdiff -u -r1.478.2.3 -r1.478.2.4 src/sys/kern/kern_exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.