From nobody Fri Oct 13 14:44:27 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 4S6TmW6Yscz4x5qX; Fri, 13 Oct 2023 14:44:27 +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 4S6TmW5YLtz3Rkf; Fri, 13 Oct 2023 14:44:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697208267; 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=Z47aMn1fKkbIuGEvrJGo7U7PCsD5mVWc1M9kG/4q9ao=; b=J0hm9ibIiQB3uuRbqNmbz3PrQ2qJjinjybxV1GSfNBXCdj6qIRKy86GPjd0VY5lwjj4Rvr As3eZ+K9e5IH0icgl7H5UUG6oQwqFbWo6d4No9DBWQLXvyD2JPo3gjM4Dm5gtrsJ9t1SwY aSqrA502tAvMAVwFxC8okBHByiHqhyA683B0bGZ0GeSCdNViNW0OBUCikc7y/1H0uPvhqA fhYaWMi76nWx8MP48pP0bqan/JpBZttC708y/ClgQ13lqcJawXjHYhibqvCrS+R19aE4a1 xGPfFBNCEiiQI2+GXaqB/3d5NdbOOKpT35zX50E9YbSyg9lJFmvKhnOg4cKXdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697208267; a=rsa-sha256; cv=none; b=aIH9s3lgE+pMGZyn06GFdTiJN/8tb0/wlMiL39wD3SqcqrsPwgUesDaG3qvNPxEINbXJz6 xztkCwfRCPCezCksEMdmMsedHf3Mm/m1fO6k7gq1oFx8+j+JFwSocB2unO3j2YSMvUZo5d lpsft9+019B/0K6n/+y1c7CxGeEg0qO7TZDUFOpyn+qQEZ2X+tzdfu/CmT9wH6rESAcWf1 oRYkb9W8RyHC9RWXffMd44EPW/GdsJqZW7b9MvkDXkkjxVuhbHNl6+rUJV6avb+XVGlg0u xh/eacguTIC48tcQ2ZPMjUWq16s6imESDLHpeXVuh3rjqyJq3EVSYJn8WvRZ5w== 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=1697208267; 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=Z47aMn1fKkbIuGEvrJGo7U7PCsD5mVWc1M9kG/4q9ao=; b=gFITSCotYfhSEnkKgQ0GU3KIfMrVBFDIP8cJ3K3+0Yd4s2Z/SnLIgcxX7NYfhK+pokJI90 qHVV3oav9cFa3i+TPM/kAx4cvBwpZzkhwbK4ow/p49jnPfquamtWfH/w0QijjL5gWun2ps cuoO5kTylTZRewoso8HKzQiQSgG9wFr/DdCuBlc1VIRoRCn8AHLvl2L6m643MM1RLW2Yuq Fa0KRG+NwwaXZ4xo3vQELRyzzALLDHyp8txCLJOjeX3z3d669iQUXFoOlLazipxP/A5mSX F7Y1SalMS59YzgAttl1wMox8usvEaBCHsa2khOGYLcx/y5nyHJw0JCfP2cvF/A== 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 4S6TmW3qQTzs3h; Fri, 13 Oct 2023 14:44:27 +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 39DEiR9H014827; Fri, 13 Oct 2023 14:44:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39DEiRJM014824; Fri, 13 Oct 2023 14:44:27 GMT (envelope-from git) Date: Fri, 13 Oct 2023 14:44:27 GMT Message-Id: <202310131444.39DEiRJM014824@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 7ca90db2f3ee - main - kmsan.9: Mention the loader tunable 'debug.kmsan.disable' 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/main X-Git-Reftype: branch X-Git-Commit: 7ca90db2f3ee15d9d0343d76f06a90efb8426d92 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=7ca90db2f3ee15d9d0343d76f06a90efb8426d92 commit 7ca90db2f3ee15d9d0343d76f06a90efb8426d92 Author: Zhenlei Huang AuthorDate: 2023-10-13 14:42:34 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-13 14:42:34 +0000 kmsan.9: Mention the loader tunable 'debug.kmsan.disable' Reviewed by: gbe (manpages), markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42166 --- share/man/man9/kmsan.9 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/man/man9/kmsan.9 b/share/man/man9/kmsan.9 index ae9dbdc7a052..714442e4d9fe 100644 --- a/share/man/man9/kmsan.9 +++ b/share/man/man9/kmsan.9 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 10, 2021 +.Dd October 13, 2023 .Dt KMSAN 9 .Os .Sh NAME @@ -108,6 +108,10 @@ should be used only for kernel testing and development. It is not recommended to enable .Nm in systems with less than 8GB of physical RAM. +.Pp +The sanitizer in a KMSAN-configured kernel can be disabled by setting the loader +tunable +.Sy debug.kmsan.disable=1 . .Sh FUNCTIONS The .Fn kmsan_mark