Re: [PATCH 2/3] ptrace: kill real_parent_is_ptracer() in in favor ofptrace_reparented()

From: Tejun Heo
Date: Sat Jun 25 2011 - 09:51:22 EST


On Fri, Jun 24, 2011 at 05:34:23PM +0200, Oleg Nesterov wrote:
> 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@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/