diff options
author | Ard Biesheuvel <[email protected]> | 2024-02-21 12:35:10 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-02-26 12:58:35 +0100 |
commit | b0fe5fb6095be0f68b570c4cf4cd86b7e70c2e38 (patch) | |
tree | 328e5b801afb811018a6e82ffeb10274576fbebb /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d9ec1158056bedb6da8f4e02de30d300914b31f8 (diff) |
x86/boot/64: Use RIP_REL_REF() to access early_dynamic_pgts[]
early_dynamic_pgts[] and next_early_pgt are accessed from code that
executes from a 1:1 mapping so it cannot use a plain access 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