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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/
H A Dbinfmt_em86.c31 struct elfhdr elf_ex; local
34 elf_ex = *((struct elfhdr *)bprm->buf);
36 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0)
40 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) ||
41 (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) ||
H A Dbinfmt_elf.c551 struct elfhdr elf_ex; member in struct:__anon7301
563 loc->elf_ex = *((struct elfhdr *)bprm->buf);
567 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0)
570 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN)
572 if (!elf_check_arch(&loc->elf_ex))
578 if (loc->elf_ex.e_phentsize != sizeof(struct elf_phdr))
580 if (loc->elf_ex.e_phnum < 1 ||
581 loc->elf_ex.e_phnum > 65536U / sizeof(struct elf_phdr))
583 size = loc->elf_ex
1065 struct elfhdr elf_ex; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/mips/kernel/
H A Dirixelf.c599 struct elfhdr elf_ex, interp_elf_ex; local
612 elf_ex = *((struct elfhdr *) bprm->buf);
615 if (verify_binary(&elf_ex, bprm))
634 if (elf_ex.e_shnum > 20)
637 print_elfhdr(&elf_ex);
640 size = elf_ex.e_phentsize * elf_ex.e_phnum;
649 retval = kernel_read(bprm->file, elf_ex.e_phoff, (char *)elf_phdata, size);
653 dump_phdrs(elf_phdata, elf_ex.e_phnum);
656 for (i = 0; i < elf_ex
810 struct elfhdr elf_ex; local
[all...]

Completed in 95 milliseconds