Commit 71ee22d3 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds

[PATCH] thread exec fix, BK-curr

The broadcast SIGKILL kept pending in the new thread as well, and killed
it prematurely ...
parent 9325c684
......@@ -627,6 +627,8 @@ static inline int de_thread(struct signal_struct *oldsig)
remove_thread_group(current, current->sig);
spin_lock_irq(&current->sigmask_lock);
current->sig = newsig;
init_sigpending(&current->pending);
recalc_sigpending();
spin_unlock_irq(&current->sigmask_lock);
if (atomic_dec_and_test(&oldsig->count))
......
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