Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

livepatch: Add CONFIG_KLP_BUILD

In preparation for introducing klp-build, add a new CONFIG_KLP_BUILD
option. The initial version will only be supported on x86-64.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

+13
+1
arch/x86/Kconfig
··· 261 261 select HAVE_FUNCTION_ERROR_INJECTION 262 262 select HAVE_KRETPROBES 263 263 select HAVE_RETHOOK 264 + select HAVE_KLP_BUILD if X86_64 264 265 select HAVE_LIVEPATCH if X86_64 265 266 select HAVE_MIXED_BREAKPOINTS_REGS 266 267 select HAVE_MOD_ARCH_SPECIFIC
+12
kernel/livepatch/Kconfig
··· 18 18 module uses the interface provided by this option to register 19 19 a patch, causing calls to patched functions to be redirected 20 20 to new function code contained in the patch module. 21 + 22 + config HAVE_KLP_BUILD 23 + bool 24 + help 25 + Arch supports klp-build 26 + 27 + config KLP_BUILD 28 + def_bool y 29 + depends on LIVEPATCH && HAVE_KLP_BUILD 30 + select OBJTOOL 31 + help 32 + Enable klp-build support