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. Signed-off-by: NIurii Zaikin <yzaikin@google.com> Signed-off-by: NBrendan Higgins <brendanhiggins@google.com> Reviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: NLogan Gunthorpe <logang@deltatee.com> Acked-by: NLuis Chamberlain <mcgrof@kernel.org> Reviewed-by: NStephen Boyd <sboyd@kernel.org> Signed-off-by: NShuah Khan <skhan@linuxfoundation.org>
Showing
kernel/sysctl-test.c
0 → 100644
想要评论请 注册 或 登录