fortify: Allow KUnit test to build without FORTIFY
authorKees Cook <keescook@chromium.org>
Fri, 7 Apr 2023 19:27:08 +0000 (12:27 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 29 Feb 2024 21:38:02 +0000 (13:38 -0800)
commit1a78f8cb5daac77405e449f5305ad72c01818a46
tree853014d815279c81021d79a9acd8de78fe01d350
parent475ddf1fce1ec4826c8dda40ec59f7f83a7aadb8
fortify: Allow KUnit test to build without FORTIFY

In order for CI systems to notice all the skipped tests related to
CONFIG_FORTIFY_SOURCE, allow the FORTIFY_SOURCE KUnit tests to build
with or without CONFIG_FORTIFY_SOURCE.

Signed-off-by: Kees Cook <keescook@chromium.org>
lib/Kconfig.debug
lib/fortify_kunit.c