pub fn map_memory_with_flags<L>(
locked: &mut Locked<L>,
current_task: &CurrentTask,
address: UserAddress,
length: u64,
flags: u32,
) -> UserAddresswhere
L: LockEqualOrBefore<FileOpsCore>,Expand description
Maps length at address with PROT_READ | PROT_WRITE and the specified flags.
Returns the address returned by sys_mmap.