CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/07/01 10:02:12
Modified files:
sys/arch/amd64/amd64: vector.S
sys/arch/amd64/include: asm.h
Log message:
Update IDTVEC, KIDTVEC, and KUENTRY to align with _ALIGN_TRAPS instead of
ALIGN_TEXT. For the places where IDTVEC and KIDTVEC are used in ways that
would fail if a trap was inserted, provide IDTVEC_NOALIGN for use directly
after other IDTVEC uses, and KIDTVEC_FALLTHROUGH for places where the code
intentionally falls through to a KIDTVEC. "objdump -d" shows that this
just converts nop-sleds to trap-sleds immediately after an unconditional
jmp, or a retq, iretq, or sysretq.
ok mortimer@ kettenis@ deraadt@