In all the copyin family functions, must compare end-address against
authorderaadt <deraadt@openbsd.org>
Sat, 15 May 2021 20:14:05 +0000 (20:14 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 15 May 2021 20:14:05 +0000 (20:14 +0000)
commitd375faf4f3d255d3a347972b33f95edbae6a326f
treec5af9ff6ba5dfef702a4176906597d16a92e047c
parentead0ae619b71fe35ef7d8789ec87af916f2ba5bd
In all the copyin family functions, must compare end-address against
VM_MAXUSER_ADDRESS with bgtu, signed comparison is incorrect.  Now passes
regress/sys/copy
ok drahn kettenis
sys/arch/riscv64/riscv64/copy.S
sys/arch/riscv64/riscv64/copystr.S