fortify: Allow KUnit test to build without FORTIFY
authorKees Cook <keescook@chromium.org>
Sun, 26 Mar 2023 20:53:27 +0000 (13:53 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 16 May 2023 21:07:49 +0000 (14:07 -0700)
commita9dc8d0442294b426b1ebd4ec6097c82ebe282e0
tree7c3ada3dae4754f4c22961f02c685a6a048cfe23
parent4d9060981f886ba881aa3e8de688433c1f1ed11f
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