]> asedeno.scripts.mit.edu Git - linux.git/commit
lib: Add test module for strscpy_pad
authorTobin C. Harding <tobin@kernel.org>
Fri, 5 Apr 2019 01:58:59 +0000 (12:58 +1100)
committerShuah Khan <shuah@kernel.org>
Mon, 8 Apr 2019 22:44:21 +0000 (16:44 -0600)
commit0b0600c8c97abe070724140802f3b8c8aee93170
tree38e4acc7d20c2ea2d27e2100d16da55b99e0e52d
parent458a3bf82df4fe1f951d0f52b1e0c1e9d5a88a3b
lib: Add test module for strscpy_pad

Add a test module for the new strscpy_pad() function.  Tie it into the
kselftest infrastructure for lib/ tests.

Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tobin C. Harding <tobin@kernel.org>
Signed-off-by: Shuah Khan <shuah@kernel.org>
lib/Kconfig.debug
lib/Makefile
lib/test_strscpy.c [new file with mode: 0644]
tools/testing/selftests/lib/Makefile
tools/testing/selftests/lib/config
tools/testing/selftests/lib/strscpy.sh [new file with mode: 0755]