commit | dea33cfd99022d82d923a0c6a3bd895fb6683fb2 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Wed Jun 17 16:27:29 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 18 13:03:49 2009 -0700 |
tree | 889ea712abbbb8b8c220dd593383ec6f9ad15ffc | |
parent | 48597760fad3d6a3e30a14241a3ce5ccb1a0e9bc [diff] |
ptrace: mm_need_new_owner: use ->real_parent to search in the siblings "Search in the siblings" should use ->real_parent, not ->parent. If the task is traced then ->parent == tracer, while the task's parent is always ->real_parent. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>