pub fn ptrace_attach_from_state(
tracee_task: &Arc<Task>,
ptrace_state: PtraceCoreState,
) -> Result<(), Errno>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.