ptrace: Create ptrace_report_syscall_{entry,exit} in ptrace.h
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Jan 2022 17:46:37 +0000 (11:46 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 10 Mar 2022 19:35:08 +0000 (13:35 -0600)
commit153474ba1a4aed0a7b797b4c2be8c35c7a4e57bd
treefca4bafdaa48409782d290e0e86fbb65b90420f4
parent42da6b7e7db5316dac541baf4ed8168bc3bb3f74
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>
30 files changed:
arch/Kconfig
arch/alpha/kernel/ptrace.c
arch/arc/kernel/ptrace.c
arch/arm/kernel/ptrace.c
arch/arm64/kernel/ptrace.c
arch/csky/kernel/ptrace.c
arch/h8300/kernel/ptrace.c
arch/hexagon/kernel/traps.c
arch/ia64/kernel/ptrace.c
arch/m68k/kernel/ptrace.c
arch/microblaze/kernel/ptrace.c
arch/mips/kernel/ptrace.c
arch/nds32/include/asm/syscall.h
arch/nds32/kernel/ptrace.c
arch/nios2/kernel/ptrace.c
arch/openrisc/kernel/ptrace.c
arch/parisc/kernel/ptrace.c
arch/powerpc/kernel/ptrace/ptrace.c
arch/riscv/kernel/ptrace.c
arch/sh/kernel/ptrace_32.c
arch/sparc/kernel/ptrace_32.c
arch/sparc/kernel/ptrace_64.c
arch/um/kernel/ptrace.c
arch/xtensa/kernel/ptrace.c
include/asm-generic/syscall.h
include/linux/entry-common.h
include/linux/ptrace.h
include/linux/tracehook.h
include/uapi/linux/ptrace.h
kernel/entry/common.c