From 8dd1f460055d2180e5e31c8aac7523b6bdc63016 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 16 May 2025 09:35:49 -0400 Subject: 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 --- sys/kern/kern_syscall.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/kern/kern_syscall.c') 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); -- cgit v1.2.3