Home
last modified time | relevance | path

Searched hist:"7 c43a657a4beadeb6d2fe1a00732261e313a807f" (Results 1 – 2 of 2) sorted by relevance

/linux/lib/
H A Dtest_sysctl.cdiff 7c43a657a4beadeb6d2fe1a00732261e313a807f Wed Jul 12 23:33:58 CEST 2017 Luis R. Rodriguez <mcgrof@kernel.org> test_sysctl: test against int proc_dointvec() array support

Add a few initial respective tests for an array:

o Echoing values separated by spaces works
o Echoing only first elements will set first elements
o Confirm PAGE_SIZE limit still applies even if an array is used

Link: http://lkml.kernel.org/r/20170630224431.17374-7-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 7c43a657a4beadeb6d2fe1a00732261e313a807f Wed Jul 12 23:33:58 CEST 2017 Luis R. Rodriguez <mcgrof@kernel.org> test_sysctl: test against int proc_dointvec() array support

Add a few initial respective tests for an array:

o Echoing values separated by spaces works
o Echoing only first elements will set first elements
o Confirm PAGE_SIZE limit still applies even if an array is used

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