summaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-22 14:31:35 -0400
committerIan Moffett <ian@osmora.org>2024-07-22 14:31:35 -0400
commit599ef07b89aa31c089398922ef65804f47f44b55 (patch)
tree595a84a66d105f049c82c545d35a7e08868b7e17 /sys/kern/kern_syscall.c
parent0393c8b5c2e229e022dcb63a8cd171ac10a23081 (diff)
kernel: vfs_syscalls: Add sys_read()
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 2c81d2c..416a8ec 100644
--- a/sys/kern/kern_syscall.c
+++ b/sys/kern/kern_syscall.c
@@ -36,6 +36,7 @@ scret_t(*g_sctab[])(struct syscall_args *) = {
NULL, /* SYS_none */
sys_exit, /* SYS_exit */
sys_open, /* SYS_open */
+ sys_read, /* SYS_read */
};
const size_t MAX_SYSCALLS = NELEM(g_sctab);