[PATCH 14/14] signal: Short circuit deliver coredump signals
From: Eric W. Biederman
Date: Fri Jul 03 2026 - 17:45:07 EST
The coredump rendevous start is the same as the process killing that
complete_signal performs. get_signal now gets the siginfo and the
signal number when a signal is short circuit delivered.
Start short circuit deliverying coredump signals as there is nothing
remaining that prevents their short circuit delivery.
This means that processes that coredump will now exit faster and
fatal_signal_pending will return true until the coredump starts.
Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
---
kernel/signal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/signal.c b/kernel/signal.c
index 5bd07a90c689..f41233e32c62 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1090,8 +1090,7 @@ static void enqueue_signal(struct task_struct *t, enum pid_type type,
&signal->shared_pending : &t->pending;
bool need_signal_wake_up = true;
- if (sig_fatal(t, sig) && !sig_kernel_coredump(sig) &&
- sig_can_short_circuit(t, type, sig)) {
+ if (sig_fatal(t, sig) && sig_can_short_circuit(t, type, sig)) {
struct task_struct *thread;
/*
* This signal will be fatal to the whole group.
--
2.41.0