syscall: add lots of syscalls

This commit is contained in:
2026-02-19 19:21:50 +00:00
parent dbc7b8fc59
commit 1d4fd4f586
8 changed files with 1061 additions and 14 deletions

8
syscall/handle.c Normal file
View File

@@ -0,0 +1,8 @@
#include <kernel/sched.h>
#include <kernel/syscall.h>
kern_status_t sys_kern_handle_close(kern_handle_t handle)
{
struct task *self = current_task();
return task_close_handle(self, handle);
}