Files
linux/arch/sh/include/asm
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
..
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2021-11-17 10:36:15 -05:00
2021-09-17 13:59:56 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2018-12-28 12:11:45 -08:00
2020-07-27 14:33:10 -04:00
2021-01-06 19:55:27 -05:00
2021-10-27 16:50:52 -04:00
2020-06-01 14:48:52 -04:00
2021-07-01 11:06:03 -07:00
2020-06-01 14:48:52 -04:00
2022-02-25 09:36:06 +01:00
2019-07-01 17:51:40 +02:00
2018-12-18 16:13:04 +01:00
2018-12-28 12:11:45 -08:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2022-02-25 09:36:06 +01:00
2020-06-01 14:48:52 -04:00
2022-01-30 21:17:00 -05:00
2020-06-01 14:48:52 -04:00
2018-12-28 12:11:45 -08:00
2020-06-01 14:48:52 -04:00