Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 12:30:02 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r270267 - stable/10/sys/kern
Message-ID:  <201408211230.s7LCU2iu043703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Aug 21 12:30:01 2014
New Revision: 270267
URL: http://svnweb.freebsd.org/changeset/base/270267

Log:
  Commit forgotten chunk of r270264.

Modified:
  stable/10/sys/kern/kern_fork.c

Modified: stable/10/sys/kern/kern_fork.c
==============================================================================
--- stable/10/sys/kern/kern_fork.c	Thu Aug 21 11:48:37 2014	(r270266)
+++ stable/10/sys/kern/kern_fork.c	Thu Aug 21 12:30:01 2014	(r270267)
@@ -404,6 +404,7 @@ do_fork(struct thread *td, int flags, st
 
 	bzero(&p2->p_startzero,
 	    __rangeof(struct proc, p_startzero, p_endzero));
+	p2->p_treeflag = 0;
 
 	p2->p_ucred = crhold(td->td_ucred);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408211230.s7LCU2iu043703>