commit | 479bf98c1c29b40d86e40a4e6e4944c2f03d9493 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Fri Jun 24 17:34:39 2011 +0200 |
committer | Oleg Nesterov <oleg@redhat.com> | Mon Jun 27 20:30:11 2011 +0200 |
tree | 259bda55b4e49d764e8768e5149f755c8897ab5c | |
parent | bb3696da89743d580f869142d0a6e6ba9b7fe89a [diff] |
ptrace: wait_consider_task: s/same_thread_group/ptrace_reparented/ 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@redhat.com> Acked-by: Tejun Heo <tj@kernel.org>