diff options
author | Alexandre Ghiti <[email protected]> | 2023-07-22 14:38:50 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-09-05 19:49:31 -0700 |
commit | b7ac4b8ee73d4fec0998664c9dd61f089d481044 (patch) | |
tree | 2cac0600d5be537d83ded5db31188abdf46f0f2e /lib/test_fortify/write_overflow-memcpy.c | |
parent | 3c35d1a03c8b864f08088d51e121aa7c0067b146 (diff) |
riscv: libstub: Implement KASLR by using generic functions
We can now use arm64 functions to handle the move of the kernel physical
mapping: if KASLR is enabled, we will try to get a random seed from the
firmware, if not possible, the kernel will be moved to a location that
suits its alignment constraints.
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-memcpy.c')
0 files changed, 0 insertions, 0 deletions