diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2022-04-19 19:05:09 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-05-27 13:34:43 +0300 |
commit | 5f3da8c08508df82823566c32f753071c8ad36af (patch) | |
tree | b2f63ac85502f74ba1f9774c22f5b90292d1947c /arch/x86/Kconfig | |
parent | 7e284070abe53d448517b80493863595af4ab5f0 (diff) | |
download | linux-5f3da8c08508df82823566c32f753071c8ad36af.tar.xz |
objtool: Add CONFIG_HAVE_UACCESS_VALIDATION
Allow an arch specify that it has objtool uaccess validation with
CONFIG_HAVE_UACCESS_VALIDATION. For now, doing so unconditionally
selects CONFIG_OBJTOOL.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/d393d5e2fe73aec6e8e41d5c24f4b6fe8583f2d8.1650384225.git.jpoimboe@redhat.com
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cf531fbcd229..5f41f3c3df9a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -258,6 +258,7 @@ config X86 select HAVE_PREEMPT_DYNAMIC_CALL select HAVE_RSEQ select HAVE_SYSCALL_TRACEPOINTS + select HAVE_UACCESS_VALIDATION if HAVE_OBJTOOL select HAVE_UNSTABLE_SCHED_CLOCK select HAVE_USER_RETURN_NOTIFIER select HAVE_GENERIC_VDSO |