Subject: kern/36227: new emul namei problem with symlinks
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 04/27/2007 01:45:00
>Number:         36227
>Category:       kern
>Synopsis:       new emul namei problem with symlinks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 27 01:45:00 +0000 2007
>Originator:     Mark Davies
>Release:        NetBSD 4.99.18
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:
	
	
System: NetBSD lap3.mcs.vuw.ac.nz 4.99.18 NetBSD 4.99.18 (MCS_LAPTOP) #4: Fri Apr 27 12:41:12 NZST 2007  mark@lap3.mcs.vuw.ac.nz:/local/SAVE/build.obj/local/src/src/sys/arch/i386/compile/MCS_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
	The new namei handling of emul paths fails to handle symlinks pointing
	out of the /emul tree correctly.
	This was first noticed while testing the fix for PR 36196 but really
	has nothing to do with that PR so I'm opening a new one to track it.
	
>How-To-Repeat:
	# echo "hello" > /tmp/test
	# ln -s /tmp/test /emul/linux/etc/foo
	# /emul/linux/bin/cat /etc/foo
	/emul/linux/bin/cat: /etc/foo: No such file or directory
	
>Fix:
	

>Unformatted: