summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
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/Makefile
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/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3b08673e8881..b4e08d6234ba 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -70,6 +70,7 @@ obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_keys.o
obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_key_base.o
obj-$(CONFIG_TEST_PRINTF) += test_printf.o
obj-$(CONFIG_TEST_BITMAP) += test_bitmap.o
+obj-$(CONFIG_TEST_STRSCPY) += test_strscpy.o
obj-$(CONFIG_TEST_BITFIELD) += test_bitfield.o
obj-$(CONFIG_TEST_UUID) += test_uuid.o
obj-$(CONFIG_TEST_XARRAY) += test_xarray.o