summaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r--sys/kern/kern_syscall.c2
1 files changed, 2 insertions, 0 deletions
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 <sys/syscall.h>
+#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/proc.h>
#include <sys/vfs.h>
@@ -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);