Home
last modified time | relevance | path

Searched refs:elfhdr (Results 1 – 5 of 5) sorted by relevance

/fs/proc/
Dkcore.c89 *elf_buflen = sizeof(struct elfhdr) + in get_kcore_size()
325 struct elfhdr *elf; in elf_kcore_store_hdr()
331 elf = (struct elfhdr *) bufp; in elf_kcore_store_hdr()
332 bufp += sizeof(struct elfhdr); in elf_kcore_store_hdr()
333 offset += sizeof(struct elfhdr); in elf_kcore_store_hdr()
344 elf->e_phoff = sizeof(struct elfhdr); in elf_kcore_store_hdr()
347 elf->e_ehsize = sizeof(struct elfhdr); in elf_kcore_store_hdr()
/fs/
Dcompat_binfmt_elf.c29 #undef elfhdr
34 #define elfhdr elf32_hdr macro
Dbinfmt_em86.c30 struct elfhdr elf_ex; in load_em86()
33 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()
Dbinfmt_elf.c144 create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec, in create_elf_tables()
393 static struct elf_phdr *load_elf_phdrs(struct elfhdr *elf_ex, in load_elf_phdrs()
474 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc()
497 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, in arch_check_elf()
511 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex, in load_elf_interp()
678 struct elfhdr elf_ex; in load_elf_binary()
679 struct elfhdr interp_elf_ex; in load_elf_binary()
690 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()
768 loc->interp_elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()
1135 struct elfhdr elf_ex; in load_elf_library()
[all …]
Dbinfmt_elf_fdpic.c106 static int is_elf_fdpic(struct elfhdr *hdr, struct file *file) in is_elf_fdpic()
189 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
259 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary()
1300 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1313 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1316 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1484 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1591 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()