Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2002 18:50:44 -0400 (EDT)
From:      "Andrew R. Reiter" <arr@watson.org>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sysv_sem.c
Message-ID:  <Pine.NEB.3.96L.1020824185005.25330A-100000@fledge.watson.org>
In-Reply-To: <200208130847.g7D8lKKQ036126@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Aug 2002, Alfred Perlstein wrote:

:alfred      2002/08/13 01:47:17 PDT
:
:  Modified files:
:    sys/kern             sysv_sem.c 
:  Log:
:  Make SYSVSEM mpsafe.  Each semaphore set gets its own lock, however
:  there is a global lock over the undo structures because of the way
:  they are managed.
:  
:  Switch to using SLIST instead of rolling our own linked list.
:  
:  Fix several races where a permission check was done before a
:  copyin/copyout, if the copy happened to fault it may have been
:  possible to race for access to a semaphore set that one shouldn't
:  have access to.
:  
:  Requested by: rwatson
:  Tested by: NetBSD regression suite.

Damn, I go away for 2 weeks away from net access ... do the same code...
*darn* :)  Good stuff!  Thanks for the effort!

Cheers,

--
Andrew R. Reiter
arr@watson.org
arr@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020824185005.25330A-100000>