A categorized list of system calls used by popular Unix-like operating systems.
Since the system calls are the primary way of how the OS processes interact with the outside world, this list can be very useful when evaluating what is possible or not on a given operating system.
There are various system call dumps on the internet and attempts to classify and group system calls in various research papers, but it's very hard to find both in the same place. And even if you do, chances are they will be wildly outdated and will only target a single OS.
The awesome word is used deliberately as an alias for "collection of", to help people Googling this project.
-
OpenBSD (π‘) β 220
-
Linux (π§) β 359
-
FreeBSD (π) β 402
-
Darwin (π) β 455
Name | OS | Description |
---|---|---|
fork |
π‘, π, π | create a child process |
vfork |
π‘, π, π | create a child process and block parent |
clone |
π§ | create a child process or thread |
clone3 |
π§ | create a child process or thread |
posix_spawn |
π | spawn a process |
execve |
π‘, π§, π, π | execute a program |
execveat |
π§ | execute a program (relative to a directory file descriptor) |
wait4 |
π‘, π§, π, π | wait for process to change state |
waitid |
π‘, π§, π | wait for process to change state |
exit |
π‘, π§, π, π | terminate the calling process |
Name | OS | Description |
---|---|---|
tkill |
π§ | send a signal to a thread |
tgkill |
π§ | send a signal to a thread in a thread group |
thrkill |
π‘ | send a signal to a thread |
exit_group |
π§ | exit all threads in a process's thread group |
set_tid_address |
π§ | set pointer to a thread ID |
__get_tcb |
π‘ | get the address of the thread control block of the current thread |
__set_tcb |
π‘ | set the address of the thread control block of the current thread |
__tfork |
π‘ | create a new kernel thread in the current process |
__thrsleep |
π‘ | userspace thread sleep |
__thrwakeup |
π‘ | userspace thread wakeup |
Name | OS | Description |
---|---|---|
getcwd |
π§ | get current working directory |
__getcwd |
π‘, π | get current working directory |
chdir |
π‘, π§, π, π | set current working directory |
fchdir |
π‘, π§, π, π | set current working directory (referenced by a file descriptor) |
chroot |
π‘, π§, π, π | change root directory |
pivot_root |
π§, π | change root mount |
umask |
π‘, π§, π, π | set file creation mode mask |
setfsuid |
π§ | set user identity used for filesystem checks |
setfsgid |
π§ | set group identity used for filesystem checks |
Name | OS | Description |
---|---|---|
getuid |
π‘, π§, π, π | get real user ID |
setuid |
π‘, π§, π, π | set real user ID |
geteuid |
π‘, π§, π, π | get effective user ID |
seteuid |
π‘, π, π | set effective user ID |
getresuid |
π‘, π§, π | get real, effective and saved user IDs |
setresuid |
π‘, π§, π | set real, effective and saved user IDs |
setreuid |
π‘, π§, π, π | set real and effective user IDs |
Name | OS | Description |
---|---|---|
getgid |
π‘, π§, π, π | get real group ID |
setgid |
π‘, π§, π, π | set real group ID |
getegid |
π‘, π§, π, π | get effective group ID |
setegid |
π‘, π, π | set effective group ID |
getresgid |
π‘, π§, π | get real, effective and saved group IDs |
setresgid |
π‘, π§, π | set real, effective and saved group IDs |
setregid |
π‘, π§, π, π | set real and effective group IDs |
getgroups |
π‘, π§, π, π | get supplementary group IDs |
setgroups |
π‘, π§, π, π | set supplementary group IDs |
Name | OS | Description |
---|---|---|
getpgrp |
π‘, π, π | get process group |
getpgid |
π‘, π§, π, π | get process group (referenced by a process ID) |
setpgid |
π‘, π§, π, π | set process group (referenced by a process ID) |
getsid |
π‘, π§, π, π | get process session ID |
setsid |
π‘, π§, π, π | set process sesssion ID |
getlogin_r |
π‘ | get login name of the user associated with current session |
setlogin |
π‘, π, π | set login name of the user associated with current session |
Name | OS | Description |
---|---|---|
kill |
π‘, π§, π, π | send signal to a process |
pidfd_send_signal |
π§ | send signal to a process (referenced by a file descriptor) |
sigaction |
π‘, π, π | examine and change a signal action |
rt_sigaction |
π§ | examine and change a signal action |
sigaltstack |
π‘, π§, π, π | manipulate signal stack context |
sigpending |
π‘, π, π | examine pending signals |
rt_sigpending |
π§ | examine pending signals |
sigprocmask |
π‘, π, π | examine and change blocked signals |
rt_sigprocmask |
π§ | examine and change blocked signals |
sigreturn |
π‘, π, π | return from the signal handler |
rt_sigreturn |
π§ | return from the signal handler |
sigsuspend |
π‘, π, π | wait for signal |
rt_sigsuspend |
π§ | wait for signal |
rt_sigtimedwait |
π§ | synchronously wait for queued signals |
rt_sigqueueinfo |
π§ | queue a signal and data |
rt_tgsigqueueinfo |
π§ | queue a signal and data |
__thrsigdivert |
π‘ | synchronously accept a signal |
Name | OS | Description |
---|---|---|
brk |
π§ | change data segment size |
mmap |
π‘, π§, π, π | map files or devices into memory |
mmap2 |
π§ | map files or devices into memory |
mremap |
π§ | remap a virtual memory address |
remap_file_pages |
π§ | create a nonlinear file mapping |
munmap |
π‘, π§, π, π | remove a mapping |
Name | OS | Description |
---|---|---|
mlock |
π‘, π§, π, π | lock physical pages in memory |
mlock2 |
π§ | lock physical pages in memory |
mlockall |
π‘, π§, π, π | lock the address space of a process |
mincore |
π§, π, π | determine whether pages are resident in memory |
munlock |
π‘, π§, π, π | unlock physical pages in memory |
munlockall |
π‘, π§, π, π | unlock the address space of a process |
Name | OS | Description |
---|---|---|
mprotect |
π‘, π§, π, π | control the protection of pages |
minherit |
π‘, π, π | control the inheritance of pages |
mimmutable |
π‘ | control the immutability of pages |
kbind |
π‘ | update protected memory for lazy-binding |
pkey_alloc |
π§ | allocate a protection key |
pkey_mprotect |
π§ | control the protection of pages and their protection keys |
pkey_free |
π§ | free a protection key |
Name | OS | Description |
---|---|---|
madvise |
π‘, π§, π, π | give advice about use of memory |
process_madvise |
π§ | give advice about use of memory to a process |
mquery |
π‘ | provide mapping hints to applications |
msync |
π‘, π§, π, π | synchronize a mapped region |
Name | OS | Description |
---|---|---|
getitimer |
π‘, π§, π, π | get value of interval timer |
setitimer |
π‘, π§, π, π | set value of interval timer |
timer_create |
π§ | create a POSIX per-process timer |
timer_gettime |
π§ | fetch state of POSIX per-process timer |
timer_settime |
π§ | arm/disarm the POSIX per-process timer |
timer_getoverrun |
π§ | get overrun count for a POSIX per-process timer |
timer_delete |
π§ | delete a POSIX per-process timer |
timerfd_gettime |
π§, π | fetch state of a timer that notifies via file descriptor |
timerfd_settime |
π§, π | arm/disarm a timer that notifies via file descriptor |
Name | OS | Description |
---|---|---|
getpid |
π‘, π§, π, π | get process ID |
getppid |
π‘, π§, π, π | get process ID of the parent |
gettid |
π§, π | get thread ID |
getthrid |
π‘ | get thread ID |
getthrname |
π‘ | get thread name |
setthrname |
π‘ | set thread name |
issetugid |
π‘, π, π | check if current executable is running setuid or setgid |
personality |
π§ | set the process execution domain |
Name | OS | Description |
---|---|---|
getcpu |
π§ | determine CPU and NUMA node on which the calling thread is running |
get_mempolicy |
π§ | retrieve NUMA memory policy for a thread |
set_mempolicy |
π§ | set default NUMA memory policy for a thread |
mbind |
π§ | set memory policy for a memory range |
move_pages |
π§ | move individual pages of a process to another node |
migrate_pages |
π§ | move all pages in a process to another set of nodes |
Name | OS | Description |
---|---|---|
getpriority |
π‘, π§, π, π | get process scheduling priority |
setpriority |
π‘, π§, π, π | set process scheduling priority |
sched_yield |
π‘, π§, π | yield the processor |
sched_getparam |
π§, π | get scheduling parameters |
sched_setparam |
π§, π | set scheduling parameters |
sched_getscheduler |
π§, π | get scheduling policy/parameters |
sched_setscheduler |
π§, π | set scheduling policy/parameters |
sched_getattr |
π§ | get scheduling policy and attributes |
sched_setattr |
π§ | set scheduling policy and attributes |
sched_get_priority_min |
π§, π | get static priority range |
sched_get_priority_max |
π§, π | get static priority range |
sched_rr_get_interval |
π§, π | get the SCHED_RR interval (referenced by a process ID) |
sched_getaffinity |
π§ | get thread's CPU affinity mask |
sched_setaffinity |
π§ | set thread's CPU affinity mask |
ioprio_get |
π§ | get I/O scheduling class and and priority |
ioprio_set |
π§ | set I/O scheduling class and and priority |
Name | OS | Description |
---|---|---|
getrlimit |
π‘, π§, π, π | get resource limits |
setrlimit |
π‘, π§, π, π | set resource limits |
prlimit64 |
π§ | control resource limits (referenced by a process ID) |
getrusage |
π‘, π§, π, π | get resource usage |
times |
π§ | get process times |
Name | OS | Description |
---|---|---|
vhangup |
π§ | virtually hangup the current terminal |
Name | OS | Description |
---|---|---|
getrtable |
π‘ | get default routing table of the current process |
setrtable |
π‘ | set default routing table of the current process |
Name | OS | Description |
---|---|---|
nanosleep |
π‘, π§, π | high-resolution sleep |
clock_nanosleep |
π§, π | high-resolution sleep with specifiable clock |
Name | OS | Description |
---|---|---|
futex |
π‘, π§ | fast userspace locking primitive |
futex_waitv |
π§ | wait on array of futexes |
membarrier |
π§, π | issue memory barriers on a set of threads |
get_robust_list |
π§ | get list of robust futexes |
set_robust_list |
π§ | set list of robust futexes |
Name | OS | Description |
---|---|---|
ktrace |
π‘, π | configure process tracing |
ptrace |
π‘, π§, π, π | configure process tracing |
process_vm_readv |
π§ | transfer data between process address spaces |
process_vm_writev |
π§ | transfer data between process address spaces |
prctl |
π§ | various operations on a process or a thread |
kcmp |
π§, π | compare two processes to determine if they share a kernel resource |
Name | OS | Description |
---|---|---|
open |
π‘, π, π | open or create a file |
openat |
π‘, π§, π, π | open or create a file (relative to a directory file descriptor) |
openat2 |
π§ | open or create a file (relative to a directory file descriptor) |
getfh |
π‘, π, π | obtain a handle for a path |
name_to_handle_at |
π§ | obtain a handle for a path |
fhopen |
π‘, π, π | open file via a handle |
open_by_handle_at |
π§ | open file via a handle |
Name | OS | Description |
---|---|---|
pipe |
π‘, π | create a pipe |
pipe2 |
π‘, π§, π | create a pipe |
Name | OS | Description |
---|---|---|
eventfd2 |
π§ | create a file descriptor for event notification |
memfd_create |
π§ | create an anonymous file |
memfd_secret |
π§ | create an anonymous RAM-based file to access secret memory regions |
timerfd_create |
π§, π | create a timer that notifies via file descriptor |
userfaultfd |
π§ | create a file descriptor for handling page faults in user space |
signalfd4 |
π§ | create a file descriptor for accepting signals |
pidfd_open |
π§ | obtain a file descriptor that refers to a process |
pidfd_getfd |
π§ | obtain a duplicate of another process's file descriptor |
Name | OS | Description |
---|---|---|
dup |
π‘, π§, π, π | duplicate an existing file descriptor |
dup2 |
π‘, π, π | duplicate an existing file descriptor |
dup3 |
π‘, π§ | duplicate an existing file descriptor |
Name | OS | Description |
---|---|---|
fcntl |
π‘, π§, π, π | file control |
ioctl |
π‘, π§, π, π | device control |
lseek |
π‘, π§, π, π | reposition read/write file offset |
llseek |
π§ | reposition read/write file offset |
getdtablecount |
π‘ | get descriptor table count |
Name | OS | Description |
---|---|---|
fadvise64 |
π§ | predeclare an access pattern for file data |
fadvise64_64 |
π§ | predeclare an access pattern for file data |
readahead |
π§ | initiate file readahead into page cache |
Name | OS | Description |
---|---|---|
read |
π‘, π§, π, π | read from a file descriptor |
readv |
π‘, π§, π, π | read from a file descriptor |
pread |
π‘, π, π | read from a file descriptor at the specified offset |
preadv |
π‘, π§, π, π | read from a file descriptor at the specified offset |
preadv2 |
π§ | read from a file descriptor at the specified offset |
Name | OS | Description |
---|---|---|
write |
π‘, π§, π, π | write to a file descriptor |
writev |
π‘, π§, π, π | write to a file descriptor |
pwrite |
π‘, π, π | write to a file descriptor at the specified offset |
pwritev |
π‘, π§, π, π | write to a file descriptor at the specified offset |
pwritev2 |
π§ | write to a file descriptor at the specified offset |
Name | OS | Description |
---|---|---|
copy_file_range |
π§, π | copy a range of bytes between two file descriptors that refer to files |
sendfile |
π§, π, π | move data from source (must support mmap -like operations) to a destination file descriptor |
tee |
π§ | duplicate pipe content |
splice |
π§ | move data to/from a pipe |
vmsplice |
π§ | splice user pages to/from a pipe |
Name | OS | Description |
---|---|---|
close |
π‘, π§, π, π | close a file descriptor |
closefrom |
π‘ | close all file descriptors starting from the specified file descriptor |
close_range |
π§, π | close all file descriptors in a given range |
Name | OS | Description |
---|---|---|
mkdir |
π‘, π, π | create a directory file |
mkdirat |
π‘, π§, π, π | create a directory file (relative to a directory file descriptor) |
mkfifo |
π‘, π, π | create a FIFO file |
mkfifoat |
π‘, π, π | create a FIFO file (relative to a directory file descriptor) |
mknod |
π‘, π | create a special file node |
mknodat |
π‘, π§, π, π | create a special file node (relative to a directory file descriptor) |
link |
π‘, π, π | create a hard link to file |
linkat |
π‘, π§, π, π | create a hard link to file (relative to a directory file descriptor) |
symlink |
π‘, π, π | create a symbolic link to file |
symlinkat |
π‘, π§, π, π | create a symbolic link to file (relative to a directory file descriptor) |
Name | OS | Description |
---|---|---|
rename |
π‘, π, π | change the name or location of a file |
renameat |
π‘, π§, π, π | change the name or location of a file (relative to a directory file descriptor) |
renameat2 |
π§ | change the name or location of a file (relative to a directory file descriptor) |
renameatx_np |
π | change the name or location of a file (relative to a directory file descriptor) |
clonefileat |
π | create a copy-on-write clone of files |
fclonefileat |
π | create a copy-on-write clone of files (referenced by a file descriptor) |
truncate |
π‘, π§, π, π | truncate or extend a file to a specified length |
ftruncate |
π‘, π§, π, π | truncate or extend a file to a specified length (referenced by a file descriptor) |
fallocate |
π§ | manipulate file space |
Name | OS | Description |
---|---|---|
access |
π‘, π, π | check access permissions for a file |
faccessat |
π‘, π§, π, π | check access permissions for a file (relative to a directory file descriptor) |
faccessat2 |
π§ | check access permissions for a file (relative to a directory file descriptor) |
chmod |
π‘, π, π | change mode of file |
fchmod |
π‘, π§, π, π | change mode of file (referenced by a file descriptor) |
fchmodat |
π‘, π§, π, π | change mode of file (relative to a directory file descriptor) |
fchmodat2 |
π§ | change mode of file (relative to a directory file descriptor) |
chown |
π‘, π, π | change owner and group of a file |
lchown |
π‘, π, π | change owner and group of a file |
fchown |
π‘, π§, π, π | change owner and group of a file (referenced by a file descriptor) |
fchownat |
π‘, π§, π, π | change owner and group of a file (relative to a directory file descriptor) |
chflags |
π‘, π, π | set file flags |
fchflags |
π‘, π, π | set file flags (referenced by a file descriptor) |
chflagsat |
π‘, π | set file flags (relative to a directory file descriptor) |
Name | OS | Description |
---|---|---|
readlink |
π‘, π, π | read value of a symbolic link |
readlinkat |
π‘, π§, π, π | read value of a symbolic link (relative to a directory file descriptor) |
stat |
π‘, π§, π | get file status |
lstat |
π‘, π§, π | get file status |
fstat |
π‘, π§, π, π | get file status (referenced by a file handle) |
fstatat |
π‘, π, π | get file status (relative to a directory file descriptor) |
statx |
π§ | get file status (relative to a directory file descriptor) |
fhstat |
π‘, π | get file status (referenced by a file handle) |
statfs |
π‘, π§, π, π | get file system statistics |
fstatfs |
π‘, π§, π, π | get file system statistics (referenced by a file descriptor) |
fhstatfs |
π‘, π | get file system statistics (referenced by a file handle) |
newfstatat |
π§ | get file system statistics (relative to a directory file descriptor) |
utimes |
π‘, π, π | set file access and modification times |
lutimes |
π | set file access and modification times |
utimensat |
π‘, π§, π | set file access and modification times (relative to a directory file descriptor) |
futimes |
π‘, π, π | set file access and modification times |
futimens |
π‘, π | set file access and modification times |
getdents |
π‘ | get directory entries in a filesystem independent format |
Name | OS | Description |
---|---|---|
unlink |
π‘, π, π | remove directory entry |
unlinkat |
π‘, π§, π, π | remove directory entry (relative to a directory file descriptor) |
rmdir |
π‘, π, π | remove a directory file |
Name | OS | Description |
---|---|---|
flock |
π‘, π§, π, π | apply or remove an advisory lock on an open file |
Name | OS | Description |
---|---|---|
mount |
π‘, π§, π, π | mount a filesystem |
getfsstat |
π‘, π, π | get list of all mounted file systems |
unmount |
π‘, π, π | dismount a filesystem |
umount2 |
π§ | dismount a filesystem |
Name | OS | Description |
---|---|---|
sync |
π‘, π§, π, π | synchronize disk in-core state with storage device |
fsync |
π‘, π§, π, π | synchronize file in-core state with storage device |
fdatasync |
π§, π, π | synchronize file in-core state with storage device |
sync_file_range |
π§ | synchronize file's segment with disk |
sync_file_range2 |
π§ | synchronize file's segment with disk |
syncfs |
π§ | commit filesystem caches to disk |
Name | OS | Description |
---|---|---|
getxattr |
π§, π | retrieve an extended attribute value |
lgetxattr |
π§ | retrieve an extended attribute value |
fgetxattr |
π§, π | retrieve an extended attribute value (referenced by a file descriptor) |
setxattr |
π§, π | set an extended attribute value |
lsetxattr |
π§ | set an extended attribute value |
fsetxattr |
π§, π | set an extended attribute value (referenced by a file descriptor) |
listxattr |
π§, π | list extended attribute names |
llistxattr |
π§ | list extended attribute names |
flistxattr |
π§, π | list extended attribute names (referenced by a file descriptor) |
removexattr |
π§, π | remove an extended attribute |
lremovexattr |
π§ | remove an extended attribute |
fremovexattr |
π§, π | remove an extended attribute (referenced by a file descriptor) |
Name | OS | Description |
---|---|---|
inotify_init1 |
π§ | initialize an inotify(7) instance |
inotify_add_watch |
π§ | add a watch to an initialized inotify(7) instance |
inotify_rm_watch |
π§ | remove an existing watch from an inotify(7) instance |
fanotify_init |
π§ | create and initialize fanotify(7) group |
fanotify_mark |
π§ | add, remove, or modify an fanotify(7) mark on a filesystem object |
Name | OS | Description |
---|---|---|
pathconf |
π‘, π, π | get configurable pathname variables |
fpathconf |
π‘, π, π | get configurable pathname variables (referenced by a file descriptor) |
Name | OS | Description |
---|---|---|
socket |
π‘, π§, π, π | create an endpoint for communication |
socketpair |
π‘, π§, π, π | create a pair of connected sockets |
Name | OS | Description |
---|---|---|
connect |
π‘, π§, π, π | initiate a connection on a socket |
bind |
π‘, π§, π, π | bind a name to a socket |
listen |
π‘, π§, π, π | listen for connections on a socket |
accept |
π‘, π§, π, π | accept a connection on a socket |
accept4 |
π‘, π§, π | accept a connection on a socket |
Name | OS | Description |
---|---|---|
getsockname |
π‘, π§, π, π | get local protocol address associated with a socket |
getpeername |
π‘, π§, π, π | get remote protocol address associated with a socket |
getsockopt |
π‘, π§, π, π | get socket options |
setsockopt |
π‘, π§, π, π | set socket options |
Name | OS | Description |
---|---|---|
recvfrom |
π‘, π§, π, π | receive a message from a socket |
recvmsg |
π‘, π§, π, π | receive a message from a socket |
recvmmsg |
π‘, π§ | receive a message from a socket |
sendto |
π‘, π§, π, π | send a message on a socket |
sendmsg |
π‘, π§, π, π | send a message on a socket |
sendmmsg |
π‘, π§ | send a message on a socket |
shutdown |
π‘, π§, π, π | disable sends or receives on a socket |
Name | OS | Description |
---|---|---|
nfssvc |
π‘, π, π | NFS daemon services |
nfsservctl |
π§ | NFS daemon services |
Name | OS | Description |
---|---|---|
select |
π‘, π, π | synchronous I/O multiplexing |
pselect |
π‘, π, π | synchronous I/O multiplexing |
pselect6 |
π§ | synchronous I/O multiplexing |
poll |
π‘, π, π | synchronous I/O multiplexing |
ppoll |
π‘, π§, π | synchronous I/O multiplexing |
kqueue |
π‘, π, π | create a new kernel event queue |
kqueue1 |
π‘ | create a new kernel event queue |
kevent |
π‘, π, π | register events with the kernel event queue |
epoll_create1 |
π§ | open an epoll(7) file descriptor |
epoll_ctl |
π§ | control interface for an epoll(7) file descriptor |
epoll_pwait |
π§ | wait for an I/O event on an epoll(7) file descriptor |
epoll_pwait2 |
π§ | wait for an I/O event on an epoll(7) file descriptor |
Name | OS | Description |
---|---|---|
aio_read |
π, π | asynchronous read from a file |
aio_write |
π, π | asynchronous write to a file |
aio_fsync |
π, π | asynchronous fsync |
aio_mlock |
π | asynchronous mlock |
aio_return |
π, π | retrieve return status of an asynchronous I/O operation |
aio_error |
π, π | retrieve error status of asynchronous I/O operation |
aio_suspend |
π, π | suspend until asynchronous I/O operations complete or time out |
aio_waitcomplete |
π | wait for the next completion of an asynchronous I/O operation |
aio_cancel |
π, π | cancel an outstanding asynchronous I/O operation |
Name | OS | Description |
---|---|---|
io_setup |
π§ | create an asynchronous I/O context |
io_submit |
π§ | submit asynchronous I/O blocks for processing |
io_getevents |
π§ | read asynchronous I/O events from the completion queue |
io_pgetevents |
π§ | read asynchronous I/O events from the completion queue |
io_cancel |
π§ | cancel an outstanding asynchronous I/O operation |
io_destroy |
π§ | destroy an asynchronous I/O context |
Name | OS | Description |
---|---|---|
io_uring_setup |
π§ | setup a context for performing asynchronous I/O |
io_uring_register |
π§ | register files or user buffers for asynchronous I/O |
io_uring_enter |
π§ | initiate and/or complete asynchronous I/O |
Name | OS | Description |
---|---|---|
seccomp |
π§ | operate on Secure Computing state of the process |
revoke |
π‘, π, π | revoke file access |
pledge |
π‘ | force the current process into a restricted-service operating mode |
unveil |
π‘ | unveil parts of a restricted filesystem view |
See Jails and Containers chapter in the FreeBSD Handbook for more details.
Name | OS | Description |
---|---|---|
jail |
π | sets up a jail and locks the current process in it |
jail_attach |
π | attaches the current process to an existing jail |
jail_get |
π | retrieves jail parameters |
jail_set |
π | creates a new jail or modifies an existing one |
jail_remove |
π | removes the jail |
See capabilities(7)
man page for more details.
Name | OS | Description |
---|---|---|
capget |
π§ | get capabilities of thread(s) |
capset |
π§ | set capabilities of thread(s) |
See namespaces(7)
man page for more details.
Name | OS | Description |
---|---|---|
setns |
π§ | reassociate thread with a namespace |
unshare |
π§ | disassociate parts of the process execution context |
See landlock(7)
man page for more details.
Name | OS | Description |
---|---|---|
landlock_create_ruleset |
π§ | create a new Landlock ruleset |
landlock_add_rule |
π§ | add a new Landlock rule to a ruleset |
landlock_restrict_self |
π§ | enforce a Landlock ruleset |
Name | OS | Description |
---|---|---|
getentropy |
π‘, π | get high-quality entropy |
getrandom |
π§, π | get high-quality entropy |
See Kernel Key Retention Service documentation for more details.
Name | OS | Description |
---|---|---|
add_key |
π§ | add a key to the kernel's key management facility |
request_key |
π§ | request a key from the kernel's key management facility |
keyctl |
π§ | manipulate the kernel's key management facility |
Name | OS | Description |
---|---|---|
semget |
π‘, π§, π, π | retrieve semaphore set |
semop |
π‘, π§, π, π | atomic operations on a set of semaphores |
semtimedop |
π§ | atomic operations on a set of semaphores (with timeout) |
semctl |
π§, π | control operations on a set of semaphores |
__semctl |
π‘, π | control operations on a set of semaphores |
Name | OS | Description |
---|---|---|
msgget |
π‘, π§, π, π | retrieve message queue |
msgrcv |
π‘, π§, π, π | receive a message from a message queue |
msgsnd |
π‘, π§, π, π | send a message to a message queue |
msgctl |
π‘, π§, π, π | control operations on a message queue |
mq_open |
π§ | open a message queue |
mq_timedreceive |
π§ | receive a message from a message queue |
mq_timedsend |
π§ | send a message to a message queue |
mq_notify |
π§ | register for notification when a message is available |
mq_getsetattr |
π§ | get/set message queue attributes |
mq_unlink |
π§ | remove a message queue |
Name | OS | Description |
---|---|---|
shmat |
π‘, π§, π, π | map shared memory area |
shmget |
π‘, π§, π, π | get shared memory area identifier |
shmctl |
π‘, π§, π, π | shared memory area control operations |
shmdt |
π‘, π§, π, π | unmap shared memory area |
Name | OS | Description |
---|---|---|
reboot |
π‘, π§, π, π | reboot system or halt processor |
sysctl |
π‘, π | manipulate system information |
sysinfo |
π§ | return system information |
uname |
π§ | get name and information about current kernel |
sethostname |
π§ | manipulate hostname |
setdomainname |
π§ | manipulate NIS domain name |
Name | OS | Description |
---|---|---|
init_module |
π§ | load a kernel module |
finit_module |
π§ | load a kernel module (referenced by a file descriptor) |
delete_module |
π§ | unload a kernel module |
Name | OS | Description |
---|---|---|
kexec_load |
π§ | load a new kernel for later execution |
kexec_file_load |
π§ | load a new kernel for later execution (referenced by a file descriptor) |
See kld(4)
man page for more details
Name | OS | Description |
---|---|---|
kldload |
π | load KLD file into the kernel |
kldunload |
π | unload KLD fileid from the kernel |
kldunloadf |
π | unload KLD fileid from the kernel |
kldsym |
π | look up address by symbol name in a KLD file |
kldfind |
π | return the fileid of a KLD file |
kldnext |
π | return the fileid of the next KLD file |
kldstat |
π | get status of a KLD file |
kldfirstmod |
π | return first module ID from the KLD file |
Name | OS | Description |
---|---|---|
syslog |
π§ | read and/or clear kernel message ring buffer |
sendsyslog |
π‘ | send a message to syslogd(8) daemon |
utrace |
π‘, π | insert user record in ktrace(2) log |
Name | OS | Description |
---|---|---|
swapctl |
π‘ | modify swap configuration |
swapon |
π§, π, π | start swapping to a file/device |
swapoff |
π§, π | stop swapping from a file/device |
Name | OS | Description |
---|---|---|
gettimeofday |
π‘, π§, π, π | get the time of day |
settimeofday |
π‘, π§, π, π | set the time of day |
clock_gettime |
π‘, π§, π | get the time of a given clock |
clock_settime |
π‘, π§, π | set the time for a given clock |
clock_getres |
π‘, π§, π | get the resolution of a given clock |
clock_adjtime |
π§ | tune a given clock |
adjtime |
π‘, π, π | tune the system clock |
adjtimex |
π§ | tune the system clock |
adjfreq |
π‘ | correct the rate of the system clock |
Name | OS | Description |
---|---|---|
acct |
π‘, π§, π, π | enable or disable process accounting |
quotactl |
π‘, π§, π, π | manipulate filesystem quotas |
Name | OS | Description |
---|---|---|
bpf |
π§ | manipulate extended Berkeley Packet Filters |
perf_event_open |
π§ | set up performance monitoring |
profil |
π‘, π | manipulate program counter profiling of the current process |
Name | OS | Description |
---|---|---|
syscall |
π, π | indirect system call |
__syscall |
π | indirect system call |
sysarch |
π‘, π | architecture-dependent system call |
arch_specific_syscall |
π§ | architecture-dependent system call |
restart_syscall |
π§ | restart a system call after interruption by a stop signal |