diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2022-01-27 20:46:37 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-03-10 22:35:08 +0300 |
commit | 153474ba1a4aed0a7b797b4c2be8c35c7a4e57bd (patch) | |
tree | fca4bafdaa48409782d290e0e86fbb65b90420f4 /kernel/entry | |
parent | 42da6b7e7db5316dac541baf4ed8168bc3bb3f74 (diff) | |
download | linux-153474ba1a4aed0a7b797b4c2be8c35c7a4e57bd.tar.xz |
ptrace: Create ptrace_report_syscall_{entry,exit} in ptrace.h
Rename tracehook_report_syscall_{entry,exit} to
ptrace_report_syscall_{entry,exit} and place them in ptrace.h
There is no longer any generic tracehook infractructure so make
these ptrace specific functions ptrace specific.
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20220309162454.123006-3-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/entry')
-rw-r--r-- | kernel/entry/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/entry/common.c b/kernel/entry/common.c index bad713684c2e..f52e57c4d6d8 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -2,6 +2,7 @@ #include <linux/context_tracking.h> #include <linux/entry-common.h> +#include <linux/tracehook.h> #include <linux/highmem.h> #include <linux/livepatch.h> #include <linux/audit.h> |