All of lore.kernel.org
 help / color / mirror / Atom feed
* ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS
@ 2015-07-24 18:50 Andrei Borzenkov
  2015-07-25 11:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Borzenkov @ 2015-07-24 18:50 UTC (permalink / raw)
  To: grub-devel

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS
  2015-07-24 18:50 ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS Andrei Borzenkov
@ 2015-07-25 11:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2015-07-25 11:52 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

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
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-25 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 18:50 ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS Andrei Borzenkov
2015-07-25 11:52 ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.