Function nix::sys::ptrace::attach

source ยท
pub fn attach(pid: Pid) -> Result<()>
Expand description

Attach to a running process, as with ptrace(PTRACE_ATTACH, ...)

Attaches to the process specified by pid, making it a tracee of the calling process.