Skip to content

Commit f64e2f3

Browse files
maurerojeda
authored andcommitted
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 <[email protected]> Reviewed-by: Andrey Konovalov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
1 parent c422974 commit f64e2f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

init/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,7 @@ config RUST
19121912
depends on !CFI_CLANG || RUSTC_VERSION >= 107900 && $(cc-option,-fsanitize=kcfi -fsanitize-cfi-icall-experimental-normalize-integers)
19131913
select CFI_ICALL_NORMALIZE_INTEGERS if CFI_CLANG
19141914
depends on !CALL_PADDING || RUSTC_VERSION >= 108000
1915+
depends on !KASAN_SW_TAGS
19151916
help
19161917
Enables Rust support in the kernel.
19171918

0 commit comments

Comments
 (0)