Module Name: src
Committed By: martin
Date: Thu Oct 10 17:23:45 UTC 2019
Modified Files:
src/sys/kern [netbsd-9]: sysv_shm.c
Log Message:
Pull up following revision(s) (requested by chs in ticket #294):
sys/kern/sysv_shm.c: revision 1.140,1.141
revert rev 1.139 (fixing a race between shmat() and shmdt())
that approach turned out to be too complicated.
-
simpler fix for the race between shmat() and shmdt():
change shmat() to hold shm_lock until it is completely done.
To generate a diff of this commit:
cvs rdiff -u -r1.135.2.3 -r1.135.2.4 src/sys/kern/sysv_shm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.