freebsd-dev/sys/cddl
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
..
boot/zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
compat/opensolaris opensolaris system_taskq does not need to run at maximum priority 2018-05-04 07:28:01 +00:00
contrib/opensolaris Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
dev systrace: track it like sdt probes 2018-04-27 15:16:34 +00:00