]> err.no Git - linux-2.6/commit
[PATCH] eligible_child: remove an obsolete ->tgid check
authorOleg Nesterov <oleg@tv-sign.ru>
Sat, 2 Sep 2006 17:22:16 +0000 (21:22 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 2 Sep 2006 21:51:27 +0000 (14:51 -0700)
commit3b6362b833b9f7a9d4222cf1bb35f99c411abb31
treeb72c39577b6a5d50cda735c43213158118c8f7e4
parentd738752fc46c4cc339bc66346cf6134446ce08db
[PATCH] eligible_child: remove an obsolete ->tgid check

It is not possible to find a sub-thread in ->children/->ptrace_children
lists, ptrace_attach() does not allow to attach to sub-threads.

Even if it was possible to ptrace the task from the same thread group,
we can't allow to release ->group_leader while there are others (ptracer)
threads in the same group.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/exit.c