Lines Matching refs:p_flags
571 static inline int make_prot(u32 p_flags, struct arch_elf_state *arch_state, in make_prot() argument
576 if (p_flags & PF_R) in make_prot()
578 if (p_flags & PF_W) in make_prot()
580 if (p_flags & PF_X) in make_prot()
626 int elf_prot = make_prot(eppnt->p_flags, arch_state, in load_elf_interp()
933 if (elf_ppnt->p_flags & PF_X) in load_elf_binary()
1070 elf_prot = make_prot(elf_ppnt->p_flags, &arch_state, in load_elf_binary()
1173 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary()
1195 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
1497 phdr->p_flags = 0; in fill_elf_note_phdr()
2260 phdr.p_flags = 0; in elf_core_dump()
2262 phdr.p_flags |= PF_R; in elf_core_dump()
2264 phdr.p_flags |= PF_W; in elf_core_dump()
2266 phdr.p_flags |= PF_X; in elf_core_dump()