[PATCH] efi: Fix stack protector issues

2023-12-23 Thread Ard Biesheuvel via Grub-devel
From: Ard Biesheuvel The 'ground truth' stack protector cookie value is kept in a global variable, and loaded in every function prologue and epilogue to store it into resp. compare it with the stack slot holding the cookie. If the comparison fails, the program aborts, and this might occur spurio

[PATCH v2] efi: Fix stack protector issues

2024-01-12 Thread Ard Biesheuvel via Grub-devel
From: Ard Biesheuvel The 'ground truth' stack protector cookie value is kept in a global variable, and loaded in every function prologue and epilogue to store it into resp. compare it with the stack slot holding the cookie. If the comparison fails, the program aborts, and this might occur spurio

Re: [PATCH] efi: stub out __grub_efi_api when GRUB_UTIL is defined

2024-12-01 Thread Ard Biesheuvel via Grub-devel
On Sat, 30 Nov 2024 at 22:46, Mike Gilbert wrote: > > ms_abi is not a valid attribute on x32 (__x86_64__ && __ILP32__). > This ABI should be unnecessary for utils anyway. > These utils are host tools, right? E.g., grub-install, update-grub, etc running under the OS? Why are those using headers t