diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-26 22:38:35 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-26 22:38:35 -0400 |
commit | 1a6fdb46a9b146573ce517bbf63b4c0e0fb35357 (patch) | |
tree | 813166bcd7d160dee5fb0538f5567694adf03d32 /sys/kern/kern_syscall.c | |
parent | 3b618741d5088062cc47f6b9894c039ac559a175 (diff) |
kernel: Add support for execv()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_syscall.c')
-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 b575346..0461977 100644 --- a/sys/kern/kern_syscall.c +++ b/sys/kern/kern_syscall.c @@ -33,6 +33,7 @@ #include <sys/types.h> #include <sys/filedesc.h> #include <sys/system.h> +#include <sys/exec.h> #include <vm/map.h> uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args) = { @@ -45,4 +46,5 @@ uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args) = { sys_mmap, sys_munmap, sys_ioctl, + sys_execv, }; |