Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 14:43:30 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Peter Wemm <peter@wemm.org>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, "John W. De Boskey" <jwd@FreeBSD.ORG>, Current List <freebsd-current@FreeBSD.ORG>
Subject:   Re: __getcwd & errno 20 (Not a directory) vfs_cache.c
Message-ID:  <20010907144330.A13465@walton.maths.tcd.ie>
In-Reply-To: <20010907065017.A22A6380C@overcee.netplex.com.au>; from peter@wemm.org on Thu, Sep 06, 2001 at 11:50:17PM -0700
References:  <86509.999840257@critter> <20010907065017.A22A6380C@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 06, 2001 at 11:50:17PM -0700, Peter Wemm wrote:
> Poul-Henning Kamp wrote:
> > 
> > You are not supposed to call __getcwd() directly.
> 
> Yes, but it would be an excellent junior-kernel-hacker task to make it work
> in all cases, ie: manually searching parent directories.  netbsd does this,
> as does linux, and if we're going to emulate the linux getcwd(2) syscall
> then we need it.  The NetBSD code is probably a good place to start for
> pointers, but it wont be directly usable due to name-cache differences.

A fix for the Linux enulated version of this was committed last week,
I think. Yep - committed by Andrew Gallatin:

	http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/compat/linux/

David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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