summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_misc.c
diff options
context:
space:
mode:
authormhitch <mhitch@NetBSD.org>1997-07-26 19:46:40 +0000
committermhitch <mhitch@NetBSD.org>1997-07-26 19:46:40 +0000
commit8e145a319b64a973e28df3a2a9fa1a7bf3771f3f (patch)
tree41da59556632c00b9307fc8cb991cf37df16f64a /sys/compat/linux/common/linux_misc.c
parente083a60af2bf8bf00125fcda84081664002699f0 (diff)
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.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
0 files changed, 0 insertions, 0 deletions