[PATCH] font: Try opening fonts from the bundled memdisk

2023-04-26 Thread Chris Coulson
the prefix path (ie, /fonts/.pf2). Signed-off-by: Chris Coulson --- grub-core/font/font.c | 48 --- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/grub-core/font/font.c b/grub-core/font/font.c index 24adcb35a..7c83467a3 100644 --- a/grub

[PATCH] efi: compile kernel.img with -fshort-wchar on all EFI targets

2022-10-11 Thread Chris Coulson
: 37ddd94 (kern/efi/init: Log a console error during a stack check failure) Signed-off-by: Chris Coulson --- grub-core/Makefile.core.def | 4 1 file changed, 4 insertions(+) diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def index 5212dfab1..98714c68d 100644 --- a/grub-core

[PATCH] kern/efi: Log a console error during a stack check failure

2022-03-21 Thread Chris Coulson
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 --- grub-core/Makefile.core.def | 4 +++- grub-core/kern/efi/init.c | 23 +-- 2 files changed, 24

Re: [SECURITY PATCH 100/117] kern/parser: Fix a stack buffer overflow

2021-07-20 Thread Chris Coulson
Hi, Sorry for taking a while to look at this. On 10/06/2021 12:55, Paul Menzel wrote: > Dear Daniel, dear Chris, > > > Am 02.03.21 um 19:01 schrieb Daniel Kiper: >> From: Chris Coulson >> >> grub_parser_split_cmdline() expands variable names present in the >

Re: [PATCH] disk/loopback: Don't verify loopback images

2020-06-10 Thread Chris Coulson
t; wrote: > > > > > > > > On Mon, Jun 1, 2020, 15:21 Chris Coulson > mailto:chris.coul...@canonical.com>> > wrote: > >> > >> When a file is verified, the entire contents of the verified > file are > &g

[PATCH] disk/loopback: Don't verify loopback images

2020-06-01 Thread Chris Coulson
treat loopback images any differently to physical disk images, and skip verification of them. Files opened from the filesystem within a loopback image will still be passed to verifier modules where required. Signed-off-by: Chris Coulson --- grub-core/disk/loopback.c | 3 ++- 1 file chang