Searched hist:"2920 fad3a5d394b66011c7f35c7b05278354055e" (Results 1 – 2 of 2) sorted by relevance
/linux/lib/ |
H A D | test_sysctl.c | diff 2920fad3a5d394b66011c7f35c7b05278354055e Wed Jul 12 23:33:55 CEST 2017 Luis R. Rodriguez <mcgrof@kernel.org> test_sysctl: add simple proc_douintvec() case
Test against a simple proc_douintvec() case. While at it, add a test against UINT_MAX. Make sure UINT_MAX works, and UINT_MAX+1 will fail and that negative values are not accepted.
Link: http://lkml.kernel.org/r/20170630224431.17374-6-mcgrof@kernel.org Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Cc: Kees Cook <keescook@chromium.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
/linux/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | diff 2920fad3a5d394b66011c7f35c7b05278354055e Wed Jul 12 23:33:55 CEST 2017 Luis R. Rodriguez <mcgrof@kernel.org> test_sysctl: add simple proc_douintvec() case
Test against a simple proc_douintvec() case. While at it, add a test against UINT_MAX. Make sure UINT_MAX works, and UINT_MAX+1 will fail and that negative values are not accepted.
Link: http://lkml.kernel.org/r/20170630224431.17374-6-mcgrof@kernel.org Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Cc: Kees Cook <keescook@chromium.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|