diff options
author | Alexandre Ghiti <[email protected]> | 2023-07-22 14:38:46 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-09-05 19:49:27 -0700 |
commit | 84fe419dc7578b03e721b9bd6eb07947db70fd0e (patch) | |
tree | d8a270fb5d5b0248452f47ca4669ac3eb278a41e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
riscv: Introduce virtual kernel mapping KASLR
KASLR implementation relies on a relocatable kernel so that we can move
the kernel mapping.
The seed needed to virtually move the kernel is taken from the device tree,
so we rely on the bootloader to provide a correct seed. Zkr could be used
unconditionnally instead if implemented, but that's for another patch.
Signed-off-by: Alexandre Ghiti <[email protected]>
Tested-by: Conor Dooley <[email protected]>
Tested-by: Song Shuai <[email protected]>
Reviewed-by: Sami Tolvanen <[email protected]>
Tested-by: Sami Tolvanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions