From nobody Thu Oct 12 04:20:56 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 4S5bzX4cZhz4xBr2; Thu, 12 Oct 2023 04:20:56 +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 4S5bzX3wRgz4XlZ; Thu, 12 Oct 2023 04:20:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697084456; 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=CdOf+M5vl/kd22AW4sErzKxoqmKtlBenZw6xwFq//PU=; b=WH5mCjuxbSXRxJ26JA/lN+TklzX1BSNYC30xVHiOChbPF9mrSuHIBu2MLBDWrK9r6fplNy G8N/jMw2ZgR+C4IYaXv0dNXPovd0oIbA/MdzUn/Tlw9FhJv/Ky/PmaGE/fEd06Rvrqhyz/ xLyoAatlyqjsA/frislPidyu66qzkN8jqbYoGAyUr4wjhKpNJmT3IKN4tCOtAKhwSfy7PH j+RCrXq/xkIUMgxUk3hE+lCyEzohwrMuUnHDHvwlUMDZH9nfua12HGBZDbRiaobqt4NpGl S6dhzJb3oVU/CYpJ6A4lIKcT2kIDpPTCVmv+a892ILYcNACF8Mi7EWJsb0gP8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697084456; a=rsa-sha256; cv=none; b=GVXPNfYrCDQ3U5Va7IO97tWfWpct99xfYNqHOidmjdv6CIsdMNJzbvWH4V471LGNgy9Kji fLK3yyjqY/Ki+ZxKLMoKybPyt9ehX7YZr5UZMbxR/ubmErDgsPjVdLPPWKxeMYHMqXUPvZ nYd4kj7o+CodsrPbTGvPL+jYax00uqjYR07eNNxJYjcNfmAYMVDn10U/zL2Olucduu4bQv A0ODabtaLOxhVa83spTSbmFPxHIXWg+lAX58UIew6Fy/NieHHL5hvdleDghM0ecc8A6oTu HikmROoBQ3/JcSQNyR7Bmqyh6hfvkkuAUVmrbx5Fl8LEqUBTey9BmyUSZAXGdg== 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=1697084456; 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=CdOf+M5vl/kd22AW4sErzKxoqmKtlBenZw6xwFq//PU=; b=OOWo2uxuJN2goT4rQuMep/FegrU0PZ4HoPAnMRiiqPRvJDXTIMhvTnLsBLGpepRsT7TQ8n wrsgZxfiFmz6uzVGYebfF0arj3ITh7a/kJosa7en5cIfUyBUuDMnBoRreOXrFbzYVpKxsY rkeEcXAIQiIz9dIXlUd0DTcKqLIbc646zQmNqRnt+7FjgIjhYUnClXwQdauiAYZULaYedH Naqdott1oD//+AYtna1jarZCNyyAqK46hPiP51ZOCsgZGyGqNTQ4lc8/bBKB/fUNgvg+8D ITusw8FuW7ehb9fxsseWSSVaB4iVZfkdeK4PsJ1cYAKzQT9wceV3mSODk24iBw== 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 4S5bzX2y2Lzpn6; Thu, 12 Oct 2023 04:20:56 +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 39C4KuQD086326; Thu, 12 Oct 2023 04:20:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39C4Kurd086323; Thu, 12 Oct 2023 04:20:56 GMT (envelope-from git) Date: Thu, 12 Oct 2023 04:20:56 GMT Message-Id: <202310120420.39C4Kurd086323@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: 9edd54537025 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 9edd545370254b30ae4fbaa618b33004e3005bb3 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=9edd545370254b30ae4fbaa618b33004e3005bb3 commit 9edd545370254b30ae4fbaa618b33004e3005bb3 Author: Zhenlei Huang AuthorDate: 2023-10-09 10:30:21 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-12 04:19:36 +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 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"); /*