summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-09-16 02:03:40 +0000
committerguenther <guenther@openbsd.org>2017-09-16 02:03:40 +0000
commit6e3bbdbc7ca6fb202c4c93125fdee5dce85a6c41 (patch)
tree4246f75cb095b7a6c272fdff64666b51f4984792 /lib/libc
parentCoverity complains that top == NULL was checked and further down (diff)
downloadwireguard-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