History

kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow.

Iurii Zaikin committed 7 years ago

Commit 2cb80db1 parent 804ec793 files · +405 −0Browse files

Showing the changes to kernel/Makefile (1 of 3 files). Show all

Unified · Split

kernel/Makefile+2−0
@@ -115,6 +115,8 @@ obj-$(CONFIG_TORTURE_TEST) += torture.o · 114 unmodified lines
115obj-$(CONFIG_HAS_IOMEM) += iomem.o115obj-$(CONFIG_HAS_IOMEM) += iomem.o
116obj-$(CONFIG_RSEQ) += rseq.o116obj-$(CONFIG_RSEQ) += rseq.o
117 117
118obj-$(CONFIG_SYSCTL_KUNIT_TEST) += sysctl-test.o
119
118obj-$(CONFIG_GCC_PLUGIN_STACKLEAK) += stackleak.o120obj-$(CONFIG_GCC_PLUGIN_STACKLEAK) += stackleak.o
119KASAN_SANITIZE_stackleak.o := n121KASAN_SANITIZE_stackleak.o := n
120KCOV_INSTRUMENT_stackleak.o := n122KCOV_INSTRUMENT_stackleak.o := n