control the inheritance of pages
() system call changes the specified
pages to have the inheritance characteristic
. A page's inheritance characteristic
controls how it will be mapped in child processes as created by
The possible inheritance characteristics are:
Not all implementations will guarantee that the inheritance characteristic can
be set on a page basis; the granularity of changes may be as large as an
Upon successful completion, the value 0 is returned; otherwise the
value -1 is returned and the global variable
is set to indicate the error.
() system call will fail if:
- The virtual address range specified by the
len arguments is not valid.
- The inherit argument is
() function first appeared in