CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/10/21 13:00:48
Modified files:
sys/kern : sysv_sem.c
Log message:
Fix problem reported by Nathan Weeks <[email protected]> where a userland
program could induce the kernel to panic by attempting to do a sempo
with nsops > kern.seminfo.semume and the SEM_UNFO flag set.
This fixes it so we return ENOSPC, like the man page says, rather
than panicing.
ok miod@, millert@
