scs: Report SCS usage in bytes rather than number of entries
Fix the SCS debug usage check so that we report the number of bytes used, rather than the number of entries. Fixes: 5bbaf9d1 ("scs: Add support for stack usage debugging") Reported-by: NSami Tolvanen <samitolvanen@google.com> Reviewed-by: NKees Cook <keescook@chromium.org> Signed-off-by: NWill Deacon <will@kernel.org>
Showing
想要评论请 注册 或 登录