diff options
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -751,7 +751,7 @@ no_thread_group: | |||
751 | 751 | ||
752 | write_lock_irq(&tasklist_lock); | 752 | write_lock_irq(&tasklist_lock); |
753 | spin_lock(&oldsighand->siglock); | 753 | spin_lock(&oldsighand->siglock); |
754 | spin_lock(&newsighand->siglock); | 754 | spin_lock_nested(&newsighand->siglock, SINGLE_DEPTH_NESTING); |
755 | 755 | ||
756 | rcu_assign_pointer(current->sighand, newsighand); | 756 | rcu_assign_pointer(current->sighand, newsighand); |
757 | recalc_sigpending(); | 757 | recalc_sigpending(); |