summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 09:50:54 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 10:13:49 -1000
commit600740a41fb51be829607f654217277265ea0e4a (patch)
tree7875f96f34ddea0ca6f82d6394f02ca42475b310 /scripts/Makefile.thinlto
parent0a4e3e979b5ecb2460ab8eb8f4f8aba3590a4043 (diff)
downloadlinux-600740a41fb51be829607f654217277265ea0e4a.tar.gz
linux-600740a41fb51be829607f654217277265ea0e4a.zip
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