From nobody Thu Oct 12 15:02:48 2023 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 4S5tD832Kjz4wThm; Thu, 12 Oct 2023 15:02:48 +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 4S5tD82T75z4ZFD; Thu, 12 Oct 2023 15:02:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697122968; 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=G1q9LlPJr4kMSCLvNqCvbbayYm23OBZ9W0F8+dPojeA=; b=cmrgh8foWg4MjnKbuD5bOoyxVt7yOPxf3bI8vDeAo3vV0AZrjIl1DNo/XkXdloT7fyqQpO 1ih+/1u3G0MkNaRKzFmWA9sc6HvOpDiFC+Psg1X22u7tCFaZ+dnJx25uClkKkPZsNn0RJS yrLAvkbRs61chiEVXqygwUX05olrB1zKqkOremPcCCFr2NVLg1Pv8kLhKn9TIIoI1YqNBk O3fuFuvB/ktPODjG6KIJYw0wbI0s0Srl+N+WBnpZC+1CHm9ZaV/3ekVkAne4Lird9jsOd4 qxwQwa1Y1G9yXiDnTmPaYLC6bHTRcdP4v2b86RTjNms21aQyWSjz7mpMzSwNpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697122968; a=rsa-sha256; cv=none; b=oDT5Cx5K9EPbLh1oXpevsXqvrXja5m9H4YIFV6ueNn8cYFZRehwYEV3QQhkvHlzF2GBFmd cmolI9m+z33qpLROO64XKB6Z+4fELRovzxYrJkAamRAObNLTF/ts9cKKstdZZhubyxjvnM fCAiYxIBuu9iEKjf9lUV92IRoGVVyImH+v70aiN5wuZ+HpzwUQBBkr8asLAi1IHndOoWXg J6Te5Tfd9Q8/Wkiwy30acFhVA7sOuD+kZK6REGLFtbL50iLukHmk+f90xGf2MMr4aVJrQn qe17u4t5FE2JAI8ZsM8WqQU159OWhVyeLE6WTy7iBRjQs+JXMO+MHWvwz6iKxQ== 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=1697122968; 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=G1q9LlPJr4kMSCLvNqCvbbayYm23OBZ9W0F8+dPojeA=; b=SyT5Qp2VdFddV7r4GkrOjqi1enqFe47zILE6O5xXYzkt8fU1z5KwxmRQNgtMMxcxunuTRq uMlFlIGNVvtn/A3Zuc7t7EQXpEaBPn0ZCGxVXnSyRpquvcsdQl4NbJCGp3pwV4n7Ge1xwB HWzirKAlsKJqNyI6fb/vENfLNI4veeFud+uUh3mwMnBe/LcYELZyhkx86Fj5wmCDIOJ8I3 g9g2VzUIxwE5QbYaDzseLRjIBO4jfZ2uC2hzWeqA887AE3Mb0o4Fe4LSBf3QRV7ByzXTD/ YJ6WefxFdUTnQsk/FO9zi2TRyTPjrfnTT6pFQnN5km+80n12HciolrKB1o8ljw== 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 4S5tD81D90z1811; Thu, 12 Oct 2023 15:02:48 +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 39CF2mcH056938; Thu, 12 Oct 2023 15:02:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39CF2mvU056935; Thu, 12 Oct 2023 15:02:48 GMT (envelope-from git) Date: Thu, 12 Oct 2023 15:02:48 GMT Message-Id: <202310121502.39CF2mvU056935@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 654d8b545577 - releng/14.0 - ddb: Add sysctl flag CTLFLAG_TUN to loader tunable 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/releng/14.0 X-Git-Reftype: branch X-Git-Commit: 654d8b545577d685cc892c00dc8e4cadaf450b26 Auto-Submitted: auto-generated The branch releng/14.0 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=654d8b545577d685cc892c00dc8e4cadaf450b26 commit 654d8b545577d685cc892c00dc8e4cadaf450b26 Author: Zhenlei Huang AuthorDate: 2023-10-09 10:30:21 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-12 14:59:52 +0000 ddb: Add sysctl flag CTLFLAG_TUN to loader tunable The sysctl variable 'debug.ddb.capture.bufsize' is actually a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it correctly. No functional change intended. Reviewed by: kib, imp Approved by: re (gjb) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42113 (cherry picked from commit 0eb2e197896e2ec8a45730b61eeb77d5431af69f) (cherry picked from commit 0de3d5316cbc8297c61952c392e4b9d58b538b99) --- sys/ddb/db_capture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/ddb/db_capture.c b/sys/ddb/db_capture.c index 98c6e806187a..b4e598bf45cc 100644 --- a/sys/ddb/db_capture.c +++ b/sys/ddb/db_capture.c @@ -165,8 +165,8 @@ sysctl_debug_ddb_capture_bufsize(SYSCTL_HANDLER_ARGS) return (0); } SYSCTL_PROC(_debug_ddb_capture, OID_AUTO, bufsize, - CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0, - sysctl_debug_ddb_capture_bufsize, "IU", + CTLTYPE_UINT | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE, + 0, 0, sysctl_debug_ddb_capture_bufsize, "IU", "Size of DDB capture buffer"); /*