Home
last modified time | relevance | path

Searched refs:PROT_WRITE (Results 1 – 22 of 22) sorted by relevance

/arch/x86/um/os-Linux/
Dtask_size.c36 PROT_READ | PROT_WRITE, in page_ok()
54 PROT_READ | PROT_WRITE) != 0) in page_ok()
/arch/um/os-Linux/
Dprocess.c144 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()
Dutil.c22 PROT_READ | PROT_WRITE | PROT_EXEC) < 0) in stack_protections()
Dmem.c196 PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, fd, 0); in check_tmpexec()
/arch/alpha/include/uapi/asm/
Dmman.h6 #define PROT_WRITE 0x2 /* page can be written */ macro
/arch/mips/include/uapi/asm/
Dmman.h20 #define PROT_WRITE 0x02 /* page can be written */ macro
/arch/xtensa/include/uapi/asm/
Dmman.h27 #define PROT_WRITE 0x2 /* page can be written */ macro
/arch/parisc/include/uapi/asm/
Dmman.h6 #define PROT_WRITE 0x2 /* page can be written */ macro
/arch/powerpc/include/asm/
Dmman.h41 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO)) in arch_validate_prot()
/arch/arm64/include/asm/
Dmman.h65 unsigned long supported = PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM; in arch_validate_prot()
/arch/x86/um/shared/sysdep/
Dstub_32.h86 "d" (PROT_READ | PROT_WRITE), in remap_stack()
Dstub_64.h92 "d" (PROT_READ | PROT_WRITE), in remap_stack()
/arch/sparc/include/asm/
Dmman.h58 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_ADI)) in sparc_validate_prot()
/arch/x86/um/
Duser-offsets.c83 DEFINE(UM_PROT_WRITE, PROT_WRITE); in foo()
/arch/x86/ia32/
Dia32_aout.c213 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_binary()
295 PROT_READ | PROT_WRITE | PROT_EXEC, in load_aout_library()
/arch/arm/vdso/
Dvdsomunge.c186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
/arch/um/os-Linux/skas/
Dprocess.c220 UM_KERN_PAGE_SIZE, PROT_READ | PROT_WRITE, in userspace_tramp()
274 PROT_READ | PROT_WRITE | PROT_EXEC, in start_userspace()
/arch/mips/vdso/
Dgenvdso.c129 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in map_vdso()
/arch/s390/mm/
Dgmap.c882 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()
Dpgtable.c626 (pte_p && (prot & PROT_WRITE))) { in ptep_force_prot()
/arch/s390/kvm/
Dkvm-s390.c3816 PAGE_SIZE * 2, PROT_WRITE); in kvm_s390_handle_requests()
/arch/x86/kvm/
Dx86.c10723 hva = vm_mmap(NULL, 0, size, PROT_READ | PROT_WRITE, in __x86_set_memory_region()