Bug #2926 ยป getfsstat.patch
| 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;
|
||
|
/*
|
||