summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/exec.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-01-07 22:47:18 +0000
committermiod <miod@openbsd.org>2013-01-07 22:47:18 +0000
commitdc3febfb9355479583c4d7a9a36ea4722e5c902b (patch)
treef2ff2d2c3b29f7af541a5814a060fe6bc6c8be22 /lib/libc/gen/exec.c
parentTeach as(1) how to handle mips symbolic register names. (diff)
downloadwireguard-openbsd-dc3febfb9355479583c4d7a9a36ea4722e5c902b.tar.xz
wireguard-openbsd-dc3febfb9355479583c4d7a9a36ea4722e5c902b.zip
Correctly signal SIGSEGV, instead of SIGBUS, for faults caused by access to
pages mapped without read (or write) permissions. The existing logic would incorrectly match uvm_fault() returning EACCES with the CMMU fault logic reporting a bus error (which will still cause SIGBUS to be sent).
Diffstat (limited to 'lib/libc/gen/exec.c')
0 files changed, 0 insertions, 0 deletions