|
@@ -1059,7 +1059,8 @@ static int __send_signal(int sig, struct siginfo *info, struct task_struct *t,
|
|
assert_spin_locked(&t->sighand->siglock);
|
|
assert_spin_locked(&t->sighand->siglock);
|
|
|
|
|
|
result = TRACE_SIGNAL_IGNORED;
|
|
result = TRACE_SIGNAL_IGNORED;
|
|
- if (!prepare_signal(sig, t, from_ancestor_ns))
|
|
|
|
|
|
+ if (!prepare_signal(sig, t,
|
|
|
|
+ from_ancestor_ns || (info == SEND_SIG_FORCED)))
|
|
goto ret;
|
|
goto ret;
|
|
|
|
|
|
pending = group ? &t->signal->shared_pending : &t->pending;
|
|
pending = group ? &t->signal->shared_pending : &t->pending;
|