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:
Ram Muthiah
2023-01-23 07:29:36 -08:00
committed by Alistair Delva
parent b901e6de3c
commit cae07316c9

View File

@@ -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 \