Function kernel::grant::allow_rw

source ยท
pub(crate) fn allow_rw(
    process: &dyn Process,
    driver_num: usize,
    allow_num: usize,
    buffer: ReadWriteProcessBuffer,
) -> Result<ReadWriteProcessBuffer, (ReadWriteProcessBuffer, ErrorCode)>
Expand description

Stores the specified read-write process buffer in the kernel managed grant region for this process and driver. The previous read-write process buffer stored at the same allow_num id is returned.