diff options
author | Luis R. Rodriguez <[email protected]> | 2017-07-12 14:33:49 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-07-12 16:26:00 -0700 |
commit | 1c0357c846452add7c2c863ec372010e3d2ca943 (patch) | |
tree | 20387dba1922a192bd15663c5e54fee9c7a1fed7 /scripts/gdb/linux/dmesg.py | |
parent | 64b671204afd71591e774e7237b7c862ac5bbd97 (diff) |
test_sysctl: test against PAGE_SIZE for int
Add the following tests to ensure we do not regress:
o Test using a buffer full of space (PAGE_SIZE-1) followed by a
single digit works
o Test using a buffer full of spaces (PAGE_SIZE or over) will fail
As tests increase instead of unloading the module and reloading it we
can just do a shell reset_vals() with a reset to values we know are set
at init on the driver.
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]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions