Skip to content

Commit

Permalink
Merge pull request #1411 from joe-lawrence/fail-on-kernel-ibt
Browse files Browse the repository at this point in the history
kpatch-build: fail CONFIG_X86_KERNEL_IBT as not supported
  • Loading branch information
jpoimboe authored Sep 3, 2024
2 parents f85f8a3 + 6de56ac commit eef32ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kpatch-build/kpatch-build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eef32ad

Please sign in to comment.