aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
authorKaimakan71 <undefined.foss@gmail.com>2024-04-27 09:21:31 -0400
committerIan Moffett <ian@osmora.org>2024-04-27 20:27:42 -0400
commit5b6085504086f72939306337dfec01698b1a92cb (patch)
treed26c1bd0907109b2673a169b705628cfebb8f0a4 /sys/kern/kern_syscall.c
parenta65592778b5cb6adde3ab53ebe758c4d875a0d79 (diff)
kernel: vfs: Implement sys_mount()
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
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 0461977..9faa5af 100644
--- a/sys/kern/kern_syscall.c
+++ b/sys/kern/kern_syscall.c
@@ -34,6 +34,7 @@
#include <sys/filedesc.h>
#include <sys/system.h>
#include <sys/exec.h>
+#include <sys/vfs.h>
#include <vm/map.h>
uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args) = {
@@ -47,4 +48,5 @@ uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args) = {
sys_munmap,
sys_ioctl,
sys_execv,
+ sys_mount
};