signal: give SEND_SIG_FORCED more power to beat SIGNAL_UNKILLABLE
[deliverable/linux.git] / kernel / signal.c
index e76001ccf5cd8b848fdb48306f61e95c11cc0009..2584f5a91fbee3681497bbf086a49eb16e01d645 100644 (file)
@@ -1059,7 +1059,8 @@ static int __send_signal(int sig, struct siginfo *info, struct task_struct *t,
        assert_spin_locked(&t->sighand->siglock);
 
        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;
 
        pending = group ? &t->signal->shared_pending : &t->pending;
This page took 0.028015 seconds and 5 git commands to generate.