aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-06-25 17:45:15 -0700
committerKees Cook <keescook@chromium.org>2021-10-18 12:28:52 -0700
commitbb95ebbe89a7854368be061acefb22040fbcc486 (patch)
tree5c1e83a2557871c143de47620673fc923a0f0232 /lib/Makefile
parentfortify: Add compile-time FORTIFY_SOURCE tests (diff)
downloadlinux-dev-bb95ebbe89a7854368be061acefb22040fbcc486.tar.xz
linux-dev-bb95ebbe89a7854368be061acefb22040fbcc486.zip
lib: Introduce CONFIG_MEMCPY_KUNIT_TEST
Before changing anything about memcpy(), memmove(), and memset(), add run-time tests to check basic behaviors for any regressions. 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 bd17c2bf43e1..2cfd33917ad5 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -358,6 +358,7 @@ obj-$(CONFIG_LINEAR_RANGES_TEST) += test_linear_ranges.o
obj-$(CONFIG_BITS_TEST) += test_bits.o
obj-$(CONFIG_CMDLINE_KUNIT_TEST) += cmdline_kunit.o
obj-$(CONFIG_SLUB_KUNIT_TEST) += slub_kunit.o
+obj-$(CONFIG_MEMCPY_KUNIT_TEST) += memcpy_kunit.o
obj-$(CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED) += devmem_is_allowed.o