Linux 5.18 syscall changes
Removed in Linux 5.18
| SYSCALL | DESCRIPTION | ARCHITECTURES AND NUMBERS |
|---|---|---|
| accept | accept a connection on a socket | nds32 202 |
| accept4 | accept a connection on a socket | nds32 242 |
| acct | switch process accounting on or off | nds32 89 |
| add_key | add a key to the kernel's key management facility | nds32 217 |
| adjtimex | tune kernel clock | nds32 171 |
| bind | bind a name to a socket | nds32 200 |
| bpf | perform a command on an extended BPF map or program | nds32 280 |
| brk | change data segment size | nds32 214 |
| cacheflush | flush contents of instruction and/or data cache | nds32 244 |
| capget | set/get capabilities of thread(s) | nds32 90 |
| capset | set/get capabilities of thread(s) | nds32 91 |
| chdir | change working directory | nds32 49 |
| chroot | change root directory | nds32 51 |
| clock_adjtime | tune kernel clock | nds32 266 |
| clock_adjtime64 | tune kernel clock | nds32 405 |
| clock_getres | clock and time functions | nds32 114 |
| clock_getres_time64 | clock and time functions | nds32 406 |
| clock_gettime | clock and time functions | nds32 113 |
| clock_gettime64 | clock and time functions | nds32 403 |
| clock_nanosleep | high-resolution sleep with specifiable clock | nds32 115 |
| clock_nanosleep_time64 | high-resolution sleep with specifiable clock | nds32 407 |
| clock_settime | clock and time functions | nds32 112 |
| clock_settime64 | clock and time functions | nds32 404 |
| clone | create a child process | nds32 220 |
| close | close a file descriptor | nds32 57 |
| close_range | close all file descriptors in a given range | nds32 436 |
| connect | initiate a connection on a socket | nds32 203 |
| copy_file_range | Copy a range of data from one file to another | nds32 285 |
| delete_module | unload a kernel module | nds32 106 |
| dup | duplicate a file descriptor | nds32 23 |
| dup3 | duplicate a file descriptor | nds32 24 |
| epoll_create1 | open an epoll file descriptor | nds32 20 |
| epoll_ctl | control interface for an epoll file descriptor | nds32 21 |
| epoll_pwait | wait for an I/O event on an epoll file descriptor | nds32 22 |
| epoll_pwait2 | wait for an I/O event on an epoll file descriptor | nds32 441 |
| eventfd2 | create a file descriptor for event notification | nds32 19 |
| execve | execute program | nds32 221 |
| execveat | execute program relative to a directory file descriptor | nds32 281 |
| exit | terminate the calling thread | nds32 93 |
| exit_group | exit all threads in a process | nds32 94 |
| faccessat | check user's permissions for a file | nds32 48 |
| faccessat2 | check user's permissions for a file | nds32 439 |
| fadvise64_64 | predeclare an access pattern for file data | nds32 223 |
| fallocate | manipulate file space | nds32 47 |
| fanotify_init | create and initialize fanotify group | nds32 262 |
| fanotify_mark | add, remove, or modify an fanotify mark on a filesystem object | nds32 263 |
| fchdir | change working directory | nds32 50 |
| fchmod | change permissions of a file | nds32 52 |
| fchmodat | change permissions of a file | nds32 53 |
| fchown | change ownership of a file | nds32 55 |
| fchownat | change ownership of a file | nds32 54 |
| fcntl64 | manipulate file descriptor | nds32 25 |
| fdatasync | synchronize a file's in-core state with storage device | nds32 83 |
| fgetxattr | retrieve an extended attribute value | nds32 10 |
| finit_module | load a kernel module | nds32 273 |
| flistxattr | list extended attribute names | nds32 13 |
| flock | apply or remove an advisory lock on an open file | nds32 32 |
| fp_udfiex_crtl | - | nds32 245 |
| fremovexattr | remove an extended attribute | nds32 16 |
| fsconfig | configure new or existing filesystem context | nds32 431 |
| fsetxattr | set an extended attribute value | nds32 7 |
| fsmount | instantiate mount object from filesystem context | nds32 432 |
| fsopen | create a new filesystem context | nds32 430 |
| fspick | select filesystem for reconfiguration | nds32 433 |
| fstat64 | get file status | nds32 80 |
| fstatat64 | get file status | nds32 79 |
| fstatfs64 | get filesystem statistics | nds32 44 |
| fsync | synchronize a file's in-core state with storage device | nds32 82 |
| ftruncate64 | truncate a file to a specified length | nds32 46 |
| futex | fast user-space locking | nds32 98 |
| futex_time64 | fast user-space locking | nds32 422 |
| futex_waitv | wait for FUTEX_WAKE operation on a vector of futexes | nds32 449 |
| get_mempolicy | retrieve NUMA memory policy for a thread | nds32 236 |
| get_robust_list | get/set list of robust futexes | nds32 100 |
| getcpu | determine CPU and NUMA node on which the calling thread is running | nds32 168 |
| getcwd | get current working directory | nds32 17 |
| getdents64 | get directory entries | nds32 61 |
| getegid | get group identity | nds32 177 |
| geteuid | get user identity | nds32 175 |
| getgid | get group identity | nds32 176 |
| getgroups | get/set list of supplementary group IDs | nds32 158 |
| getitimer | get or set value of an interval timer | nds32 102 |
| getpeername | get name of connected peer socket | nds32 205 |
| getpgid | set/get process group | nds32 155 |
| getpid | get process identification | nds32 172 |
| getppid | get process identification | nds32 173 |
| getpriority | get/set program scheduling priority | nds32 141 |
| getrandom | obtain a series of random bytes | nds32 278 |
| getresgid | get real, effective, and saved user/group IDs | nds32 150 |
| getresuid | get real, effective, and saved user/group IDs | nds32 148 |
| getrlimit | get/set resource limits | nds32 163 |
| getrusage | get resource usage | nds32 165 |
| getsid | get session ID | nds32 156 |
| getsockname | get socket name | nds32 204 |
| getsockopt | get and set options on sockets | nds32 209 |
| gettid | get thread identification | nds32 178 |
| gettimeofday | get / set time | nds32 169 |
| getuid | get user identity | nds32 174 |
| getxattr | retrieve an extended attribute value | nds32 8 |
| init_module | load a kernel module | nds32 105 |
| inotify_add_watch | add a watch to an initialized inotify instance | nds32 27 |
| inotify_init1 | initialize an inotify instance | nds32 26 |
| inotify_rm_watch | remove an existing watch from an inotify instance | nds32 28 |
| io_cancel | cancel an outstanding asynchronous I/O operation | nds32 3 |
| io_destroy | destroy an asynchronous I/O context | nds32 1 |
| io_getevents | read asynchronous I/O events from the completion queue | nds32 4 |
| io_pgetevents | - | nds32 292 |
| io_pgetevents_time64 | - | nds32 416 |
| io_setup | create an asynchronous I/O context | nds32 0 |
| io_submit | submit asynchronous I/O blocks for processing | nds32 2 |
| io_uring_enter | initiate and/or complete asynchronous I/O | nds32 426 |
| io_uring_register | register files or user buffers for asynchronous I/O | nds32 427 |
| io_uring_setup | setup a context for performing asynchronous I/O | nds32 425 |
| ioctl | control device | nds32 29 |
| ioprio_get | get/set I/O scheduling class and priority | nds32 31 |
| ioprio_set | get/set I/O scheduling class and priority | nds32 30 |
| kcmp | compare two processes to determine if they share a kernel resource | nds32 272 |
| kexec_file_load | load a new kernel for later execution | nds32 294 |
| kexec_load | load a new kernel for later execution | nds32 104 |
| keyctl | manipulate the kernel's key management facility | nds32 219 |
| kill | send signal to a process | nds32 129 |
| landlock_add_rule | add a new Landlock rule to a ruleset | nds32 445 |
| landlock_create_ruleset | create a new Landlock ruleset | nds32 444 |
| landlock_restrict_self | enforce a Landlock ruleset | nds32 446 |
| lgetxattr | retrieve an extended attribute value | nds32 9 |
| linkat | make a new name for a file | nds32 37 |
| listen | listen for connections on a socket | nds32 201 |
| listxattr | list extended attribute names | nds32 11 |
| llistxattr | list extended attribute names | nds32 12 |
| llseek | reposition read/write file offset | nds32 62 |
| lookup_dcookie | return a directory entry's path | nds32 18 |
| lremovexattr | remove an extended attribute | nds32 15 |
| lsetxattr | set an extended attribute value | nds32 6 |
| madvise | give advice about use of memory | nds32 233 |
| mbind | set memory policy for a memory range | nds32 235 |
| membarrier | issue memory barriers on a set of threads | nds32 283 |
| memfd_create | create an anonymous file | nds32 279 |
| migrate_pages | move all pages in a process to another set of nodes | nds32 238 |
| mincore | determine whether pages are resident in memory | nds32 232 |
| mkdirat | create a directory | nds32 34 |
| mknodat | create a special or ordinary file | nds32 33 |
| mlock | lock and unlock memory | nds32 228 |
| mlock2 | lock and unlock memory | nds32 284 |
| mlockall | lock and unlock memory | nds32 230 |
| mmap2 | map files or devices into memory | nds32 222 |
| mount | mount filesystem | nds32 40 |
| mount_setattr | change properties of a mount or mount tree | nds32 442 |
| move_mount | move or attach mount object to filesystem | nds32 429 |
| move_pages | move individual pages of a process to another node | nds32 239 |
| mprotect | set protection on a region of memory | nds32 226 |
| mq_getsetattr | get/set message queue attributes | nds32 185 |
| mq_notify | register for notification when a message is available | nds32 184 |
| mq_open | open a message queue | nds32 180 |
| mq_timedreceive | receive a message from a message queue | nds32 183 |
| mq_timedreceive_time64 | receive a message from a message queue | nds32 419 |
| mq_timedsend | send a message to a message queue | nds32 182 |
| mq_timedsend_time64 | send a message to a message queue | nds32 418 |
| mq_unlink | remove a message queue | nds32 181 |
| mremap | remap a virtual memory address | nds32 216 |
| msgctl | System V message control operations | nds32 187 |
| msgget | get a System V message queue identifier | nds32 186 |
| msgrcv | System V message queue operations | nds32 188 |
| msgsnd | System V message queue operations | nds32 189 |
| msync | synchronize a file with a memory map | nds32 227 |
| munlock | lock and unlock memory | nds32 229 |
| munlockall | lock and unlock memory | nds32 231 |
| munmap | map or unmap files or devices into memory | nds32 215 |
| name_to_handle_at | obtain handle for a pathname and open file via a handle | nds32 264 |
| nanosleep | high-resolution sleep | nds32 101 |
| open_by_handle_at | obtain handle for a pathname and open file via a handle | nds32 265 |
| open_tree | open path or create detached mount object and attach to fd | nds32 428 |
| openat | open and possibly create a file | nds32 56 |
| openat2 | open and possibly create a file (extended) | nds32 437 |
| perf_event_open | set up performance monitoring | nds32 241 |
| personality | set the process execution domain | nds32 92 |
| pidfd_getfd | obtain a duplicate of another process's file descriptor | nds32 438 |
| pidfd_open | obtain a file descriptor that refers to a task | nds32 434 |
| pidfd_send_signal | send a signal to a process specified by a file descriptor | nds32 424 |
| pipe2 | create pipe | nds32 59 |
| pivot_root | change the root mount | nds32 41 |
| pkey_alloc | allocate or free a protection key | nds32 289 |
| pkey_free | allocate or free a protection key | nds32 290 |
| pkey_mprotect | set protection on a region of memory | nds32 288 |
| ppoll | wait for some event on a file descriptor | nds32 73 |
| ppoll_time64 | wait for some event on a file descriptor | nds32 414 |
| prctl | operations on a process or thread | nds32 167 |
| pread64 | read from or write to a file descriptor at a given offset | nds32 67 |
| preadv | read or write data into multiple buffers | nds32 69 |
| preadv2 | read or write data into multiple buffers | nds32 286 |
| prlimit64 | get/set resource limits | nds32 261 |
| process_madvise | give advice about use of memory to a process | nds32 440 |
| process_mrelease | - | nds32 448 |
| process_vm_readv | transfer data between process address spaces | nds32 270 |
| process_vm_writev | transfer data between process address spaces | nds32 271 |
| pselect6 | synchronous I/O multiplexing | nds32 72 |
| pselect6_time64 | synchronous I/O multiplexing | nds32 413 |
| ptrace | process trace | nds32 117 |
| pwrite64 | read from or write to a file descriptor at a given offset | nds32 68 |
| pwritev | read or write data into multiple buffers | nds32 70 |
| pwritev2 | read or write data into multiple buffers | nds32 287 |
| quotactl | manipulate disk quotas | nds32 60 |
| quotactl_fd | manipulate disk quotas | nds32 443 |
| read | read from a file descriptor | nds32 63 |
| readahead | initiate file readahead into page cache | nds32 213 |
| readlinkat | read value of a symbolic link | nds32 78 |
| readv | read or write data into multiple buffers | nds32 65 |
| reboot | reboot or enable/disable Ctrl-Alt-Del | nds32 142 |
| recvfrom | receive a message from a socket | nds32 207 |
| recvmmsg | receive multiple messages on a socket | nds32 243 |
| recvmmsg_time64 | receive multiple messages on a socket | nds32 417 |
| recvmsg | receive a message from a socket | nds32 212 |
| remap_file_pages | create a nonlinear file mapping | nds32 234 |
| removexattr | remove an extended attribute | nds32 14 |
| renameat2 | change the name or location of a file | nds32 276 |
| request_key | request a key from the kernel's key management facility | nds32 218 |
| restart_syscall | restart a system call after interruption by a stop signal | nds32 128 |
| rseq | - | nds32 293 |
| rt_sigaction | examine and change a signal action | nds32 134 |
| rt_sigpending | examine pending signals | nds32 136 |
| rt_sigprocmask | examine and change blocked signals | nds32 135 |
| rt_sigqueueinfo | queue a signal and data | nds32 138 |
| rt_sigreturn | return from signal handler and cleanup stack frame | nds32 139 |
| rt_sigsuspend | wait for a signal | nds32 133 |
| rt_sigtimedwait | synchronously wait for queued signals | nds32 137 |
| rt_sigtimedwait_time64 | synchronously wait for queued signals | nds32 421 |
| rt_tgsigqueueinfo | queue a signal and data | nds32 240 |
| sched_get_priority_max | get static priority range | nds32 125 |
| sched_get_priority_min | get static priority range | nds32 126 |
| sched_getaffinity | set and get a thread's CPU affinity mask | nds32 123 |
| sched_getattr | set and get scheduling policy and attributes | nds32 275 |
| sched_getparam | set and get scheduling parameters | nds32 121 |
| sched_getscheduler | set and get scheduling policy/parameters | nds32 120 |
| sched_rr_get_interval | get the SCHED_RR interval for the named process | nds32 127 |
| sched_rr_get_interval_time64 | get the SCHED_RR interval for the named process | nds32 423 |
| sched_setaffinity | set and get a thread's CPU affinity mask | nds32 122 |
| sched_setattr | set and get scheduling policy and attributes | nds32 274 |
| sched_setparam | set and get scheduling parameters | nds32 118 |
| sched_setscheduler | set and get scheduling policy/parameters | nds32 119 |
| sched_yield | yield the processor | nds32 124 |
| seccomp | operate on Secure Computing state of the process | nds32 277 |
| semctl | System V semaphore control operations | nds32 191 |
| semget | get a System V semaphore set identifier | nds32 190 |
| semop | System V semaphore operations | nds32 193 |
| semtimedop | System V semaphore operations | nds32 192 |
| semtimedop_time64 | System V semaphore operations | nds32 420 |
| sendfile64 | transfer data between file descriptors | nds32 71 |
| sendmmsg | send multiple messages on a socket | nds32 269 |
| sendmsg | send a message on a socket | nds32 211 |
| sendto | send a message on a socket | nds32 206 |
| set_mempolicy | set default NUMA memory policy for a thread and its children | nds32 237 |
| set_mempolicy_home_node | - | nds32 450 |
| set_robust_list | get/set list of robust futexes | nds32 99 |
| set_tid_address | set pointer to thread ID | nds32 96 |
| setdomainname | get/set NIS domain name | nds32 162 |
| setfsgid | set group identity used for filesystem checks | nds32 152 |
| setfsuid | set user identity used for filesystem checks | nds32 151 |
| setgid | set group identity | nds32 144 |
| setgroups | get/set list of supplementary group IDs | nds32 159 |
| sethostname | get/set hostname | nds32 161 |
| setitimer | get or set value of an interval timer | nds32 103 |
| setns | reassociate thread with a namespace | nds32 268 |
| setpgid | set/get process group | nds32 154 |
| setpriority | get/set program scheduling priority | nds32 140 |
| setregid | set real and/or effective user or group ID | nds32 143 |
| setresgid | set real, effective, and saved user or group ID | nds32 149 |
| setresuid | set real, effective, and saved user or group ID | nds32 147 |
| setreuid | set real and/or effective user or group ID | nds32 145 |
| setrlimit | get/set resource limits | nds32 164 |
| setsid | creates a session and sets the process group ID | nds32 157 |
| setsockopt | get and set options on sockets | nds32 208 |
| settimeofday | get / set time | nds32 170 |
| setuid | set user identity | nds32 146 |
| setxattr | set an extended attribute value | nds32 5 |
| shmat | System V shared memory operations | nds32 196 |
| shmctl | System V shared memory control | nds32 195 |
| shmdt | System V shared memory operations | nds32 197 |
| shmget | allocates a System V shared memory segment | nds32 194 |
| shutdown | shut down part of a full-duplex connection | nds32 210 |
| sigaltstack | set and/or get signal stack context | nds32 132 |
| signalfd4 | create a file descriptor for accepting signals | nds32 74 |
| socket | create an endpoint for communication | nds32 198 |
| socketpair | create a pair of connected sockets | nds32 199 |
| splice | splice data to/from a pipe | nds32 76 |
| statfs64 | get filesystem statistics | nds32 43 |
| statx | get file status (extended) | nds32 291 |
| swapoff | start/stop swapping to file/device | nds32 225 |
| swapon | start/stop swapping to file/device | nds32 224 |
| symlinkat | make a new name for a file | nds32 36 |
| sync | commit filesystem caches to disk | nds32 81 |
| sync_file_range2 | sync a file segment with disk | nds32 84 |
| syncfs | commit filesystem caches to disk | nds32 267 |
| sysinfo | return system information | nds32 179 |
| syslog | read and/or clear kernel message ring buffer and set console_loglevel | nds32 116 |
| tee | duplicating pipe content | nds32 77 |
| tgkill | send a signal to a thread | nds32 131 |
| timer_create | create a POSIX per-process timer | nds32 107 |
| timer_delete | delete a POSIX per-process timer | nds32 111 |
| timer_getoverrun | get overrun count for a POSIX per-process timer | nds32 109 |
| timer_gettime | arm/disarm and fetch state of POSIX per-process timer | nds32 108 |
| timer_gettime64 | arm/disarm and fetch state of POSIX per-process timer | nds32 408 |
| timer_settime | arm/disarm and fetch state of POSIX per-process timer | nds32 110 |
| timer_settime64 | arm/disarm and fetch state of POSIX per-process timer | nds32 409 |
| timerfd_create | timers that notify via file descriptors | nds32 85 |
| timerfd_gettime | timers that notify via file descriptors | nds32 87 |
| timerfd_gettime64 | timers that notify via file descriptors | nds32 410 |
| timerfd_settime | timers that notify via file descriptors | nds32 86 |
| timerfd_settime64 | timers that notify via file descriptors | nds32 411 |
| times | get process times | nds32 153 |
| tkill | send a signal to a thread | nds32 130 |
| truncate64 | truncate a file to a specified length | nds32 45 |
| umask | set file mode creation mask | nds32 166 |
| umount2 | unmount filesystem | nds32 39 |
| uname | get name and information about current kernel | nds32 160 |
| unlinkat | delete a name and possibly the file it refers to | nds32 35 |
| unshare | disassociate parts of the process execution context | nds32 97 |
| userfaultfd | create a file descriptor for handling page faults in user space | nds32 282 |
| utimensat | change file timestamps with nanosecond precision | nds32 88 |
| utimensat_time64 | change file timestamps with nanosecond precision | nds32 412 |
| vhangup | virtually hangup the current terminal | nds32 58 |
| vmsplice | splice user pages to/from a pipe | nds32 75 |
| wait4 | wait for process to change state, BSD style | nds32 260 |
| waitid | wait for process to change state | nds32 95 |
| write | write to a file descriptor | nds32 64 |
| writev | read or write data into multiple buffers | nds32 66 |
Removed syscalls still have their own pages, and the "all, with removed" view on each architecture shows them too.
Same data from the API: https://api.syscall.sh/v2/diff/5.17/5.18