m68k: Wire up syscall_trace_enter/leave for m68k
authorMichael Schmitz <schmitzmic@gmail.com>
Thu, 27 Jan 2022 07:41:56 +0000 (20:41 +1300)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 9 May 2022 11:13:58 +0000 (13:13 +0200)
commitc862fe70b023b5efeb1f360ff614b270089bd6ce
treef5e841b03b69a9cc0be3b22bf33fdb667b1d3779
parenta96e4ebf3dedaf110999189939cd0272d32c4296
m68k: Wire up syscall_trace_enter/leave for m68k

m68k (other than Coldfire) uses syscall_trace for both trace entry
and trace exit. Seccomp support requires separate entry points for
trace entry and exit which are already provided for Coldfire.

Replace syscall_trace by syscall_trace_enter and syscall_trace_leave
in preparation for seccomp support.

No regression seen in testing with strace on ARAnyM.

Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20220127074158.25888-2-schmitzmic@gmail.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/entry.S
arch/m68k/kernel/ptrace.c