CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2020/09/24 11:54:30
Modified files: sys/arch/alpha/alpha: trap.c sys/arch/amd64/amd64: trap.c sys/arch/hppa/hppa: trap.c sys/arch/i386/i386: trap.c sys/arch/m88k/m88k: trap.c sys/arch/mips64/mips64: trap.c sys/arch/powerpc/powerpc: trap.c sys/arch/powerpc64/powerpc64: trap.c sys/arch/sh/sh : trap.c sys/arch/sparc64/sparc64: trap.c Log message: Only perform uvm_map_inentry() checks for PROC_SP for userland pagefaults. This should be sufficient for identifying pivoted ROP. Doing so for other traps is at best opportunistic for finding a straight-running ROP chain, but the added (and rare) sleeping point has proven to be dangerous. Discussed at length with kettenis and mortimer. ok mortimer kettenis mpi