ptrace: move SIGTRAP on exec(2) logic to ptrace_event()
commitf3c04b934d429b1ace21866f011b66de328c0dc9
authorTejun Heo <tj@kernel.org>
Fri, 17 Jun 2011 14:50:36 +0000 (17 16:50 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 22 Jun 2011 17:26:28 +0000 (22 19:26 +0200)
tree16ac465b4f5294f71995554ca1e94913fdeda234
parent643ad8388e189dfd14ef76972cf7dc394b3cbebd
ptrace: move SIGTRAP on exec(2) logic to ptrace_event()

Move SIGTRAP on exec(2) logic from tracehook_report_exec() to
ptrace_event().  This is part of changes to make ptrace_event()
smarter and handle ptrace event related details in one place.

This doesn't introduce any behavior change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
include/linux/ptrace.h
include/linux/tracehook.h