]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6503b541e41cd6da64f921b976aed61a7a43226
tree78bd6d5edd1d1d88adef6676383cc09b02c8f055
parentb5727998c379425b40bc6da771c12b6f751c99dc
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