diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-09 23:45:45 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-09 23:46:26 -0400 |
commit | e1be7ce6b488f1dd52ddf811fc1bee54259c8fdf (patch) | |
tree | 38c58facf79e00bf88b132d9a5b40e2f62775b31 /sys/include | |
parent | 6c9ba6d8f3a22b0f20ee315435dba0eadd924210 (diff) |
kernel: vfs: Add SYS_access syscall
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/syscall.h | 1 | ||||
-rw-r--r-- | sys/include/sys/vfs.h | 1 |
2 files changed, 2 insertions, 0 deletions
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_ */ |