WSL2-Linux-Kernel/arch/x86/ia32
Roland McGrath 6341c393fc tracehook: exec
This moves all the ptrace hooks related to exec into tracehook.h inlines.

This also lifts the calls for tracing out of the binfmt load_binary hooks
into search_binary_handler() after it calls into the binfmt module.  This
change has no effect, since all the binfmt modules' load_binary functions
did the call at the end on success, and now search_binary_handler() does
it immediately after return if successful.  We consolidate the repeated
code, and binfmt modules no longer need to import ptrace_notify().

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-26 12:00:08 -07:00
..
Makefile x86: compat_binfmt_elf 2008-01-30 13:31:55 +01:00
audit.c x86: coding style fixes in arch/x86/ia32/audit.c 2008-01-30 13:32:54 +01:00
ia32_aout.c tracehook: exec 2008-07-26 12:00:08 -07:00
ia32_signal.c x86_64: ia32_signal.c: remove signal number conversion 2008-07-18 22:08:20 +02:00
ia32entry.S x86_64: fix ia32 AMD syscall audit fast-path 2008-07-25 20:02:41 -07:00
ipc32.c x86: clean up arch/x86/ia32/ipc32.c 2008-01-30 13:30:08 +01:00
sys_ia32.c flag parameters: pipe 2008-07-24 10:47:28 -07:00