Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 07/26/1997 19:50:02
mhitch
Sat Jul 26 12:46:42 PDT 1997
Update of /cvsroot/src/sys/arch/mips/mips
In directory netbsd1:/var/slash-tmp/cvs-serv5205

Modified Files:
	trap.c 
Log Message:
Don't rely on curproc to access the current pcb when testing for kernel
faults.  Use curpcb, which always points to the current pcb.  If curproc
was NULL when the kernel faulted, the trap handling would fault recursively
and the kernel stack would overflow.