Searched refs:elf_ex (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dbinfmt_em86.c30 struct elfhdr elf_ex; local
33 elf_ex = *((struct elfhdr *)bprm->buf);
35 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0)
39 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) ||
40 (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) ||
H A Dbinfmt_elf.c582 struct elfhdr elf_ex; member in struct:__anon16503
593 loc->elf_ex = *((struct elfhdr *)bprm->buf);
597 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0)
600 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN)
602 if (!elf_check_arch(&loc->elf_ex))
608 if (loc->elf_ex.e_phentsize != sizeof(struct elf_phdr))
610 if (loc->elf_ex.e_phnum < 1 ||
611 loc->elf_ex.e_phnum > 65536U / sizeof(struct elf_phdr))
613 size = loc->elf_ex
1006 struct elfhdr elf_ex; local
[all...]

Completed in 76 milliseconds