Lines Matching refs:p_flags
611 static inline int make_prot(u32 p_flags, struct arch_elf_state *arch_state, in make_prot() argument
616 if (p_flags & PF_R) in make_prot()
618 if (p_flags & PF_W) in make_prot()
620 if (p_flags & PF_X) in make_prot()
664 int elf_prot = make_prot(eppnt->p_flags, arch_state, in load_elf_interp()
928 if (elf_ppnt->p_flags & PF_X) in load_elf_binary()
1038 elf_prot = make_prot(elf_ppnt->p_flags, &arch_state, in load_elf_binary()
1195 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary()
1215 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
1495 phdr->p_flags = 0; in fill_elf_note_phdr()
2091 phdr.p_flags = 0; in elf_core_dump()
2093 phdr.p_flags |= PF_R; in elf_core_dump()
2095 phdr.p_flags |= PF_W; in elf_core_dump()
2097 phdr.p_flags |= PF_X; in elf_core_dump()