Searched refs:PF_W (Results 1 – 11 of 11) sorted by relevance
255 if (!!(flags & ~(PF_R | PF_W | PF_X))) { in encl_load()262 if (j == 0 && flags != (PF_R | PF_W)) { in encl_load()277 seg->prot |= (phdr->p_flags & PF_W) ? PROT_WRITE : 0; in encl_load()
92 #define PF_W 0x2 macro
227 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()241 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
246 #define PF_W 0x2 macro
302 elf_phdr_set_p_flags(class, phdr, PF_R | PF_W | PF_X); in rproc_coredump()
397 phdr->p_flags = cpu_to_be32(PF_R|PF_W|PF_X); in create_opalcore()
401 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore_iter()
361 if (ph[i].p_flags & PF_W) { in main()
1032 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap()1587 phdr.p_flags |= PF_W; in elf_fdpic_core_dump()
618 if (p_flags & PF_W) in make_prot()2095 phdr.p_flags |= PF_W; in elf_core_dump()
2100 .p_flags = PF_R | PF_W | PF_X, in kcore__add_phdr()