Al Viro 573b22ccb7 sh: sanitize the flags on sigreturn
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>
2023-03-09 10:01:59 -08:00
..
2020-09-13 21:22:55 -04:00
2022-02-25 09:36:06 +01:00
2018-12-28 12:11:45 -08:00
2020-06-01 14:48:52 -04:00
2021-04-22 13:32:39 +01:00
2020-06-01 14:48:52 -04:00
2022-05-19 19:30:31 +02:00
2021-07-08 11:48:21 -07:00
2019-03-05 21:07:13 -08:00
2022-02-25 09:36:06 +01:00
2021-12-13 12:04:45 -06:00