git: c3f01d3e7b8f - main - arm64: Enable KMSAN when configured to do so
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Feb 2024 16:36:38 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=c3f01d3e7b8fdee4f78dad7e2e6fd4d05eb81003
commit c3f01d3e7b8fdee4f78dad7e2e6fd4d05eb81003
Author: Alexander Stetsenko <alex.stetsenko@klarasystems.com>
AuthorDate: 2024-02-08 16:04:52 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-02-08 16:35:11 +0000
arm64: Enable KMSAN when configured to do so
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.
---
sys/arm64/arm64/machdep.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c
index 9b324bb45c2f..c543f0764e3b 100644
--- a/sys/arm64/arm64/machdep.c
+++ b/sys/arm64/arm64/machdep.c
@@ -47,6 +47,7 @@
#include <sys/ktr.h>
#include <sys/limits.h>
#include <sys/linker.h>
+#include <sys/msan.h>
#include <sys/msgbuf.h>
#include <sys/pcpu.h>
#include <sys/physmem.h>
@@ -1019,6 +1020,7 @@ initarm(struct arm64_bootparams *abp)
kcsan_cpu_init(0);
kasan_init();
+ kmsan_init();
env = kern_getenv("kernelname");
if (env != NULL)