Replace ps_oppid (old parent pid) with ps_opptr (a pointer to the old parent process...
authorclaudio <claudio@openbsd.org>
Tue, 8 Oct 2024 12:02:24 +0000 (12:02 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 8 Oct 2024 12:02:24 +0000 (12:02 +0000)
commite2eb29b0b016a473b05fb5a9aa99d1e4fbe3f6e6
tree4f91f179116c0eeddfaadcdf07c88e2784cb89dd
parent7b3f8d1d68d965ba90edeb8b95711a130dd8d612
Replace ps_oppid (old parent pid) with ps_opptr (a pointer to the old parent process struct).

This simplifies some code and removes the no need to call prfind in
process_untrace().
OK mpi@
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/sys_process.c
sys/sys/proc.h