Konstantin Belousov 137cf3b682 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
2009-01-15 12:15:46 +00:00
..
2008-11-29 14:32:14 +00:00
2008-09-23 14:25:56 +00:00
2008-08-03 21:07:19 +00:00
2008-11-27 04:40:37 +00:00
2008-09-22 10:37:02 +00:00
2008-05-12 06:42:06 +00:00
2008-05-23 04:06:49 +00:00
2007-12-14 21:30:51 +00:00
2008-07-27 21:45:20 +00:00
2008-12-21 21:54:01 +00:00
2008-07-18 07:10:33 +00:00
2009-01-02 23:39:29 +00:00
2009-01-01 20:03:22 +00:00
2008-12-16 23:16:10 +00:00
2008-12-16 23:16:10 +00:00
2008-12-27 10:13:43 +00:00
2008-11-29 12:40:14 +00:00