linux/arch/arm/include
Russell King 8bafae202c ARM: BUG if jumping to usermode address in kernel mode
Detect if we are returning to usermode via the normal kernel exit paths
but the saved PSR value indicates that we are in kernel mode.  This
could occur due to corrupted stack state, which has been observed with
"ftracetest".

This ensures that we catch the problem case before we get to user code.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2017-11-26 15:41:39 +00:00
..
asm ARM: BUG if jumping to usermode address in kernel mode 2017-11-26 15:41:39 +00:00
debug Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm 2017-09-12 06:10:44 -07:00
uapi/asm ARM: move generic-y of exported headers to uapi/asm/Kbuild 2017-07-10 03:43:20 +09:00