ptrace: Remove tracehook_signal_handler
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Jan 2022 18:04:27 +0000 (12:04 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 10 Mar 2022 19:37:13 +0000 (13:37 -0600)
commitc145137dc990fd67b52fbc52faae5ba46f168cca
tree86b4317a0e5aeaa6ca3e1dfc1d778ee57bf62acc
parent0cfcb2b9ef48bbcaf5d43b9f1893f63a938e8176
ptrace: Remove tracehook_signal_handler

The two line function tracehook_signal_handler is only called from
signal_delivered.  Expand it inline in signal_delivered and remove it.
Just to make it easier to understand what is going on.

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