Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Josh Poimboeuf | 12cf89b | 2015-02-03 16:45:18 -0600 | [diff] [blame] | 2 | config HAVE_LIVEPATCH |
Christoph Jaeger | 83ac237 | 2015-01-05 22:34:09 -0500 | [diff] [blame] | 3 | bool |
Seth Jennings | b700e7f | 2014-12-16 11:58:19 -0600 | [diff] [blame] | 4 | help |
| 5 | Arch supports kernel live patching |
| 6 | |
Josh Poimboeuf | 12cf89b | 2015-02-03 16:45:18 -0600 | [diff] [blame] | 7 | config LIVEPATCH |
Christoph Jaeger | 83ac237 | 2015-01-05 22:34:09 -0500 | [diff] [blame] | 8 | bool "Kernel Live Patching" |
Seth Jennings | b700e7f | 2014-12-16 11:58:19 -0600 | [diff] [blame] | 9 | depends on DYNAMIC_FTRACE_WITH_REGS |
| 10 | depends on MODULES |
| 11 | depends on SYSFS |
| 12 | depends on KALLSYMS_ALL |
Josh Poimboeuf | 12cf89b | 2015-02-03 16:45:18 -0600 | [diff] [blame] | 13 | depends on HAVE_LIVEPATCH |
Miroslav Benes | 5720acf | 2017-05-26 14:45:21 +0200 | [diff] [blame] | 14 | depends on !TRIM_UNUSED_KSYMS |
Seth Jennings | b700e7f | 2014-12-16 11:58:19 -0600 | [diff] [blame] | 15 | help |
| 16 | Say Y here if you want to support kernel live patching. |
| 17 | This option has no runtime impact until a kernel "patch" |
| 18 | module uses the interface provided by this option to register |
| 19 | a patch, causing calls to patched functions to be redirected |
| 20 | to new function code contained in the patch module. |