^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) config HAVE_LIVEPATCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Arch supports kernel live patching
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) config LIVEPATCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) bool "Kernel Live Patching"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) depends on DYNAMIC_FTRACE_WITH_REGS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) depends on MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) depends on SYSFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) depends on KALLSYMS_ALL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) depends on HAVE_LIVEPATCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) depends on !TRIM_UNUSED_KSYMS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Say Y here if you want to support kernel live patching.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) This option has no runtime impact until a kernel "patch"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) module uses the interface provided by this option to register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) a patch, causing calls to patched functions to be redirected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) to new function code contained in the patch module.