diff options
author | Qingfang Deng <dqfext@gmail.com> | 2024-03-08 11:07:49 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2024-03-08 16:07:48 +0800 |
commit | a646e4f697ca53f9892c98caa49c68d3f1b3a7cf (patch) | |
tree | 7c2aa5b776cbbdc6a336d8c3f73f6d4e80c487a6 /config | |
parent | 9da90971ab32c29eb014eea7094d0b4ebdf256e3 (diff) | |
download | openwrt-a646e4f697ca53f9892c98caa49c68d3f1b3a7cf.tar.gz openwrt-a646e4f697ca53f9892c98caa49c68d3f1b3a7cf.tar.bz2 openwrt-a646e4f697ca53f9892c98caa49c68d3f1b3a7cf.zip |
kernel: enable KASAN option for more architectures
KASAN has supported more architectures, such as ARM, PPC32 and RISC-V 64.
Enable KASAN option for those architectures.
Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-kernel.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 78155eb592..2e59bc9551 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -144,7 +144,7 @@ config KERNEL_UBSAN_TRAP config KERNEL_KASAN bool "Compile the kernel with KASan: runtime memory debugger" select KERNEL_SLUB_DEBUG - depends on (x86_64 || aarch64) + depends on (x86_64 || aarch64 || arm || powerpc || riscv64) help Enables kernel address sanitizer - runtime memory debugger, designed to find out-of-bounds accesses and use-after-free bugs. |