summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorTobin C. Harding2019-04-05 03:58:59 +0200
committerShuah Khan2019-04-09 00:44:21 +0200
commit0b0600c8c97abe070724140802f3b8c8aee93170 (patch)
tree38e4acc7d20c2ea2d27e2100d16da55b99e0e52d /lib/Kconfig.debug
parentlib/string: Add strscpy_pad() function (diff)
downloadkernel-qcow2-linux-0b0600c8c97abe070724140802f3b8c8aee93170.tar.gz
kernel-qcow2-linux-0b0600c8c97abe070724140802f3b8c8aee93170.tar.xz
kernel-qcow2-linux-0b0600c8c97abe070724140802f3b8c8aee93170.zip
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>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0d9e81779e37..4b644ad399dd 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1769,6 +1769,9 @@ config TEST_HEXDUMP
config TEST_STRING_HELPERS
tristate "Test functions located in the string_helpers module at runtime"
+config TEST_STRSCPY
+ tristate "Test strscpy*() family of functions at runtime"
+
config TEST_KSTRTOX
tristate "Test kstrto*() family of functions at runtime"