Date: Wed, 2 Mar 2011 20:08:52 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r219205 - stable/8/sys/compat/linux Message-ID: <201103022008.p22K8qZv046320@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103022008.p22K8qZv046320>