diff --git a/fs/exec.c b/fs/exec.c index f7aabfeca0331fa0b09b16d28a4931af95b7c29a..54135df2a9662cbf1f222ee468067812f52e1f72 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -751,7 +751,7 @@ static int de_thread(struct task_struct *tsk) write_lock_irq(&tasklist_lock); spin_lock(&oldsighand->siglock); - spin_lock(&newsighand->siglock); + spin_lock_nested(&newsighand->siglock, SINGLE_DEPTH_NESTING); rcu_assign_pointer(current->sighand, newsighand); recalc_sigpending();