diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-17 15:37:50 -0400 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2020-06-29 20:07:56 -0400 |
| commit | 885237aebb80b80086602f81686531241e028fc0 (patch) | |
| tree | d0a33695b8c35d48721b22c2c398ee4af3daf164 /crypto/algboss.c | |
| parent | a039515ce219ac78d7119e79e295910956de6e7e (diff) | |
sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
[ Upstream commit 142cd25293f6a7ecbdff4fb0af17de6438d46433 ]
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: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/algboss.c')
0 files changed, 0 insertions, 0 deletions
