⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

grant_transfer_capability

Function grant_transfer_capability 

Source
pub fn grant_transfer_capability(
    granter_pid: u64,
    grantee_pid: u64,
    region_id: u64,
    permissions: Permission,
) -> Result<u64>
Expand description

Grant capability to perform zero-copy transfer.

Creates a memory capability in the grantee’s capability space that allows mapping the shared region with the specified permissions.