Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config HAVE_LIVEPATCH
0003         bool
0004         help
0005           Arch supports kernel live patching
0006 
0007 config LIVEPATCH
0008         bool "Kernel Live Patching"
0009         depends on DYNAMIC_FTRACE_WITH_REGS || DYNAMIC_FTRACE_WITH_ARGS
0010         depends on MODULES
0011         depends on SYSFS
0012         depends on KALLSYMS_ALL
0013         depends on HAVE_LIVEPATCH
0014         depends on !TRIM_UNUSED_KSYMS
0015         help
0016           Say Y here if you want to support kernel live patching.
0017           This option has no runtime impact until a kernel "patch"
0018           module uses the interface provided by this option to register
0019           a patch, causing calls to patched functions to be redirected
0020           to new function code contained in the patch module.