diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-17 22:37:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-22 10:31:21 +0300 |
commit | ee6fa4903f8491132c08bee81dc813be3fbb1604 (patch) | |
tree | be72c9ad16aaaf9e1fe3412fb1b5210916effbef /samples/connector | |
parent | 0dcbc7d6cd2d358549fb2211f02ba4d1faeb6b37 (diff) | |
download | linux-ee6fa4903f8491132c08bee81dc813be3fbb1604.tar.xz |
sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
commit 142cd25293f6a7ecbdff4fb0af17de6438d46433 upstream.
We do need access_process_vm() to access the target's reg_window.
However, access to caller's memory (storing the result in
genregs32_get(), fetching the new values in case of genregs32_set())
should be done by normal uaccess primitives.
Fixes: ad4f95764040 ([SPARC64]: Fix user accesses in regset code.)
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 'samples/connector')
0 files changed, 0 insertions, 0 deletions