pjd 7e73da14eb Add security.jail.mount_allowed sysctl, which allows to mount and
unmount jail-friendly file systems from within a jail.
Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and
PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user.
It is turned off by default.

A jail-friendly file system is a file system which driver registers
itself with VFCF_JAIL flag via VFS_SET(9) API.
The lsvfs(1) command can be used to see which file systems are
jail-friendly ones.

There currently no jail-friendly file systems, ZFS will be the first one.
In the future we may consider marking file systems like nullfs as
jail-friendly.

Reviewed by:	rwatson
2007-04-05 21:03:05 +00:00
..
2007-04-04 14:04:55 +00:00
2006-09-17 21:27:35 +00:00
2006-10-09 05:12:54 +00:00
2006-07-27 04:54:03 +00:00
2006-07-27 04:54:03 +00:00
2006-04-13 08:12:31 +00:00
2006-09-17 21:27:35 +00:00
2006-10-28 10:53:39 +00:00
2006-10-20 14:15:42 +00:00
2006-10-21 15:12:36 +00:00
2006-03-23 14:09:21 +00:00
2007-01-20 07:48:10 +00:00