[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/8] rerandomize RNG seeds on reboot and handle record&rep
From: |
Jason A. Donenfeld |
Subject: |
Re: [PATCH v2 0/8] rerandomize RNG seeds on reboot and handle record&replay |
Date: |
Thu, 13 Oct 2022 19:44:21 -0600 |
On Fri, Oct 14, 2022 at 05:13:58AM +1100, Richard Henderson wrote:
> On 10/12/22 13:46, Jason A. Donenfeld wrote:
> > When the system reboots, the rng seed that QEMU passes should be
> > re-randomized, so that the new boot gets a new seed. This series wires
> > that up for FDT.
> >
> > Then, since the record&replay subsystem makes use of reset as well, we
> > add a new reset cause for record&replay, so that we can avoid
> > re-randomizing in these cases.
> >
> > Jason A. Donenfeld (8):
> > device-tree: add re-randomization helper function
> > arm: re-randomize rng-seed on reboot
> > riscv: re-randomize rng-seed on reboot
> > openrisc: re-randomize rng-seed on reboot
> > rx: re-randomize rng-seed on reboot
> > mips: re-randomize rng-seed on reboot
> > reset: allow registering handlers that aren't called by snapshot
> > loading
> > reset: do not re-randomize RNG seed on snapshot load
>
> You need to invert the patch order so that the series is bisectable.
> At the moment you still introduce the reported bug, then fix it in the final
> patch.
I was afraid of that. Okay, will do. v+1 coming your way.
Jason
- [PATCH v2 2/8] arm: re-randomize rng-seed on reboot, (continued)
- [PATCH v2 2/8] arm: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/10/11
- [PATCH v2 3/8] riscv: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/10/11
- [PATCH v2 5/8] rx: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/10/11
- [PATCH v2 6/8] mips: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/10/11
- [PATCH v2 4/8] openrisc: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/10/11
- [PATCH v2 7/8] reset: allow registering handlers that aren't called by snapshot loading, Jason A. Donenfeld, 2022/10/11
- [PATCH v2 8/8] reset: do not re-randomize RNG seed on snapshot load, Jason A. Donenfeld, 2022/10/11
- Re: [PATCH v2 0/8] rerandomize RNG seeds on reboot and handle record&replay, Richard Henderson, 2022/10/13
- Re: [PATCH v2 0/8] rerandomize RNG seeds on reboot and handle record&replay,
Jason A. Donenfeld <=