projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c422974
)
rust: kasan: Rust does not support KHWASAN
author
Matthew Maurer
<mmaurer@google.com>
Tue, 20 Aug 2024 19:48:57 +0000
(19:48 +0000)
committer
Miguel Ojeda
<ojeda@kernel.org>
Mon, 16 Sep 2024 16:04:37 +0000
(18:04 +0200)
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@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Link:
https://lore.kernel.org/r/20240820194910.187826-3-mmaurer@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
init/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/init/Kconfig
b/init/Kconfig
index 53f4589b78472c7f1fbd193c8a922970841bf7d6..4ea2a161d362fde6cb536c48fcca4d5e2ae56674 100644
(file)
--- a/
init/Kconfig
+++ b/
init/Kconfig
@@
-1912,6
+1912,7
@@
config RUST
depends on !CFI_CLANG || RUSTC_VERSION >= 107900 && $(cc-option,-fsanitize=kcfi -fsanitize-cfi-icall-experimental-normalize-integers)
select CFI_ICALL_NORMALIZE_INTEGERS if CFI_CLANG
depends on !CALL_PADDING || RUSTC_VERSION >= 108000
+ depends on !KASAN_SW_TAGS
help
Enables Rust support in the kernel.