From nobody Fri Jun 28 19:46:10 2024 X-Original-To: dev-commits-src-branches@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 4W9mC71hv2z5PDCX; Fri, 28 Jun 2024 19:46:11 +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 4W9mC711rxz42bh; Fri, 28 Jun 2024 19:46:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719603971; 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=io1j1ITO09orRKn3tXh4frF7jgNEyTH5Bj3B+pmBEXY=; b=O52h0dK9vi05fcDrbrOPhFSi97KiiMr2g8eHMY+EQ9e/lt6msjEfXYpCcDR7OQrrkgCamW UraBd40e+bmZQ9aTp9f0GuaPXDz/UWoYvXUSZRClFd72naejvyB6s3oXf3oRSC0LH5QqzB AxdxI3jqdjq6B4hFA4uSdbp2AHNTuH7Lk94zlapiSzGb5ikRIibAWL2SOB+XgWGeSFf/OC CnQwFPyo4fXCEPziC16A60tJc027obBpAlC89ZWK/2kjEnDJa+BmmjfbmgxJN6kHONY3z7 /ZFfTM6NIYbk4XKI6pRasg1R0k6mRvR4AQSzsTUMzAXkVQ8drcC/dt3FFekfog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719603971; a=rsa-sha256; cv=none; b=r1hzXA0qq7OeXiTxlNVZHnpiOSHSXALxH9sOCfsjoi9u7qp60gZjVBR1ZHgV5nYm2FUhF8 L7FYrht+Ln0w7EKisfHpi/QWLgREDyL6Nvoljz7NiXKhLRqIz/WIdOc0a4MXkz8w2DyWqs CN98EMupkQERern/tpkFrRF/kv3XsRGp2jVMu9xsLxXiIfOHv2fjw7SILZ/EwmriT631m+ pl2vdip0Z5r7DbyiS9JPqQdcI5Ql7Qz6Y68GqHqX/YVOk6gZ8n5eTsmwVPFdDVSx+yyO5L Vfaqg0I5N3fG73/6oJrWFQWl/UX2OipqJizcpuw2z/g78wNhG8t9K8vAHb8yrg== 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=1719603971; 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=io1j1ITO09orRKn3tXh4frF7jgNEyTH5Bj3B+pmBEXY=; b=A3uff/a4mlr2HnIJdbG/kbM8AtI0yKzyo8OblNIk4v4S0IwVASBcweWAtyTKN8V18IzvJU 9nXW3a34tgzNxrJ1f14XxW+O3XsoWIxZHTmp768kgG500mFFQhRQgYo75U/dXAm8CilmW0 FrNNfSKyTxsSRhIDByPMeYpucdRqMpRUAQ4IKr8s91Oe/iqRvBhuOgSKmYc+rHfuo/rXAv 2PRWVhbhDmSfhwAaE1AVbsb75yezp8cOvapmR2wJ/eiE/dzZmwckDQ2cBztNCaPnDv6Jwf iN1M2fMds4gDj6uTwPNcJSpVnL4DHkkd7wCvcRfyEiIp45Gbe0gUIig254Z7iQ== 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 4W9mC70dfkz18BV; Fri, 28 Jun 2024 19:46:11 +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 45SJkAK3038132; Fri, 28 Jun 2024 19:46:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45SJkA0R038129; Fri, 28 Jun 2024 19:46:10 GMT (envelope-from git) Date: Fri, 28 Jun 2024 19:46:10 GMT Message-Id: <202406281946.45SJkA0R038129@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: c8f147943d2e - stable/14 - MFC zfs/jail: Mark the zfs.mount_snapshot jail parameter as boolean. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/14 X-Git-Reftype: branch X-Git-Commit: c8f147943d2e0926793af3442dd26a8e5aebcda7 Auto-Submitted: auto-generated The branch stable/14 has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=c8f147943d2e0926793af3442dd26a8e5aebcda7 commit c8f147943d2e0926793af3442dd26a8e5aebcda7 Author: Jamie Gritton AuthorDate: 2024-06-24 20:00:49 +0000 Commit: Jamie Gritton CommitDate: 2024-06-28 19:44:56 +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 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");