CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/08/25 18:14:20
Modified files:
sys/arch/amd64/amd64: Tag: OPENBSD_6_1 copy.S cpu.c trap.c
vector.S
sys/arch/amd64/include: Tag: OPENBSD_6_1 codepatch.h
sys/arch/i386/i386: Tag: OPENBSD_6_1 locore.s trap.c
Log message:
If SMAP is present, clear PSL_AC on kernel entry and interrupt so that
only the code in copy{in,out}* that need it run with it set. Panic if
it's set on entry to trap() or syscall(). Prompted by Maxime Villard's
NetBSD work.