/arch/x86/um/os-Linux/ |
D | task_size.c | 36 PROT_READ | PROT_WRITE, in page_ok() 54 PROT_READ | PROT_WRITE) != 0) in page_ok()
|
/arch/um/os-Linux/ |
D | process.c | 144 prot = (r ? PROT_READ : 0) | (w ? PROT_WRITE : 0) | in os_map_memory() 156 int prot = ((r ? PROT_READ : 0) | (w ? PROT_WRITE : 0) | in os_protect_memory() 202 addr = mmap64(NULL, UM_KERN_PAGE_SIZE, PROT_READ | PROT_WRITE, in can_drop_memory()
|
D | util.c | 22 PROT_READ | PROT_WRITE | PROT_EXEC) < 0) in stack_protections()
|
D | mem.c | 196 PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, fd, 0); in check_tmpexec()
|
/arch/alpha/include/uapi/asm/ |
D | mman.h | 5 #define PROT_READ 0x1 /* page can be read */ macro
|
/arch/mips/include/uapi/asm/ |
D | mman.h | 19 #define PROT_READ 0x01 /* page can be read */ macro
|
/arch/xtensa/include/uapi/asm/ |
D | mman.h | 26 #define PROT_READ 0x1 /* page can be read */ macro
|
/arch/parisc/include/uapi/asm/ |
D | mman.h | 5 #define PROT_READ 0x1 /* page can be read */ macro
|
/arch/powerpc/include/asm/ |
D | mman.h | 41 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO)) in arch_validate_prot()
|
/arch/arm/vdso/ |
D | vdsomunge.c | 145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main() 186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
|
/arch/sparc/vdso/ |
D | vdso2c.c | 213 map_input(argv[1], &raw_addr, &raw_len, PROT_READ); in main() 214 map_input(argv[2], &stripped_addr, &stripped_len, PROT_READ); in main()
|
/arch/arm64/include/asm/ |
D | mman.h | 65 unsigned long supported = PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM; in arch_validate_prot()
|
/arch/x86/entry/vdso/ |
D | vdso2c.c | 237 map_input(argv[1], &raw_addr, &raw_len, PROT_READ); in main() 238 map_input(argv[2], &stripped_addr, &stripped_len, PROT_READ); in main()
|
/arch/x86/ia32/ |
D | ia32_aout.c | 204 PROT_READ | PROT_EXEC, in load_aout_binary() 213 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_binary() 295 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_library()
|
/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 86 "d" (PROT_READ | PROT_WRITE), in remap_stack()
|
D | stub_64.h | 92 "d" (PROT_READ | PROT_WRITE), in remap_stack()
|
/arch/sparc/include/asm/ |
D | mman.h | 58 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_ADI)) in sparc_validate_prot()
|
/arch/x86/um/ |
D | user-offsets.c | 82 DEFINE(UM_PROT_READ, PROT_READ); in foo()
|
/arch/um/os-Linux/skas/ |
D | process.c | 220 UM_KERN_PAGE_SIZE, PROT_READ | PROT_WRITE, in userspace_tramp() 274 PROT_READ | PROT_WRITE | PROT_EXEC, in start_userspace()
|
/arch/mips/tools/ |
D | loongson3-llsc-check.c | 263 vmlinux = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, vmlinux_fd, 0); in main()
|
/arch/s390/mm/ |
D | gmap.c | 976 if (prot == PROT_READ && !pmd_p) { in gmap_protect_pmd() 1108 if (!MACHINE_HAS_ESOP && prot == PROT_READ) in gmap_mprotect_notify() 1162 rc = gmap_pte_op_fixup(gmap, gaddr, vmaddr, PROT_READ); in gmap_read_table() 1235 rc = ptep_force_prot(parent->mm, paddr, ptep, PROT_READ, in gmap_protect_rmap() 1245 rc = gmap_pte_op_fixup(parent, paddr, vmaddr, PROT_READ); in gmap_protect_rmap() 1703 PROT_READ, GMAP_NOTIFY_SHADOW); in gmap_shadow() 2118 prot = (pte_val(pte) & _PAGE_PROTECT) ? PROT_READ : PROT_WRITE; in gmap_shadow_page() 2446 gmap_protect_pmd(gmap, gaddr, pmdp, PROT_READ, 0); in gmap_test_and_clear_dirty_pmd()
|
D | pgtable.c | 637 if (prot == PROT_READ && !pte_p) { in ptep_force_prot()
|
/arch/mips/vdso/ |
D | genvdso.c | 129 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in map_vdso()
|
/arch/arm64/kvm/hyp/nvhe/ |
D | gen-hyprel.c | 266 elf.begin = mmap(0, stat.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in init_elf()
|
/arch/x86/boot/tools/ |
D | build.c | 426 kernel = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0); in main()
|