Home
last modified time | relevance | path

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

/fs/proc/
A Dkcore.c131 kcore_data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + kcore_phdrs_len + in update_kcore_size()
345 phdrs_offset = sizeof(struct elfhdr); in read_kcore_iter()
349 if (buflen && *fpos < sizeof(struct elfhdr)) { in read_kcore_iter()
350 struct elfhdr ehdr = { in read_kcore_iter()
364 .e_phoff = sizeof(struct elfhdr), in read_kcore_iter()
366 .e_ehsize = sizeof(struct elfhdr), in read_kcore_iter()
371 tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); in read_kcore_iter()
/fs/
A Dbinfmt_elf.c505 static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex, in load_elf_phdrs()
576 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc()
601 struct elfhdr *interp_ehdr, in arch_check_elf()
630 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex, in load_elf_interp()
834 struct elfhdr *elf_ex = (struct elfhdr *)bprm->buf; in load_elf_binary()
835 struct elfhdr *interp_elf_ex = NULL; in load_elf_binary()
1420 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1434 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_header()
1436 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_header()
1798 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
[all …]
A Dcompat_binfmt_elf.c28 #undef elfhdr
34 #define elfhdr elf32_hdr macro
A Dbinfmt_elf_fdpic.c104 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()
1240 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1253 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1256 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1428 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1474 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()

Completed in 19 milliseconds