linux_dsm_epyc7002/tools/testing/selftests/sysctl
Luis R. Rodriguez 7c43a657a4 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>
2017-07-12 16:26:00 -07:00
..
config test_sysctl: add dedicated proc sysctl test driver 2017-07-12 16:26:00 -07:00
Makefile test_sysctl: add generic script to expand on tests 2017-07-12 16:26:00 -07:00
sysctl.sh test_sysctl: test against int proc_dointvec() array support 2017-07-12 16:26:00 -07:00