From b09263bd64b3408cbd109dacc4b7618d22b02248 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 10 Jun 2023 16:26:46 +0200 Subject: kernel: implement getpid, getppid --- src/kernel/proc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index dce99fb..bf5db69 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -69,6 +69,7 @@ struct Proc { Handle *procfs; } specialh; + // TODO pids should be 64bit. also typedef pid_t uint32_t globalid; /* only for internal use, don't expose to userland */ uint32_t refcount; /* non-owning. should always be 0 on kill */ bool noreap; -- cgit v1.2.3