[−][src]Function sunrise_kernel::syscalls::map_shared_memory
pub fn map_shared_memory(
handle: u32,
addr: usize,
size: usize,
perm: u32
) -> Result<(), UserspaceError>
Maps the block supplied by the handle. The required permissions are different for the process that created the handle and all other processes.
Increases reference count for the SharedMemory object. Thus in order to release the memory associated with the object, all handles to it must be closed and all mappings must be unmapped.