CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/09/15 20:03:40
Modified files:
sys/arch/amd64/amd64: trap.c copy.S
sys/arch/arm64/arm64: trap.c
regress/sys/kern/ptrace: ptrace.c
Log message:
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@