diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2006-02-20 02:16:23 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-20 02:16:23 -0500 |
| commit | 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b (patch) | |
| tree | 2f900f89d93db6b0822d8bdf4f49851c581c12a6 /fs/exec.c | |
| parent | f1b318793dcd2d9ff6b5ac06e7762098fa079cee (diff) | |
| parent | bd71c2b17468a2531fb4c81ec1d73520845e97e1 (diff) | |
Merge branch 'master'
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1403,7 +1403,7 @@ static void zap_threads (struct mm_struct *mm) | |||
| 1403 | do_each_thread(g,p) { | 1403 | do_each_thread(g,p) { |
| 1404 | if (mm == p->mm && p != tsk && | 1404 | if (mm == p->mm && p != tsk && |
| 1405 | p->ptrace && p->parent->mm == mm) { | 1405 | p->ptrace && p->parent->mm == mm) { |
| 1406 | __ptrace_unlink(p); | 1406 | __ptrace_detach(p, 0); |
| 1407 | } | 1407 | } |
| 1408 | } while_each_thread(g,p); | 1408 | } while_each_thread(g,p); |
| 1409 | write_unlock_irq(&tasklist_lock); | 1409 | write_unlock_irq(&tasklist_lock); |
