diff options
| author | 2026-10-20 09:50:54 -1000 | |
|---|---|---|
| committer | 2026-10-20 10:13:49 -1000 | |
| commit | 600740a41fb51be829607f654217277265ea0e4a (patch) | |
| tree | 7875f96f34ddea0ca6f82d6394f02ca42475b310 /scripts/Makefile.thinlto | |
| parent | ARM: signal: check the FDPIC function descriptor address (diff) | |
ARM: signal: stop using __put_user() for the signal frame
The signal frame is checked with access_ok() once, in get_sigframe(),
and a few of its fields are then written with __put_user(): the ucontext
flags and link, the end marker after the coprocessor state, and the
sigreturn trampoline words.
Use scoped_user_write_access() with unsafe_put_user() where there are
several writes in a row, and put_user() for the two single ones. ARM
has no user_access_begin(), so the scopes are the same access_ok() and
the same accesses as before.
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
