Skip to main content

guest_fd_path

Function guest_fd_path 

Source
pub fn guest_fd_path(fs: &Fs, pid: u32, fd: i32) -> Result<Vec<u8>, i32>
Expand description

Reads the guest path of a tracee’s open directory descriptor.

§Arguments

  • fs - Guest filesystem view.
  • pid - Tracee thread id.
  • fd - Descriptor number in the tracee.