summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2011-07-05 10:04:27 +0000
committermatthew <matthew@openbsd.org>2011-07-05 10:04:27 +0000
commit0875fda770080587755fb7cd26fad97b1f93cf7d (patch)
treeda393b88f4f0211f3cb230ddd8ef8a65c65adbb3 /lib/libc
parentEnforce that raw disk I/O is only initiated on block boundaries in (diff)
downloadwireguard-openbsd-0875fda770080587755fb7cd26fad97b1f93cf7d.tar.xz
wireguard-openbsd-0875fda770080587755fb7cd26fad97b1f93cf7d.zip
If uvm_vslock_device() fails, just exit the loop. None of the
after_unlock code is needed if this happens, and running it was even wrong because we weren't setting b_resid, so uio_offset (and higher up, f_offset) would be incorrectly adjusted. Discussed with deraadt@.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions