git: kernel - Fix fstatfs() and fstatvfs() when called from a nu

看板DFBSD_commit作者時間15年前 (2011/04/02 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 92734e3dc3576d68a28eb7d539dd48de730ab82d Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Apr 1 16:03:09 2011 -0700 kernel - Fix fstatfs() and fstatvfs() when called from a null-mounted chroot() * These funtions were using the wrong starting mount pointer when calling cache_fullpath(). They were using the mount pointer for the open file's vnode instead of the overlay (null) mount pointer. This caused cache_fullpath() to believe the fd represented a file outside the chroot and return an error. Reported-by: Francois Tigeot<ftigeot@wolfpond.org>: Summary of changes: sys/kern/vfs_syscalls.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92734e3dc3576d68a28eb7d539dd48de730ab82d -- DragonFly BSD source repository
文章代碼(AID): #1Dbc1uBa (DFBSD_commit)