]> git.baikalelectronics.ru Git - kernel.git/commit
lib: Introduce CONFIG_MEMCPY_KUNIT_TEST
authorKees Cook <keescook@chromium.org>
Sat, 26 Jun 2021 00:45:15 +0000 (17:45 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 18 Oct 2021 19:28:52 +0000 (12:28 -0700)
commit1b17a71aa9a403a073f995304c8199c33a3ef37a
tree5c1e83a2557871c143de47620673fc923a0f0232
parent2e0b7c92f798c83ba543b0ad78410f09a6024552
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>
lib/Kconfig.debug
lib/Makefile
lib/memcpy_kunit.c [new file with mode: 0644]