fn commit_trapped(
ctx: &Ctx,
tgid: i32,
plan: &ExecPlan,
mailbox: i32,
narrow: bool,
) -> Result<(), i32>Expand description
Writes the trampoline’s record for a planned exec in the guest-stub mode and marks the process as about to run it.
§Arguments
ctx- Shared supervisor state.tgid- The process.plan- Its exec; itsuser_pathbecomesAT_EXECFNand the name.mailbox- The mailbox’s descriptor number in the process.narrow- The program is 32-bit, for the 32-bit trampoline.
§Errors
Errno from writing the record.