Skip to content
Commit a225f156 authored by Elvira Khabirova's avatar Elvira Khabirova Committed by Michael Ellerman
Browse files

powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call



Arch code should use tracehook_*() helpers, as documented in
include/linux/tracehook.h, ptrace_report_syscall() is not expected to
be used outside that file.

The patch does not look very nice, but at least it is correct
and opens the way for PTRACE_GET_SYSCALL_INFO API.

Co-authored-by: default avatarDmitry V. Levin <ldv@altlinux.org>
Fixes: 5521eb4b

 ("powerpc/ptrace: Add support for PTRACE_SYSEMU")
Signed-off-by: default avatarElvira Khabirova <lineprinter@altlinux.org>
Signed-off-by: default avatarDmitry V. Levin <ldv@altlinux.org>
[mpe: Take this as a minimal fix for 4.20, we'll rework it later]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 9ef34630
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment