The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=7a7063cc54274a44192fb65c71360a5e72c171b9

commit 7a7063cc54274a44192fb65c71360a5e72c171b9
Author:     Mark Johnston <ma...@freebsd.org>
AuthorDate: 2024-04-22 17:07:53 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2024-04-22 17:07:53 +0000

    thread: Add a missing include of asan.h
    
    I didn't notice this during testing because invariants-enabled kernels
    implicitly include asan.h via kassert.h.
    
    Reported by:    Lexi Winter <l...@le-fay.org>
    Fixes:          800da341bc4a ("thread: Simplify sanitizer integration with 
thread creation")
---
 sys/kern/kern_thread.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 725791769ac3..4a9d1bc8a042 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -33,6 +33,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/asan.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
 #include <sys/msan.h>

Reply via email to