Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 04/22/2007 18:41:51
Module Name:	src
Committed By:	dsl
Date:		Sun Apr 22 18:41:51 UTC 2007

Modified Files:
	src/sys/kern: kern_descrip.c

Log Message:
I'm not sure why I decided that cwdinit() shouldn't copy cwd_edir.
Since this is called in fork() it does rather need to give the child
process the parent's emulation root.
This means that (for example) an emulated shell will, by default, run
programs from the emulation root.


To generate a diff of this commit:
cvs rdiff -r1.156 -r1.157 src/sys/kern/kern_descrip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.