Subject: PR/36225 CVS commit: src/sys/kern
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <dsl@netbsd.org>
List: netbsd-bugs
Date: 04/26/2007 21:00:05
The following reply was made to PR kern/36225; it has been noted by GNATS.

From: David Laight <dsl@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36225 CVS commit: src/sys/kern
Date: Thu, 26 Apr 2007 20:58:37 +0000 (UTC)

 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.