freebsd-dev/sys/fs/tmpfs
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
..
tmpfs_fifoops.c Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
tmpfs_fifoops.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
tmpfs_subr.c Use per-domain locks for vm page queue free. Move paging control from 2018-02-06 22:10:07 +00:00
tmpfs_vfsops.c Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
tmpfs_vnops.c Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
tmpfs_vnops.h Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
tmpfs.h Update tmpfs link count handling for ino64. 2017-12-19 20:19:07 +00:00