K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-11T08:12:36.000000Z K 7 svn:log V 633 Merge kern_proc.c:1.259 from HEAD to RELENG_7: Return ESRCH when a kernel stack is queried on a process in execve() -- p_candebug() will return EAGAIN which, if the other process never leaves execve(), will result in the sysctl spinning and never returning to userspace. Processes should always eventually leave execve(), but spinning in kernel while we wait is bad for countless reasons, and particularly harmful if execve() itself is deadlocked. Possibly we should return another error, or return a marker indicating the thread is in execve() so it can be reported that way in userspace. Reported by: kris END