Searched refs:elf_ex (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/fs/ |
| D | binfmt_em86.c | 32 struct elfhdr elf_ex; in load_em86() local 35 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86() 37 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_em86() 41 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in load_em86() 42 (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) || in load_em86()
|
| D | binfmt_elf.c | 457 static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex, in load_elf_phdrs() argument 468 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs() 473 size = sizeof(struct elf_phdr) * elf_ex->e_phnum; in load_elf_phdrs() 482 retval = elf_read(elf_file, elf_phdata, size, elf_ex->e_phoff); in load_elf_phdrs() 837 struct elfhdr *elf_ex = (struct elfhdr *)bprm->buf; in load_elf_binary() local 845 if (memcmp(elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary() 848 if (elf_ex->e_type != ET_EXEC && elf_ex->e_type != ET_DYN) in load_elf_binary() 850 if (!elf_check_arch(elf_ex)) in load_elf_binary() 852 if (elf_check_fdpic(elf_ex)) in load_elf_binary() 857 elf_phdata = load_elf_phdrs(elf_ex, bprm->file); in load_elf_binary() [all …]
|
| /Linux-v5.10/arch/mips/kernel/ |
| D | elf.c | 329 int mips_elf_read_implies_exec(void *elf_ex, int exstack) in mips_elf_read_implies_exec() argument
|
| /Linux-v5.10/arch/mips/include/asm/ |
| D | elf.h | 536 extern int mips_elf_read_implies_exec(void *elf_ex, int exstack);
|