[PATCH kexec-tools] m68k: pass rng seed via BI_VIRT_RNG_SEED

Jason A. Donenfeld Jason at zx2c4.com
Fri Sep 23 05:53:24 PDT 2022


On Fri, Sep 23, 2022 at 2:47 PM Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> Geert - I don't have a toolchain for testing this. Could you verify it
> works, if you have a chance? -Jason
>
>  kexec/arch/m68k/bootinfo.c       | 22 ++++++++++++++++++++++
>  kexec/arch/m68k/bootinfo.h       |  6 ++++++
>  kexec/arch/m68k/kexec-elf-m68k.c |  1 +
>  3 files changed, 29 insertions(+)
>
> diff --git a/kexec/arch/m68k/bootinfo.c b/kexec/arch/m68k/bootinfo.c
> index 18bf226..74e65a0 100644
> --- a/kexec/arch/m68k/bootinfo.c
> +++ b/kexec/arch/m68k/bootinfo.c

I forgot to add `#include <sys/random.h>` I suspect.



More information about the kexec mailing list