pub fn ptrace_attach_from_state<L>(
locked: &mut Locked<L>,
tracee_task: &OwnedRef<Task>,
ptrace_state: PtraceCoreState,
) -> Result<(), Errno>where
L: LockBefore<ThreadGroupLimits>,Expand description
Uses the given core ptrace state (including tracer, attach type, etc) to
attach to another task, given by tracee_task. Also sends a signal to stop
tracee_task. Typical for when inheriting ptrace state from another task.