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

看板DFBSD_bugs作者時間15年前 (2011/03/27 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
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
文章代碼(AID): #1DZmGN77 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #1DZmGN77 (DFBSD_bugs)