Skip to main content

plan_in

Function plan_in 

Source
pub fn plan_in(
    ctx: &Ctx,
    view: &View,
    pid: u32,
    dirfd: i32,
    user_path: &[u8],
    argv: Vec<Vec<u8>>,
    deref_final: bool,
    env: EnvSource,
) -> Result<ExecPlan, i32>
Expand description

plan in a given view.

§Arguments

  • ctx - Shared supervisor state.
  • view - The view to translate in.
  • pid - Tracee thread id.
  • dirfd - Base of a relative user_path.
  • user_path - Program path as the tracee passed it.
  • argv - The tracee’s argument vector (empty when it passed NULL).
  • deref_final - Follow a symlink in the final component of the program path.
  • env - The tracee’s environment, read only for a nested launch.

§Errors

As plan.