From 366d918f863bce207616b9bcc1bdc44b60011576 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 31 May 2025 01:48:31 -0400 Subject: kernel: proc: Add proc_reap() for zombies, etc Signed-off-by: Ian Moffett --- sys/include/sys/proc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index 37cf413..25f5fd3 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -88,6 +88,8 @@ struct proc { struct proc *this_td(void); struct proc *get_child(struct proc *cur, pid_t pid); +void proc_reap(struct proc *td); + int md_spawn(struct proc *p, struct proc *parent, uintptr_t ip); scret_t sys_spawn(struct syscall_args *scargs); -- cgit v1.2.3