[issue2030] fstatfs() fails in chroot environments
Sascha Wildner
saw at online.de
Sun Mar 27 02:16:25 PDT 2011
On 3/21/2011 9:49, Francois Tigeot (via DragonFly issue tracker) wrote:
New submission from Francois Tigeot<ftigeot at 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
More information about the Bugs
mailing list