diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2020-04-27 09:00:09 -0700 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-15 16:35:49 +0100 |
commit | 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 (patch) | |
tree | 6654b089420824522d0f304575400dceffc70707 /arch/Kconfig | |
parent | 628d06a48f57c36abdc2a024930212e654a501b7 (diff) | |
download | linux-stable-5bbaf9d1fcb9be696ee9a61636ab6803556c70f2.tar.gz linux-stable-5bbaf9d1fcb9be696ee9a61636ab6803556c70f2.tar.bz2 linux-stable-5bbaf9d1fcb9be696ee9a61636ab6803556c70f2.zip |
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>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions