From e1be7ce6b488f1dd52ddf811fc1bee54259c8fdf Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 9 Jun 2025 23:45:45 -0400 Subject: kernel: vfs: Add SYS_access syscall Signed-off-by: Ian Moffett --- sys/include/sys/syscall.h | 1 + sys/include/sys/vfs.h | 1 + 2 files changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h index dad2e00..0376bd2 100644 --- a/sys/include/sys/syscall.h +++ b/sys/include/sys/syscall.h @@ -50,6 +50,7 @@ #define SYS_reboot 9 #define SYS_mmap 10 #define SYS_munmap 11 +#define SYS_access 12 #if defined(_KERNEL) /* Syscall return value and arg type */ diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h index 1ff722a..fcb7391 100644 --- a/sys/include/sys/vfs.h +++ b/sys/include/sys/vfs.h @@ -40,6 +40,7 @@ scret_t sys_close(struct syscall_args *args); scret_t sys_read(struct syscall_args *scargs); scret_t sys_write(struct syscall_args *sargs); scret_t sys_stat(struct syscall_args *scargs); +scret_t sys_access(struct syscall_args *scargs); #endif /* _KERNEL */ #endif /* !_SYS_VFS_H_ */ -- cgit v1.2.3