diff options
author | Ard Biesheuvel <[email protected]> | 2024-02-21 12:35:12 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-02-26 12:58:35 +0100 |
commit | eb54c2ae4a4825c42a6a2b4022926bda7448f735 (patch) | |
tree | df7b2d9cec5198851e6677dbeb3d1cade5be2035 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 4f8b6cf25f5c119b117cb2a4bacb604a6cd00ff1 (diff) |
x86/boot/64: Use RIP_REL_REF() to access early page tables
The early statically allocated page tables are populated from code that
executes from a 1:1 mapping so it cannot use plain accesses from C.
Replace the use of fixup_pointer() with RIP_REL_REF(), which is better
and simpler.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Ingo Molnar <[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