From 059b2450fb71520e9d0ee1e26dd5bb48c9b6ddf7 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 6 Oct 2025 17:46:47 -0400 Subject: 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 --- src/sys/include/compat/unix/syscall.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sys/include/compat/unix/syscall.h') 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 #include +#include #include /* @@ -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 */ -- cgit v1.2.3