Up to [cvs.NetBSD.org] / src / sys / arch / aarch64 / aarch64
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: thorpej-futex
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:44 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.20: +4 -3
lines
Diff to previous 1.20 (colored) next main 1.21 (colored)
Sync w/ HEAD.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Oct 15 22:30:34 2020 UTC (3 years, 6 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.19: +5 -7
lines
Diff to previous 1.19 (colored)
For cpu_jump_onfault() in data_abort_handler(), stop returning hard-coded EFAULT and use return value from uvm_fault() instead. There are some paths that do not call uvm_fault(): (1) For fatalabort case, use EFAULT as before. (2) When va range is invalid, use EFAULT instead of EINVAL. These change fixes bytes_transfer_eof_* tests in sys/lib/libc/sys/t_ptrace_wait*. Note that without (2) above, some tests like sys/lib/libc/sys/t_wait:write_error become newly failing. I've confirmed that there's no new regression in full ATF run. OK ryo