patch-2.3.27 linux/kernel/fork.c
Next file: linux/kernel/kmod.c
Previous file: linux/kernel/exit.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Mon Nov  8 10:19:19 1999
-  Orig file: 
v2.3.26/linux/kernel/fork.c
-  Orig date: 
Wed Oct 27 16:34:12 1999
diff -u --recursive --new-file v2.3.26/linux/kernel/fork.c linux/kernel/fork.c
@@ -650,6 +650,7 @@
 	p->p_cptr = NULL;
 	init_waitqueue_head(&p->wait_chldexit);
 	p->vfork_sem = NULL;
+	sema_init(&p->exit_sem, 1);
 
 	p->sigpending = 0;
 	sigemptyset(&p->signal);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)