From: Oleg Nesterov Date: Fri, 3 Aug 2007 21:04:41 +0000 (+0400) Subject: Kill some obsolete sub-thread-ptrace stuff X-Git-Tag: v2.6.23-rc2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=247284481ca40288bd120cf0707681c3bdbee78f;p=pandora-kernel.git Kill some obsolete sub-thread-ptrace stuff There is a couple of subtle checks which were needed to handle ptracing from the same thread group. This was deprecated a long ago, imho this code just complicates the understanding. And, the "->parent->signal->flags & SIGNAL_GROUP_EXIT" check in exit_notify() is not right. SIGNAL_GROUP_EXIT can mean exec(), not exit_group(). This means ptracer can lose a ptraced zombie on exec(). Minor problem, but still the bug. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed