diff options
author | Peter Zijlstra (Intel) <[email protected]> | 2023-12-05 02:50:19 -0800 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-01-31 22:03:09 +0100 |
commit | 2333f3c473c1562633cd17ac2eb743c29c3b2d9d (patch) | |
tree | 2e926c7ab52a83d5fd56d1838114b3479ba1d8f2 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 5105e7687ad3dffde77f6e4393b5530e83d672dc (diff) |
x86/entry/calling: Allow PUSH_AND_CLEAR_REGS being used beyond actual entry code
PUSH_AND_CLEAR_REGS could be used besides actual entry code; in that case
%rbp shouldn't be cleared (otherwise the frame pointer is destroyed) and
UNWIND_HINT shouldn't be added.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Xin Li <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Tested-by: Shan Kang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions