mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
ANDROID: GKI: KASAN: disable INLINE
and replace with PANIC_ON_WARN. The latter is needed to align with the standard KASAN template. The former is needed to workaround a boot issue on cuttlefish that hasn't been root-caused yet. Likely cause is the larger text space needed for the INLINE config. This issue was surfaced on cuttlefish when the BL implementation was changed to use a builtin environment 578b47ac41fe4433108. Bug: 218315905 Change-Id: I57486f8befa720bbf49afe89c5454af8348816a5
This commit is contained in:
committed by
Alistair Delva
parent
b901e6de3c
commit
cae07316c9
@@ -4,7 +4,7 @@ KERNEL_DIR=common
|
||||
function update_kasan_config() {
|
||||
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
||||
-e CONFIG_KASAN \
|
||||
-e CONFIG_KASAN_INLINE \
|
||||
-e CONFIG_KASAN_PANIC_ON_WARN \
|
||||
-e CONFIG_KCOV \
|
||||
-e CONFIG_PANIC_ON_WARN_DEFAULT_ENABLE \
|
||||
-d CONFIG_RANDOMIZE_BASE \
|
||||
|
||||
Reference in New Issue
Block a user