Home
last modified time | relevance | path

Searched refs:reject_prot (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/bsd/kern/
H A Dkern_mman.c419 int reject_prot = ((flags & MAP_PRIVATE) ? VM_PROT_EXECUTE : (VM_PROT_WRITE | VM_PROT_EXECUTE)); in mmap() local
420 if (prot & reject_prot) { in mmap()
908 int reject_prot = ((flags & MAP_PRIVATE) ? VM_PROT_EXECUTE : (VM_PROT_WRITE | VM_PROT_EXECUTE)); in mmap() local
909 if (prot & reject_prot) { in mmap()
/xnu-11215/osfmk/vm/
H A Dvm_map.c2967 int reject_prot = (needs_copy ? VM_PROT_ALLEXEC : (VM_PROT_WRITE | VM_PROT_ALLEXEC)); in vm_map_enter() local
2968 if ((cur_protection | max_protection) & reject_prot) { in vm_map_enter()
3408 int reject_prot = (needs_copy ? VM_PROT_ALLEXEC : (VM_PROT_WRITE | VM_PROT_ALLEXEC)); in vm_map_enter() local
3409 if (!((cur_protection | max_protection) & reject_prot)) { in vm_map_enter()