summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2023-06-10 16:26:46 +0200
committerdzwdz2023-06-10 16:26:46 +0200
commitb09263bd64b3408cbd109dacc4b7618d22b02248 (patch)
treee461c86fdf229670451f657ef83dd1e2ac802bba /src/kernel/proc.h
parent112eafe13c3628cad6e692179c064dbbc3be2d8b (diff)
kernel: implement getpid, getppid
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h1
1 files changed, 1 insertions, 0 deletions
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;