diff options
| author | Roland McGrath <[email protected]> | 2008-07-26 02:45:44 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-26 19:00:08 +0000 |
| commit | 6341c393fcc37d58727865f1ee2f65e632e9d4f0 (patch) | |
| tree | 6e88d928e17f663b225884e81877a7a069d7c514 /fs/proc/array.c | |
| parent | tracehook: add linux/tracehook.h (diff) | |
| download | kernel-6341c393fcc37d58727865f1ee2f65e632e9d4f0.tar.gz kernel-6341c393fcc37d58727865f1ee2f65e632e9d4f0.zip | |
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 <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
