Home
last modified time | relevance | path

Searched refs:PF_X (Results 1 – 9 of 9) sorted by relevance

/linux/arch/powerpc/boot/
H A Delf.h93 #define PF_X 0x1 macro
/linux/tools/testing/selftests/sgx/
H A Dload.c255 if (!!(flags & ~(PF_R | PF_W | PF_X))) { in encl_load()
278 seg->prot |= (phdr->p_flags & PF_X) ? PROT_EXEC : 0; in encl_load()
/linux/fs/
H A Dbinfmt_elf_fdpic.c166 if (phdr->p_flags & PF_X) in elf_fdpic_fetch_phdrs()
992 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_constdisp_on_uclinux()
1048 if (phdr->p_flags & PF_X) prot |= PROT_EXEC; in elf_fdpic_map_file_by_direct_mmap()
1169 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_by_direct_mmap()
1606 phdr.p_flags |= PF_X; in elf_fdpic_core_dump()
H A Dbinfmt_elf.c634 if (p_flags & PF_X) in make_prot()
942 if (elf_ppnt->p_flags & PF_X) in load_elf_binary()
1216 if ((elf_ppnt->p_flags & PF_X) && k < start_code) in load_elf_binary()
1236 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
2085 phdr.p_flags |= PF_X; in elf_core_dump()
/linux/arch/s390/kernel/
H A Dcrash_dump.c503 phdr->p_flags = PF_R | PF_W | PF_X; in fill_ptload()
561 phdr->p_flags = PF_R | PF_W | PF_X; in text_init()
/linux/tools/perf/util/
H A Dgenelf.c237 phdr[0].p_flags = PF_X | PF_R; in jit_write_elf()
H A Dsymbol-elf.c1828 if (!(phdr.p_flags & PF_X)) in elf_read_maps()
2051 .p_flags = PF_R | PF_W | PF_X, in kcore__add_phdr()
/linux/drivers/remoteproc/
H A Dremoteproc_coredump.c302 elf_phdr_set_p_flags(class, phdr, PF_R | PF_W | PF_X); in rproc_coredump()
/linux/fs/proc/
H A Dkcore.c398 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore_iter()