freebsd-dev/usr.sbin/jail
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
..
command.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
config.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jail.8 Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
jail.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jail.conf.5 Remove man page references to rndassociates.com, which has been taken over 2016-02-10 14:48:49 +00:00
jaillex.l various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jailp.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jailparse.y various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Add a package for jail(8) and related utilities. 2016-01-20 17:07:13 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
state.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00