Skip to main content

Module numbers

Module numbers 

Source

Constants§

AT_FDCWD
Base directory for *at() syscalls: use the process CWD.
SYS_ABI_VERSION
Query the ABI version.
SYS_ACCESS
Check file accessibility using the real user/group IDs.
SYS_ARCH_PRCTL
Architecture-specific process control.
SYS_ASYNC_CANCEL
Cancel a pending async wait.
SYS_ASYNC_DESTROY
Destroy an async context and release its resources.
SYS_ASYNC_ENTER
Enter async wait on a previously set up context.
SYS_ASYNC_MAP
Map a shared ring buffer to an async context for event delivery.
SYS_ASYNC_SETUP
Set up async event notification on a file descriptor.
SYS_BRK
Set or query the program break (data segment end).
SYS_CHAN_CLOSE
Close a typed channel handle.
SYS_CHAN_CREATE
Create a typed MPMC channel.
SYS_CHAN_RECV
Receive a message from a typed channel (blocks if empty).
SYS_CHAN_SEND
Send a message through a typed channel (blocks if full).
SYS_CHAN_TRY_RECV
Non-blocking receive from a typed channel.
SYS_CHDIR
Change the current working directory by path.
SYS_CHMOD
Change file permissions by path.
SYS_CLOCK_GETTIME
Get the current time of a clock.
SYS_CLOCK_NANOSLEEP
Suspend execution on a specific clock.
SYS_CLOSE
Close a file descriptor.
SYS_DEBUG_LOG
Write a debug message to the kernel log (serial console).
SYS_DUP
Duplicate a file descriptor.
SYS_DUP2
Duplicate a file descriptor to a specific number.
SYS_EXIT_GROUP
Exit all threads in the current process.
SYS_FACCESSAT
Check file accessibility relative to a directory FD.
SYS_FCHDIR
Change the current working directory by file descriptor.
SYS_FCHMOD
Change file permissions by file descriptor.
SYS_FCNTL
File control operations (fcntl).
SYS_FSTAT
Get file status information by file descriptor.
SYS_FSTATAT
Get file status relative to a directory FD.
SYS_FTRUNCATE
Truncate a file to a specified length by file descriptor.
SYS_FUTEX_CMP_REQUEUE
Conditional requeue: only requeue if *addr == cmp_val.
SYS_FUTEX_REQUEUE
Wake waiters on addr and requeue remaining waiters to addr2.
SYS_FUTEX_WAIT
Sleep on a futex word. Blocks if *addr == val.
SYS_FUTEX_WAKE
Wake up to N waiters blocked on a futex word.
SYS_FUTEX_WAKE_OP
Atomic operation on addr2 + wake waiters on addr.
SYS_GETCWD
Get the current working directory.
SYS_GETDENTS
Read directory entries from an open directory.
SYS_GETEGID
Get the effective group ID of the calling process.
SYS_GETEUID
Get the effective user ID of the calling process.
SYS_GETGID
Get the real group ID of the calling process.
SYS_GETITIMER
Get the current value of an interval timer.
SYS_GETPGID
Get the process group ID of a process.
SYS_GETPGRP
Get the current process group ID.
SYS_GETPID
Get the current process ID (alias for SYS_PROC_GETPID).
SYS_GETPPID
Get the parent process ID (alias for SYS_PROC_GETPPID).
SYS_GETRANDOM
Fill a buffer with cryptographically secure random bytes.
SYS_GETSID
Get the session ID of a process.
SYS_GETTID
Get the current thread ID (TID).
SYS_GETUID
Get the real user ID of the calling process.
SYS_GET_ROBUST_LIST
Get the robust futex list head for a process.
SYS_HANDLE_CLOSE
Close a capability handle.
SYS_HANDLE_DUPLICATE
Duplicate a capability handle.
SYS_HANDLE_GRANT
Grant a capability handle to another process.
SYS_HANDLE_INFO
Query information about a capability handle.
SYS_HANDLE_REVOKE
Revoke a capability handle.
SYS_HANDLE_WAIT
Wait on a capability handle until it becomes ready or the timeout expires.
SYS_IOCTL
Perform device-specific I/O control operations.
SYS_IPC_BIND_PORT
Bind a port as a listener in the IPC namespace.
SYS_IPC_CALL
Synchronous RPC: send a message and wait for a reply.
SYS_IPC_CONNECT
Connect to a bound IPC port by name.
SYS_IPC_CREATE_PORT
Create a new IPC port.
SYS_IPC_RECV
Receive a message from an IPC port.
SYS_IPC_REPLY
Reply to the current IPC call.
SYS_IPC_RING_CREATE
Create a shared ring buffer for zero-copy IPC.
SYS_IPC_RING_MAP
Map a shared ring buffer into the current address space.
SYS_IPC_SEND
Send a message to an IPC port.
SYS_IPC_TRY_RECV
Non-blocking receive from an IPC port.
SYS_IPC_UNBIND_PORT
Unbind a listening port from the IPC namespace.
SYS_KILL
Send a signal to a process.
SYS_KILLPG
Send a signal to all processes in a process group.
SYS_LINK
Create a hard link to an existing file.
SYS_LSEEK
Set the file position of a file descriptor.
SYS_MEM_REGION_EXPORT
Export a memory region as a shareable handle.
SYS_MEM_REGION_INFO
Query metadata about an exported memory region.
SYS_MEM_REGION_MAP
Map an exported memory region into the current address space.
SYS_MKDIR
Create a directory by path.
SYS_MKDIRAT
Create a directory relative to a directory FD.
SYS_MMAP
Map a memory region into the process address space.
SYS_MODULE_GET_SYMBOL
Look up a symbol address in a loaded kernel module.
SYS_MODULE_LOAD
Load a kernel module from a CMOD binary.
SYS_MODULE_QUERY
List all loaded kernel modules.
SYS_MODULE_UNLOAD
Unload a previously loaded kernel module.
SYS_MPROTECT
Change memory protection flags on a mapped region.
SYS_MREMAP
Remap a memory region to a new address or size.
SYS_MUNMAP
Unmap a memory region.
SYS_NANOSLEEP
Suspend execution for a specified duration.
SYS_NET_INFO
Query network interface information.
SYS_NET_RECV
Receive a network packet.
SYS_NET_SEND
Send a network packet.
SYS_NULL
No-op syscall. Used for benchmarking syscall overhead.
SYS_OPEN
Open a file by path.
SYS_OPENAT
Open a file relative to a directory FD.
SYS_PCI_CFG_READ
Read a PCI configuration space register.
SYS_PCI_CFG_WRITE
Write a PCI configuration space register.
SYS_PCI_ENUM
Enumerate PCI devices matching specified criteria.
SYS_PIPE
Create a pipe pair for inter-process communication.
SYS_POLL
Poll multiple file descriptors for events.
SYS_PPOLL
Poll with signal mask (ppoll).
SYS_PREAD
Read from a file descriptor at a specific offset.
SYS_PROC_EXECVE
Execute a new program, replacing the current process image.
SYS_PROC_EXIT
Terminate the current process with an exit code.
SYS_PROC_FORK
Fork the current process (copy-on-write).
SYS_PROC_GETPID
Get the current process ID (PID).
SYS_PROC_GETPPID
Get the parent process ID (PPID).
SYS_PROC_WAIT
Wait for any child process to change state.
SYS_PROC_WAITPID
Wait for a specific child process to change state.
SYS_PROC_YIELD
Yield the CPU to the scheduler.
SYS_PWRITE
Write to a file descriptor at a specific offset.
SYS_READ
Read data from a file descriptor.
SYS_READLINK
Read the target of a symbolic link.
SYS_READLINKAT
Read the target of a symbolic link relative to a directory FD.
SYS_RENAME
Rename or move a file.
SYS_RENAMEAT
Rename or move a file between two directory FDs.
SYS_RMDIR
Remove an empty directory by path.
SYS_RT_SIGRETURN
Return from a signal handler.
SYS_SEM_CLOSE
Close a semaphore handle.
SYS_SEM_CREATE
Create a POSIX counting semaphore.
SYS_SEM_POST
Increment (post) a semaphore, waking a waiter if any.
SYS_SEM_TRYWAIT
Non-blocking decrement (trywait) on a semaphore.
SYS_SEM_WAIT
Decrement (wait on) a semaphore. Blocks if the count is zero.
SYS_SETGID
Set the real group ID of the calling process.
SYS_SETITIMER
Set an interval timer.
SYS_SETPGID
Set the process group ID of a process.
SYS_SETSID
Create a new session and set the process group ID.
SYS_SETUID
Set the real user ID of the calling process.
SYS_SET_ROBUST_LIST
Set the robust futex list head for the current thread.
SYS_SET_TID_ADDRESS
Set the clear-on-exit TID address for the current thread.
SYS_SIGACTION
Set the action for a signal.
SYS_SIGALTSTACK
Set the alternate signal stack for the current thread.
SYS_SIGPENDING
Get the set of pending signals for the current thread.
SYS_SIGPROCMASK
Get or set the signal mask of the current thread.
SYS_SIGQUEUE
Queue a signal with associated data to a process.
SYS_SIGSUSPEND
Suspend the current thread until a signal is delivered.
SYS_SIGTIMEDWAIT
Suspend the current thread until a specific signal is delivered.
SYS_SILO_ATTACH_MODULE
Attach a kernel module to a silo.
SYS_SILO_CONFIG
Configure a silo’s properties.
SYS_SILO_CREATE
Create a new silo (process isolation container).
SYS_SILO_ENTER_SANDBOX
Enter sandbox mode (irreversible).
SYS_SILO_EVENT_NEXT
Wait for the next event from a silo.
SYS_SILO_KILL
Force-kill a silo immediately (SIGKILL).
SYS_SILO_PLEDGE
Restrict syscalls available to a silo (pledge).
SYS_SILO_RENAME
Rename a silo.
SYS_SILO_RESUME
Resume a suspended silo.
SYS_SILO_START
Start a silo (begin execution of its attached module).
SYS_SILO_STOP
Stop a silo gracefully (sends SIGTERM, waits for cleanup).
SYS_SILO_SUSPEND
Suspend a running silo (freeze its threads).
SYS_SILO_UNVEIL
Restrict filesystem access for a silo (unveil).
SYS_STAT
Get file status information by path.
SYS_SYMLINK
Create a symbolic link.
SYS_TGKILL
Send a signal to a specific thread.
SYS_THREAD_CREATE
Create a new thread within the current process.
SYS_THREAD_EXIT
Terminate the current thread.
SYS_THREAD_JOIN
Wait for a thread to exit.
SYS_TRANSPORT_CLOSE
Close an IPC transport and release its resources.
SYS_TRANSPORT_CREATE
Create an IPC transport between two silos.
SYS_TRANSPORT_INFO
Query information about an IPC transport.
SYS_TRANSPORT_RECV
Receive a message from an IPC transport.
SYS_TRANSPORT_SEND
Send a message through an IPC transport.
SYS_TRUNCATE
Truncate a file to a specified length by path.
SYS_UMASK
Set the file mode creation mask.
SYS_UNAME
Get system identification information.
SYS_UNLINK
Delete a file by path.
SYS_UNLINKAT
Delete a file relative to a directory FD.
SYS_VOLUME_INFO
Query information about a block device volume.
SYS_VOLUME_READ
Read data from a block device volume.
SYS_VOLUME_WRITE
Write data to a block device volume.
SYS_WRITE
Write data to a file descriptor.