[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Miod Vallat <miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Wed, 24 Dec 2003 08:30:13 -0700 (MST)
Module name: src
Changes by: miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2003/12/24 08:30:13
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.
Visit your host, monkey.org