]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
string: Convert strscpy() self-test to KUnit
authorKees Cook <keescook@chromium.org>
Sun, 2 Oct 2022 16:51:46 +0000 (09:51 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 1 Nov 2022 17:04:52 +0000 (10:04 -0700)
commit41eefc46a3a4682976afb5f8c4b9734ed6bfd406
tree2c0976342fe9a23a9498aec8895b126a08f3168a
parent9e4a617757273a86b560c1ece40c48e4940a3c79
string: Convert strscpy() self-test to KUnit

Convert the strscpy() self-test to a KUnit test.

Cc: David Gow <davidgow@google.com>
Cc: Tobin C. Harding <tobin@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/lkml/Y072ZMk/hNkfwqMv@dev-arch.thelio-3990X
Signed-off-by: Kees Cook <keescook@chromium.org>
MAINTAINERS
lib/Kconfig.debug
lib/Makefile
lib/strscpy_kunit.c [new file with mode: 0644]
lib/test_strscpy.c [deleted file]