aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-08-07 18:27:04 +0200
committerBorislav Petkov (AMD) <[email protected]>2023-08-07 20:41:04 +0200
commit8b63cba746f86a754d66e302c43209cc9b9b6e39 (patch)
tree62f16d7fea57b63d048c80b505333bc2621aaa91 /lib/test_fortify/write_overflow-strncpy-src.c
parentd7156b986d4cc0657fa6dc05c9fcf51c3d55a0fe (diff)
x86/decompressor: Store boot_params pointer in callee save register
Instead of pushing and popping %RSI several times to preserve the struct boot_params pointer across the execution of the startup code, move it into a callee save register before the first call into C, and copy it back when needed. Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[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