[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] kern/efi: Log a console error during a stack check failure
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] kern/efi: Log a console error during a stack check failure |
Date: |
Tue, 22 Mar 2022 18:05:29 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Mar 21, 2022 at 03:14:39PM +0000, Chris Coulson wrote:
> The initial implementation of the stack protector just busy looped
> in __stack_chk_fail in order to reduce the amount of code being
> executed after the stack has been compromised because of a lack of
> firmware memory protections. With future firmware implementations
> incorporating memory protections such as W^X, call in to boot services
> when an error occurs in order to log a message to the console before
> automatically rebooting the machine.
>
> Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel