CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/06/14 13:57:29
Modified files:
sys/arch/amd64/include: frameasm.h
sys/arch/amd64/amd64: locore.S vector.S
Log message:
Clear the GPRs when entering the kernel from userspace so that
user-controlled values can't take part in speculative execution in
the kernel down paths that end up "not taken" but that may cause
user-visible effects (cache, etc).
prodded by dragonflybsd commit 9474cbef7fcb61cd268019694d94db6a75af7dbe
ok deraadt@ kettenis@