commit | 4f198289747f0391bc5a5574279b1791a8ca2d06 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Mon Jul 08 10:01:30 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 24 22:47:19 2013 -0700 |
tree | fcc306d3c263d6b13b10d7b3c3d36b96c161d1f5 | |
parent | 7b5d4122d39f7c26ce42806b7a67cf04537545e6 [diff] |
lkdtm: fix stack protector trigger The -fstack-protector compiler flag will only build stack protections if a character array is seen. Additionally, the offset to the saved instruction pointer changes based on architecture, so stomp much harder (64 bytes) when corrupting the stack. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>