commit | 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Mon Apr 27 09:00:09 2020 -0700 |
committer | Will Deacon <will@kernel.org> | Fri May 15 16:35:49 2020 +0100 |
tree | 6654b089420824522d0f304575400dceffc70707 | |
parent | 628d06a48f57c36abdc2a024930212e654a501b7 [diff] |
scs: Add support for stack usage debugging Implements CONFIG_DEBUG_STACK_USAGE for shadow stacks. When enabled, also prints out the highest shadow stack usage per process. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Will Deacon <will@kernel.org> [will: rewrote most of scs_check_usage()] Signed-off-by: Will Deacon <will@kernel.org>