diff options
author | 2017-09-16 02:03:40 +0000 | |
---|---|---|
committer | 2017-09-16 02:03:40 +0000 | |
commit | 6e3bbdbc7ca6fb202c4c93125fdee5dce85a6c41 (patch) | |
tree | 4246f75cb095b7a6c272fdff64666b51f4984792 /lib/libc | |
parent | Coverity complains that top == NULL was checked and further down (diff) | |
download | wireguard-openbsd-6e3bbdbc7ca6fb202c4c93125fdee5dce85a6c41.tar.xz wireguard-openbsd-6e3bbdbc7ca6fb202c4c93125fdee5dce85a6c41.zip |
The copyin(9) family of functions should return EFAULT for all memory
protection issues. So make amd64 do that instead of passing through
uvm_fault()'s return value, which lead to other possible errors
(particularly EACCES) being returned to userspace. Clean up a vestige
on arm64 too.
ok bluhn@ deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions