commit | 142cd25293f6a7ecbdff4fb0af17de6438d46433 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun May 17 15:37:50 2020 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 17 16:39:18 2020 -0400 |
tree | a5abaabc14741dd43fee27548a65a84c015fbeca | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 [diff] |
sparc64: fix misuses of access_process_vm() in genregs32_[sg]et() 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>