Module syscall

Module syscall 

Source
Expand description

System calls for MemoryMappingOps capability

This module implements system calls for memory mapping operations. ANONYMOUS mappings are handled directly in the syscall for efficiency, while all other mappings (including FIXED) are delegated to KernelObjects with MemoryMappingOps capability.

Constantsยง

MAP_ANONYMOUS ๐Ÿ”’
MAP_FIXED ๐Ÿ”’
MAP_PRIVATE ๐Ÿ”’
MAP_SHARED ๐Ÿ”’
PROT_EXEC ๐Ÿ”’
PROT_READ ๐Ÿ”’
PROT_WRITE ๐Ÿ”’

Functionsยง

handle_anonymous_mapping ๐Ÿ”’
Handle anonymous memory mapping
sys_memory_map
System call for memory mapping a KernelObject with MemoryMappingOps capability or creating anonymous mappings
sys_memory_unmap
System call for unmapping memory from a KernelObject or anonymous mapping