#include <mach/vm_inherit.h> also included by
<mach/mach.h>mach/vm_inherit.h
typedefvm_inherit_t
typedef unsigned int vm_inherit_t
might want to change this
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Defined values:
| VM_INHERIT_SHARE | Allows child tasks to share the region. |
| VM_INHERIT_COPY | Gives child tasks a copy of the region. |
| VM_INHERIT_NONE | Provides no access to the region for child tasks. |
macroVM_INHERIT_SHARE
#define VM_INHERIT_SHARE ((vm_inherit_t) 0)
share with child
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Allows child tasks to share the region.
macroVM_INHERIT_COPY
#define VM_INHERIT_COPY ((vm_inherit_t) 1)
copy into child
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Gives child tasks a copy of the region.
macroVM_INHERIT_NONE
#define VM_INHERIT_NONE ((vm_inherit_t) 2)
absent from child
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Provides no access to the region for child tasks.
macroVM_INHERIT_DEFAULT
#define VM_INHERIT_DEFAULT VM_INHERIT_COPY
macroVM_INHERIT_LAST_VALID
#define VM_INHERIT_LAST_VALID VM_INHERIT_NONE