objtool: Add CONFIG_OBJTOOL
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. Signed-off-by:Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by:
Miroslav Benes <mbenes@suse.cz> Link: https://lkml.kernel.org/r/939bf3d85604b2a126412bf11af6e3bd3b872bcb.1650300597.git.jpoimboe@redhat.com
Showing
- Makefile 1 addition, 1 deletionMakefile
- arch/Kconfig 6 additions, 2 deletionsarch/Kconfig
- arch/x86/Kconfig 11 additions, 7 deletionsarch/x86/Kconfig
- arch/x86/Kconfig.debug 1 addition, 1 deletionarch/x86/Kconfig.debug
- arch/x86/include/asm/jump_label.h 3 additions, 3 deletionsarch/x86/include/asm/jump_label.h
- arch/x86/kernel/alternative.c 3 additions, 3 deletionsarch/x86/kernel/alternative.c
- include/linux/compiler.h 3 additions, 3 deletionsinclude/linux/compiler.h
- include/linux/instrumentation.h 3 additions, 3 deletionsinclude/linux/instrumentation.h
- include/linux/objtool.h 3 additions, 3 deletionsinclude/linux/objtool.h
- kernel/trace/Kconfig 1 addition, 0 deletionskernel/trace/Kconfig
- lib/Kconfig.debug 11 additions, 9 deletionslib/Kconfig.debug
- lib/Kconfig.kcsan 2 additions, 1 deletionlib/Kconfig.kcsan
- lib/Kconfig.ubsan 1 addition, 1 deletionlib/Kconfig.ubsan
- scripts/Makefile.build 2 additions, 2 deletionsscripts/Makefile.build
- scripts/link-vmlinux.sh 18 additions, 14 deletionsscripts/link-vmlinux.sh
- scripts/package/builddeb 1 addition, 1 deletionscripts/package/builddeb
- tools/include/linux/objtool.h 3 additions, 3 deletionstools/include/linux/objtool.h
Loading
Please register or sign in to comment