Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Use a deterministic seed for kernel RANDSTRUCT, and re-enable in hardened kernels #53802
Motivation for this change
First step in addressing #53592. Does not allow users to configure their own seed just yet, but fixes the incompatibility issue with out-of-tree modules.
I think I'll attempt to contribute something upstream that adds an environment variable for users to inject a non-random RANDSTRUCT seed. I've looked through a few distros and everyone does it differently.