diff options
author | Ard Biesheuvel <[email protected]> | 2023-08-07 18:27:11 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-08-07 20:49:26 +0200 |
commit | cb83cece57e1889109dd73ea08ee338668c9d1b8 (patch) | |
tree | e2eed338ae1d091200375cc7803d41c01a237041 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f97b67a773cd84bd8b55c0a0ec32448a87fc56bb (diff) |
x86/decompressor: Pass pgtable address to trampoline directly
The only remaining use of the trampoline address by the trampoline
itself is deriving the page table address from it, and this involves
adding an offset of 0x0. So simplify this, and pass the new CR3 value
directly.
This makes the fact that the page table happens to be at the start of
the trampoline allocation an implementation detail of the caller.
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