jilles 7a3a1c55f2 sem_open: Make sure to fail an O_CREAT|O_EXCL open, even if that semaphore
is already open in this process.

If the named semaphore is already open, sem_open() only increments a
reference count and did not take the flags into account (which otherwise
happens by passing them to open()). Add an extra check for O_CREAT|O_EXCL.

PR:		kern/166706
Reviewed by:	davidxu
MFC after:	10 days
2012-04-09 14:17:22 +00:00
..
2011-12-13 14:53:26 +00:00
2012-02-11 20:43:01 +00:00
2012-03-29 06:19:00 +00:00
2012-03-23 23:07:02 +00:00
2012-03-30 12:34:34 +00:00
2012-02-25 14:31:25 +00:00
2012-03-24 05:18:27 +00:00