diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2011-05-29 15:18:20 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2011-05-29 15:18:20 +0000 |
commit | 4ac0908a8d2e315886f644117c7660765bc13874 (patch) | |
tree | 3b5d1aeb811a0bcc288ae1adac3d510d758c01a7 /sys/nfs | |
parent | 78e5e14fca94ad8e4b6911bd0296fad3a8ab1e2f (diff) |
Fix parameter range clamping in vmmap routines.
The old VM_MAP_RANGE_CHECK macro was wrong and caused code to be unreadable
(argument altering macros are harmful).
Each function now treats the memory range outside the map as it would treat
free memory: if it would error on being given free memory, it'll error
in a similar fashion when the start,end parameters fall outside the map.
If it would accept free memory in its argument range, it'll silently accept
the outside-map memory too.
Confirmed to help ports build machines.
Diffstat (limited to 'sys/nfs')
0 files changed, 0 insertions, 0 deletions