grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS
Date: Sat, 25 Jul 2015 13:52:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 24.07.2015 20:50, Andrei Borzenkov wrote:
> There are two places using GRUB_ERR_BAD_FILE_TYPE and other are using
> GRUB_ERR_BAD_OS when EFL class check fails. I am not sure about exact
> semantics of either but probably they should be the same?
> 
BAD_FILE_TYPE is only for errors like EISDIR and ENODIR. BAD_OS should
be used for invalid ELF contents or BAD_MODULE if elf code is primarily
meant to load GRUB-shipped ELFs.
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]