2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-02-04 06:45:18 +08:00
|
|
|
config HAVE_LIVEPATCH
|
2015-01-06 11:34:09 +08:00
|
|
|
bool
|
2014-12-17 01:58:19 +08:00
|
|
|
help
|
|
|
|
Arch supports kernel live patching
|
|
|
|
|
2015-02-04 06:45:18 +08:00
|
|
|
config LIVEPATCH
|
2015-01-06 11:34:09 +08:00
|
|
|
bool "Kernel Live Patching"
|
2014-12-17 01:58:19 +08:00
|
|
|
depends on DYNAMIC_FTRACE_WITH_REGS
|
|
|
|
depends on MODULES
|
|
|
|
depends on SYSFS
|
|
|
|
depends on KALLSYMS_ALL
|
2015-02-04 06:45:18 +08:00
|
|
|
depends on HAVE_LIVEPATCH
|
2017-05-26 20:45:21 +08:00
|
|
|
depends on !TRIM_UNUSED_KSYMS
|
2014-12-17 01:58:19 +08: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.
|