commit | 2920fad3a5d394b66011c7f35c7b05278354055e | [log] [tgz] |
---|---|---|
author | Luis R. Rodriguez <[email protected]> | Wed Jul 12 14:33:55 2017 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Jul 12 16:26:00 2017 -0700 |
tree | 70e445d6cffd910679f1349d64f683cc01f3839e | |
parent | eb965eda1cabf26e62afc07a06cdf2fd5aaa2906 [diff] |
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/[email protected] Signed-off-by: Luis R. Rodriguez <[email protected]> Cc: Kees Cook <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>