patch-1.3.54 linux/kernel/exit.c

Next file: linux/kernel/printk.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.53/linux/kernel/exit.c linux/kernel/exit.c
@@ -516,9 +516,9 @@
 	__exit_fs(current);
 	__exit_sighand(current);
 	exit_thread();
-	exit_notify();
 	current->state = TASK_ZOMBIE;
 	current->exit_code = code;
+	exit_notify();
 #ifdef DEBUG_PROC_TREE
 	audit_ptree();
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this