Re: [PATCH 3/3] ptrace: wait_consider_task:s/same_thread_group/ptrace_reparented/

From: Tejun Heo
Date: Sat Jun 25 2011 - 09:52:19 EST


On Fri, Jun 24, 2011 at 05:34:39PM +0200, Oleg Nesterov wrote:
> wait_consider_task() checks same_thread_group(parent, real_parent),
> this is the open-coded ptrace_reparented().
>
> __ptrace_detach() remains the only function which has to check this by
> hand, although we could reorganize the code to delay __ptrace_unlink.
>
> 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/