Switch proc_finish_wait() to use the process as argument instead of its
authorclaudio <claudio@openbsd.org>
Mon, 22 Jul 2024 08:18:53 +0000 (08:18 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 22 Jul 2024 08:18:53 +0000 (08:18 +0000)
commita9d55c5c676ab7c56fdfd681f6b2a456de353388
tree5b6cbaf7c69ecade3e938f3ddc02699d3f1c634e
parent72a0fbccc5614cd17790b645bf66f82f63c67207
Switch proc_finish_wait() to use the process as argument instead of its
ps_mainproc. dowait6() needs to stop using ps_mainproc and this is the
first step.
OK guenther@
sys/kern/kern_exit.c