Re: Linux DRTM on UEFI platforms

2022-07-07 Thread Matthew Garrett
On Fri, Jul 08, 2022 at 01:06:19PM +0930, Brendan Trotter wrote: > This leaves me wondering what your true motivation is. Are you trying > to benefit GRUB/Trenchboot (at the expense of security, end-user > convenience, distro installer hassle, etc); or trying to manufacture > scope for future

Re: [PATCH v2 00/15] GDB script fixes and improvements

2022-07-07 Thread Glenn Washburn
On Tue, 5 Jul 2022 13:16:27 +0200 Daniel Kiper wrote: > Hi Glenn, > > On Fri, May 13, 2022 at 06:12:33PM -0500, Glenn Washburn wrote: > > There's been a lot of changes since v1. There are more fixes and more > > features. The majority of the shell code has been moved to an external > > file

Re: Linux DRTM on UEFI platforms

2022-07-07 Thread Brendan Trotter
Hi, On Thu, Jul 7, 2022 at 7:18 PM Daniel P. Smith wrote: > On 7/5/22 20:03, Brendan Trotter wrote: > Greetings! > > Not sure why I got dropped from distro, but no worries. > > > On Wed, Jul 6, 2022 at 4:52 AM Daniel P. Smith > > wrote: > >> On 6/10/22 12:40, Ard Biesheuvel wrote:> On Thu, 19

[PATCH v3] configure.ac: warn if stack-protector not allowed

2022-07-07 Thread Nicholas Vinson
Introduce ERROR_PLATFORM_NOT_SUPPORT_SSP environment variable to treat the '--enable-stack-protector is only supported on EFI platforms' message as a warning instead of an error. If ERROR_PLATFORM_NOT_SUPPORT_SSP is set to 'no' (case-insensitive), then the message will be printed as a warning.

Re: [PATCH v3 1/1] mkfont: Fix tainted loop boundary issues with substitutions

2022-07-07 Thread Daniel Kiper
On Thu, Jul 07, 2022 at 03:34:38PM +, Darren Kenny wrote: > With gsub substitutions the offsets should be validated against the > the number of glyphs in a font face and the memory allocated for the gsub > substitution data. > > Both the number of glyphs and the last address in the allocated

Re: [PATCH v2] configure.ac: warn if stack-protector not allowed

2022-07-07 Thread Nicholas Vinson
On 7/7/22 09:17, Daniel Kiper wrote: On Wed, Jul 06, 2022 at 03:25:58AM -0400, Nicholas Vinson wrote: Introduce ERROR_PLATFORM_NOT_SUPPORT_SSP environment variable to treat the '--enable-stack-protector is only supported on EFI platforms' message as a warning instead of an error. If

[PATCH v3 1/1] mkfont: Fix tainted loop boundary issues with substitutions

2022-07-07 Thread Darren Kenny
With gsub substitutions the offsets should be validated against the the number of glyphs in a font face and the memory allocated for the gsub substitution data. Both the number of glyphs and the last address in the allocated data are passed in to process_cursive(), where the number of glyphs

Re: [PATCH RESEND v3 2/2] term/gfxterm: Preliminary HiDPI support

2022-07-07 Thread Daniel Kiper
On Mon, Jun 27, 2022 at 05:35:25PM +0800, Zhang Boyang wrote: > Currently GRUB's default font is too small to see on a HiDPI monitor. > This patch adds preliminary HiDPI support to gfxterm. It introduces a > new environment variable 'gfxterm_scale'. If set to 0, and a high > resolution monitor is

Re: [PATCH RESEND v3 1/2] font: Add font scaling feature to grub_font_draw_glyph()

2022-07-07 Thread Daniel Kiper
On Mon, Jun 27, 2022 at 05:35:24PM +0800, Zhang Boyang wrote: > This patch adds an argument 'scale' to grub_font_draw_glyph(). If > scale > 1, then the function will create a new scaled bitmap of the > drawing glyph, and draws the scaled glyph. The scaled bitmap is cached > in the glyph itself, so

Re: [PATCH] Relax memory constraints on required_pages for EFI boot

2022-07-07 Thread Daniel Kiper
Hi, On Sun, Jan 17, 2021 at 02:43:50PM -0800, Hanson Char via Grub-devel wrote: > (Finally figured out how to git send-email on this patch properly.) > > As reported earlier, when booted in UEFI mode, Grub would fail to load a > ramdisk of size larger than "(total_pages >> 2)" with > >

Re: [PATCH v2] configure.ac: warn if stack-protector not allowed

2022-07-07 Thread Daniel Kiper
On Wed, Jul 06, 2022 at 03:25:58AM -0400, Nicholas Vinson wrote: > Introduce ERROR_PLATFORM_NOT_SUPPORT_SSP environment variable to treat > the '--enable-stack-protector is only supported on EFI platforms' > message as a warning instead of an error. If > ERROR_PLATFORM_NOT_SUPPORT_SSP is set to

Re: Linux DRTM on UEFI platforms

2022-07-07 Thread Daniel P. Smith
On 7/5/22 20:03, Brendan Trotter wrote: Hi, Greetings! Not sure why I got dropped from distro, but no worries. On Wed, Jul 6, 2022 at 4:52 AM Daniel P. Smith wrote: On 6/10/22 12:40, Ard Biesheuvel wrote:> On Thu, 19 May 2022 at 22:59, To help provide clarity, consider the following flows