Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Syscalls Reference

This document provides a complete reference of all syscalls implemented in the Kyronix kernel. It is the child of Reference.

Overview

The kernel implements approximately 140 Linux x86_64 ABI-compatible syscalls plus custom jail syscalls.

Syscall Table

#Name#Name
0read1write
2open3close
4stat5fstat
6lstat7poll
8lseek9mmap
10mprotect11munmap
12brk13rt_sigaction
14rt_sigprocmask15rt_sigreturn
16ioctl17pread64
18pwrite6419readv
20writev21access
22pipe23select
25mremap29shmget
30shmat31shmctl
32dup33dup2
34pause35nanosleep
36getitimer37alarm
38setitimer39getpid
40sendfile41socket
42connect43accept
44sendto45recvfrom
46sendmsg47recvmsg
48shutdown49bind
50listen51getsockname
52getpeername53socketpair
54setsockopt55getsockopt
56clone57fork
58vfork59execve
60exit61wait4
62kill63uname
67shmdt72fcntl
76truncate77ftruncate
78getdents6479getcwd
80chdir82rename
83mkdir84rmdir
86link87unlink
88symlink89readlink
90chmod95umask
96gettimeofday97getrlimit
101ptrace102getuid
104getgid105setuid
106setgid107geteuid
108getegid109setpgid
112setsid117setresuid
119setresgid137statfs
158arch_prctl169reboot
186gettid201time
202futex213epoll_create
218set_tid_address228clock_gettime
229clock_getres230clock_nanosleep
231exit_group232epoll_wait
233epoll_ctl234tgkill
257openat262newfstatat
263unlinkat270pselect6
271ppoll280openat2
283timerfd_create284eventfd
288accept4290eventfd2
291epoll_create1292dup3
293pipe2295preadv
296pwritev302prlimit64
318getrandom319memfd_create
326copy_file_range332statx
334close_range

Custom Jail Syscalls

#Name
500jail_create
501jail_attach
502jail_get
503jail_list
504jail_remove
505jail_self
506jail_set_auto

Last reviewed: 2026-07-22