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.
Showing the changes to kernel/Makefile (1 of 3 files). Show all
Unified · Split
| @@ -115,6 +115,8 @@ obj-$(CONFIG_TORTURE_TEST) += torture.o · 114 unmodified lines | ||
| 115 | 115 | obj-$(CONFIG_HAS_IOMEM) += iomem.o |
| 116 | 116 | obj-$(CONFIG_RSEQ) += rseq.o |
| 117 | 117 | |
| 118 | +obj-$(CONFIG_SYSCTL_KUNIT_TEST) += sysctl-test.o | |
| 119 | + | |
| 118 | 120 | obj-$(CONFIG_GCC_PLUGIN_STACKLEAK) += stackleak.o |
| 119 | 121 | KASAN_SANITIZE_stackleak.o := n |
| 120 | 122 | KCOV_INSTRUMENT_stackleak.o := n |