OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Owain Ainsworth (ogacvs.openbsd.org)
Date: Wed May 26 2010 - 10:16:57 CDT


CVSROOT: /cvs
Module name: src
Changes by: ogacvs.openbsd.org 2010/05/26 09:16:57

Modified files:
        sys/kern : kern_exit.c

Log message:
Bad tedu, no cookie.

Don't set SDEAD on the process in exit1 untile we have grabbed the
allproclk. allproclk is a rwlock and thus we may sleep to grab hold of
it. This is a big of a bugger when we just set a flag that means we
panic if we sleep.

ok art. turns Tom Murphy's fstat panic into a deadlock instead *sigh*,
this is being looked into.