From fcb9fd7c83420e6ddcd8f29af6f4e61b0601a529 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 12 Nov 2024 00:19:12 -0500 Subject: kernel: syscall: Add SYS_sysctl syscall 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 f4d9cb8..2d3d6ea 100644 --- a/sys/kern/kern_syscall.c +++ b/sys/kern/kern_syscall.c @@ -28,6 +28,7 @@ */ #include +#include #include #include #include @@ -39,6 +40,7 @@ scret_t(*g_sctab[])(struct syscall_args *) = { sys_read, /* SYS_read */ sys_close, /* SYS_close */ sys_stat, /* SYS_stat */ + sys_sysctl, /* SYS_sysctl */ }; const size_t MAX_SYSCALLS = NELEM(g_sctab); -- cgit v1.2.3