Searched refs:elf_ex (Results 1 – 4 of 4) sorted by relevance
31 struct elfhdr elf_ex; in load_em86() local34 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()36 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_em86()40 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in load_em86()41 (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) || in load_em86()
417 static struct elf_phdr *load_elf_phdrs(struct elfhdr *elf_ex, in load_elf_phdrs() argument422 loff_t pos = elf_ex->e_phoff; in load_elf_phdrs()428 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs()432 if (elf_ex->e_phnum < 1 || in load_elf_phdrs()433 elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr)) in load_elf_phdrs()437 size = sizeof(struct elf_phdr) * elf_ex->e_phnum; in load_elf_phdrs()708 struct elfhdr elf_ex; in load_elf_binary() member721 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()725 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()728 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary()[all …]
329 int mips_elf_read_implies_exec(void *elf_ex, int exstack) in mips_elf_read_implies_exec() argument
514 extern int mips_elf_read_implies_exec(void *elf_ex, int exstack);