freebsd-dev/sys/fs
Martin Matuska bf3db8aa65 To improve control over the use of mount(8) inside a jail(8), introduce
a new jail parameter node with the following parameters:

allow.mount.devfs:
	allow mounting the devfs filesystem inside a jail

allow.mount.nullfs:
	allow mounting the nullfs filesystem inside a jail

Both parameters are disabled by default (equals the behavior before
devfs and nullfs in jails). Administrators have to explicitly allow
mounting devfs and nullfs for each jail. The value "-1" of the
devfs_ruleset parameter is removed in favor of the new allow setting.

Reviewed by:	jamie
Suggested by:	pjd
MFC after:	2 weeks
2012-02-23 18:51:24 +00:00
..
cd9660 Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
coda Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
deadfs Add function vop_rename_fail(9) that performs needed cleanup for locks 2010-04-02 14:03:01 +00:00
devfs To improve control over the use of mount(8) inside a jail(8), introduce 2012-02-23 18:51:24 +00:00
ext2fs Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
fdescfs Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
fifofs merge pipe and fifo implementations 2012-02-23 18:37:30 +00:00
hpfs Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
msdosfs Use DOINGASYNC() to test for async allowance, to honor VFS syncing requests. 2012-02-22 13:01:17 +00:00
nfs Delete a couple of out of date comments that are no longer true in 2012-02-16 02:19:53 +00:00
nfsclient Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
nfsserver hrs@ reported a panic to freebsd-stable@ under the subject line 2012-02-23 16:47:05 +00:00
ntfs Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
nullfs To improve control over the use of mount(8) inside a jail(8), introduce 2012-02-23 18:51:24 +00:00
nwfs Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
portalfs Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
procfs Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want 2012-01-15 18:47:24 +00:00
pseudofs Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
smbfs Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
tmpfs Replace PRIdMAX with "jd" in a printf call. Cast the corresponding value to 2012-02-14 11:24:24 +00:00
udf Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
unionfs Make unionfs also clear VAPPEND when clearing VWRITE, since VAPPEND 2011-10-10 21:32:08 +00:00