From 6ce9297e61d5dbc1640392ed6d253d9769953dcf Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 6 Oct 2025 21:52:15 -0400 Subject: kern: filedes: Add SYS_open system call Signed-off-by: Ian Moffett --- src/sys/include/compat/unix/syscall.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sys/include/compat') diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h index ab464c4..1b51d26 100644 --- a/src/sys/include/compat/unix/syscall.h +++ b/src/sys/include/compat/unix/syscall.h @@ -54,6 +54,11 @@ scret_t sys_cross(struct syscall_args *scargs); */ scret_t sys_query(struct syscall_args *scargs); +/* + * Open a file + */ +scret_t sys_open(struct syscall_args *scargs); + #ifdef _NEED_UNIX_SCTAB scret_t(*g_unix_sctab[])(struct syscall_args *) = { [SYS_none] = NULL, -- cgit v1.2.3