summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2023-04-05 00:43:35 +0200
committerKees Cook <keescook@chromium.org>2023-05-16 23:08:02 +0200
commit3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7 (patch)
tree9531f0db48b4bc1902b9973f7f151eadaf79dd34 /lib/Makefile
parentfortify: Allow KUnit test to build without FORTIFY (diff)
downloadlinux-3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7.tar.xz
linux-3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7.zip
string: Add Kunit tests for strcat() family
Add tests to make sure the strcat() family of functions behave correctly. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 876fcdeae34e..38c89b52d3ef 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -392,6 +392,7 @@ obj-$(CONFIG_STACKINIT_KUNIT_TEST) += stackinit_kunit.o
CFLAGS_fortify_kunit.o += $(call cc-disable-warning, unsequenced)
CFLAGS_fortify_kunit.o += $(DISABLE_STRUCTLEAK_PLUGIN)
obj-$(CONFIG_FORTIFY_KUNIT_TEST) += fortify_kunit.o
+obj-$(CONFIG_STRCAT_KUNIT_TEST) += strcat_kunit.o
obj-$(CONFIG_STRSCPY_KUNIT_TEST) += strscpy_kunit.o
obj-$(CONFIG_SIPHASH_KUNIT_TEST) += siphash_kunit.o