[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240819213534.4080408-4-mmaurer@google.com>
Date: Mon, 19 Aug 2024 21:35:21 +0000
From: Matthew Maurer <mmaurer@...gle.com>
To: dvyukov@...gle.com, ojeda@...nel.org, andreyknvl@...il.com,
Alex Gaynor <alex.gaynor@...il.com>, Wedson Almeida Filho <wedsonaf@...il.com>,
Petr Mladek <pmladek@...e.com>, Masahiro Yamada <masahiroy@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>, Yoann Congal <yoann.congal@...le.fr>,
Kees Cook <keescook@...omium.org>, Randy Dunlap <rdunlap@...radead.org>,
Alice Ryhl <aliceryhl@...gle.com>, "Gustavo A. R. Silva" <gustavoars@...nel.org>,
Vincent Guittot <vincent.guittot@...aro.org>
Cc: samitolvanen@...gle.com, kasan-dev@...glegroups.com, linux-mm@...ck.org,
glider@...gle.com, ryabinin.a.a@...il.com,
Matthew Maurer <mmaurer@...gle.com>, Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
"Björn Roy Baron" <bjorn3_gh@...tonmail.com>, Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...sung.com>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org
Subject: [PATCH v3 3/4] rust: kasan: Rust does not support KHWASAN
Rust does not yet have support for software tags. Prevent RUST from
being selected if KASAN_SW_TAGS is enabled.
Signed-off-by: Matthew Maurer <mmaurer@...gle.com>
---
init/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/init/Kconfig b/init/Kconfig
index 72404c1f2157..a8c3a289895e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1907,6 +1907,7 @@ config RUST
depends on !GCC_PLUGINS
depends on !RANDSTRUCT
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
+ depends on !KASAN_SW_TAGS
help
Enables Rust support in the kernel.
--
2.46.0.184.g6999bdac58-goog
Powered by blists - more mailing lists