Date: Thu, 5 Jan 2006 22:00:37 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 89237 for review Message-ID: <200601052200.k05M0bpx047610@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89237 Change 89237 by kmacy@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601052200.k05M0bpx047610>