patch-2.3.99-pre9 linux/kernel/fork.c
Next file: linux/kernel/ksyms.c
Previous file: linux/kernel/exec_domain.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat May 13 08:32:55 2000
-  Orig file: 
v2.3.99-pre8/linux/kernel/fork.c
-  Orig date: 
Fri May 12 14:18:56 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/kernel/fork.c linux/kernel/fork.c
@@ -674,7 +674,7 @@
 
 	if ((clone_flags & CLONE_VFORK) || !(clone_flags & CLONE_PARENT)) {
 		p->p_opptr = current;
-		if (!(current->flags & PF_PTRACED))
+		if (!(p->flags & PF_PTRACED))
 			p->p_pptr = current;
 	}
 	p->p_cptr = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)