aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2011-06-17 14:50:37 +0000
committerOleg Nesterov <[email protected]>2011-06-22 17:26:28 +0000
commita288eecce5253cc1565d400a52b9b476a157e040 (patch)
treea933dd8c9791be83b7a67a33502c79e7b441960e /fs/proc/array.c
parentptrace: move SIGTRAP on exec(2) logic to ptrace_event() (diff)
downloadkernel-a288eecce5253cc1565d400a52b9b476a157e040.tar.gz
kernel-a288eecce5253cc1565d400a52b9b476a157e040.zip
ptrace: kill trivial tracehooks
At this point, tracehooks aren't useful to mainline kernel and mostly just add an extra layer of obfuscation. Although they have comments, without actual in-kernel users, it is difficult to tell what are their assumptions and they're actually trying to achieve. To mainline kernel, they just aren't worth keeping around. This patch kills the following trivial tracehooks. * Ones testing whether task is ptraced. Replace with ->ptrace test. tracehook_expect_breakpoints() tracehook_consider_ignored_signal() tracehook_consider_fatal_signal() * ptrace_event() wrappers. Call directly. tracehook_report_exec() tracehook_report_exit() tracehook_report_vfork_done() * ptrace_release_task() wrapper. Call directly. tracehook_finish_release_task() * noop tracehook_prepare_release_task() tracehook_report_death() This doesn't introduce any behavior change. Signed-off-by: Tejun Heo <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Martin Schwidefsky <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions