package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
NewMemoryManager returns a new MemoryManager with no mappings and 1 user.
NewSpecialMappable returns a SpecialMappable that owns fr, which represents offsets in mfp.MemoryFile() that contain the SpecialMappable's data.
Unpin releases the reference held by prs.
# Constants
MRemapMayMove allows MRemap to move the remapped mapping.
MRemapMustMove requires MRemap to move the remapped mapping to MRemapOpts.NewAddr, replacing any existing mappings in the remapped range.
MRemapNoMove prevents MRemap from moving the remapped mapping.
NotDumpable indicates that core dumps should never be created.
RootDumpable indicates that core dumps should be created, owned by root.
enableLogging indicates whether reference-related events should be logged (with stack traces).
UserDumpable indicates that core dumps should be created, owned by the current user.
# Variables
obj is used to customize logging.
# Structs
AIOContext is a single asynchronous I/O context.
MemoryManager implements a virtual address space.
MLockAllOpts holds options to MLockAll.
MRemapOpts specifies options to MRemap.
MSyncOpts holds options to MSync.
PinnedRanges are returned by MemoryManager.Pin.
SpecialMappable implements memmap.MappingIdentity and memmap.Mappable with semantics similar to Linux's mm/mmap.c:_install_special_mapping(), except that SpecialMappable takes ownership of the memory that it represents (_install_special_mapping() does not.)
+stateify savable.
Refs implements refs.RefCounter.
# Type aliases
Dumpability describes if and how core dumps should be created.
MapsCallbackFunc has all the parameters required for populating an entry of /proc/[pid]/maps.
MRemapMoveMode controls MRemap's moving behavior.