From: Roland McGrath That goes along with TASK_TRACED patch. Signed-off-by: Andrew Morton --- 25-akpm/kernel/exit.c | 11 ----------- 1 files changed, 11 deletions(-) diff -puN kernel/exit.c~cleanup-ptrace-stops-and-remove-notify_parent-extra kernel/exit.c --- 25/kernel/exit.c~cleanup-ptrace-stops-and-remove-notify_parent-extra 2004-09-02 21:04:53.539183112 -0700 +++ 25-akpm/kernel/exit.c 2004-09-02 21:04:53.544182352 -0700 @@ -191,17 +191,6 @@ static inline int has_stopped_jobs(int p do_each_task_pid(pgrp, PIDTYPE_PGID, p) { if (p->state != TASK_STOPPED) continue; - - /* If p is stopped by a debugger on a signal that won't - stop it, then don't count p as stopped. This isn't - perfect but it's a good approximation. */ - if (unlikely (p->ptrace) - && p->exit_code != SIGSTOP - && p->exit_code != SIGTSTP - && p->exit_code != SIGTTOU - && p->exit_code != SIGTTIN) - continue; - retval = 1; break; } while_each_task_pid(pgrp, PIDTYPE_PGID, p); _