mirror-linux/arch/sh/include
Al Viro 5fdb54270f sh: sanitize the flags on sigreturn
[ Upstream commit 573b22ccb7 ]

We fetch %SR value from sigframe; it might have been modified by signal
handler, so we can't trust it with any bits that are not modifiable in
user mode.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-30 12:49:19 +02:00
..
asm sh: sanitize the flags on sigreturn 2023-03-30 12:49:19 +02:00
cpu-common/cpu
cpu-sh2/cpu
cpu-sh2a/cpu
cpu-sh3/cpu
cpu-sh4/cpu
cpu-sh4a/cpu
mach-common/mach
mach-dreamcast/mach
mach-ecovec24/mach
mach-kfr2r09/mach
mach-landisk/mach
mach-migor/mach
mach-sdk7786/mach
mach-se/mach
mach-sh03/mach
mach-x3proto/mach
uapi/asm