diff options
| author | Mark Rutland <[email protected]> | 2022-04-27 17:31:28 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-05-08 08:33:09 +0000 |
| commit | 88959a39a1708fc755a89923d60e50de74847bc9 (patch) | |
| tree | ff12c75e5f7355dc5da65f78d23b7396734d5248 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | stackleak: add on/off stack variants (diff) | |
| download | kernel-88959a39a1708fc755a89923d60e50de74847bc9.tar.gz kernel-88959a39a1708fc755a89923d60e50de74847bc9.zip | |
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 <[email protected]>
Cc: Alexander Popov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Will Deacon <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
