git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b5d412
)
lkdtm: fix stack protector trigger
author
Kees Cook
<keescook@chromium.org>
Mon, 8 Jul 2013 17:01:30 +0000
(10:01 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 05:47:19 +0000
(22:47 -0700)
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>
No differences found