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-28 19:51:58 +0000
commit0e391d97fbe4d0369b001f1e645f6984c8c1bca1 (patch)
treeae5f5ab6d3d192f8f5aff4a6cbe7b00a175c999b
parent172fbf12fc22395b55d9dba6b81e7088c7ec43bd (diff)
downloadsrc-0e391d97fbe4d0369b001f1e645f6984c8c1bca1.tar.gz
src-0e391d97fbe4d0369b001f1e645f6984c8c1bca1.zip
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)
-rw-r--r--usr.sbin/jail/jail.812
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index fa2a9d472d3e..b66e3464dc5e 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 12, 2023
+.Dd June 24, 2024
.Dt JAIL 8
.Os
.Sh NAME
@@ -757,7 +757,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