From nobody Fri Jun 28 19:51:08 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 4W9mJr33KCz5PDQg; Fri, 28 Jun 2024 19:51:08 +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 4W9mJr2bNXz43Vm; Fri, 28 Jun 2024 19:51:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719604268; 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=SXfsYtZMkIxzJt2fNvGJ/5fjDtd+0alyEAV7hj9NVho=; b=W9rzbj1jsViKOxC0Wf8XLtj96rW0P9nOEQ8ATDuBNDUCwLzO0d0Yluu8Pp1b2W6oXr0PuG r7S5lavpAVUW+7YtLnXu3ZV9NjZUmpMvZRX0co4qSuXM7yWA9hEuplCib5hy56z1qNnhem alQRVOyZrTrxO5fLhB0U7PsH2Azcb8M4hGCP89jjhQbLHeuPnDBfULQx/VjuwFIppdUnUd 8UsA+DgUhVpqBNeLH4Q3+TbJv1x6FBHGRBMwtZM1XKZFaAZzbIO1iqPlEcFG9gf60jsOMb WcJyomDSbWoRCoZpMExPcgOvTD8TRL6NGQeuMtSXrrVqWJJov+kDNz8gZ0vR2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719604268; a=rsa-sha256; cv=none; b=BYbUhQ8kE3efE5YWBzsQQw/tryBZ0TxiGflu+GX1i9GscaWEDSs7eSoHo6AiBYresm9/gt hcVBkwVoSoNWuvZ8ptNLSpZv16MLmPniw3mge9It6Q1xFaXe34td9Zyh+dhxcozEVw7gLr ahr/p7Nd/JiwzByoHYOaC+e2riDoJEd3N2z+TkQGqVcRkkxrPSIEDFb+KCLG6h1IKa6URC jL7Ow2dMLNLZUOV7Y5He9k5j8+RBWmAdfAq42M/WiN2Y52o4aVmUG3gi5pQ2AxV2UVLl3m eREbZ0kifrtLFNUvNwHpvy51uxdhZYUDlFfRRf5+oK85DV+stN6kZcV2rkK8YA== 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=1719604268; 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=SXfsYtZMkIxzJt2fNvGJ/5fjDtd+0alyEAV7hj9NVho=; b=SxYfToNlrW+tuXgnidQH/Urz+HjKhMLZOWT+4sWJATFJCxQE/x5afgD/qofmz27SsX8wOA fSBxH4Bpwxt/PbOcsFxXQVw2Hf4UDoaAYqkj/noGD8WsY0GY14CogLIbvSWyc7ZdUAjjh9 g9Pf4n9Xow7AsgVTPDhJKTV8Y/Tku1O7A9u45rrLBUsJTO4zIPlwjlcouAvBWoGq9nfSJk jYum9jknQuVa6EXOFvYAHFH9yH2RoBdI37OEQpQiaQWAjQKSZ3AEEmM6zgHZFOqsrqjMpd djjZ89qLk8sJG+XjwrzJTwwkI8XwwlnqXyZYgGIgwgb1F54RTzqyxVQp3+TcrQ== 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 4W9mJr2CfLz18FK; Fri, 28 Jun 2024 19:51:08 +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 45SJp813050220; Fri, 28 Jun 2024 19:51:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45SJp8Jj050217; Fri, 28 Jun 2024 19:51:08 GMT (envelope-from git) Date: Fri, 28 Jun 2024 19:51:08 GMT Message-Id: <202406281951.45SJp8Jj050217@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: 172fbf12fc22 - stable/13 - MFC zfs/jail: Mark the zfs.mount_snapshot jail parameter as boolean. 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: 172fbf12fc22395b55d9dba6b81e7088c7ec43bd Auto-Submitted: auto-generated The branch stable/13 has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=172fbf12fc22395b55d9dba6b81e7088c7ec43bd commit 172fbf12fc22395b55d9dba6b81e7088c7ec43bd Author: Jamie Gritton AuthorDate: 2024-06-24 20:00:49 +0000 Commit: Jamie Gritton CommitDate: 2024-06-28 19:50:44 +0000 MFC zfs/jail: Mark the zfs.mount_snapshot jail parameter as boolean. PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647 (cherry picked from commit 9cbf1de7e34a6fced041388fad5d9180cb7705fe) --- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c index 33581d018256..42c8287a7c03 100644 --- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c +++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c @@ -102,7 +102,7 @@ static struct zfs_jailparam zfs_jailparam0 = { static int zfs_jailparam_slot; SYSCTL_JAIL_PARAM_SYS_NODE(zfs, CTLFLAG_RW, "Jail ZFS parameters"); -SYSCTL_JAIL_PARAM(_zfs, mount_snapshot, CTLTYPE_INT | CTLFLAG_RW, "I", +SYSCTL_JAIL_PARAM(_zfs, mount_snapshot, CTLTYPE_INT | CTLFLAG_RW, "B", "Allow mounting snapshots in the .zfs directory for unjailed datasets"); SYSCTL_NODE(_vfs_zfs, OID_AUTO, version, CTLFLAG_RD, 0, "ZFS versions");