CVSROOT:        /cvs
Module name:    src
Changes by:     b...@cvs.openbsd.org    2012/10/21 13:00:48

Modified files:
        sys/kern       : sysv_sem.c 

Log message:
Fix problem reported by Nathan Weeks <we...@iastate.edu> 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@

Reply via email to