Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic.
authormpi <mpi@openbsd.org>
Mon, 8 Mar 2021 10:12:05 +0000 (10:12 +0000)
committermpi <mpi@openbsd.org>
Mon, 8 Mar 2021 10:12:05 +0000 (10:12 +0000)
commitf0794b6f83c2aaadf072e1c63dfd9a45d7503f6b
treecfeb4c55595499d4ff8de54a3a05ce06d187a9c4
parent4e3adc96d8bca3350a2ad606a146af44c631d565
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