blob: 54102deb50ba9846e3ef4baee4d62f2f90a94155 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Josh Poimboeuf12cf89b2015-02-03 16:45:18 -06002config HAVE_LIVEPATCH
Christoph Jaeger83ac2372015-01-05 22:34:09 -05003 bool
Seth Jenningsb700e7f2014-12-16 11:58:19 -06004 help
5 Arch supports kernel live patching
6
Josh Poimboeuf12cf89b2015-02-03 16:45:18 -06007config LIVEPATCH
Christoph Jaeger83ac2372015-01-05 22:34:09 -05008 bool "Kernel Live Patching"
Seth Jenningsb700e7f2014-12-16 11:58:19 -06009 depends on DYNAMIC_FTRACE_WITH_REGS
10 depends on MODULES
11 depends on SYSFS
12 depends on KALLSYMS_ALL
Josh Poimboeuf12cf89b2015-02-03 16:45:18 -060013 depends on HAVE_LIVEPATCH
Miroslav Benes5720acf2017-05-26 14:45:21 +020014 depends on !TRIM_UNUSED_KSYMS
Seth Jenningsb700e7f2014-12-16 11:58:19 -060015 help
16 Say Y here if you want to support kernel live patching.
17 This option has no runtime impact until a kernel "patch"
18 module uses the interface provided by this option to register
19 a patch, causing calls to patched functions to be redirected
20 to new function code contained in the patch module.