Copyright (c) 2003 Bruce M Simpson <email@example.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documenta...
NAMEvm_map_inherit - set fork inheritance flags for a range within a map
SYNOPSISIn sys/param.h In vm/vm.h In vm/vm_map.h Ft int Fo vm_map_inherit Fa vm_map_t map vm_offset_t start vm_offset_t end Fa vm_inherit_t new_inheritance Fc
DESCRIPTIONThe Fn vm_map_inherit function sets the inheritance flags for the range Fa start to Fa end within the target Fa map to the value Fa new_inheritance .
The Fa new_inheritance flag must have one of the values VM_INHERIT_NONE VM_INHERIT_COPY or VM_INHERIT_SHARE This affects how the map will be shared with child maps when the associated process forks.