diff options
| author | 2026-10-19 19:23:18 -1000 | |
|---|---|---|
| committer | 2026-10-19 19:23:18 -1000 | |
| commit | ae78eff333746326e630e505d7fac0d237e644ef (patch) | |
| tree | 5fedc5998b5394d65b8af49ad80464034e07566c /scripts/Makefile.thinlto | |
| parent | signal: use scoped user access in __save_altstack() (diff) | |
compat: use scoped user access in get_compat_sigevent()
get_compat_sigevent() does one access_ok() on the user structure and
then reads four fields with __get_user(). Each of those reads enables
and disables user access on its own, so the single range check no longer
buys anything.
Read the fields inside a scoped_user_read_access() instead.
This is part of getting rid of __get_user() and __put_user() entirely.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
