freebsd-dev/sys/fs
Jamie Gritton 0e5c6bd436 Make it easier for filesystems to count themselves as jail-enabled,
by doing most of the work in a new function prison_add_vfs in kern_jail.c
Now a jail-enabled filesystem need only mark itself with VFCF_JAIL, and
the rest is taken care of.  This includes adding a jail parameter like
allow.mount.foofs, and a sysctl like security.jail.mount_foofs_allowed.
Both of these used to be a static list of known filesystems, with
predefined permission bits.

Reviewed by:	kib
Differential Revision:	D14681
2018-05-04 20:54:27 +00:00
..
autofs Add SPDX tags to autofs(5). 2018-01-24 16:40:26 +00:00
cd9660 Add isoboot(8) for booting BIOS systems from HDDs containing ISO images. 2018-04-05 19:40:46 +00:00
cuse Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
deadfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
devfs Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
ext2fs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
fdescfs Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
fifofs Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
fuse sys/fuse: fix off by one error 2018-03-03 20:42:39 +00:00
msdosfs msdosfs: long names of files are created incorrectly. 2018-05-04 03:44:12 +00:00
nandfs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
nfs nfs: Remove NFSSOCKADDRALLOC, NFSSOCKADDRFREE macros 2018-01-25 22:38:39 +00:00
nfsclient Fix use of pointer after being set NULL. 2018-04-20 11:38:29 +00:00
nfsserver Revert r333183, since I am not sure that just initializing the 2018-05-02 21:29:42 +00:00
nullfs Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
procfs Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
pseudofs Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
smbfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
tmpfs Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
udf Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
unionfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00