HomeFreeBSD

Make it easier for filesystems to count themselves as jail-enabled,

Description

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

Details

Provenance
jamieAuthored on
Reviewer
kib
Differential Revision
D14681: Dynamically add jail-enabled filesystems
Parents
rS333262: Ensure the ports and src trees are available on GCE images,
Branches
Unknown
Tags
Unknown