diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2022-04-19 18:05:09 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-05-27 12:34:43 +0200 |
commit | 5f3da8c08508df82823566c32f753071c8ad36af (patch) | |
tree | b2f63ac85502f74ba1f9774c22f5b90292d1947c /arch/Kconfig | |
parent | Merge tag 'for-5.19/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-5f3da8c08508df82823566c32f753071c8ad36af.tar.xz linux-5f3da8c08508df82823566c32f753071c8ad36af.zip |
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/Kconfig')
-rw-r--r-- | arch/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 904ed51736d4..cb2954027d10 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -1050,6 +1050,10 @@ config HAVE_NOINSTR_HACK config HAVE_NOINSTR_VALIDATION bool +config HAVE_UACCESS_VALIDATION + bool + select OBJTOOL + config HAVE_STACK_VALIDATION bool help |