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: Artur Grabowski (artcvs.openbsd.org)
Date: Sat Dec 01 2007 - 10:20:07 CST


CVSROOT: /cvs
Module name: src
Changes by: artcvs.openbsd.org 2007/12/01 09:20:07

Modified files:
        sys/arch/amd64/amd64: syscall.c

Log message:
Don't be lazy in the locking in SYSCALL_DEBUG code.
KERNEL_PROC_UNLOCK is not safe for recursion (becuase it clears P_BIGLOCK)
so we have to make that lock conditional as well.

Found by tholo when reviewing the i386 diff.