git: bb7b7b0eb7cf - stable/14 - MFC zfs/jail: Document the zfs.mount_snapshot parameter in jail(8).

From: Jamie Gritton <jamie_at_FreeBSD.org>
Date: Fri, 28 Jun 2024 19:50:02 UTC
The branch stable/14 has been updated by jamie:

URL: https://cgit.FreeBSD.org/src/commit/?id=bb7b7b0eb7cf64109f05136d921a357f58839ba1

commit bb7b7b0eb7cf64109f05136d921a357f58839ba1
Author:     Jamie Gritton <jamie@FreeBSD.org>
AuthorDate: 2024-06-24 20:03:45 +0000
Commit:     Jamie Gritton <jamie@FreeBSD.org>
CommitDate: 2024-06-28 19:49:28 +0000

    MFC zfs/jail: Document the zfs.mount_snapshot parameter in jail(8).
    
    PR:             274263
    Differential Revision:  https://reviews.freebsd.org/D45647
    
    (cherry picked from commit 63875db56bd545896e019c922378f96ad5adc892)
---
 usr.sbin/jail/jail.8 | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 0e98914795a2..3a6e46b065b2 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 August 26, 2023
+.Dd June 24, 2024
 .Dt JAIL 8
 .Os
 .Sh NAME
@@ -761,7 +761,15 @@ the jail cannot perform any sysvmsg-related system calls.
 .It Va sysvsem, sysvshm
 Allow access to SYSV IPC semaphore and shared memory primitives, in the
 same manner as
-.Va sysvmsg.
+.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