From: Oleg Nesterov Date: Wed, 17 Jun 2009 23:27:29 +0000 (-0700) Subject: ptrace: mm_need_new_owner: use ->real_parent to search in the siblings X-Git-Tag: v2.6.31-rc1~223 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dea33cfd99022d82d923a0c6a3bd895fb6683fb2;p=pandora-kernel.git 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 Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed