get_signal-dont-initialize-ksig-info-if-signal_group_exit-group_exec_task.patch removed from -mm tree
The quilt patch titled
Subject: get_signal: don't initialize ksig->info if SIGNAL_GROUP_EXIT/group_exec_task
has been removed from the -mm tree. Its filename was
get_signal-dont-initialize-ksig-info-if-signal_group_exit-group_exec_task.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: get_signal: don't initialize ksig->info if SIGNAL_GROUP_EXIT/group_exec_task
Date: Mon, 26 Feb 2024 17:56:53 +0100
This initialization is incomplete and unnecessary, neither do_group_exit() nor PF_USER_WORKER need ksig->info.
Signed-off-by Oleg Nesterov <[email protected]>
Cc Christian Brauner <[email protected]>
Cc Eric W. Biederman <[email protected]>
Cc Peter Collingbourne <[email protected]>
Cc Wen Yang <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/signal.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
kernel/signal.c renamed from kernel/signal.c~get_signal-dont-initialize-ksig-info-if-signal_group_exit-group_exec_task +6 -3
@@ -2727,12 +2727,15 @@ relock:/* Has this task already been marked for death? */ if ((signal->flags &SIGNAL_GROUP_EXIT ) || signal->group_exec_task) { -clear_siginfo (&ksig->info); - ksig->info.si_signo = signr =SIGKILL ; + signr =SIGKILL ;sigdelset (¤t->pending.signal,SIGKILL );trace_signal_deliver (SIGKILL ,SEND_SIG_NOINFO , - &sighand->action[SIGKILL -1 ]); + &sighand->action[SIGKILL -1 ]);recalc_sigpending (); +/* +* implies do_group_exit() or return to PF_USER_WORKER, +* no need to initialize ksig->info/etc. +*/ goto fatal; }
_
Patches currently in -mm which might be from [email protected] are