diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-17 12:20:40 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-20 10:23:24 +0200 |
| commit | fd0a1b3a44706b24d6b1e9f986210246c0bf8e5a (patch) | |
| tree | 9f17f1fc5269af2a607ed46a526ebb3d79647126 /scripts/objdiff | |
| parent | f7f6d977f00dbc122216001567433dacc148ca48 (diff) | |
sparc32: fix register window handling in genregs32_[gs]et()
commit cf51e129b96847f969bfb8af1ee1516a01a70b39 upstream.
It needs access_process_vm() if the traced process does not share
mm with the caller. Solution is similar to what sparc64 does.
Note that genregs32_set() is only ever called with pos being 0
or 32 * sizeof(u32) (the latter - as part of PTRACE_SETREGS
handling).
Cc: stable@kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
