diff options
author | 2013-01-07 22:47:18 +0000 | |
---|---|---|
committer | 2013-01-07 22:47:18 +0000 | |
commit | dc3febfb9355479583c4d7a9a36ea4722e5c902b (patch) | |
tree | f2ff2d2c3b29f7af541a5814a060fe6bc6c8be22 /lib/libc/gen/exec.c | |
parent | Teach as(1) how to handle mips symbolic register names. (diff) | |
download | wireguard-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