Searched refs:elfhdr (Results 1 – 5 of 5) sorted by relevance
/fs/proc/ |
D | kcore.c | 115 *data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + *phdrs_len + in get_kcore_size() 327 phdrs_offset = sizeof(struct elfhdr); in read_kcore() 331 if (buflen && *fpos < sizeof(struct elfhdr)) { in read_kcore() 332 struct elfhdr ehdr = { in read_kcore() 346 .e_phoff = sizeof(struct elfhdr), in read_kcore() 348 .e_ehsize = sizeof(struct elfhdr), in read_kcore() 353 tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); in read_kcore()
|
/fs/ |
D | binfmt_elf.c | 172 create_elf_tables(struct linux_binprm *bprm, const struct elfhdr *exec, in create_elf_tables() 457 static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex, in load_elf_phdrs() 534 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc() 558 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, in arch_check_elf() 559 struct elfhdr *interp_ehdr, in arch_check_elf() 588 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex, in load_elf_interp() 837 struct elfhdr *elf_ex = (struct elfhdr *)bprm->buf; in load_elf_binary() 838 struct elfhdr *interp_elf_ex = NULL; in load_elf_binary() 1349 struct elfhdr elf_ex; in load_elf_library() 1465 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header() [all …]
|
D | binfmt_em86.c | 32 struct elfhdr elf_ex; in load_em86() 35 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()
|
D | compat_binfmt_elf.c | 28 #undef elfhdr 34 #define elfhdr elf32_hdr macro
|
D | binfmt_elf_fdpic.c | 104 static int is_elf(struct elfhdr *hdr, struct file *file) in is_elf() 125 static int is_constdisp(struct elfhdr *hdr) in is_constdisp() 205 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary() 285 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary() 1252 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() 1265 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header() 1268 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header() 1438 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() 1484 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()
|