[PATCH] fix non-leader exec under ptrace
authorRoland McGrath <roland@redhat.com>
Wed, 12 Apr 2006 23:30:20 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 14 Apr 2006 15:59:13 +0000 (08:59 -0700)
commite57a5059846e55d82b86d96dde40e988598601b3
tree85b0f48406b37b46261735cbdd66e379977a0327
parentc06511d12d720b23c8dffff23004f0a888698f20
[PATCH] fix non-leader exec under ptrace

This reverts most of commit 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a.
It broke the case of non-leader MT exec when ptraced.
I think the bug it was intended to fix was already addressed by commit
788e05a67c343fa22f2ae1d3ca264e7f15c25eaf.

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/ptrace.c
kernel/signal.c