aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2024-06-24 20:03:45 +0000
committerJamie Gritton <jamie@FreeBSD.org>2024-06-24 20:03:45 +0000
commit63875db56bd545896e019c922378f96ad5adc892 (patch)
treea87338e7875c2d545b5d4413920d7e13cfd5385f
parent9cbf1de7e34a6fced041388fad5d9180cb7705fe (diff)
downloadsrc-63875db56bd545896e019c922378f96ad5adc892.tar.gz
src-63875db56bd545896e019c922378f96ad5adc892.zip
Document the zfs.mount_snapshot parameter in jail(8).
PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647
-rw-r--r--usr.sbin/jail/jail.810
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 407b26df818b..ca7b3f95fdbc 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 16, 2024
+.Dd June 24, 2024
.Dt JAIL 8
.Os
.Sh NAME
@@ -776,6 +776,14 @@ the jail cannot perform any sysvmsg-related system calls.
Allow access to SYSV IPC semaphore and shared memory primitives, in the
same manner as
.Va sysvmsg .
+.It Va zfs.mount_snapshot
+Allow jailed users to access the contents of ZFS snapshots under the
+filesystem's
+.Pa .zfs
+directory.
+If
+.Va allow.mount.zfs
+is set, the snapshots may also be mounted.
.El
.Pp
There are pseudo-parameters that are not passed to the kernel, but are