diff options
author | 2011-07-05 10:04:27 +0000 | |
---|---|---|
committer | 2011-07-05 10:04:27 +0000 | |
commit | 0875fda770080587755fb7cd26fad97b1f93cf7d (patch) | |
tree | da393b88f4f0211f3cb230ddd8ef8a65c65adbb3 /lib/libc | |
parent | Enforce that raw disk I/O is only initiated on block boundaries in (diff) | |
download | wireguard-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