Commit fe3d5c87 authored by Linus Torvalds's avatar Linus Torvalds Committed by Chris Wright

[PATCH] Clean up subthread exec (CAN-2005-1913)

Make sure we re-parent itimers.  If subthread exec's with timer pending,
signal is delivered to old group-leader and can panic kernel.
Signed-off-by: default avatarLinus Torvalds <torvalds@ppc970.osdl.org>
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
parent 9ee1c939
......@@ -649,6 +649,7 @@ static inline int de_thread(struct task_struct *tsk)
}
sig->group_exit_task = NULL;
sig->notify_count = 0;
sig->real_timer.data = (unsigned long)current;
spin_unlock_irq(lock);
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment