On Sat, 2 Sep 2023 20:28:16 +0200 Daniel Kiper <dki...@net-space.pl> wrote:
> On Thu, Aug 31, 2023 at 11:50:56PM -0500, Glenn Washburn wrote: > > In certain firmwares, eg. OVMF, the RNG protocol is not enabled unless > > there is an RNG device. When not enabled, GRUB fails to initialize the > > stack guard with random bytes. For testing, this is not a big issue, but > > there have been bugs found in the initialization. So turn this on for EFI > > platforms to catch any regressions. > > > > Signed-off-by: Glenn Washburn <developm...@efficientek.com> > > Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> > > > --- > > This patch will potentially cause a lot of failures on EFI platforms > > because of a bug in stack smashing initialization, which the list has > > been notified of. This patch is in part meant to exercise that bug and > > allows successful test runs when that bug is fixed. > > I will review the patch mentioned above and then push both patches > together to not break tests at this point. Sounds good. Also keep in mind that there should probably be some thought given to other implementations of the stack smashing fix. The one proposed just disables it for grub_efi_init(), but it should be considered whether we do want this function covered by the protection. Glenn _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel