git: kernel - Fix fstatfs() and fstatvfs() when called from a null-mounted chroot()
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Apr 1 16:05:46 PDT 2011
commit 92734e3dc3576d68a28eb7d539dd48de730ab82d
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list