aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-29 08:30:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-29 08:30:04 +0200
commit2a0f4f16d20127ae0c3f0a3f0190dbbb4d286ba7 (patch)
tree60ad34da8aa2a054d8b562cbac9d06d37c52d5cc /kernel/exit.c
parentusbip: tools: fix GCC8 warning for strncpy (diff)
parentLinux 5.3-rc2 (diff)
Merge 5.3-rc2 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index a75b6a7f458a..4436158a6d30 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -720,6 +720,7 @@ static void exit_notify(struct task_struct *tsk, int group_dead)
if (group_dead)
kill_orphaned_pgrp(tsk->group_leader, NULL);
+ tsk->exit_state = EXIT_ZOMBIE;
if (unlikely(tsk->ptrace)) {
int sig = thread_group_leader(tsk) &&
thread_group_empty(tsk) &&