Al Viro ee6fa4903f 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>
2020-06-22 09:31:21 +02:00
..
2019-05-09 14:26:16 -07:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2019-02-20 07:28:58 -07:00
2019-02-20 07:28:53 -07:00
2018-05-09 06:54:27 +02:00
2019-02-20 07:28:53 -07:00
2019-09-07 21:42:25 +02:00
2017-11-15 14:21:03 +09:00
2018-10-07 22:42:00 -07:00
2020-02-24 08:36:27 +01:00