Date: Thu, 15 Jan 2009 12:15:46 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sysv_sem.c Message-ID: <200901151216.n0FCG3hF029365@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2009-01-15 12:15:46 UTC
FreeBSD src repository
Modified files:
sys/kern sysv_sem.c
Log:
SVN rev 187298 on 2009-01-15 12:15:46Z by kib
Lock the semaphore identifier lock during semaphore initialization to
guarantee atomicity of the operation for other semaphore consumers.
In particular, this should guard against access to the semaphore with
not done or partially done MAC label assignment.
Reviewed by: rwatson
MFC after: 1 month
Revision Changes Path
1.93 +4 -0 src/sys/kern/sysv_sem.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901151216.n0FCG3hF029365>
