From: Elvira Khabirova <lineprinter@altlinux.org>
To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au
Cc: linux-kernel@vger.kernel.org, ldv@altlinux.org, luto@kernel.org,
oleg@redhat.com, leitao@debian.org,
linuxppc-dev@lists.ozlabs.org
Subject: [PATCH] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call
Date: Sat, 10 Nov 2018 04:20:40 +0100 [thread overview]
Message-ID: <20181110042040.68ed3ac8@akathisia> (raw)
Arch code should use tracehook_*() helpers, as documented
in include/linux/tracehook.h.
Signed-off-by: Elvira Khabirova <lineprinter@altlinux.org>
---
arch/powerpc/kernel/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index afb819f4ca68..f73f8ea402e9 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -3266,7 +3266,7 @@ long do_syscall_trace_enter(struct pt_regs *regs)
user_exit();
if (test_thread_flag(TIF_SYSCALL_EMU)) {
- ptrace_report_syscall(regs);
+ tracehook_report_syscall_entry(regs);
/*
* Returning -1 will skip the syscall execution. We want to
* avoid clobbering any register also, thus, not 'gotoing'
--
2.19.1
next reply other threads:[~2018-11-11 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-10 3:20 Elvira Khabirova [this message]
2018-11-10 12:06 ` [PATCH] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call kbuild test robot
2018-11-10 13:49 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181110042040.68ed3ac8@akathisia \
--to=lineprinter@altlinux.org \
--cc=benh@kernel.crashing.org \
--cc=ldv@altlinux.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=luto@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=oleg@redhat.com \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox