aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2022-04-27 17:31:26 +0000
committerKees Cook <[email protected]>2022-05-08 08:33:09 +0000
commitf171d695f3adfd8093272fa5776ef4a2c6b9cf08 (patch)
treef1bca1298a914dfe84352c07ec1394c815ff067d /scripts/gcc-plugins/randomize_layout_plugin.c
parentlkdtm/stackleak: prevent unexpected stack usage (diff)
downloadkernel-f171d695f3adfd8093272fa5776ef4a2c6b9cf08.tar.gz
kernel-f171d695f3adfd8093272fa5776ef4a2c6b9cf08.zip
lkdtm/stackleak: check stack boundaries
The stackleak code relies upon the current SP and lowest recorded SP falling within expected task stack boundaries. Check this at the start of the test. Signed-off-by: Mark Rutland <[email protected]> Cc: Alexander Popov <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Kees Cook <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions