summaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-10-29 18:34:24 -0400
committerIan Moffett <ian@osmora.org>2024-10-29 18:34:24 -0400
commitfab307311f6e1e87f1c3580b03c5a3e36d1b2645 (patch)
tree565857fd2da91914f3b969d5cc4d702df72627a1 /sys/kern/kern_syscall.c
parent44f44051847fd2685446dff6965032ae076c13b9 (diff)
kernel: syscall: Add SYS_stat
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r--sys/kern/kern_syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c
index b36c6af..f4d9cb8 100644
--- a/sys/kern/kern_syscall.c
+++ b/sys/kern/kern_syscall.c
@@ -38,6 +38,7 @@ scret_t(*g_sctab[])(struct syscall_args *) = {
sys_open, /* SYS_open */
sys_read, /* SYS_read */
sys_close, /* SYS_close */
+ sys_stat, /* SYS_stat */
};
const size_t MAX_SYSCALLS = NELEM(g_sctab);