From nobody Fri Jun 28 19:52:10 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W9mL273dcz5PDR6; Fri, 28 Jun 2024 19:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W9mL26b30z44V8; Fri, 28 Jun 2024 19:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719604330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d4LQIjeYsPPlQT3k57oRePQVynL9WDtMk4FDXl3DkJc=; b=JYCwI4QVACvXZq2piQDjU0onsRoG4oyPjFTkPzoqiPnO++TWGEsKMX5gwm4zZzuz9ndwh9 SXpe+4U/isLHg3MXUQYeB22zkeUTl2FEnB97PWVhLI3mezckd7QECjZVBZUT/fu0eRhzt8 1X/x5YtvrlpVRx49Bq4CaCqWrAG/MVY+uspkGcvwIZsOXnJ1e5JY0dhmw3BJSFA7xEkb59 bfu9tlqnlMWmcpsg4v/VzJEX4dFvI4uBrpCAVbA3UNKFzS6mmzwxj9Pu+s42LytDWFYbu+ 3iWhKwlSCm2RrFbtzONBf2jz1+ur7l1ozzH/dnwW4yojSaCYZjXqsTRmHC291A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719604330; a=rsa-sha256; cv=none; b=WqtFY104RoBq0adVOV11zA73JFMOo6P9KzwqVK4ly0xWMIZjLCrqwVOUVPWETnHXhz0sTR piG3Y8HYrd7FvEcEfeq5sPbBu69+SWiqFzExd23k0eacQ2KF3jN4bSUPWBsqXRvnzwDQfz t1E0Kys/nIF392qKWWtiEMMbrcYaaFgWI6eVhWUJ8HMFdG5myiSJysQea98pPE0yRl62aC hlL0n58YmygVqiSVXREOp3vNPncIPOZDhFW04S4UA0TgbipvHrIkacY486DkJZEbw2dc84 ODM4HvYes1uAc8WtMZRlt0iBXPCU+72iNuXz/+K22g/5uAi22pSYBA4x43Oz+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719604330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d4LQIjeYsPPlQT3k57oRePQVynL9WDtMk4FDXl3DkJc=; b=Ib8pV4pQhAenKoQaWryI1PF7Nlcu3xeb6nEf7FHGutkq58BV+vh/dET7pHDHOm0JQAetvx fLhZ6sP4mEwfI0RFaONrL/YROU8PIjs4hQha6ANVmkEjUyIwygJ0LJd2ErKKAm56DUzo3A tD/Ri3nX2V8eW6305NCTKFJONaCQx4tXd3zEeDRp+8EFWYETeho+CXUGlpVpLesa4swCDY Gd06MOVVaLSv8qsEzaegb/ST8UTshuUrDl70/U5wClozlkwR3lHt+jJE8eYw48hr3QNJgv BJxClRhoZBY8fSE/la6/nwkKX4jYi8zMvPANM6jUTqxiCrFSZwcjhkkg6r5ZPg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W9mL26B7Zz189q; Fri, 28 Jun 2024 19:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45SJqAaF053533; Fri, 28 Jun 2024 19:52:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45SJqAlI053530; Fri, 28 Jun 2024 19:52:10 GMT (envelope-from git) Date: Fri, 28 Jun 2024 19:52:10 GMT Message-Id: <202406281952.45SJqAlI053530@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jamie Gritton Subject: git: 0e391d97fbe4 - stable/13 - MFC zfs/jail: Document the zfs.mount_snapshot parameter in jail(8). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jamie X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0e391d97fbe4d0369b001f1e645f6984c8c1bca1 Auto-Submitted: auto-generated The branch stable/13 has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=0e391d97fbe4d0369b001f1e645f6984c8c1bca1 commit 0e391d97fbe4d0369b001f1e645f6984c8c1bca1 Author: Jamie Gritton AuthorDate: 2024-06-24 20:03:45 +0000 Commit: Jamie Gritton CommitDate: 2024-06-28 19:51:58 +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 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