Searched refs:PROT_WRITE (Results 1 – 22 of 22) sorted by relevance
/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 | 6 #define PROT_WRITE 0x2 /* page can be written */ macro
|
/arch/mips/include/uapi/asm/ |
D | mman.h | 20 #define PROT_WRITE 0x02 /* page can be written */ macro
|
/arch/xtensa/include/uapi/asm/ |
D | mman.h | 27 #define PROT_WRITE 0x2 /* page can be written */ macro
|
/arch/parisc/include/uapi/asm/ |
D | mman.h | 6 #define PROT_WRITE 0x2 /* page can be written */ 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/arm64/include/asm/ |
D | mman.h | 65 unsigned long supported = PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM; in arch_validate_prot()
|
/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 | 83 DEFINE(UM_PROT_WRITE, PROT_WRITE); in foo()
|
/arch/x86/ia32/ |
D | ia32_aout.c | 213 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_binary() 295 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_library()
|
/arch/arm/vdso/ |
D | vdsomunge.c | 186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
|
/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/vdso/ |
D | genvdso.c | 129 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in map_vdso()
|
/arch/s390/mm/ |
D | gmap.c | 882 fault_flags = (prot == PROT_WRITE) ? FAULT_FLAG_WRITE : 0; in gmap_pte_op_fixup() 968 if ((pmd_i && (prot != PROT_NONE)) || (pmd_p && (prot == PROT_WRITE))) in gmap_protect_pmd() 2118 prot = (pte_val(pte) & _PAGE_PROTECT) ? PROT_READ : PROT_WRITE; in gmap_shadow_page()
|
D | pgtable.c | 626 (pte_p && (prot & PROT_WRITE))) { in ptep_force_prot()
|
/arch/s390/kvm/ |
D | kvm-s390.c | 3816 PAGE_SIZE * 2, PROT_WRITE); in kvm_s390_handle_requests()
|
/arch/x86/kvm/ |
D | x86.c | 10723 hva = vm_mmap(NULL, 0, size, PROT_READ | PROT_WRITE, in __x86_set_memory_region()
|