[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+fCnZcN9BSvhj3iQNVAiudkMFg3kCPBgDJQoJshx3BJx3N2qQ@mail.gmail.com>
Date: Tue, 20 Aug 2024 19:30:53 +0200
From: Andrey Konovalov <andreyknvl@...il.com>
To: Matthew Maurer <mmaurer@...gle.com>
Cc: dvyukov@...gle.com, ojeda@...nel.org, 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>,
samitolvanen@...gle.com, kasan-dev@...glegroups.com, linux-mm@...ck.org,
glider@...gle.com, ryabinin.a.a@...il.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: Re: [PATCH v3 3/4] rust: kasan: Rust does not support KHWASAN
On Mon, Aug 19, 2024 at 11:35 PM Matthew Maurer <mmaurer@...gle.com> wrote:
>
> 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
>
Reviewed-by: Andrey Konovalov <andreyknvl@...il.com>
Powered by blists - more mailing lists