Home
last modified time | relevance | path

Searched refs:elf_prot (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/
Dbinfmt_elf.c322 int elf_prot = 0; in load_elf_interp() local
326 if (eppnt->p_flags & PF_R) elf_prot = PROT_READ; in load_elf_interp()
327 if (eppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; in load_elf_interp()
328 if (eppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; in load_elf_interp()
333 map_addr = elf_map(interpreter, load_addr + vaddr, eppnt, elf_prot, elf_type); in load_elf_interp()
707 int elf_prot = 0, elf_flags; in load_elf_binary() local
734 if (elf_ppnt->p_flags & PF_R) elf_prot |= PROT_READ; in load_elf_binary()
735 if (elf_ppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; in load_elf_binary()
736 if (elf_ppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; in load_elf_binary()
750 error = elf_map(bprm->file, load_bias + vaddr, elf_ppnt, elf_prot, elf_flags); in load_elf_binary()
/linux-2.4.37.9/arch/mips/kernel/
Dirixelf.c305 int elf_prot = 0; in load_irix_interp() local
307 if (eppnt->p_flags & PF_R) elf_prot = PROT_READ; in load_irix_interp()
308 if (eppnt->p_flags & PF_W) elf_prot |= PROT_WRITE; in load_irix_interp()
309 if (eppnt->p_flags & PF_X) elf_prot |= PROT_EXEC; in load_irix_interp()
317 (unsigned long) elf_prot, (unsigned long) elf_type, in load_irix_interp()
323 elf_prot, elf_type, in load_irix_interp()