PERFORCE change 89237 for review

Kip Macy kmacy at FreeBSD.org
Thu Jan 5 14:01:22 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=89237

Change 89237 by kmacy at kmacy:freebsd7_xen3 on 2006/01/05 22:00:05

	a (I hope) temporary workaround for vforked processes segfaulting

Affected files ...

.. //depot/projects/xen3/src/sys/kern/kern_fork.c#2 edit

Differences ...

==== //depot/projects/xen3/src/sys/kern/kern_fork.c#2 (text+ko) ====

@@ -112,8 +112,11 @@
 {
 	int error;
 	struct proc *p2;
-
+#ifndef XEN
 	error = fork1(td, RFFDG | RFPROC | RFPPWAIT | RFMEM, 0, &p2);
+#else
+	error = fork1(td, RFFDG | RFPROC, 0, &p2);
+#endif
 	if (error == 0) {
 		td->td_retval[0] = p2->p_pid;
 		td->td_retval[1] = 0;


More information about the p4-projects mailing list