summaryrefslogtreecommitdiff
path: root/src/sys/include/compat
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-06 17:46:47 -0400
committerIan Moffett <ian@osmora.org>2025-10-06 17:47:12 -0400
commit059b2450fb71520e9d0ee1e26dd5bb48c9b6ddf7 (patch)
tree320dc8ad1205bacc86143a7bbb3918bb1925318b /src/sys/include/compat
parente8723abcad202fc12c3e32879c9865bae524e9ce (diff)
kern: syscall: Add SYS_mount syscall
This commit introduces the system call for mounting filesystems. As of now, only the fstype and target params are supported Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/compat')
-rw-r--r--src/sys/include/compat/unix/syscall.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h
index ab464c4..5339d47 100644
--- a/src/sys/include/compat/unix/syscall.h
+++ b/src/sys/include/compat/unix/syscall.h
@@ -32,6 +32,7 @@
#include <sys/proc.h>
#include <sys/param.h>
+#include <sys/mount.h>
#include <sys/syscall.h>
/*
@@ -61,7 +62,8 @@ scret_t(*g_unix_sctab[])(struct syscall_args *) = {
[SYS_write] = sys_write,
[SYS_cross] = sys_cross,
[SYS_query] = sys_query,
- [SYS_spawn] = sys_spawn
+ [SYS_spawn] = sys_spawn,
+ [SYS_mount] = sys_mount
};
#endif /* !_NEED_UNIX_SCTAB */