Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 04/26/2007 20:58:37
Module Name:	src
Committed By:	dsl
Date:		Thu Apr 26 20:58:37 UTC 2007

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

Log Message:
Be a little less over-zelous about converting ".." at the emulation root
to the real root.  Rather that do the check inside lookup() - where it
applies to to every ".." in a pathname, explicitly check the start of
the caller-supplied buffers and any absolute symbolic links.
Note that in the latter case the re-search from the real root is supressed.
Should fix PR kern/36225


To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/sys/kern/vfs_lookup.c

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