]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
authorSasha Levin <sashal@kernel.org>
Fri, 23 May 2025 12:18:00 +0000 (08:18 -0400)
committerSasha Levin <sashal@kernel.org>
Fri, 23 May 2025 12:20:09 +0000 (08:20 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
14 files changed:
queue-5.10/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-5.10/series
queue-5.15/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-5.15/series
queue-5.4/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-5.4/series
queue-6.1/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-6.1/series
queue-6.12/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-6.12/series
queue-6.14/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-6.14/series
queue-6.6/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch [deleted file]
queue-6.6/series

diff --git a/queue-5.10/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-5.10/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index 7cd5560..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From d9daeb4c55dd4ca79f66d7798c3f23045d3053df Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index af9c8e794e4d7..05f682cfdd6a7 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -254,6 +254,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 6e403cd78dc68ee2282a90402d3d740aaafa9c00..2243e76152272054bc3a9705c0ac375a5026b409 100644 (file)
@@ -126,7 +126,6 @@ nfsv4-treat-enetunreach-errors-as-fatal-for-state-re.patch
 sunrpc-rpc_clnt_set_transport-must-not-change-the-au.patch
 sunrpc-rpcbind-should-never-reset-the-port-to-the-va.patch
 thermal-drivers-qoriq-power-down-tmu-on-system-suspe.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 dql-fix-dql-limit-value-when-reset.patch
 tools-build-don-t-pass-test-log-files-to-linker.patch
 pnfs-flexfiles-report-enetdown-as-a-connection-error.patch
diff --git a/queue-5.15/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-5.15/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index 9dafba2..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From f74f25150b68253a59dcab73d960028fc6992f34 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index 890e5cb6799b0..04fc65f2b690d 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -254,6 +254,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 2f7bd9292c624eae7e74e9ae2e57b88d1d8f8787..45d17e925dd14aa1192a87a3404038a1ac8fee1e 100644 (file)
@@ -16,7 +16,6 @@ nfsv4-treat-enetunreach-errors-as-fatal-for-state-re.patch
 sunrpc-rpc_clnt_set_transport-must-not-change-the-au.patch
 sunrpc-rpcbind-should-never-reset-the-port-to-the-va.patch
 thermal-drivers-qoriq-power-down-tmu-on-system-suspe.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 dql-fix-dql-limit-value-when-reset.patch
 lockdep-fix-wait-context-check-on-softirq-for-preemp.patch
 pci-dwc-ep-ensure-proper-iteration-over-outbound-map.patch
diff --git a/queue-5.4/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-5.4/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index 95b0ef0..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From af236fb6e7c5cd027b37ec565c28f3758dac1b54 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index 56d3a099825fb..5015ecdda6d95 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -262,6 +262,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 58c3b62e2f34e0c63e0d5674827692c6b46ae429..b0909da1ca9a0fb6c45678a65339f2be44ff29bd 100644 (file)
@@ -92,7 +92,6 @@ fbdev-fsl-diu-fb-add-missing-device_remove_file.patch
 fbdev-core-tileblit-implement-missing-margin-clearin.patch
 nfsv4-treat-enetunreach-errors-as-fatal-for-state-re.patch
 sunrpc-rpc_clnt_set_transport-must-not-change-the-au.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 dql-fix-dql-limit-value-when-reset.patch
 tools-build-don-t-pass-test-log-files-to-linker.patch
 pnfs-flexfiles-report-enetdown-as-a-connection-error.patch
diff --git a/queue-6.1/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-6.1/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index bdcd057..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From a811bf878f15ee50b7459e4019c733e4788be371 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index 156283b3c1bf6..49e4792405008 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -263,6 +263,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 000b4ad5d16089981be9d731d809f14b7d35fa84..740b85ec1a10a308f1db44d953b740a277f4f226 100644 (file)
@@ -36,7 +36,6 @@ nfsv4-treat-enetunreach-errors-as-fatal-for-state-re.patch
 sunrpc-rpc_clnt_set_transport-must-not-change-the-au.patch
 sunrpc-rpcbind-should-never-reset-the-port-to-the-va.patch
 thermal-drivers-qoriq-power-down-tmu-on-system-suspe.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 dql-fix-dql-limit-value-when-reset.patch
 lockdep-fix-wait-context-check-on-softirq-for-preemp.patch
 objtool-properly-disable-uaccess-validation.patch
diff --git a/queue-6.12/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-6.12/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index d840b6f..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From 9591f9ea1e2a52280934f3c69e9687a87b93e360 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index 619f0014c33be..9d888f26bf784 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -266,6 +266,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 7afdb13c143f04afab01f301737cc1ff30e23fba..45b6dab0dc73e4da98e75367939f2ac2a4a3bdcb 100644 (file)
@@ -81,7 +81,6 @@ thermal-drivers-mediatek-lvts-start-sensor-interrupt.patch
 thermal-drivers-qoriq-power-down-tmu-on-system-suspe.patch
 bluetooth-btmtksdio-prevent-enabling-interrupts-afte.patch
 bluetooth-disable-sco-support-if-read_voice_setting-.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 dql-fix-dql-limit-value-when-reset.patch
 lockdep-fix-wait-context-check-on-softirq-for-preemp.patch
 objtool-properly-disable-uaccess-validation.patch
diff --git a/queue-6.14/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-6.14/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index ae6aac5..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From 909fe6c95cb78648e9b6398dbb8c3bba92459c46 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index 3485e5fc499e4..6bb59b16e33e1 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -265,6 +265,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 7676e55c5a8df0e86e5ec8e4c3d69f1e3b261b3b..0f2d41e89527fbb477bf794065e5b07f780c19cc 100644 (file)
@@ -85,7 +85,6 @@ thermal-drivers-mediatek-lvts-start-sensor-interrupt.patch
 thermal-drivers-qoriq-power-down-tmu-on-system-suspe.patch
 bluetooth-btmtksdio-prevent-enabling-interrupts-afte.patch
 bluetooth-disable-sco-support-if-read_voice_setting-.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 risc-v-add-vector-extension-validation-checks.patch
 dql-fix-dql-limit-value-when-reset.patch
 lockdep-fix-wait-context-check-on-softirq-for-preemp.patch
diff --git a/queue-6.6/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch b/queue-6.6/exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
deleted file mode 100644 (file)
index 8981014..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From a519a9b68e0f8ab06feb6ee7e4514e2b36a1c0d0 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 24 Mar 2025 18:19:41 +0100
-Subject: exit: fix the usage of delay_group_leader->exit_code in
- do_notify_parent() and pidfs_exit()
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-[ Upstream commit 9133607de37a4887c6f89ed937176a0a0c1ebb17 ]
-
-Consider a process with a group leader L and a sub-thread T.
-L does sys_exit(1), then T does sys_exit_group(2).
-
-In this case wait_task_zombie(L) will notice SIGNAL_GROUP_EXIT and use
-L->signal->group_exit_code, this is correct.
-
-But, before that, do_notify_parent(L) called by release_task(T) will use
-L->exit_code != L->signal->group_exit_code, and this is not consistent.
-We don't really care, I think that nobody relies on the info which comes
-with SIGCHLD, if nothing else SIGCHLD < SIGRTMIN can be queued only once.
-
-But pidfs_exit() is more problematic, I think pidfs_exit_info->exit_code
-should report ->group_exit_code in this case, just like wait_task_zombie().
-
-TODO: with this change we can hopefully cleanup (or may be even kill) the
-similar SIGNAL_GROUP_EXIT checks, at least in wait_task_zombie().
-
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Link: https://lore.kernel.org/r/20250324171941.GA13114@redhat.com
-Signed-off-by: Christian Brauner <brauner@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- kernel/exit.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/kernel/exit.c b/kernel/exit.c
-index 3540b2c9b1b6a..1b7257c12cb10 100644
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -264,6 +264,9 @@ void release_task(struct task_struct *p)
-       leader = p->group_leader;
-       if (leader != p && thread_group_empty(leader)
-                       && leader->exit_state == EXIT_ZOMBIE) {
-+              /* for pidfs_exit() and do_notify_parent() */
-+              if (leader->signal->flags & SIGNAL_GROUP_EXIT)
-+                      leader->exit_code = leader->signal->group_exit_code;
-               /*
-                * If we were the last child thread and the leader has
-                * exited already, and the leader's parent ignores SIGCHLD,
--- 
-2.39.5
-
index 238c42ed503d5359d21d688168b44c010a9771cc..979ae94c2c302f7f7205cda12065a88cc02851f7 100644 (file)
@@ -56,7 +56,6 @@ sunrpc-rpc_clnt_set_transport-must-not-change-the-au.patch
 sunrpc-rpcbind-should-never-reset-the-port-to-the-va.patch
 spi-rockchip-fix-register-out-of-bounds-access.patch
 thermal-drivers-qoriq-power-down-tmu-on-system-suspe.patch
-exit-fix-the-usage-of-delay_group_leader-exit_code-i.patch
 dql-fix-dql-limit-value-when-reset.patch
 lockdep-fix-wait-context-check-on-softirq-for-preemp.patch
 objtool-properly-disable-uaccess-validation.patch