[issue2030] fstatfs() fails in chroot environments

看板DFBSD_bugs作者時間15年前 (2011/04/02 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
Matthew Dillon <dillon@apollo.backplane.com> added the comment: fixed in 92734e3dc3576d68a28eb7d539dd48de730ab82d. fstat[v]fs() was using the wrong mount pointer when calling cache_fullpath(). Also note that the test program supplied is buggy, this line is broken and causes the fd to be assigned the value 0: if (fd = open(FILE_PATH, O_RDONLY) == -1) ... should be if ((fd = open(FILE_PATH, O_RDONLY)) == -1) ... -Matt ---------- status: chatting -> resolved _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue2030> _____________________________________________________
文章代碼(AID): #1Dbc1u37 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #1Dbc1u37 (DFBSD_bugs)