cvs commit: src/sys/compat/linux linux_stats.c src/sys/kern
kern_jail.c vfs_syscalls.c src/sys/sys jail.h
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Jun 9 18:49:20 GMT 2005
pjd 2005-06-09 18:49:20 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_stats.c
sys/kern kern_jail.c vfs_syscalls.c
sys/sys jail.h
Log:
Rename sysctl security.jail.getfsstatroot_only to security.jail.enforce_statfs
and extend its functionality:
value policy
0 show all mount-points without any restrictions
1 show only mount-points below jail's chroot and show only part of the
mount-point's path (if jail's chroot directory is /jails/foo and
mount-point is /jails/foo/usr/home only /usr/home will be shown)
2 show only mount-point where jail's chroot directory is placed.
Default value is 2.
Discussed with: rwatson
Revision Changes Path
1.71 +3 -2 src/sys/compat/linux/linux_stats.c
1.49 +86 -11 src/sys/kern/kern_jail.c
1.388 +25 -5 src/sys/kern/vfs_syscalls.c
1.26 +4 -1 src/sys/sys/jail.h
More information about the cvs-src
mailing list