Skip to content

Commit

Permalink
ANDROID: build_config: drop CONFIG_KASAN_PANIC_ON_WARN
Browse files Browse the repository at this point in the history
CONFIG_KASAN_PANIC_ON_WARN was added in a custom patch for Pixel kernels,
which would make KASAN panic the kernel after the first report regardless
of whether the panic_on_warn parameter is set. (Coincidentally, that patch
also would break instrumentation mode selection for KASAN.)

As that patch was never applied to the common kernel,
CONFIG_KASAN_PANIC_ON_WARN doesn't exist here. This change drops the
non-existent CONFIG_KASAN_PANIC_ON_WARN from build.config.gki_kasan.

Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: I9f42bb5f3515f18e2a5774241ea73a59d8883955
  • Loading branch information
xairy authored and adelva1984 committed Feb 15, 2021
1 parent 0934349 commit f682b45
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.config.gki_kasan
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ 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 \
Expand Down

0 comments on commit f682b45

Please sign in to comment.