diff options
-rw-r--r-- | kernel/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index e76001ccf5cd..2584f5a91fbe 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1059,7 +1059,8 @@ static int __send_signal(int sig, struct siginfo *info, struct task_struct *t, | |||
1059 | assert_spin_locked(&t->sighand->siglock); | 1059 | assert_spin_locked(&t->sighand->siglock); |
1060 | 1060 | ||
1061 | result = TRACE_SIGNAL_IGNORED; | 1061 | result = TRACE_SIGNAL_IGNORED; |
1062 | if (!prepare_signal(sig, t, from_ancestor_ns)) | 1062 | if (!prepare_signal(sig, t, |
1063 | from_ancestor_ns || (info == SEND_SIG_FORCED))) | ||
1063 | goto ret; | 1064 | goto ret; |
1064 | 1065 | ||
1065 | pending = group ? &t->signal->shared_pending : &t->pending; | 1066 | pending = group ? &t->signal->shared_pending : &t->pending; |