CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/05/23 01:18:50
Modified files:
gnu/llvm/lib/Target/Mips: MipsReturnProtectorLowering.cpp
sys/arch/mips64/mips64: trap.c
Log message:
Use a distinct trap code with retguard on mips64.
This lets the kernel detect retguard traps and send SIGABRT instead
of SIGEMT.
SIGEMT does not indicate correctly the nature of the error (stack
overflow, violation of control flow). It can confuse the user to restart
the program without further investigation.
Prompted by and OK deraadt@
OK mortimer@