CVS: cvs.openbsd.org: src

Greg Steuck <[email protected]> Mon, 3 Aug 2026 00:17:48 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/08/03 00:17:48

Modified files:
	sys/kern       : sysv_shm.c 

Log message:
Eliminate holding raw shmseg over sleep-window in uvm_unmap

This simplifies the code back to almost the way it was in
rev 1.80 except the shmsegs are changed before any sleep is
possible. This still avoids the double free except via code
structure instead of extra variable carrying the decision.

OK millert@

Reported-by: [email protected]