[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/7] multiboot2: Add support for the load type header tag
From: |
Ross Lagerwall |
Subject: |
Re: [PATCH 3/7] multiboot2: Add support for the load type header tag |
Date: |
Thu, 28 Mar 2024 14:58:52 +0000 |
On Fri, Mar 15, 2024 at 7:31 AM Vladimir 'phcoder' Serbinenko
<phcoder@gmail.com> wrote:
>
> Not a full review. Just one blocking problem
>
>>
>>
>> }
>> + case MULTIBOOT_LOAD_TYPE_PE:
>> + grub_fatal ("Unsupported load type: %u\n", mld.load_type);
>> + default:
>> + /* should be impossible */
>> + grub_fatal ("Unknown load type: %u\n", mld.load_type);
>
> Don't use grub_fatal for this. grub_fatal is only when continue to execute
> grub is unwise. Here you just have an unsupported file. This is definitely a
> GRUB_ERR_BAD_OS
>
Noted... I'll fix that.
Thanks,
Ross
- Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, (continued)
- Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, Ross Lagerwall, 2024/03/14
- Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, Jan Beulich, 2024/03/14
- Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, Ross Lagerwall, 2024/03/14
- Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, Jan Beulich, 2024/03/14
- Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, Roger Pau Monné, 2024/03/19
Re: [PATCH 1/7] multiboot2: Add load type header and support for the PE binary type, Roger Pau Monné, 2024/03/19
[PATCH 3/7] multiboot2: Add support for the load type header tag, Ross Lagerwall, 2024/03/13
[PATCH 2/7] multiboot2: Allow 64-bit entry tags, Ross Lagerwall, 2024/03/13
[PATCH 4/7] multiboot2: Add PE load support, Ross Lagerwall, 2024/03/13
[PATCH 6/7] efi: Allow loading multiboot modules without verification, Ross Lagerwall, 2024/03/13
[PATCH 5/7] multiboot2: Add support for 64-bit entry addresses, Ross Lagerwall, 2024/03/13
[PATCH 7/7] verifiers: Verify after decompression, Ross Lagerwall, 2024/03/13