aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorElvira Khabirova <[email protected]>2018-12-07 15:56:05 +0000
committerMichael Ellerman <[email protected]>2018-12-10 04:19:58 +0000
commita225f1567405558fb5410e9b2b90805819df1c67 (patch)
tree9358d779c74cc8ba97f9b451e5ecc61c6bf6cad5 /arch/powerpc/lib/code-patching.c
parentpowerpc/mm: Fallback to RAM if the altmap is unusable (diff)
downloadkernel-a225f1567405558fb5410e9b2b90805819df1c67.tar.gz
kernel-a225f1567405558fb5410e9b2b90805819df1c67.zip
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: Dmitry V. Levin <[email protected]> Fixes: 5521eb4bca2d ("powerpc/ptrace: Add support for PTRACE_SYSEMU") Signed-off-by: Elvira Khabirova <[email protected]> Signed-off-by: Dmitry V. Levin <[email protected]> [mpe: Take this as a minimal fix for 4.20, we'll rework it later] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions