Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic
authormpi <mpi@openbsd.org>
Fri, 12 Mar 2021 10:13:28 +0000 (10:13 +0000)
committermpi <mpi@openbsd.org>
Fri, 12 Mar 2021 10:13:28 +0000 (10:13 +0000)
commitb6d396f39c804f4c13956192bba543e961a56950
treeb61a98bba16fe75c5afff7fc80e8546dde68e922
parent85dd30306235ce01c9aeab4a95d68ca007841a79
Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic

single_thread_set() is modified to explicitly indicated when waiting until
sibling threads are parked is required.  This is obviously not required if
a traced thread is switching away from a CPU after handling a STOP signal.

ok claudio@
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_sig.c
sys/sys/proc.h