From nobody Mon Jun 24 20:04:43 2024 X-Original-To: dev-commits-src-main@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 4W7JpM5Yn1z5PZ6h; Mon, 24 Jun 2024 20:04:43 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W7JpM542Zz3wtR; Mon, 24 Jun 2024 20:04:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719259483; 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=QX3+YXZXs2LB0PagyyJDuYEfrBSsd/AiSM9jJqpVuTU=; b=DNoIPBDgj70kE9ECPf+7Jb4KUxh7hqB6IKS2VzLtFgf58fEi7E5zLSQRwOrX0UiHvw2IEq zxbQeQcOc4PfUr0j8JfVPJ+lLdWIoLoNXvlthJQr6PFNaSO0UILMGiHpYG/eVQSJ0rJ9wZ 6GPdD7zJcP6QZKWPGLzt1j6m9mVyVjNwg1AM+hnPs8M3Q/+K0fSgU0oCFWj9t/iHP3YR9b 3DHmhTAl+rIls9GJN/TWHh5NTffRe48Zmmvgauqlt3F6eXOJjMiyxGRZ131T/Vukna5Uym AvS0mgk4rbnQwu+0Zgbs7aFO82K6+EDE01Kbn1Eysp8fQgfCZvLiJ4F6y8n+oQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719259483; a=rsa-sha256; cv=none; b=Mhg5t/lcA5GpOaLi2PBUyrKmYVdWnTpnCouT+76O5ycjTvtgWpwxyQ6aMKc522rntxb3+W tWlz9fqFutjERA3N1/Cbd5ZWHO9OMArA1AC/TSEm4Y26LzIQM7v6h39ETTxYnUQsY1pCq5 M5nnqFYX2XAS6f461Qwu7ix+S+/nFDirzMieLk/q/5MxJp6JbS+nm1ligrFKEQSsbRMNic 145fn090dGgseuoIbSBbid4Q7FZOxQVHSww8MIa8WQLm3TpjIjpOdILHHsYizJBGispDOR tCf8sSNiGoJNhD1ttupGOaualaVQFsw/dyfMtesF+czF50S6NkqSjqrCRUJARg== 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=1719259483; 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=QX3+YXZXs2LB0PagyyJDuYEfrBSsd/AiSM9jJqpVuTU=; b=lpBLyHkWpeM5IvjOIojuq/pbaxE9n3dMG4m23NazfaE3NNBpLMbHX37q9gfUUZMDNu5wXi AQf0ewPlo6t0OUCRZfGMsU3wLF2g/9n9bdjwwLTbZgqdOtG2PRQhgcAfxfGvICL6uHyqd8 0Esln52Hg/BgBpSFkY29eS6HD4cCvGfnZIFswr5CHIFs3Qbj0pZHFRYIZGaKFooTL4IGaY +AkLRsZ7P5CmG6tX7AQ66HrKlKNMqQGEyTzBFsZo8U/8Wlxx9XZw/k7BgYnxnIcG4D0dYx 8QHW2ycwNgRYT78jPIOYcveQbKkICfZWMviCHl4yDNRWKNGaaKuQLpea2yOKmA== 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 4W7JpM4gD1zY7h; Mon, 24 Jun 2024 20:04:43 +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 45OK4hm6033047; Mon, 24 Jun 2024 20:04:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45OK4hch033044; Mon, 24 Jun 2024 20:04:43 GMT (envelope-from git) Date: Mon, 24 Jun 2024 20:04:43 GMT Message-Id: <202406242004.45OK4hch033044@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jamie Gritton Subject: git: 63875db56bd5 - main - Document the zfs.mount_snapshot parameter in jail(8). PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 63875db56bd545896e019c922378f96ad5adc892 Auto-Submitted: auto-generated The branch main has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=63875db56bd545896e019c922378f96ad5adc892 commit 63875db56bd545896e019c922378f96ad5adc892 Author: Jamie Gritton AuthorDate: 2024-06-24 20:03:45 +0000 Commit: Jamie Gritton CommitDate: 2024-06-24 20:03:45 +0000 Document the zfs.mount_snapshot parameter in jail(8). PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647 --- usr.sbin/jail/jail.8 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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