Use PTRACE_SEIZE instead of PTRACE_ATTACH; also send SIGSTOP before PTRACE_DETACH
Use PTRACE_SEIZE instead of PTRACE_ATTACH; also send SIGSTOP before PTRACE_DETACH

andreacorbellini/waitpid,andreacorbellini/waitpid