cfi: Remove CONFIG_CFI_CLANG_SHADOW
authorSami Tolvanen <samitolvanen@google.com>
Thu, 8 Sep 2022 21:54:45 +0000 (14:54 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 26 Sep 2022 17:13:12 +0000 (10:13 -0700)
commit9fca7115827b2e5f48d84e50bceb4edfd4cb6375
tree10173b32c03fc8b3c5f32133c1d83ce7b1fb7cda
parentd0f9562ee43a135b941715d9e5e607de88898aca
cfi: Remove CONFIG_CFI_CLANG_SHADOW

In preparation to switching to -fsanitize=kcfi, remove support for the
CFI module shadow that will no longer be needed.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220908215504.3686827-4-samitolvanen@google.com
arch/Kconfig
include/linux/cfi.h
kernel/cfi.c
kernel/module/main.c