2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-02-03 22:45:18 +00:00
|
|
|
config HAVE_LIVEPATCH
|
2015-01-06 03:34:09 +00:00
|
|
|
bool
|
2014-12-16 17:58:19 +00:00
|
|
|
help
|
|
|
|
Arch supports kernel live patching
|
|
|
|
|
2015-02-03 22:45:18 +00:00
|
|
|
config LIVEPATCH
|
2015-01-06 03:34:09 +00:00
|
|
|
bool "Kernel Live Patching"
|
2014-12-16 17:58:19 +00:00
|
|
|
depends on DYNAMIC_FTRACE_WITH_REGS
|
|
|
|
depends on MODULES
|
|
|
|
depends on SYSFS
|
|
|
|
depends on KALLSYMS_ALL
|
2015-02-03 22:45:18 +00:00
|
|
|
depends on HAVE_LIVEPATCH
|
2017-05-26 12:45:21 +00:00
|
|
|
depends on !TRIM_UNUSED_KSYMS
|
2014-12-16 17:58:19 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want to support kernel live patching.
|
|
|
|
This option has no runtime impact until a kernel "patch"
|
|
|
|
module uses the interface provided by this option to register
|
|
|
|
a patch, causing calls to patched functions to be redirected
|
|
|
|
to new function code contained in the patch module.
|