commit | 629c66a22c21b692b6e58b9c1d8fa56a60ccb52d | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Oct 24 18:05:42 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 25 06:21:00 2013 +0100 |
tree | 90519e03a271f90b355570c4b3cb1482e7ee2ce5 | |
parent | eec86b8e85309a2cb0b33bcb361c67d81ebed474 [diff] |
lkdtm: isolate stack corruption test When tests were added to lkdtm that grew the stack frame, the stack corruption test stopped working. This isolates the test in its own function, and forces it not to be inlined. Signed-off-by: Kees Cook <keescook@chromium.org> Fixes: cc33c537c12f ("lkdtm: add "EXEC_*" triggers") Cc: stable <stable@vger.kernel.org> # 3.12 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>