DragonFly BSD
DragonFly bugs List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue2030] fstatfs() fails in chroot environments


From: Sascha Wildner <saw@xxxxxxxxx>
Date: Sun, 27 Mar 2011 11:16:25 +0200

On 3/21/2011 9:49, Francois Tigeot (via DragonFly issue tracker) wrote:

New submission from Francois Tigeot<ftigeot@wolfpond.org>:


While investigation a ld-elf.so.2 error, I found out the following call returns
a non-zero value in a chroot:

fstatfs(fd,&fs)

the returned value is actually ENOENT, but the corresponding file exists

I followed the path a bit and it fails in cache_fullpath() in sys/kern/vfs_cache.c in line #3281 in the "if (ncp == NULL)" check.


Sascha



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]