From 6de56acc29cada1f8141e69e1952d98de5a86b08 Mon Sep 17 00:00:00 2001 From: Joe Lawrence Date: Mon, 26 Aug 2024 14:22:28 -0400 Subject: [PATCH] kpatch-build: fail CONFIG_X86_KERNEL_IBT as not supported Signed-off-by: Joe Lawrence --- kpatch-build/kpatch-build | 1 + 1 file changed, 1 insertion(+) diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index 215c823..673f804 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -1190,6 +1190,7 @@ fi [[ -n "$CONFIG_DEBUG_INFO_SPLIT" ]] && die "kernel option 'CONFIG_DEBUG_INFO_SPLIT' not supported" [[ -n "$CONFIG_GCC_PLUGIN_LATENT_ENTROPY" ]] && die "kernel option 'CONFIG_GCC_PLUGIN_LATENT_ENTROPY' not supported" [[ -n "$CONFIG_GCC_PLUGIN_RANDSTRUCT" ]] && die "kernel option 'CONFIG_GCC_PLUGIN_RANDSTRUCT' not supported" +[[ -n "$CONFIG_X86_KERNEL_IBT" ]] && die "kernel option 'CONFIG_X86_KERNEL_IBT' not supported" # CONFIG_DEBUG_INFO_BTF invokes pahole, for which some versions don't # support extended ELF sections. Disable the BTF typeinfo generation in