| commit | eb965eda1cabf26e62afc07a06cdf2fd5aaa2906 | [log] [tgz] |
|---|---|---|
| author | Luis R. Rodriguez <[email protected]> | Wed Jul 12 14:33:52 2017 -0700 |
| committer | Linus Torvalds <[email protected]> | Wed Jul 12 16:26:00 2017 -0700 |
| tree | b5b38008a45447eefe8450f73de0b441dce11f70 | |
| parent | 1c0357c846452add7c2c863ec372010e3d2ca943 [diff] |
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/[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]>