summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2007-09-10 18:49:42 +0000
committermiod <miod@openbsd.org>2007-09-10 18:49:42 +0000
commit8e46a4c8908668b6bbe6fde5479de588913ccdbf (patch)
tree4bc9c73a8e0b2ffef3158650eda9ca1495441f6e /usr.bin/diff/diffreg.c
parentif more than 5 consecutive beacons are lost, reinitialize sensitivity (diff)
downloadwireguard-openbsd-8e46a4c8908668b6bbe6fde5479de588913ccdbf.tar.xz
wireguard-openbsd-8e46a4c8908668b6bbe6fde5479de588913ccdbf.zip
Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions