ptrace: Remove arch_syscall_{enter,exit}_tracehook
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Jan 2022 18:00:55 +0000 (12:00 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 10 Mar 2022 19:35:48 +0000 (13:35 -0600)
commit0cfcb2b9ef48bbcaf5d43b9f1893f63a938e8176
tree78bd6d5edd1d1d88adef6676383cc09b02c8f055
parent153474ba1a4aed0a7b797b4c2be8c35c7a4e57bd
ptrace: Remove arch_syscall_{enter,exit}_tracehook

These functions are alwasy one-to-one wrappers around
ptrace_report_syscall_entry and ptrace_report_syscall_exit.
So directly call the functions they are wrapping instead.

Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20220309162454.123006-4-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/entry-common.h
kernel/entry/common.c