summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-08-22 07:23:51 +0000
committeralc <alc@FreeBSD.org>2005-08-22 07:23:51 +0000
commit3b3aada1ca8b3d3a4f6df67fd14e056cfc5daaad (patch)
treea4ce327ea84b80116bab6c6dabfd7226ac0d7352 /usr.bin/locate
parent730a635f5bb713415068a4f40fba02e185a5c73a (diff)
downloadFreeBSD-src-3b3aada1ca8b3d3a4f6df67fd14e056cfc5daaad.zip
FreeBSD-src-3b3aada1ca8b3d3a4f6df67fd14e056cfc5daaad.tar.gz
Change pmap_extract() and pmap_extract_and_hold() to use PG_FRAME rather
than ~PDRMASK to extract the physical address of a superpage from a PDE. The use of ~PDRMASK is problematic if the PDE has PG_NX set. Specifically, the PG_NX bit will be included in the physical address if ~PDRMASK is used. Reviewed by: peter
Diffstat (limited to 'usr.bin/locate')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud