Date: Thu, 11 Mar 2010 15:17:29 +0200 From: Jaakko Heinonen <jh@FreeBSD.org> To: Alexander Best <alexbestms@wwu.de> Cc: freebsd-hackers@FreeBSD.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, Bruce Evans <brde@optusnet.com.au> Subject: Re: namei() returns EISDIR for "/" (Re: svn commit: r203990 - head/lib/libc/sys) Message-ID: <20100311131728.GC3008@a91-153-117-195.elisa-laajakaista.fi> In-Reply-To: <permail-20100311111209f0889e8400002de2-a_best01@message-id.uni-muenster.de> References: <20100311102911.GA2574@a91-153-117-195.elisa-laajakaista.fi> <permail-20100311111209f0889e8400002de2-a_best01@message-id.uni-muenster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-03-11, Alexander Best wrote: > in sys/kern/vfs_syscalls.c:kern_rmdirat() there's still local code to check > for "." and "/" after applying your patch. isn't this all being done by > calling namei() now? Looking at it quickly I think that the "." case is handled by lookup() since r199137. However the VV_ROOT test is for all mount points not just for "/". -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100311131728.GC3008>