diff options
author | Kees Cook <keescook@chromium.org> | 2013-07-08 19:01:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 07:47:19 +0200 |
commit | 4f198289747f0391bc5a5574279b1791a8ca2d06 (patch) | |
tree | fcc306d3c263d6b13b10d7b3c3d36b96c161d1f5 /drivers/misc/bmp085.h | |
parent | Revert "misc: c2port: use dev_bin_attrs instead of hand-coding it" (diff) | |
download | linux-4f198289747f0391bc5a5574279b1791a8ca2d06.tar.xz linux-4f198289747f0391bc5a5574279b1791a8ca2d06.zip |
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>
Diffstat (limited to 'drivers/misc/bmp085.h')
0 files changed, 0 insertions, 0 deletions