diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-20 09:55:28 -1000 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-20 10:13:49 -1000 |
| commit | bb4e937ff6857ca9277d35683682ea4c1f75ff2a (patch) | |
| tree | 3a076c66eefbbac9e1d7d43572e09c3da168fe82 /scripts/Makefile.thinlto | |
| parent | 48e5959144e40506b38b383ce0e9feed95cdf68a (diff) | |
| download | linux-bb4e937ff6857ca9277d35683682ea4c1f75ff2a.tar.gz linux-bb4e937ff6857ca9277d35683682ea4c1f75ff2a.zip | |
s390: use get_user()/put_user() instead of the unchecked variants
On s390 user space is a separate address space, so access_ok() has
nothing to check, and get_user() and put_user() are __get_user() and
__put_user() plus might_fault(). The remaining callers can use the
normal accessors directly:
- signal frame setup writes the back chain, the signal number and the
ucontext header in process context;
- the user stack walker for stack traces and perf callchains already
runs under pagefault_disable(), where might_fault() returns early;
- the general register set writer for ptrace runs in the tracer's
process context with no locks held.
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
