diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-03 18:06:04 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-03 18:07:24 -0400 |
commit | 1caf181cd04090af77fd0aff8dd4b87df7a2ed66 (patch) | |
tree | 75d9aef3ef6173cc13e67101d3de74961f68e4cd /sys/kern | |
parent | 3701a82d3f2d27b8097ce56c0655df7efc0f0153 (diff) |
usr: libc: Add POSIX getpid() and getppid()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c index 292fa56..739dd7f 100644 --- a/sys/kern/kern_syscall.c +++ b/sys/kern/kern_syscall.c @@ -54,6 +54,8 @@ scret_t(*g_sctab[])(struct syscall_args *) = { sys_lseek, /* SYS_lseek */ sys_sleep, /* SYS_sleep */ sys_inject, /* SYS_inject */ + sys_getpid, /* SYS_getpid */ + sys_getppid /* SYS_getppid */ }; const size_t MAX_SYSCALLS = NELEM(g_sctab); |