Project

General

Profile

Bug #2926 ยป getfsstat.patch

Anonymous, 06/10/2018 06:02 PM

View differences:

sys/kern/vfs_syscalls.c
char *fullpath;
int error;
if (info->td->td_proc &&
!chroot_visible_mnt(mp, info->td->td_proc)) {
return(0);
}
if (info->sfsp && info->count < info->maxcount) {
if (info->td->td_proc &&
!chroot_visible_mnt(mp, info->td->td_proc)) {
return(0);
}
sp = &mp->mnt_stat;
/*
    (1-1/1)