diff options
author | Ard Biesheuvel <[email protected]> | 2023-08-07 18:27:07 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-08-07 20:43:59 +0200 |
commit | 918a7a04e71745e99a0efc6753e587439b794b29 (patch) | |
tree | cd0b8fa3ddff5187550cad22f24ddb3ffece8015 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e8972a76aa90c05a0078043413f806c02fcb3487 (diff) |
x86/decompressor: Use standard calling convention for trampoline
Update the trampoline code so its arguments are passed via RDI and RSI,
which matches the ordinary SysV calling convention for x86_64. This will
allow this code to be called directly from C.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Kirill A. Shutemov <[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