From 1a6fdb46a9b146573ce517bbf63b4c0e0fb35357 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 26 Apr 2024 22:38:35 -0400 Subject: kernel: Add support for execv() Signed-off-by: Ian Moffett --- sys/kern/kern_syscall.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/kern/kern_syscall.c') 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 #include #include +#include #include 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, }; -- cgit v1.2.3