blob: ec4565122e6553f490dfb2434b6c14102b152bb2 [file] [log] [blame]
Josh Poimboeuf12cf89b2015-02-03 16:45:18 -06001config HAVE_LIVEPATCH
Christoph Jaeger83ac237a2015-01-05 22:34:09 -05002 bool
Seth Jenningsb700e7f2014-12-16 11:58:19 -06003 help
4 Arch supports kernel live patching
5
Josh Poimboeuf12cf89b2015-02-03 16:45:18 -06006config LIVEPATCH
Christoph Jaeger83ac237a2015-01-05 22:34:09 -05007 bool "Kernel Live Patching"
Seth Jenningsb700e7f2014-12-16 11:58:19 -06008 depends on DYNAMIC_FTRACE_WITH_REGS
9 depends on MODULES
10 depends on SYSFS
11 depends on KALLSYMS_ALL
Josh Poimboeuf12cf89b2015-02-03 16:45:18 -060012 depends on HAVE_LIVEPATCH
Miroslav Benes5720acf2017-05-26 14:45:21 +020013 depends on !TRIM_UNUSED_KSYMS
Seth Jenningsb700e7f2014-12-16 11:58:19 -060014 help
15 Say Y here if you want to support kernel live patching.
16 This option has no runtime impact until a kernel "patch"
17 module uses the interface provided by this option to register
18 a patch, causing calls to patched functions to be redirected
19 to new function code contained in the patch module.