Home
last modified time | relevance | path

Searched refs:phdrs (Results 1 – 3 of 3) sorted by relevance

/fs/proc/
Dkcore.c366 struct elf_phdr *phdrs, *phdr; in read_kcore() local
368 phdrs = kzalloc(phdrs_len, GFP_KERNEL); in read_kcore()
369 if (!phdrs) { in read_kcore()
374 phdrs[0].p_type = PT_NOTE; in read_kcore()
375 phdrs[0].p_offset = notes_offset; in read_kcore()
376 phdrs[0].p_filesz = notes_len; in read_kcore()
378 phdr = &phdrs[1]; in read_kcore()
399 if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, in read_kcore()
401 kfree(phdrs); in read_kcore()
405 kfree(phdrs); in read_kcore()
/fs/
Dbinfmt_elf_fdpic.c152 params->phdrs = kmalloc(size, GFP_KERNEL); in elf_fdpic_fetch_phdrs()
153 if (!params->phdrs) in elf_fdpic_fetch_phdrs()
156 retval = kernel_read(file, params->phdrs, size, &pos); in elf_fdpic_fetch_phdrs()
161 phdr = params->phdrs; in elf_fdpic_fetch_phdrs()
229 phdr = exec_params.phdrs; in load_elf_fdpic_binary()
474 kfree(exec_params.phdrs); in load_elf_fdpic_binary()
476 kfree(interp_params.phdrs); in load_elf_fdpic_binary()
753 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
806 phdr = params->phdrs; in elf_fdpic_map_file()
832 phdr = params->phdrs; in elf_fdpic_map_file()
[all …]
Dbinfmt_elf.c1799 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument
1842 fill_elf_header(elf, phdrs, in fill_note_info()
2028 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument
2060 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); in fill_note_info()