summaryrefslogtreecommitdiffstats
path: root/lib/libm/noieee_src
diff options
context:
space:
mode:
authorariane <ariane@openbsd.org>2011-05-29 15:18:19 +0000
committerariane <ariane@openbsd.org>2011-05-29 15:18:19 +0000
commit6ffe1711590840e2459ff1709973e670a927e9be (patch)
tree698b3ca815d731e11890a9d70718474edec8d7fb /lib/libm/noieee_src
parentsync (diff)
downloadwireguard-openbsd-6ffe1711590840e2459ff1709973e670a927e9be.tar.xz
wireguard-openbsd-6ffe1711590840e2459ff1709973e670a927e9be.zip
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 'lib/libm/noieee_src')
0 files changed, 0 insertions, 0 deletions