diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-16 09:35:49 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-16 09:35:49 -0400 |
commit | 8dd1f460055d2180e5e31c8aac7523b6bdc63016 (patch) | |
tree | 3e02e91a526d668d16764cdcfd4d5d8ca910d327 /sys/kern/kern_syscall.c | |
parent | 03f145b2fd5a01e40a3066c6cf2f649000a9fcd8 (diff) |
kernel: spawn: Add proper spawn impl + SYS_spawn
This commit introduces a more complete spawn implementation as well as
the SYS_spawn syscall and a libc interface.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r-- | sys/kern/kern_syscall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c index 986d82a..bc61fa6 100644 --- a/sys/kern/kern_syscall.c +++ b/sys/kern/kern_syscall.c @@ -42,6 +42,7 @@ scret_t(*g_sctab[])(struct syscall_args *) = { sys_stat, /* SYS_stat */ sys_sysctl, /* SYS_sysctl */ sys_write, /* SYS_write */ + sys_spawn, /* SYS_spawn */ }; const size_t MAX_SYSCALLS = NELEM(g_sctab); |