Re: [PATCH tip v8] x86/setup: Use rng seeds from setup_data

From: Borislav Petkov
Date: Sat Jul 09 2022 - 05:50:06 EST


On Fri, Jul 08, 2022 at 06:51:16PM -0700, H. Peter Anvin wrote:
> #define SETUP_ENUM_MAX SETUP_RNG_SEED
> #define SETUP_INDIRECT (1<<31)
> #define SETUP_TYPE_MAX (SETUP_ENUM_MAX | SETUP_INDIRECT)

Wait, if we get to add a new number, SETUP_ENUM_MAX and thus
SETUP_TYPE_MAX will change. And they're uapi too...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette