diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -725,8 +725,8 @@ static int de_thread(struct task_struct *tsk) | |||
725 | current->group_leader = current; | 725 | current->group_leader = current; |
726 | leader->group_leader = leader; | 726 | leader->group_leader = leader; |
727 | 727 | ||
728 | add_parent(current, current->parent); | 728 | add_parent(current); |
729 | add_parent(leader, leader->parent); | 729 | add_parent(leader); |
730 | if (ptrace) { | 730 | if (ptrace) { |
731 | current->ptrace = ptrace; | 731 | current->ptrace = ptrace; |
732 | __ptrace_link(current, parent); | 732 | __ptrace_link(current, parent); |