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:00 +0200
committerBorislav Petkov (AMD) <[email protected]>2023-08-07 20:36:06 +0200
commitd2d7a54f69b67cd0a30e0ebb5307cb2de625baac (patch)
treef0cd32454d9a7b6e213d39d5bf046fca04cf32ad /lib/test_fortify/write_overflow-strncpy-src.c
parent2f69a81ad6873231a2ae78d5ade3263ec54a4c9c (diff)
x86/efistub: Branch straight to kernel entry point from C code
Instead of returning to the calling code in assembler that does nothing more than perform an indirect call with the boot_params pointer in register ESI/RSI, perform the jump directly from the EFI stub C code. This will allow the asm entrypoint code to be dropped entirely in subsequent patches. 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