Home
last modified time | relevance | path

Searched refs:max_protection (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_process.c277 !vme->max_protection) in mac_proc_vm_revoke_recurse()
303 result = vme->max_protection; in mac_proc_vm_revoke_recurse()
310 revokeperms = vme->max_protection & ~result; in mac_proc_vm_revoke_recurse()
317 prot2str(vme->max_protection), prot2str(vme->protection)); in mac_proc_vm_revoke_recurse()
325 vme->max_protection -= revokeperms; in mac_proc_vm_revoke_recurse()
350 vme->max_protection &= ~VM_PROT_WRITE; in mac_proc_vm_revoke_recurse()
357 vme->max_protection &= ~VM_PROT_EXECUTE; in mac_proc_vm_revoke_recurse()
361 vme->max_protection = 0; in mac_proc_vm_revoke_recurse()
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c177 entry->max_protection &= ~VM_PROT_WRITE; in tmpfs_revoke_rw_maps_cb()
226 (entry->max_protection & VM_PROT_WRITE) == 0) in tmpfs_all_rw_maps()
/freebsd/sys/vm/
H A Dvm_map.c1747 prev_entry->max_protection == max && in vm_map_insert1()
1794 new_entry->max_protection = max; in vm_map_insert1()
2342 prev->max_protection == entry->max_protection && in vm_map_mergeable_neighbors()
2866 PROT_MAX_EXTRACT(entry->offset) : entry->max_protection; in vm_map_protect()
2977 entry->max_protection = new_maxprot; in vm_map_protect()
4532 new_entry->max_protection = old_entry->max_protection; in vmspace_fork()
5041 (entry->max_protection & VM_PROT_WRITE) == 0 && in vm_map_lookup()
5356 entry->max_protection, in vm_map_print()
[all...]
H A Dvm_map.h111 vm_prot_t max_protection; /* maximum protection */
112 vm_prot_t max_protection; /* maximum protection */ global() member
H A Dvm_fault.c528 fs->fault_type, fs->entry->max_protection, &pager_first, in vm_fault_populate()
/freebsd/sys/kern/
H A Dkern_proc.c2683 if (entry->max_protection & VM_PROT_READ) in kern_proc_vmmap_out()
2685 if (entry->max_protection & VM_PROT_WRITE) in kern_proc_vmmap_out()
2687 if (entry->max_protection & VM_PROT_EXECUTE) in kern_proc_vmmap_out()
H A Dsys_process.c516 PROT_MAX(entry->max_protection); in ptrace_vm_entry()