Home
last modified time | relevance | path

Searched refs:p_flags (Results 1 – 4 of 4) sorted by relevance

/fs/
Dbinfmt_elf_fdpic.c166 if (phdr->p_flags & PF_X) in elf_fdpic_fetch_phdrs()
981 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_constdisp_on_uclinux()
1035 if (phdr->p_flags & PF_R) prot |= PROT_READ; in elf_fdpic_map_file_by_direct_mmap()
1036 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap()
1037 if (phdr->p_flags & PF_X) prot |= PROT_EXEC; in elf_fdpic_map_file_by_direct_mmap()
1158 if (phdr->p_flags & PF_X) { in elf_fdpic_map_file_by_direct_mmap()
1323 phdr->p_flags = 0; in fill_elf_note_phdr()
1740 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_fdpic_core_dump()
1742 phdr.p_flags |= PF_W; in elf_fdpic_core_dump()
1744 phdr.p_flags |= PF_X; in elf_fdpic_core_dump()
Dbinfmt_elf.c528 static inline int make_prot(u32 p_flags) in make_prot() argument
532 if (p_flags & PF_R) in make_prot()
534 if (p_flags & PF_W) in make_prot()
536 if (p_flags & PF_X) in make_prot()
580 int elf_prot = make_prot(eppnt->p_flags); in load_elf_interp()
789 if (elf_ppnt->p_flags & PF_X) in load_elf_binary()
916 elf_prot = make_prot(elf_ppnt->p_flags); in load_elf_binary()
1024 if ((elf_ppnt->p_flags & PF_X) && end_code < k) in load_elf_binary()
1455 phdr->p_flags = 0; in fill_elf_note_phdr()
2313 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_core_dump()
[all …]
/fs/proc/
Dvmcore.c854 phdr.p_flags = 0; in merge_note_headers_elf64()
1045 phdr.p_flags = 0; in merge_note_headers_elf32()
Dkcore.c383 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()