Skip to main content

deliver_reply

Function deliver_reply 

Source
pub fn deliver_reply(
    responder: TaskId,
    target: TaskId,
    msg: IpcMessage,
) -> Result<(), DeliverError>
Expand description

Deliver a reply message to the given task.

§Authorization

responder must match the waiting_on server recorded when the target issued its call (SYS_IPC_CALL records the port owner). Replies from any other task are rejected with DeliverError::NotResponder — otherwise any process able to guess a blocked task id could inject forged responses into its RPCs.