From nobody Mon Jun 24 20:02:33 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 4W7Jls2pDmz5PYsB; Mon, 24 Jun 2024 20:02:33 +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 4W7Jls29lhz4vVR; Mon, 24 Jun 2024 20:02:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719259353; 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=dmk8gaY3ZgkN9TyM7fWvV7Feu4bew6EwJSdqj+/XcQ8=; b=J0rJlP2/OnFWX7tx9yBlLHAB8W+Qnqc4koIo0EtxDUGUlkvoAuA2jLcxltEy4dUWRPV3EC QYJ4QShR3zBLm+ciPGvMcmio5HsIZnXUanWM0m8XLkyvvU8ThT+Tcv6WxEjCUsfRaiCfUn 0LCQEQzL6meioNcVcVmHoaP7VnPpeN6e+up9NaMWXJJ2FhKmf6bdVyGsg9dSaQQduvGlKV uyF01wPPp2kWzVZ2G5nTirjIFPjevS4I9kuUQPIlxTbP5uwDcxiZL37iHmIOHRcJdBKWu1 HQ/H9AS7D5TsBCbjRNUMyZo2bPRKgc6oXPraZpELBju7JnQ2zajlzd4bz4BDLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719259353; a=rsa-sha256; cv=none; b=JHPM3DMUZ3WhNwZ7BWeTsJziFq4NQSkoyxsoTYwKvRmyFbIO8UIyYmR4M0YkM5i0Dz9UwC jQrL5X28YwnC1+jHaAHHATmGOqY0gtDPSsoxAwbD2PlIIN2eexc1lQWZ7HbddL4CMAe7Sd s6TonAtMNJhQR09AfgxxV+lI9Lx96Wf40HhaNHJ0XqKIoWgp0EmohVJbufHUlKZmpM5qEO EUyYlWNAYF/xZ364QCCd/RFAnPZrZ/FH+peweRVDdm5uS952Hij5sid/DMr4TaV39OgEak 7mI2OnyNuZHYN8hA8cF2jrynhY3plLz0nTikon1V7JcqHLVkfQXNw8Vb60tiHg== 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=1719259353; 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=dmk8gaY3ZgkN9TyM7fWvV7Feu4bew6EwJSdqj+/XcQ8=; b=Iv/GWqGFyWq6WsapdLY1S95pPaLvjSrYmFoo1XSemnXbjRf8CKBwGuSV5l6dbuKTQ9kRrG hDpNLaem0viv1AG6jOpXYBdJRF2rxqLVMT3r/N+1E4SxtjcLbEn6FAHoT3GhlAazTsl4Un gCrokF0nS7ryND029ksYG2HF79T+xBcg+TgfU+ptOq0W/g8lblLT+SYPwWTABEP9sSIE1i yE51FaPIGW9a+z+3fH65W8uzwib0+FhSVNTuE+n5YMdEvK0W5EFtWlkUtbwuKeKMqERAeb Wv+ShqtpAAermAU2f4G1f/ixHAB67xPkD+Ybd5j3GVNKyGIuifu4GW40t/BzYQ== 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 4W7Jls1mcgzXt4; Mon, 24 Jun 2024 20:02:33 +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 45OK2X7K032628; Mon, 24 Jun 2024 20:02:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45OK2XtC032625; Mon, 24 Jun 2024 20:02:33 GMT (envelope-from git) Date: Mon, 24 Jun 2024 20:02:33 GMT Message-Id: <202406242002.45OK2XtC032625@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: 9cbf1de7e34a - main - Mark the zfs.mount_snapshot jail parameter as boolean. PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647 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/main X-Git-Reftype: branch X-Git-Commit: 9cbf1de7e34a6fced041388fad5d9180cb7705fe Auto-Submitted: auto-generated The branch main has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=9cbf1de7e34a6fced041388fad5d9180cb7705fe commit 9cbf1de7e34a6fced041388fad5d9180cb7705fe Author: Jamie Gritton AuthorDate: 2024-06-24 20:00:49 +0000 Commit: Jamie Gritton CommitDate: 2024-06-24 20:00:49 +0000 Mark the zfs.mount_snapshot jail parameter as boolean. PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647 --- 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 a972c720dfdb..9b56d15f1095 100644 --- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c +++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c @@ -100,7 +100,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");