Home
last modified time | relevance | path

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

/linux-3.4.99/arch/frv/mm/
Delf-fdpic.c23 void elf_fdpic_arch_lay_out_mm(struct elf_fdpic_params *exec_params, in elf_fdpic_arch_lay_out_mm() argument
34 exec_params->hdr.e_type != ET_EXEC in elf_fdpic_arch_lay_out_mm()
36 exec_params->load_addr = PAGE_SIZE; in elf_fdpic_arch_lay_out_mm()
41 exec_params->load_addr = 0x02200000UL; in elf_fdpic_arch_lay_out_mm()
43 if ((exec_params->flags & ELF_FDPIC_FLAG_ARRANGEMENT) == in elf_fdpic_arch_lay_out_mm()
46 exec_params->flags &= ~ELF_FDPIC_FLAG_ARRANGEMENT; in elf_fdpic_arch_lay_out_mm()
47 exec_params->flags |= ELF_FDPIC_FLAG_CONSTDISP; in elf_fdpic_arch_lay_out_mm()
/linux-3.4.99/fs/
Dbinfmt_elf_fdpic.c171 struct elf_fdpic_params exec_params, interp_params; in load_elf_fdpic_binary() local
187 memset(&exec_params, 0, sizeof(exec_params)); in load_elf_fdpic_binary()
190 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
191 exec_params.flags = ELF_FDPIC_FLAG_PRESENT | ELF_FDPIC_FLAG_EXECUTABLE; in load_elf_fdpic_binary()
195 if (!is_elf_fdpic(&exec_params.hdr, bprm->file)) in load_elf_fdpic_binary()
199 retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file); in load_elf_fdpic_binary()
204 phdr = exec_params.phdrs; in load_elf_fdpic_binary()
206 for (i = 0; i < exec_params.hdr.e_phnum; i++, phdr++) { in load_elf_fdpic_binary()
265 if (exec_params.load_addr == 0) in load_elf_fdpic_binary()
266 exec_params.load_addr = phdr->p_vaddr; in load_elf_fdpic_binary()
[all …]
/linux-3.4.99/include/linux/
Delf-fdpic.h63 extern void elf_fdpic_arch_lay_out_mm(struct elf_fdpic_params *exec_params,