switch_exec_pids() already added 'current' to init_task.tasks, no need to re-add in de_thread(). Signed-off-by: Oleg Nesterov <[email protected]> --- RC-1/fs/exec.c~ 2006-01-19 18:13:06.000000000 +0300 +++ RC-1/fs/exec.c 2006-01-30 20:17:20.000000000 +0300 @@ -713,8 +713,6 @@ static int de_thread(struct task_struct __ptrace_link(current, parent); } - list_del(¤t->tasks); - list_add_tail(¤t->tasks, &init_task.tasks); current->exit_signal = SIGCHLD; BUG_ON(leader->exit_state != EXIT_ZOMBIE); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Prev by Date: Re: [RFC] VM: I have a dream...
- Next by Date: Re: [PATCH] iforce: fix -ENOMEM check
- Previous by thread: TIOCCONS security revisited
- Next by thread: Presentacion de trabajo / Job offer
- Index(es):