Date: Mon, 22 Apr 2024 17:11:21 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7a7063cc5427 - main - thread: Add a missing include of asan.h Message-ID: <202404221711.43MHBLiM071587@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=7a7063cc54274a44192fb65c71360a5e72c171b9 commit 7a7063cc54274a44192fb65c71360a5e72c171b9 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-04-22 17:07:53 +0000 Commit: Mark Johnston <markj@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 <lexi@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404221711.43MHBLiM071587>