Re: [PATCH v2] Suport for bi-endianess in elf file

2015-07-25 Thread Andrei Borzenkov
В Fri, 24 Jul 2015 21:48:22 +0300 Andrei Borzenkov пишет: > В Thu, 23 Jul 2015 11:10:36 -0300 > Paulo Flabiano Smorigo пишет: > > > Updated version with the suggestions from Andrei Borzenkov. > > > > * grub-core/kern/elf.c: check and switch endianess with grub_{be,le}_to > > cpu functions. > >

Re: ELF check: GRUB_ERR_BAD_FILE_TYPE vs. GRUB_ERR_BAD_OS

2015-07-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
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 an