@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs.h,v 1.149 2019/11/14 16:23:53 maxv Exp $ */
+/* $NetBSD: cdefs.h,v 1.150 2019/12/08 11:48:15 maxv Exp $ */
/* * Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -40,6 +40,7 @@
#include "opt_diagnostic.h"
#include "opt_kasan.h"
#include "opt_kcsan.h"
+#include "opt_kmsan.h"
#endif
/*
@@ -349,7 +350,7 @@
#endif
#if defined(__clang__) && defined(KMSAN)
-#define __nomsan __attribute__((no_sanitize("memory")))
+#define __nomsan __attribute__((no_sanitize("kernel-memory")))
#else
#define __nomsan /* nothing */
#endif