diff options
Diffstat (limited to 'kernel/livepatch/Kconfig')
| -rw-r--r-- | kernel/livepatch/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/livepatch/Kconfig b/kernel/livepatch/Kconfig new file mode 100644 index 000000000000..045022557936 --- /dev/null +++ b/kernel/livepatch/Kconfig | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | config HAVE_LIVEPATCH | ||
| 2 | bool | ||
| 3 | help | ||
| 4 | Arch supports kernel live patching | ||
| 5 | |||
| 6 | config LIVEPATCH | ||
| 7 | bool "Kernel Live Patching" | ||
| 8 | depends on DYNAMIC_FTRACE_WITH_REGS | ||
| 9 | depends on MODULES | ||
| 10 | depends on SYSFS | ||
| 11 | depends on KALLSYMS_ALL | ||
| 12 | depends on HAVE_LIVEPATCH | ||
| 13 | help | ||
| 14 | Say Y here if you want to support kernel live patching. | ||
| 15 | This option has no runtime impact until a kernel "patch" | ||
| 16 | module uses the interface provided by this option to register | ||
| 17 | a patch, causing calls to patched functions to be redirected | ||
| 18 | to new function code contained in the patch module. | ||
