svn commit: r219205 - stable/8/sys/compat/linux
Dmitry Chagin
dchagin at FreeBSD.org
Wed Mar 2 20:08:52 UTC 2011
Author: dchagin
Date: Wed Mar 2 20:08:52 2011
New Revision: 219205
URL: http://svn.freebsd.org/changeset/base/219205
Log:
MFC r218879:
Do not clobber %rdx.
Before calling vfork() syscall the linux user-space stores the current PID
in the %rdx and restore it when the parent process leaves the kernel.
Modified:
stable/8/sys/compat/linux/linux_fork.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/compat/linux/linux_fork.c
==============================================================================
--- stable/8/sys/compat/linux/linux_fork.c Wed Mar 2 20:04:54 2011 (r219204)
+++ stable/8/sys/compat/linux/linux_fork.c Wed Mar 2 20:08:52 2011 (r219205)
@@ -104,7 +104,6 @@ linux_vfork(struct thread *td, struct li
return (error);
td->td_retval[0] = p2->p_pid;
- td->td_retval[1] = 0;
error = linux_proc_init(td, td->td_retval[0], 0);
if (error)
More information about the svn-src-stable
mailing list