Thread (5 messages) 5 messages, 3 authors, 2021-05-21

Re: [PATCH 2/2] powerpc/64s/syscall: Fix ptrace syscall info with scv syscalls

From: Dmitry V. Levin <hidden>
Date: 2021-05-20 11:45:44

On Thu, May 20, 2021 at 09:19:31PM +1000, Nicholas Piggin wrote:
The scv implementation missed updating syscall return value and error
value get/set functions to deal with the changed register ABI. This
broke ptrace PTRACE_GET_SYSCALL_INFO as well as some kernel auditing
and tracing functions.

Fix. tools/testing/selftests/ptrace/get_syscall_info now passes when
scv is used.

Fixes: 7fa95f9adaee ("powerpc/64s: system call support for scv/rfscv instructions")
Reported-by: "Dmitry V. Levin" <redacted>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Thanks, feel free to add
Reviewed-by: Dmitry V. Levin <redacted>

Also consider adding
Cc: stable@vger.kernel.org # 5.9+


-- 
ldv
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help