Skip to main content

SYS_MREMAP

Constant SYS_MREMAP 

Source
pub const SYS_MREMAP: usize = 103; // 103usize
Expand description

Remap a memory region to a new address or size.

  • old_addr: current virtual address
  • old_len: current length in bytes
  • new_len: desired new length in bytes
  • flags: MREMAP_MAYMOVE (1) to allow relocation
  • new_addr: desired new address (only with MREMAP_MAYMOVE)

Returns the new virtual address.