CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2017/07/14 06:20:32
Modified files: sys/arch/amd64/amd64: trap.c sys/arch/i386/i386: trap.c Log message: The regress test src/regress/sys/kern/siginfo-fault checks whether the si_code is SEGV_ACCERR after memory access with wrong permissions has triggert a SIGSEGV. Adapt the behavior of i386 and amd64 kernel. Remove the useless code that changed error from EACCES to EFAULT in amd64. Also convert variable name rv to errno in i386 to make it look like amd64. OK kettenis@