summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel/bsdlabel.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-09-29 22:13:29 +0000
committerkmacy <kmacy@FreeBSD.org>2008-09-29 22:13:29 +0000
commitcc2238d3339259960bfe8a6173749d9b0f95c9d9 (patch)
treedff10c28a75372762a0d64fd69327dc92ebb8084 /sbin/bsdlabel/bsdlabel.c
parentde9e8917480edc80682a8b4355dfd83e315ea796 (diff)
downloadFreeBSD-src-cc2238d3339259960bfe8a6173749d9b0f95c9d9.zip
FreeBSD-src-cc2238d3339259960bfe8a6173749d9b0f95c9d9.tar.gz
vm_fault_hold_user_pages will not return if an address in the range passed in is mapped RO
but an RW mapping exists for the underlying page. This change fixes the bug by using the page / NULL returned from pmap_extract_and_hold to determine whether or not vm_fault needs to be called. The bug was pointed out by alc. MFC after: 3 days
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud