[PATCH] Fix integer overflow at left shift expression

2022-12-04 Thread Maxim Fomin
From db82faafba5e7eccd9fd6c0b7314f7322c1aecbd Mon Sep 17 00:00:00 2001 From: Maxim Fomin Date: Sun, 4 Dec 2022 12:05:34 + Subject: [PATCH] Fix integer overflow at left shift expression. In case of large partitions (>1TiB) left shift with signed int GRUB_DISK_SECTOR_BITS macro may cause intege

[PATCH v9] plainmount: Support plain encryption mode

2022-12-04 Thread Maxim Fomin
From 1b3ff732fd6f5390e85373cf56ebccb61c60c259 Mon Sep 17 00:00:00 2001 From: Maxim Fomin Date: Sat, 3 Dec 2022 15:15:11 + Subject: [PATCH v9] plainmount: Support plain encryption mode This patch adds support for plain encryption mode (plain dm-crypt) via new module/command named 'plainmount'.

[PATCH] grub-core/loader/i386: Fix initrd maximum address overflow

2022-12-04 Thread Jeremy Szu
The current i386 initrd be limited under 1G memory and it works in most compressed initrd. (also initrd_addr_max case reported by kernel) addr = (addr_max - aligned_size) & ~0xFFF; Above line to calculate the reasonable address to store the initrd. However, if initrd size is greater than 1G (or

Re: [PATCH] Fix integer overflow at left shift expression

2022-12-04 Thread Maxim Fomin
--- Original Message --- On Sunday, December 4th, 2022 at 1:06 PM, Maxim Fomin wrote: > > From db82faafba5e7eccd9fd6c0b7314f7322c1aecbd Mon Sep 17 00:00:00 2001 > From: Maxim Fomin ma...@fomin.one > > Date: Sun, 4 Dec 2022 12:05:34 + > Subject: [PATCH] Fix integer overflow at left sh

Re: [PATCH v9] plainmount: Support plain encryption mode

2022-12-04 Thread Maxim Fomin
--- Original Message --- On Sunday, December 4th, 2022 at 1:15 PM, Maxim Fomin wrote: > > From 1b3ff732fd6f5390e85373cf56ebccb61c60c259 Mon Sep 17 00:00:00 2001 > From: Maxim Fomin ma...@fomin.one > > Date: Sat, 3 Dec 2022 15:15:11 + > Subject: [PATCH v9] plainmount: Support plain en

[PATCH] grub-core/loader/i386: Fix initrd maximum address overflow

2022-12-04 Thread Jeremy Szu
The current i386 initrd be limited under 1G memory and it works in most compressed initrd. (also initrd_addr_max case reported by kernel) addr = (addr_max - aligned_size) & ~0xFFF; Above line to calculate the reasonable address to store the initrd. However, if initrd size is greater than 1G (or

Re: [programmer11...@programist.ru: Bug#1021846: grub-install is broken since 2.06-3: error: unknown filesystem]

2022-12-04 Thread программист некто
Certainly, I will try these changes. 03.12.2022, 20:44, "Steve McIntyre" : программист некто: could you please try these changes and report back? --Steve McIntyre, Cambridge, UK. st...@einval.com  Armed with "Valor": "Centurion" represents quality of Discipline,  Honor, Integrity and Loyalty. Now y