lkdtm: drop "alloc_size" parameter
authorKees Cook <keescook@chromium.org>
Sun, 26 Jun 2016 15:51:14 +0000 (08:51 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 7 Jul 2016 18:09:20 +0000 (11:09 -0700)
commit0edca7b5afb4b0909eecd2ede9a6736ef7cafc42
tree4646c4bc53eddb1ce8be1c72ef88ba9b166e3a17
parent6c3521400c345fa2575a6f5b212c215db38c5d93
lkdtm: drop "alloc_size" parameter

There is no good reason to have the alloc_size parameter currently. The
compiler-tricking value used to exercise the stack can just use a stack
address instead. Similarly hard-code cache_size.

Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm_core.c