pub fn rewrite_path_arg(
ctx: &Ctx,
fs: &Fs,
regs: &mut Regs,
index: usize,
deref_final: bool,
) -> Result<(), i32>Expand description
Translates the path in argument index and points it at the host path.
An empty path is left as it is, for the kernel to refuse with ENOENT.
§Arguments
ctx- Shared supervisor state.fs- The tracee’s filesystem view.regs- Registers at the stop.index- Argument index holding the path pointer.deref_final- Follow a trailing symlink.