GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VM_MAP_INHERIT (9)

NAME

vm_map_inherit - set fork inheritance flags for a range within a map

CONTENTS

Synopsis
Description
Implementation Notes
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In vm/vm.h
.In vm/vm_map.h int
.Fo vm_map_inherit vm_map_t map vm_offset_t start vm_offset_t end vm_inherit_t new_inheritance
.Fc

DESCRIPTION

The vm_map_inherit function sets the inheritance flags for the range start to end within the target map to the value new_inheritance.

The 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.

IMPLEMENTATION NOTES

The vm_map_inherit function obtains a lock on the map using vm_map_lock(9) for the duration of the function.

RETURN VALUES

The vm_map_inherit function returns KERN_SUCCESS if the inheritance flags could be set. Otherwise, if the provided flags were invalid, KERN_INVALID_ARGUMENT will be returned.

SEE ALSO

fork(2)

AUTHORS

This manual page was written by
.An Bruce M Simpson Aq bms@spc.org .
Search for    or go to Top of page |  Section 9 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.