diff options
| author | Kees Cook <[email protected]> | 2022-02-20 01:26:00 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-02-26 02:21:23 +0000 |
| commit | 92652cf986441b18282db6e5bd82afc74e8ed5e9 (patch) | |
| tree | 7d2cab1235f3216501ef6a499575872083bab455 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | usercopy: Check valid lifetime via stack depth (diff) | |
| download | kernel-92652cf986441b18282db6e5bd82afc74e8ed5e9.tar.gz kernel-92652cf986441b18282db6e5bd82afc74e8ed5e9.zip | |
xtensa: Implement "current_stack_pointer"
To follow the existing per-arch conventions replace open-coded uses
of asm "sp" as "current_stack_pointer". This will let it be used in
non-arch places (like HARDENED_USERCOPY).
Cc: Chris Zankel <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Max Filippov <[email protected]>
Link: https://lore.kernel.org/lkml/CAMo8BfJFJE-n3=AF+pb9_6oF3gzxX7a+7aBrASHjjNX5byqDqw@mail.gmail.com
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
