Searched refs:PF_W (Results 1 – 13 of 13) sorted by relevance
211 if (!!(flags & ~(PF_R | PF_W | PF_X))) { in encl_load()218 if (j == 0 && flags != (PF_R | PF_W)) { in encl_load()233 seg->prot |= (phdr->p_flags & PF_W) ? PROT_WRITE : 0; in encl_load()
92 #define PF_W 0x2 macro
246 #define PF_W 0x2 macro
301 elf_phdr_set_p_flags(class, phdr, PF_R | PF_W | PF_X); in rproc_coredump()
1283 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()1297 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
387 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()
395 phdr->p_flags = cpu_to_be32(PF_R|PF_W|PF_X); in create_opalcore()
581 phdr->p_flags = PF_R | PF_W | PF_X; in loads_init()
361 if (ph[i].p_flags & PF_W) { in main()
1041 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap()1594 phdr.p_flags |= PF_W; in elf_fdpic_core_dump()
579 if (p_flags & PF_W) in make_prot()2285 phdr.p_flags |= PF_W; in elf_core_dump()
1137 phdr->p_flags = PF_R|PF_W|PF_X; in fadump_create_elfcore_headers()
1652 .p_flags = PF_R | PF_W | PF_X, in kcore__add_phdr()