Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/fs/
Dbinfmt_elf_fdpic.c169 struct elf_fdpic_params exec_params, interp_params; in load_elf_fdpic_binary() local
185 memset(&exec_params, 0, sizeof(exec_params)); in load_elf_fdpic_binary()
188 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
189 exec_params.flags = ELF_FDPIC_FLAG_PRESENT | ELF_FDPIC_FLAG_EXECUTABLE; in load_elf_fdpic_binary()
193 if (!is_elf_fdpic(&exec_params.hdr, bprm->file)) in load_elf_fdpic_binary()
197 retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file); in load_elf_fdpic_binary()
202 phdr = exec_params.phdrs; in load_elf_fdpic_binary()
204 for (i = 0; i < exec_params.hdr.e_phnum; i++, phdr++) { in load_elf_fdpic_binary()
264 if (exec_params.load_addr == 0) in load_elf_fdpic_binary()
265 exec_params.load_addr = phdr->p_vaddr; in load_elf_fdpic_binary()
[all …]
/linux-2.6.39/include/linux/
Delf-fdpic.h63 extern void elf_fdpic_arch_lay_out_mm(struct elf_fdpic_params *exec_params,