diff options
author | Kees Cook <keescook@chromium.org> | 2022-02-10 01:32:24 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-09-08 01:37:27 +0200 |
commit | ba38961a069b0d8d03b53218a6c29d737577d448 (patch) | |
tree | 6a3785f5b5b67135754d15eeb151bd7ac9c732ea /arch/um/Kconfig | |
parent | lkdtm: Update tests for memcpy() run-time warnings (diff) | |
download | linux-ba38961a069b0d8d03b53218a6c29d737577d448.tar.xz linux-ba38961a069b0d8d03b53218a6c29d737577d448.zip |
um: Enable FORTIFY_SOURCE
Enable FORTIFY_SOURCE so running Kunit tests can test fortified
functions.
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: David Gow <davidgow@google.com>
Link: https://lore.kernel.org/r/20220210003224.773957-1-keescook@chromium.org
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r-- | arch/um/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index 78de31ac1da7..ad4ff3b0e91e 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -6,6 +6,7 @@ config UML bool default y select ARCH_EPHEMERAL_INODES + select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_GCOV_PROFILE_ALL select ARCH_HAS_KCOV select ARCH_HAS_STRNCPY_FROM_USER |