|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 3/5] spapr: Generate random HASHPKEYR for spapr machines |
Date: | Fri, 20 Dec 2024 11:30:10 +0100 |
User-agent: | Mozilla Thunderbird |
On 19/12/24 04:40, Nicholas Piggin wrote:
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> --- include/hw/ppc/spapr.h | 1 + hw/ppc/spapr.c | 3 +++ hw/ppc/spapr_cpu_core.c | 2 ++ 3 files changed, 6 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |