diff options
author | 2017-09-12 02:56:54 +0000 | |
---|---|---|
committer | 2017-09-12 02:56:54 +0000 | |
commit | 1d9ceb0dd16dc0a61a07f6b04e0d724d14091512 (patch) | |
tree | d6b491cb577ffa5849d9cdc62ca5472b99ad2a23 /usr.bin/ssh/ssh.c | |
parent | Update the documentation regarding /dev/mem and /dev/kmem; (diff) | |
download | wireguard-openbsd-1d9ceb0dd16dc0a61a07f6b04e0d724d14091512.tar.xz wireguard-openbsd-1d9ceb0dd16dc0a61a07f6b04e0d724d14091512.zip |
add a guard page on the end of each threads kernel stack.
this protects the process control block. it also makes the kernel
fault hard when the guard page gets hit by the stack, allowing
debugging of the problem set of function calls at the time the
problem occurs. without this, a big stack can overwrite the pcb,
which makes the thread generate a fault when it is switched back
onto a cpu, which is way too late.
discussed with guenther@
ok deraadt@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
0 files changed, 0 insertions, 0 deletions