Map the sigcode page copy-on-write. This allows userland to put breakpoints
authorkettenis <kettenis@openbsd.org>
Thu, 15 Jan 2015 10:04:26 +0000 (10:04 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 15 Jan 2015 10:04:26 +0000 (10:04 +0000)
commita47732fe6f1027224d74956bd449e1a469bea044
tree07c51d210ec5bf9475c471980ccf3e63c22d2775
parent2aa7d2208a574010463f7eba5ed602c0b36ee122
Map the sigcode page copy-on-write.  This allows userland to put breakpoints
in the signal trampoline.  Solves some long-standing issues with debugging
signal handlers in GDB.

ok deraadt@
sys/kern/kern_exec.c