Searched refs:reject_prot (Results 1 – 2 of 2) sorted by relevance
419 int reject_prot = ((flags & MAP_PRIVATE) ? VM_PROT_EXECUTE : (VM_PROT_WRITE | VM_PROT_EXECUTE)); in mmap() local420 if (prot & reject_prot) { in mmap()908 int reject_prot = ((flags & MAP_PRIVATE) ? VM_PROT_EXECUTE : (VM_PROT_WRITE | VM_PROT_EXECUTE)); in mmap() local909 if (prot & reject_prot) { in mmap()
2967 int reject_prot = (needs_copy ? VM_PROT_ALLEXEC : (VM_PROT_WRITE | VM_PROT_ALLEXEC)); in vm_map_enter() local2968 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() local3409 if (!((cur_protection | max_protection) & reject_prot)) { in vm_map_enter()