Home
last modified time | relevance | path

Searched refs:max_protection (Results 1 – 5 of 5) 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.c1754 prev_entry->max_protection == max && in vm_map_insert1()
1801 new_entry->max_protection = max; in vm_map_insert1()
2314 prev->max_protection == entry->max_protection && in vm_map_mergeable_neighbors()
2836 PROT_MAX_EXTRACT(entry->offset) : entry->max_protection; in vm_map_protect()
2947 entry->max_protection = new_maxprot; in vm_map_protect()
4505 new_entry->max_protection = old_entry->max_protection; in vmspace_fork()
5071 (entry->max_protection & VM_PROT_WRITE) == 0 && in vm_map_lookup()
5386 entry->max_protection, in vm_map_print()
H A Dvm_map.h112 vm_prot_t max_protection; /* maximum protection */ member
H A Dvm_fault.c514 fs->fault_type, fs->entry->max_protection, &pager_first, in vm_fault_populate()