Home
last modified time | relevance | path

Searched hist:eb965eda1cabf26e62afc07a06cdf2fd5aaa2906 (Results 1 – 2 of 2) sorted by relevance

/linux/lib/
H A Dtest_sysctl.cdiff eb965eda1cabf26e62afc07a06cdf2fd5aaa2906 Wed Jul 12 23:33:52 CEST 2017 Luis R. Rodriguez <mcgrof@kernel.org> test_sysctl: add simple proc_dointvec() case

Test against a simple proc_dointvec() case. While at it, add a test
against INT_MAX. Make sure INT_MAX works, and INT_MAX+1 will fail.
Also test negative values work.

Link: http://lkml.kernel.org/r/20170630224431.17374-5-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 Dsysctl.shdiff eb965eda1cabf26e62afc07a06cdf2fd5aaa2906 Wed Jul 12 23:33:52 CEST 2017 Luis R. Rodriguez <mcgrof@kernel.org> test_sysctl: add simple proc_dointvec() case

Test against a simple proc_dointvec() case. While at it, add a test
against INT_MAX. Make sure INT_MAX works, and INT_MAX+1 will fail.
Also test negative values work.

Link: http://lkml.kernel.org/r/20170630224431.17374-5-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>