diff options
author | Mark Rutland <mark.rutland@arm.com> | 2022-04-27 20:31:28 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-05-08 11:33:09 +0300 |
commit | 88959a39a1708fc755a89923d60e50de74847bc9 (patch) | |
tree | ff12c75e5f7355dc5da65f78d23b7396734d5248 /drivers/misc/lkdtm/stackleak.c | |
parent | 8111e67dee9ff774712cff8e34fba465c8361960 (diff) | |
download | linux-88959a39a1708fc755a89923d60e50de74847bc9.tar.xz |
arm64: entry: use stackleak_erase_on_task_stack()
On arm64 we always call stackleak_erase() on a task stack, and never
call it on another stack. We can avoid some redundant work by using
stackleak_erase_on_task_stack(), telling the stackleak code that it's
being called on a task stack.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Alexander Popov <alex.popov@linux.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Will Deacon <will@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220427173128.2603085-14-mark.rutland@arm.com
Diffstat (limited to 'drivers/misc/lkdtm/stackleak.c')
0 files changed, 0 insertions, 0 deletions