summaryrefslogtreecommitdiff
path: root/src/sys/include/compat/unix/syscall.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-12 13:44:11 -0400
committerIan Moffett <ian@osmora.org>2025-10-12 13:44:11 -0400
commit423731942e321c9cd387669ff8c86c76867866ac (patch)
tree438ccf209c08e25e4a834f71f92e4746efd2f4bf /src/sys/include/compat/unix/syscall.h
parentda685f3cd675954abc03d675affa42a1db40de3e (diff)
kern: reboot: Add reboot system call
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/compat/unix/syscall.h')
-rw-r--r--src/sys/include/compat/unix/syscall.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h
index 2cca0bc..7a612c3 100644
--- a/src/sys/include/compat/unix/syscall.h
+++ b/src/sys/include/compat/unix/syscall.h
@@ -35,6 +35,7 @@
#include <sys/mount.h>
#include <sys/syscall.h>
#include <os/iotap.h>
+#include <os/reboot.h>
/*
* Exit the current process - exit(2) syscall
@@ -72,7 +73,8 @@ scret_t(*g_unix_sctab[])(struct syscall_args *) = {
[SYS_mount] = sys_mount,
[SYS_open] = sys_open,
[SYS_muxtap] = sys_muxtap,
- [SYS_getargv] = sys_getargv
+ [SYS_getargv] = sys_getargv,
+ [SYS_reboot] = sys_reboot
};
#endif /* !_NEED_UNIX_SCTAB */