Re: [RFC PATCH] efi: Disable stack smashing protection on grub_efi_init()

2023-10-05 Thread Daniel Kiper
On Tue, Jul 18, 2023 at 12:47:14AM -0500, Glenn Washburn wrote: > GCC is electing to instrument grub_efi_init() to give it stack smashing > protection when configuring with --enable-stack-protector on the x86_64-efi > target. In the function prologue, the canary at the top of the stack frame > is s

Re: [RFC PATCH] efi: Disable stack smashing protection on grub_efi_init()

2023-07-18 Thread Glenn Washburn
On Tue, 18 Jul 2023 00:47:14 -0500 Glenn Washburn wrote: > GCC is electing to instrument grub_efi_init() to give it stack smashing > protection when configuring with --enable-stack-protector on the x86_64-efi > target. In the function prologue, the canary at the top of the stack frame > is set to

[RFC PATCH] efi: Disable stack smashing protection on grub_efi_init()

2023-07-17 Thread Glenn Washburn
GCC is electing to instrument grub_efi_init() to give it stack smashing protection when configuring with --enable-stack-protector on the x86_64-efi target. In the function prologue, the canary at the top of the stack frame is set to the value of the stack guard. And in the epilogue, the canary is c