diff options
author | Kees Cook <keescook@chromium.org> | 2021-06-25 17:45:15 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2021-10-18 12:28:52 -0700 |
commit | bb95ebbe89a7854368be061acefb22040fbcc486 (patch) | |
tree | 5c1e83a2557871c143de47620673fc923a0f0232 /lib/Makefile | |
parent | be58f7103700a68d5c7ca60a2bc0b309907599ab (diff) | |
download | linux-bb95ebbe89a7854368be061acefb22040fbcc486.tar.gz linux-bb95ebbe89a7854368be061acefb22040fbcc486.tar.bz2 linux-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/Makefile | 1 |
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 |