Now that stack validation is an optional feature of objtool, add CONFIG_OBJTOOL and replace most usages of CONFIG_STACK_VALIDATION with it. CONFIG_STACK_VALIDATION can now be considered to be frame-pointer specific. CONFIG_UNWINDER_ORC is already inherently valid for live patching, so no need to "validate" it.
Showing the changes to kernel (1 of 17 files). Show all
Unified · Split
| @@ -728,6 +728,7 @@ config FTRACE_MCOUNT_USE_OBJTOOL · 727 unmodified lines | ||
| 728 | 728 | depends on !FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY |
| 729 | 729 | depends on !FTRACE_MCOUNT_USE_CC |
| 730 | 730 | depends on FTRACE_MCOUNT_RECORD |
| 731 | + select OBJTOOL | |
| 731 | 732 | |
| 732 | 733 | config FTRACE_MCOUNT_USE_RECORDMCOUNT |
| 733 | 734 | def_bool y |