xref: /linux/kernel/livepatch/Kconfig (revision b700e7f03df5d92f85fa5247fe1f557528d3363d)
1*b700e7f0SSeth Jenningsconfig ARCH_HAVE_LIVE_PATCHING
2*b700e7f0SSeth Jennings	boolean
3*b700e7f0SSeth Jennings	help
4*b700e7f0SSeth Jennings	  Arch supports kernel live patching
5*b700e7f0SSeth Jennings
6*b700e7f0SSeth Jenningsconfig LIVE_PATCHING
7*b700e7f0SSeth Jennings	boolean "Kernel Live Patching"
8*b700e7f0SSeth Jennings	depends on DYNAMIC_FTRACE_WITH_REGS
9*b700e7f0SSeth Jennings	depends on MODULES
10*b700e7f0SSeth Jennings	depends on SYSFS
11*b700e7f0SSeth Jennings	depends on KALLSYMS_ALL
12*b700e7f0SSeth Jennings	depends on ARCH_HAVE_LIVE_PATCHING
13*b700e7f0SSeth Jennings	help
14*b700e7f0SSeth Jennings	  Say Y here if you want to support kernel live patching.
15*b700e7f0SSeth Jennings	  This option has no runtime impact until a kernel "patch"
16*b700e7f0SSeth Jennings	  module uses the interface provided by this option to register
17*b700e7f0SSeth Jennings	  a patch, causing calls to patched functions to be redirected
18*b700e7f0SSeth Jennings	  to new function code contained in the patch module.
19