summaryrefslogtreecommitdiff
path: root/lib/libresolv
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-12-24 15:30:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-12-24 15:30:14 +0000
commit939ab125dc2379bde835ac8ac298904fc82254bd (patch)
treeb392becbf2a09acf27726d8ee3b4970f8d9eb936 /lib/libresolv
parent1f1f18d170ac6d13363c75e72643a17ad0185d0b (diff)
Since we have real bus error faults, and handle them as such, always treat
uvm_fault() returning EACCES as a segmentation fault rather than a bus error, whatever address the fault is at. As a result, this correctly delivers SIGSEGV, rather than SIGBUS, when attempting to write to a page with only PROT_READ permissions.
Diffstat (limited to 'lib/libresolv')
0 files changed, 0 insertions, 0 deletions