Searched refs:exec_params (Results 1 – 3 of 3) sorted by relevance
116 void elf_fdpic_arch_lay_out_mm(struct elf_fdpic_params *exec_params, in elf_fdpic_arch_lay_out_mm() argument121 elf_set_personality(&exec_params->hdr); in elf_fdpic_arch_lay_out_mm()123 exec_params->load_addr = 0x8000; in elf_fdpic_arch_lay_out_mm()127 if ((exec_params->flags & ELF_FDPIC_FLAG_ARRANGEMENT) == ELF_FDPIC_FLAG_INDEPENDENT) { in elf_fdpic_arch_lay_out_mm()128 exec_params->flags &= ~ELF_FDPIC_FLAG_ARRANGEMENT; in elf_fdpic_arch_lay_out_mm()129 exec_params->flags |= ELF_FDPIC_FLAG_CONSTDISP; in elf_fdpic_arch_lay_out_mm()
184 struct elf_fdpic_params exec_params, interp_params; in load_elf_fdpic_binary() local202 memset(&exec_params, 0, sizeof(exec_params)); in load_elf_fdpic_binary()205 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()206 exec_params.flags = ELF_FDPIC_FLAG_PRESENT | ELF_FDPIC_FLAG_EXECUTABLE; in load_elf_fdpic_binary()210 if (!is_elf(&exec_params.hdr, bprm->file)) in load_elf_fdpic_binary()212 if (!elf_check_fdpic(&exec_params.hdr)) { in load_elf_fdpic_binary()218 if (exec_params.hdr.e_type != ET_DYN) in load_elf_fdpic_binary()224 retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file); in load_elf_fdpic_binary()229 phdr = exec_params.phdrs; in load_elf_fdpic_binary()231 for (i = 0; i < exec_params.hdr.e_phnum; i++, phdr++) { in load_elf_fdpic_binary()[all …]
41 extern void elf_fdpic_arch_lay_out_mm(struct elf_fdpic_params *exec_params,