Expand description
A task’s inherited context channel, the one raw descriptor schedr adopts (decision 147).
The agent starts a command task with one end of a datagram socket pair left open and its
number in SCHEDR_CTX_FD (decision 143). Rust can only refer to a descriptor known by
number through unsafe code, and the rest of the workspace forbids it; this crate holds the
single block, and keeps it small: it borrows the number only to duplicate it, then
checks the copy. The inherited descriptor is never owned (never closed here), so it can’t be closed twice;
the caller gets its own close-on-exec copy.
Enums§
- Inherited
- Why an inherited descriptor isn’t the task’s context channel.
Functions§
- inherited_
datagram - A close-on-exec copy of the inherited Unix datagram socket at
fd.