git: 7ca90db2f3ee - main - kmsan.9: Mention the loader tunable 'debug.kmsan.disable'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Oct 2023 14:44:27 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=7ca90db2f3ee15d9d0343d76f06a90efb8426d92
commit 7ca90db2f3ee15d9d0343d76f06a90efb8426d92
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-10-13 14:42:34 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
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