Skip to content
Snippets Groups Projects
Commit 01be26a7 authored by Jimmy Brush's avatar Jimmy Brush Committed by Anna Lyons
Browse files

manual: ipc: clarify sending caps is a copy

parent 5fb6f8b3
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ silently ignore any usage of the high 4 bits.
\subsection{Capability Transfer}
\label{sec:cap-transfer}
Messages may contain capabilities, which will be transferred to the
Messages may contain capabilities, which will be copied to the
receiver, provided that the endpoint capability
invoked by the sending thread has Grant rights. An attempt to send
capabilities using an endpoint capability without the Grant right will
......@@ -174,6 +174,10 @@ least significant) in the \texttt{capsUnwrapped} field of the message
tag. The capability itself is not transferred, so the receive slot may be used
for another capability.
A capability that is not unwrapped is transferred by copying it from the
sender's CNode slot to the receiver's CNode slot. The sender retains access
to the sent capability.
If a receiver gets a message whose tag has an \texttt{extraCaps} of 2 and a
\texttt{capsUnwrapped} of 2, then the first capability in the message was
transferred to the specified receive slot and the second capability was
......@@ -282,4 +286,4 @@ call). It differs from
\apifunc{seL4\_Recv}{sel4_recv} in ways that allow certain system setup to work
much more efficiently with much less setup that with a traditional setup.
In particular, it is guaranteed that the reply received by the caller comes from
the thread that received the call without having to check any kind of badge.
\ No newline at end of file
the thread that received the call without having to check any kind of badge.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment