mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
lkdtm: Add REPORT_STACK for checking stack offsets
For validating the stack offset behavior, report the offset from a given process's first seen stack address. Add s script to calculate the results to the LKDTM kselftests. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210401232347.2791257-7-keescook@chromium.org
This commit is contained in:
parent
fe950f6020
commit
68ef8735d2
6 changed files with 57 additions and 0 deletions
1
tools/testing/selftests/lkdtm/.gitignore
vendored
1
tools/testing/selftests/lkdtm/.gitignore
vendored
36
tools/testing/selftests/lkdtm/stack-entropy.sh
Executable file
36
tools/testing/selftests/lkdtm/stack-entropy.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue