ptrace: kill real_parent_is_ptracer() in in favor of ptrace_reparented()
authorOleg Nesterov <oleg@redhat.com>
Fri, 24 Jun 2011 15:34:23 +0000 (17:34 +0200)
committerOleg Nesterov <oleg@redhat.com>
Mon, 27 Jun 2011 18:30:10 +0000 (20:30 +0200)
commitbb3696da89743d580f869142d0a6e6ba9b7fe89a
treefb961c4164198742024ed8924a8824699a3065f1
parent0347e17739095c58c0194fed6a61aced3536d258
ptrace: kill real_parent_is_ptracer() in in favor of ptrace_reparented()

Kill real_parent_is_ptracer() and update the callers to use
ptrace_reparented(), after the previous patch they do the same.

Remove the unnecessary ->ptrace != 0 check in get_signal_to_deliver(),
if ptrace_reparented() == T then the task must be ptraced.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
kernel/signal.c