summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/archive.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2024-12-19 13:40:33 +1000
committerNicholas Piggin <npiggin@gmail.com>2025-03-11 22:43:32 +1000
commitd91b101da1075f57dda0f30f6802129328716da1 (patch)
tree204446f882db2e34379655e0956b90e157438ab5 /tests/functional/qemu_test/archive.py
parentb4aa82dc3a698abdcdef342fc1f4620f888c3cf7 (diff)
downloadfocaccia-qemu-d91b101da1075f57dda0f30f6802129328716da1.tar.gz
focaccia-qemu-d91b101da1075f57dda0f30f6802129328716da1.zip
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 'tests/functional/qemu_test/archive.py')
0 files changed, 0 insertions, 0 deletions