diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2024-12-19 13:40:33 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2025-03-11 22:43:32 +1000 |
commit | d91b101da1075f57dda0f30f6802129328716da1 (patch) | |
tree | 204446f882db2e34379655e0956b90e157438ab5 /rust/qemu-api | |
parent | b4aa82dc3a698abdcdef342fc1f4620f888c3cf7 (diff) | |
download | qemu-d91b101da1075f57dda0f30f6802129328716da1.zip qemu-d91b101da1075f57dda0f30f6802129328716da1.tar.gz qemu-d91b101da1075f57dda0f30f6802129328716da1.tar.bz2 |
spapr: Generate random HASHPKEYR for spapr machines
The hypervisor is expected to create a value for the HASHPKEY SPR for
each partition. Currently it uses zero for all partitions, use a
random number instead, which in theory might make kernel ROP protection
more secure.
Signed-of-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241219034035.1826173-4-npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions