Al Viro 299a309b98 sh: sanitize the flags on sigreturn
[ Upstream commit 573b22ccb7ce9ab7f0539a2e11a9d3609a8783f5 ]

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-04-05 11:16:40 +02:00
..
2022-11-03 23:56:54 +09:00
2023-03-17 08:32:52 +01:00
2023-02-06 07:52:49 +01:00
2023-02-06 07:52:49 +01:00
2023-04-05 11:16:40 +02:00
2023-03-17 08:32:54 +01:00
2023-02-06 07:52:49 +01:00