ARM EABI Linux system call table Linux 7.3

The ARM EABI system call table of Linux 7.3: 420 implemented calls and 5 reserved slots without an implementation. Numbers and entry points come from arch/arm/tools/syscall.tbl; C parameters come from the kernel headers and sources.

Open the interactive ARM EABI table → Search, compare kernel releases, see the register of each argument and download C examples.

Calling convention

Instruction
svc #0
System call number (NR)
r7
Return value
r0
Arguments (ARG1–ARG6)
r0, r1, r2, r3, r4, r5

These are the raw kernel conventions. The C library provides its own wrappers. Second result register, clobbered registers and PowerPC notes. On 32-bit ABIs, 64-bit values may occupy multiple registers and require alignment; assembly wrappers may reorder them. See syscall(2).

ARM EABI system calls in Linux 7.3

ARM EABI system calls in Linux 7.3
No.HexSystem callArgumentsWhat it does
00x0restart_syscallvoid—
10x1exitint error_codeTerminate the calling thread; the libc _exit wrapper usually terminates the whole process.
20x2forkvoidCreate a child process with a separate address space initially sharing pages through copy-on-write.
30x3readunsigned int fd, char __user *buf, size_t countRead bytes from an open file descriptor into a buffer.
40x4writeunsigned int fd, const char __user *buf, size_t countWrite bytes from a buffer to an open file descriptor.
50x5openconst char __user *filename, int flags, umode_t modeOpen a path and return a file descriptor; flags can request creation or truncation.
60x6closeunsigned int fdRelease a file descriptor so its number can be reused.
80x8creatconst char __user *pathname, umode_t modeOpen a file for writing, creating it if absent and truncating it if present.
90x9linkconst char __user *oldname, const char __user *newnameCreate a second directory entry for the same inode.
100xaunlinkconst char __user *pathnameRemove a filesystem name; open descriptors can keep the underlying file alive.
110xbexecveconst char __user *filename, const char __user *const __user *argv, const char __user *const __user *envpReplace the current process image with a program and pass it arguments and environment variables.
120xcchdirconst char __user *filenameChange the working directory used for relative paths.
140xemknodconst char __user *filename, umode_t mode, unsigned dev—
150xfchmodconst char __user *filename, umode_t modeChange the permission and special mode bits of a file.
160x10lchownconst char __user *filename, old_uid_t user, old_gid_t groupChange ownership of a path without following its final symbolic link.
190x13lseekunsigned int fd, off_t offset, unsigned int whenceChange the file position used by subsequent reads and writes.
200x14getpidvoidReturn the caller’s process ID, shared by threads in the same process.
210x15mountchar __user *dev_name, char __user *dir_name, char __user *type, unsigned long flags, void __user *dataAttach or reconfigure a filesystem at a mount point.
230x17setuidold_uid_t uidChange the caller’s user identity, within its current permissions.
240x18getuidvoidReturn the real user ID of the caller.
260x1aptracelong request, long pid, unsigned long addr, unsigned long dataObserve or control another thread’s execution, as debuggers do.
290x1dpausevoidSuspend the calling thread until a signal runs a handler or terminates it.
330x21accessconst char __user *filename, int modeCheck path access using real user and group IDs, rather than the effective IDs used by open.
340x22niceint increment—
360x24syncvoidRequest writeback of pending changes across filesystems.
370x25killpid_t pid, int sigSend a signal to a process or process group; signal 0 only checks existence and permission.
380x26renameconst char __user *oldname, const char __user *newnameMove a filesystem name, replacing the destination atomically when allowed.
390x27mkdirconst char __user *pathname, umode_t modeCreate an empty directory at a path.
400x28rmdirconst char __user *pathnameRemove an empty directory.
410x29dupunsigned int fildesMake a new descriptor that shares the same open file, including its current position.
420x2apipeint __user *fildesCreate a byte stream with separate read and write descriptors.
430x2btimesstruct tms __user *tbufCollect user and kernel CPU time for the process and its waited-for children.
450x2dbrkunsigned long brkChange the end of the process data segment used by some heap allocators.
460x2esetgidold_gid_t gidChange the caller’s group identity, within its current permissions.
470x2fgetgidvoidReturn the caller’s real group ID.
490x31geteuidvoidReturn the effective user ID used for many permission checks.
500x32getegidvoidReturn the caller’s effective group ID.
510x33acctconst char __user *name—
520x34umount2char __user *name, int flagsDetach a mounted filesystem with options such as lazy unmount.
540x36ioctlunsigned int fd, unsigned int cmd, unsigned long argSend a control request whose meaning depends on the device or object behind the descriptor.
550x37fcntlunsigned int fd, unsigned int cmd, unsigned long argInspect or change descriptor and open-file settings, or manage advisory locks.
570x39setpgidpid_t pid, pid_t pgidSet a process’s group, as a shell does for job control.
600x3cumaskint maskSet which permission bits are cleared when creating files or directories.
610x3dchrootconst char __user *filenameChange the root directory used to resolve paths beginning with a slash.
620x3eustatunsigned dev, struct ustat __user *ubuf—
630x3fdup2unsigned int oldfd, unsigned int newfdDuplicate a descriptor onto a chosen number, replacing the target if needed.
640x40getppidvoidReturn the parent process ID visible to the caller.
650x41getpgrpvoid—
660x42setsidvoidStart a new session and process group without a controlling terminal.
670x43sigactionint, const struct old_sigaction __user *, struct old_sigaction __user *—
700x46setreuidold_uid_t ruid, old_uid_t euid—
710x47setregidold_gid_t rgid, old_gid_t egid—
720x48sigsuspendint unused1, int unused2, old_sigset_t mask—
730x49sigpendingold_sigset_t __user *uset—
740x4asethostnamechar __user *name, int len—
750x4bsetrlimitunsigned int resource, struct rlimit __user *rlimSet soft and hard limits for a process resource within the caller’s permissions.
770x4dgetrusageint who, struct rusage __user *ruRead CPU time, page faults and other resource usage counters.
780x4egettimeofdaystruct __kernel_old_timeval __user *tv, struct timezone __user *tzRead wall-clock time as seconds and microseconds since the Unix epoch.
790x4fsettimeofdaystruct __kernel_old_timeval __user *tv, struct timezone __user *tz—
800x50getgroupsint gidsetsize, old_gid_t __user *grouplistRead the caller’s supplementary group IDs.
810x51setgroupsint gidsetsize, old_gid_t __user *grouplistReplace the supplementary group list when permitted.
830x53symlinkconst char __user *old, const char __user *newCreate a symbolic link containing a target path.
850x55readlinkconst char __user *path, char __user *buf, int bufsizRead the path stored in a symbolic link without following it.
860x56uselibconst char __user *library—
870x57swaponconst char __user *specialfile, int swap_flags—
880x58rebootint magic1, int magic2, unsigned int cmd, void __user *argRequest a system action such as restarting or powering off, with the required privilege.
910x5bmunmapunsigned long addr, size_t lenRemove a mapped address range from the process.
920x5ctruncateconst char __user *path, long lengthSet a file’s length, discarding or extending its tail as needed.
930x5dftruncateunsigned int fd, off_t lengthSet the length of a file identified by an open descriptor.
940x5efchmodunsigned int fd, umode_t modeSet the mode bits of the file behind an open descriptor.
950x5ffchownunsigned int fd, old_uid_t user, old_gid_t groupSet the owner or group of the file behind an open descriptor.
960x60getpriorityint which, int who—
970x61setpriorityint which, int who, int niceval—
990x63statfsconst char __user * path, struct statfs __user *bufReport capacity, free space and other statistics for the filesystem containing a path.
1000x64fstatfsunsigned int fd, struct statfs __user *buf—
1030x67syslogint type, char __user *buf, int len—
1040x68setitimerint which, struct __kernel_old_itimerval __user *value, struct __kernel_old_itimerval __user *ovalueStart or cancel a legacy interval timer that delivers a signal.
1050x69getitimerint which, struct __kernel_old_itimerval __user *valueRead the remaining time and repetition interval of a legacy timer.
1060x6astatconst char __user *filename, struct stat __user *statbufRead metadata such as file size, type and permissions for a path.
1070x6blstatconst char __user *filename, struct stat __user *statbufRead metadata about the path itself, leaving a final symbolic link unfollowed.
1080x6cfstatunsigned int fd, struct stat __user *statbufRead file metadata from an open descriptor.
1110x6fvhangupvoid—
1140x72wait4pid_t pid, int __user *stat_addr, int options, struct rusage __user *ruWait for a child state change and collect its status and resource usage.
1150x73swapoffconst char __user *specialfile—
1160x74sysinfostruct sysinfo __user *infoRead system statistics such as uptime, load and memory totals.
1180x76fsyncunsigned int fdWait for pending data and relevant metadata of a file to reach storage.
1190x77sigreturnnot resolved—
1200x78cloneunsigned long, unsigned long, int __user *, unsigned long, int __user *Create a child task and choose which resources it shares with the caller.
1210x79setdomainnamechar __user *name, int len—
1220x7aunamestruct new_utsname __user *nameRead kernel and machine identification, including the release string.
1240x7cadjtimexstruct old_timex32 __user *txc_p—
1250x7dmprotectunsigned long start, size_t len, unsigned long protChange which accesses are permitted to a mapped address range.
1260x7esigprocmaskint how, old_sigset_t __user *set, old_sigset_t __user *oset—
1280x80init_modulevoid __user *umod, unsigned long len, const char __user *uargs—
1290x81delete_moduleconst char __user *name_user, unsigned int flagsAsk the kernel to unload a module by name.
1310x83quotactlunsigned int cmd, const char __user *special, qid_t id, void __user *addr—
1320x84getpgidpid_t pidRead a process’s process-group ID.
1330x85fchdirunsigned int fdSet the working directory from an open directory descriptor.
1340x86bdflush unimplemented——
1350x87sysfsint option, unsigned long arg1, unsigned long arg2—
1360x88personalityunsigned int personality—
1380x8asetfsuidold_uid_t uid—
1390x8bsetfsgidold_gid_t gid—
1400x8c_llseekunsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t __user *result, unsigned int whenceSet a file position using a split 64-bit offset on older 32-bit ABIs.
1410x8dgetdentsunsigned int fd, struct linux_dirent __user *dirent, unsigned int countRead directory entries into a buffer in the kernel’s older record layout.
1420x8e_newselectint n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_timeval __user *tvp—
1430x8fflockunsigned int fd, unsigned int cmdAcquire or release an advisory lock on an open file.
1440x90msyncunsigned long start, size_t len, int flagsFlush changes in a shared file mapping back to the file.
1450x91readvunsigned long fd, const struct iovec __user *vec, unsigned long vlenRead into several buffers in order with one call.
1460x92writevunsigned long fd, const struct iovec __user *vec, unsigned long vlenWrite from several buffers in order with one call.
1470x93getsidpid_t pid—
1480x94fdatasyncunsigned int fdLike fsync, but only flush metadata needed to retrieve the file data.
1490x95_sysctl unimplemented——
1500x96mlockunsigned long start, size_t lenKeep pages in an address range resident in RAM.
1510x97munlockunsigned long start, size_t lenRemove a memory lock so the kernel can reclaim the pages again.
1520x98mlockallint flags—
1530x99munlockallvoid—
1540x9asched_setparampid_t pid, struct sched_param __user *param—
1550x9bsched_getparampid_t pid, struct sched_param __user *param—
1560x9csched_setschedulerpid_t pid, int policy, struct sched_param __user *param—
1570x9dsched_getschedulerpid_t pid—
1580x9esched_yieldvoidGive up the CPU and let the scheduler choose the next runnable thread.
1590x9fsched_get_priority_maxint policy—
1600xa0sched_get_priority_minint policy—
1610xa1sched_rr_get_intervalpid_t pid, struct old_timespec32 __user *interval—
1620xa2nanosleepstruct old_timespec32 __user *rqtp, struct old_timespec32 __user *rmtpPause the calling thread for a relative interval unless interrupted.
1630xa3mremapunsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addrResize an existing mapping and optionally move it to a different address.
1640xa4setresuidold_uid_t ruid, old_uid_t euid, old_uid_t suidSet the real, effective and saved user IDs within the caller’s permissions.
1650xa5getresuidold_uid_t __user *ruid, old_uid_t __user *euid, old_uid_t __user *suidRead the real, effective and saved user IDs.
1680xa8pollstruct pollfd __user *ufds, unsigned int nfds, int timeoutWait for one or more descriptors to become ready for I/O.
1690xa9nfsservctl unimplemented——
1700xaasetresgidold_gid_t rgid, old_gid_t egid, old_gid_t sgidSet the real, effective and saved group IDs within the caller’s permissions.
1710xabgetresgidold_gid_t __user *rgid, old_gid_t __user *egid, old_gid_t __user *sgidRead the real, effective and saved group IDs.
1720xacprctlint option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5Query or change process and thread attributes selected by an operation code.
1730xadrt_sigreturnnot resolvedRestore the saved thread context after a signal handler finishes.
1740xaert_sigactionint, const struct sigaction __user *, struct sigaction __user *, size_tInspect or change how the process handles a signal.
1750xafrt_sigprocmaskint how, sigset_t __user *set, sigset_t __user *oset, size_t sigsetsizeRead or change the set of signals blocked by the calling thread.
1760xb0rt_sigpendingsigset_t __user *set, size_t sigsetsizeRead the set of signals pending delivery to the calling thread.
1770xb1rt_sigtimedwaitconst sigset_t __user *uthese, siginfo_t __user *uinfo, const struct old_timespec32 __user *uts, size_t sigsetsize—
1780xb2rt_sigqueueinfopid_t pid, int sig, siginfo_t __user *uinfo—
1790xb3rt_sigsuspendsigset_t __user *unewset, size_t sigsetsizeTemporarily replace the signal mask and sleep until a signal is delivered.
1800xb4pread64unsigned int fd, char __user *buf, size_t count, loff_t posRead at an explicit file offset without moving the shared file position.
1810xb5pwrite64unsigned int fd, const char __user *buf, size_t count, loff_t posWrite at an explicit file offset without moving the shared file position.
1820xb6chownconst char __user *filename, old_uid_t user, old_gid_t groupChange the user or group that owns a file.
1830xb7getcwdchar __user *buf, unsigned long sizeReturn the absolute path of the current working directory.
1840xb8capgetcap_user_header_t header, cap_user_data_t dataptrRead a thread’s Linux capability sets.
1850xb9capsetcap_user_header_t header, const cap_user_data_t dataSet a thread’s effective, permitted and inheritable Linux capability sets within the caller’s permissions.
1860xbasigaltstackconst struct sigaltstack __user *uss, struct sigaltstack __user *uossSet or inspect an alternate stack for signal handlers.
1870xbbsendfileint out_fd, int in_fd, off_t __user *offset, size_t countTransfer bytes from an input file descriptor to another descriptor, such as a socket, inside the kernel.
1900xbevforkvoidCreate a child that temporarily shares the parent’s address space and suspends the calling thread.
1910xbfugetrlimitunsigned int resource, struct rlimit __user *rlim—
1920xc0mmap2not resolvedMap memory using a file offset in 4096-byte units on the supported ABIs.
1930xc1truncate64const char __user *path, loff_t length—
1940xc2ftruncate64unsigned int fd, loff_t length—
1950xc3stat64const char __user *filename, struct stat64 __user *statbuf—
1960xc4lstat64const char __user *filename, struct stat64 __user *statbuf—
1970xc5fstat64unsigned long fd, struct stat64 __user *statbuf—
1980xc6lchown32const char __user *filename, uid_t user, gid_t group—
1990xc7getuid32void—
2000xc8getgid32void—
2010xc9geteuid32void—
2020xcagetegid32void—
2030xcbsetreuid32uid_t ruid, uid_t euid—
2040xccsetregid32gid_t rgid, gid_t egid—
2050xcdgetgroups32int gidsetsize, gid_t __user *grouplist—
2060xcesetgroups32int gidsetsize, gid_t __user *grouplist—
2070xcffchown32unsigned int fd, uid_t user, gid_t group—
2080xd0setresuid32uid_t ruid, uid_t euid, uid_t suid—
2090xd1getresuid32uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid—
2100xd2setresgid32gid_t rgid, gid_t egid, gid_t sgid—
2110xd3getresgid32gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid—
2120xd4chown32const char __user *filename, uid_t user, gid_t group—
2130xd5setuid32uid_t uid—
2140xd6setgid32gid_t gid—
2150xd7setfsuid32uid_t uid—
2160xd8setfsgid32gid_t gid—
2170xd9getdents64unsigned int fd, struct linux_dirent64 __user *dirent, unsigned int countRead a batch of directory entries with 64-bit inode numbers.
2180xdapivot_rootconst char __user *new_root, const char __user *put_oldSwap the root mount in the caller’s mount namespace, moving the old root aside.
2190xdbmincoreunsigned long start, size_t len, unsigned char __user * vecReport which pages in a mapping are currently resident in RAM.
2200xdcmadviseunsigned long start, size_t len, int behaviorTell the kernel how an address range will be used, or request an action such as discarding pages.
2210xddfcntl64unsigned int fd, unsigned int cmd, unsigned long arg—
2240xe0gettidvoidReturn the kernel thread ID of the calling thread.
2250xe1readaheadint fd, loff_t offset, size_t countAsk the kernel to preload a file range into the page cache.
2260xe2setxattrconst char __user *path, const char __user *name, const void __user *value, size_t size, int flagsCreate or replace a named extended attribute on a file.
2270xe3lsetxattrconst char __user *path, const char __user *name, const void __user *value, size_t size, int flags—
2280xe4fsetxattrint fd, const char __user *name, const void __user *value, size_t size, int flags—
2290xe5getxattrconst char __user *path, const char __user *name, void __user *value, size_t sizeRead the bytes stored in a named extended attribute.
2300xe6lgetxattrconst char __user *path, const char __user *name, void __user *value, size_t size—
2310xe7fgetxattrint fd, const char __user *name, void __user *value, size_t size—
2320xe8listxattrconst char __user *path, char __user *list, size_t sizeList names of extended attributes accessible on a file.
2330xe9llistxattrconst char __user *path, char __user *list, size_t size—
2340xeaflistxattrint fd, char __user *list, size_t size—
2350xebremovexattrconst char __user *path, const char __user *nameRemove a named extended attribute from a file.
2360xeclremovexattrconst char __user *path, const char __user *name—
2370xedfremovexattrint fd, const char __user *name—
2380xeetkillpid_t pid, int sig—
2390xefsendfile64int out_fd, int in_fd, loff_t __user *offset, size_t count—
2400xf0futexu32 __user *uaddr, int op, u32 val, const struct old_timespec32 __user *utime, u32 __user *uaddr2, u32 val3Let a thread sleep or wake waiters on a shared 32-bit word; mutexes use it when the userspace fast path cannot proceed.
2410xf1sched_setaffinitypid_t pid, unsigned int len, unsigned long __user *user_mask_ptrRestrict the CPUs on which a thread can run.
2420xf2sched_getaffinitypid_t pid, unsigned int len, unsigned long __user *user_mask_ptrRead the CPU set on which a thread is allowed to run.
2430xf3io_setupunsigned nr_reqs, aio_context_t __user *ctx—
2440xf4io_destroyaio_context_t ctx—
2450xf5io_getevents__u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event __user *events, struct old_timespec32 __user *timeout—
2460xf6io_submitaio_context_t, long, struct iocb __user * __user *—
2470xf7io_cancelaio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result—
2480xf8exit_groupint error_codeTerminate all threads in the calling process.
2490xf9lookup_dcookie unimplemented——
2500xfaepoll_createint sizeCreate a kernel object for tracking readiness across many descriptors.
2510xfbepoll_ctlint epfd, int op, int fd, struct epoll_event __user *eventAdd, modify or remove a descriptor in an epoll interest list.
2520xfcepoll_waitint epfd, struct epoll_event __user *events, int maxevents, int timeoutCollect ready events from an epoll instance, waiting up to a timeout.
2530xfdremap_file_pagesunsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags—
2560x100set_tid_addressint __user *tidptr—
2570x101timer_createclockid_t which_clock, struct sigevent __user *timer_event_spec, timer_t __user * created_timer_idCreate a POSIX timer against a selected clock and choose its notification method.
2580x102timer_settimetimer_t timer_id, int flags, struct old_itimerspec32 __user *new, struct old_itimerspec32 __user *oldStart or stop a POSIX timer and set its expiration and interval.
2590x103timer_gettimetimer_t timer_id, struct old_itimerspec32 __user *settingRead the time left and repetition interval of a POSIX timer.
2600x104timer_getoverruntimer_t timer_id—
2610x105timer_deletetimer_t timer_idDelete a POSIX timer and disarm it if active.
2620x106clock_settimeclockid_t which_clock, struct old_timespec32 __user *tpSet the time of a clock that allows updates.
2630x107clock_gettimeclockid_t which_clock, struct old_timespec32 __user *tpRead the current value of a chosen clock, such as monotonic time.
2640x108clock_getresclockid_t which_clock, struct old_timespec32 __user *tpReport the resolution of a chosen clock.
2650x109clock_nanosleepclockid_t which_clock, int flags, struct old_timespec32 __user *rqtp, struct old_timespec32 __user *rmtpSleep relative to or until a time on a chosen clock.
2660x10astatfs64not resolved—
2670x10bfstatfs64not resolved—
2680x10ctgkillpid_t tgid, pid_t pid, int sigSend a signal to a specific thread within a specified process.
2690x10dutimesconst char __user *filename, struct old_timeval32 __user *t—
2700x10earm_fadvise64_64int fd, int advice, loff_t offset, loff_t len—
2710x10fpciconfig_iobaselong which, unsigned long bus, unsigned long devfn—
2720x110pciconfig_readunsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void __user *buf—
2730x111pciconfig_writeunsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void __user *buf—
2740x112mq_openconst char __user *name, int oflag, umode_t mode, struct mq_attr __user *attrCreate or open a named POSIX message queue.
2750x113mq_unlinkconst char __user *nameRemove the name of a POSIX message queue.
2760x114mq_timedsendmqd_t mqdes, const char __user *u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const struct old_timespec32 __user *u_abs_timeoutSend a POSIX message with a priority and a deadline for blocking.
2770x115mq_timedreceivemqd_t mqdes, char __user *u_msg_ptr, unsigned int msg_len, unsigned int __user *u_msg_prio, const struct old_timespec32 __user *u_abs_timeoutReceive the highest-priority POSIX message, with a deadline for blocking.
2780x116mq_notifymqd_t mqdes, const struct sigevent __user *notification—
2790x117mq_getsetattrmqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr __user *omqstat—
2800x118waitidint which, pid_t pid, struct siginfo __user *infop, int options, struct rusage __user *ruWait for a selected child event such as exit, stop or resume.
2810x119socketint, int, intCreate a communication endpoint and return its descriptor.
2820x11abindint, struct sockaddr __user *, intAssign a local address to a socket.
2830x11bconnectint, struct sockaddr __user *, intConnect a socket to a peer or set a datagram socket’s default peer.
2840x11clistenint, intPut a socket into listening mode for incoming connections.
2850x11dacceptint, struct sockaddr __user *, int __user *Take the next pending connection and return a new connected socket.
2860x11egetsocknameint, struct sockaddr __user *, int __user *Get the local address currently bound to a socket.
2870x11fgetpeernameint, struct sockaddr __user *, int __user *Get the address of the socket’s connected peer.
2880x120socketpairint, int, int, int __user *Create two connected sockets, often for local process communication.
2890x121sendint, void __user *, size_t, unsigned—
2900x122sendtoint, void __user *, size_t, unsigned, struct sockaddr __user *, intSend a message through a socket, optionally specifying its destination.
2910x123recvint, void __user *, size_t, unsigned—
2920x124recvfromint, void __user *, size_t, unsigned, struct sockaddr __user *, int __user *Receive data from a socket and optionally retrieve the sender’s address.
2930x125shutdownint, intDisable receiving, sending or both on a socket connection.
2940x126setsockoptint fd, int level, int optname, char __user *optval, int optlenSet an option at a socket or protocol level.
2950x127getsockoptint fd, int level, int optname, char __user *optval, int __user *optlenRead an option at a socket or protocol level.
2960x128sendmsgint fd, struct user_msghdr __user *msg, unsigned flagsSend a socket message with multiple buffers and optional ancillary data.
2970x129recvmsgint fd, struct user_msghdr __user *msg, unsigned flagsReceive a socket message, including ancillary data such as passed descriptors.
2980x12asemopint semid, struct sembuf __user *sops, unsigned nsopsApply a batch of operations to System V semaphores atomically.
2990x12bsemgetkey_t key, int nsems, int semflgCreate or find a set of System V semaphores.
3000x12csemctlint semid, int semnum, int cmd, unsigned long argQuery or control a System V semaphore set and its values.
3010x12dmsgsndint msqid, struct msgbuf __user *msgp, size_t msgsz, int msgflgPlace a typed message on a System V message queue.
3020x12emsgrcvint msqid, struct msgbuf __user *msgp, size_t msgsz, long msgtyp, int msgflgRemove a message from a System V queue, optionally selecting by type.
3030x12fmsggetkey_t key, int msgflgCreate or look up a System V message queue.
3040x130msgctlint msqid, int cmd, struct msqid_ds __user *bufQuery, update or remove a System V message queue.
3050x131shmatint shmid, char __user *shmaddr, int shmflgAttach a System V shared memory segment to the process address space.
3060x132shmdtchar __user *shmaddrDetach a System V shared memory segment from an address.
3070x133shmgetkey_t key, size_t size, int flagCreate or look up a System V shared memory segment.
3080x134shmctlint shmid, int cmd, struct shmid_ds __user *bufInspect, configure or mark a System V shared memory segment for removal.
3090x135add_keyconst char __user *_type, const char __user *_description, const void __user *_payload, size_t plen, key_serial_t destringid—
3100x136request_keyconst char __user *_type, const char __user *_description, const char __user *_callout_info, key_serial_t destringid—
3110x137keyctlint cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5—
3120x138semtimedopint semid, struct sembuf __user *sops, unsigned nsops, const struct old_timespec32 __user *timeout—
3130x139vserver unimplemented——
3140x13aioprio_setint which, int who, int ioprio—
3150x13bioprio_getint which, int who—
3160x13cinotify_initvoidCreate an inotify instance and return a descriptor for its filesystem event queue.
3170x13dinotify_add_watchint fd, const char __user *path, u32 maskAdd or update a watch for filesystem changes at a path.
3180x13einotify_rm_watchint fd, __s32 wdRemove a watch from an inotify instance.
3190x13fmbindunsigned long start, unsigned long len, unsigned long mode, const unsigned long __user *nmask, unsigned long maxnode, unsigned flags—
3200x140get_mempolicyint __user *policy, unsigned long __user *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags—
3210x141set_mempolicyint mode, const unsigned long __user *nmask, unsigned long maxnode—
3220x142openatint dfd, const char __user *filename, int flags, umode_t modeOpen a path, resolving relative paths from a directory descriptor.
3230x143mkdiratint dfd, const char __user * pathname, umode_t modeCreate a directory using a directory descriptor as the base for relative paths.
3240x144mknodatint dfd, const char __user * filename, umode_t mode, unsigned dev—
3250x145fchownatint dfd, const char __user *filename, uid_t user, gid_t group, int flagChange ownership of a path relative to a directory descriptor, with control over symlink following.
3260x146futimesatunsigned int dfd, const char __user *filename, struct old_timeval32 __user *t—
3270x147fstatat64int dfd, const char __user *filename, struct stat64 __user *statbuf, int flag—
3280x148unlinkatint dfd, const char __user * pathname, int flagRemove a name or directory relative to a directory descriptor.
3290x149renameatint olddfd, const char __user * oldname, int newdfd, const char __user * newnameRename a path using directory descriptors to resolve relative names.
3300x14alinkatint olddfd, const char __user *oldname, int newdfd, const char __user *newname, int flags—
3310x14bsymlinkatconst char __user * oldname, int newdfd, const char __user * newname—
3320x14creadlinkatint dfd, const char __user *path, char __user *buf, int bufsizRead a symbolic link using a directory descriptor to resolve relative paths.
3330x14dfchmodatint dfd, const char __user *filename, umode_t mode—
3340x14efaccessatint dfd, const char __user *filename, int mode—
3350x14fpselect6int, fd_set __user *, fd_set __user *, fd_set __user *, struct old_timespec32 __user *, void __user *Wait like select while temporarily changing the signal mask.
3360x150ppollstruct pollfd __user *, unsigned int, struct old_timespec32 __user *, const sigset_t __user *, size_tWait for descriptor readiness while temporarily applying a signal mask.
3370x151unshareunsigned long unshare_flagsGive the caller a private copy of selected execution context, such as a mount namespace.
3380x152set_robust_liststruct robust_list_head __user *head, size_t lenRegister a thread’s robust futex list so the kernel can clean up when it exits.
3390x153get_robust_listint pid, struct robust_list_head __user * __user *head_ptr, size_t __user *len_ptr—
3400x154spliceint fd_in, loff_t __user *off_in, int fd_out, loff_t __user *off_out, size_t len, unsigned int flagsTransfer bytes between two descriptors, one of them a pipe, without copying the data through userspace.
3410x155arm_sync_file_rangeint fd, unsigned int flags, loff_t offset, loff_t nbytes—
3420x156teeint fdin, int fdout, size_t len, unsigned int flagsDuplicate pipe data into a second pipe without consuming it from the first.
3430x157vmspliceint fd, const struct iovec __user *iov, unsigned long nr_segs, unsigned int flagsTransfer data between a vector of userspace buffers and a pipe.
3440x158move_pagespid_t pid, unsigned long nr_pages, const void __user * __user *pages, const int __user *nodes, int __user *status, int flags—
3450x159getcpuunsigned __user *cpu, unsigned __user *node, void __user *cache—
3460x15aepoll_pwaitint epfd, struct epoll_event __user *events, int maxevents, int timeout, const sigset_t __user *sigmask, size_t sigsetsizeWait for epoll events while temporarily applying a signal mask.
3470x15bkexec_loadunsigned long entry, unsigned long nr_segments, struct kexec_segment __user *segments, unsigned long flags—
3480x15cutimensatunsigned int dfd, const char __user *filename, struct old_timespec32 __user *t, int flagsSet file access and modification timestamps at nanosecond precision.
3490x15dsignalfdint ufd, sigset_t __user *user_mask, size_t sizemaskReceive selected pending signals through a file descriptor.
3500x15etimerfd_createint clockid, int flagsCreate a timer whose expirations can be read or watched through a descriptor.
3510x15feventfdunsigned int countCreate a descriptor backed by a counter for notifying other threads or an event loop.
3520x160fallocateint fd, int mode, loff_t offset, loff_t lenAllocate or alter storage for a file range, with operations such as punching a hole.
3530x161timerfd_settimeint ufd, int flags, const struct old_itimerspec32 __user *utmr, struct old_itimerspec32 __user *otmrArm, reconfigure or disarm a descriptor-based timer.
3540x162timerfd_gettimeint ufd, struct old_itimerspec32 __user *otmrRead the remaining time and interval of a descriptor-based timer.
3550x163signalfd4int ufd, sigset_t __user *user_mask, size_t sizemask, int flagsReceive selected pending signals by reading a file descriptor.
3560x164eventfd2unsigned int count, int flagsCreate a counter descriptor with nonblocking, close-on-exec or semaphore options.
3570x165epoll_create1int flagsCreate an epoll instance and optionally mark its descriptor close-on-exec.
3580x166dup3unsigned int oldfd, unsigned int newfd, int flagsDuplicate onto a chosen descriptor number and optionally set close-on-exec.
3590x167pipe2int __user *fildes, int flagsCreate a pipe with options such as nonblocking I/O or close-on-exec set from the start.
3600x168inotify_init1int flagsCreate a descriptor that delivers filesystem change notifications.
3610x169preadvunsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_hRead from a specified offset into several buffers without moving the file position.
3620x16apwritevunsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_hWrite from several buffers at a specified offset without moving the file position.
3630x16brt_tgsigqueueinfopid_t tgid, pid_t pid, int sig, siginfo_t __user *uinfo—
3640x16cperf_event_openstruct perf_event_attr __user *attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flagsOpen a descriptor for a hardware or software performance event.
3650x16drecvmmsgint fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flags, struct old_timespec32 __user *timeoutReceive a batch of socket messages in one call.
3660x16eaccept4int, struct sockaddr __user *, int __user *, intAccept a connection and set descriptor flags without a separate call.
3670x16ffanotify_initunsigned int flags, unsigned int event_f_flagsCreate a fanotify group for filesystem event notification or permission decisions.
3680x170fanotify_markint fanotify_fd, unsigned int flags, u64 mask, int fd, const char __user *pathnameChoose which files, mounts or filesystems a fanotify group monitors.
3690x171prlimit64pid_t pid, unsigned int resource, const struct rlimit64 __user *new_rlim, struct rlimit64 __user *old_rlimRead or change a selected process resource limit using 64-bit fields.
3700x172name_to_handle_atint dfd, const char __user *name, struct file_handle __user *handle, void __user *mnt_id, int flag—
3710x173open_by_handle_atint mountdirfd, struct file_handle __user *handle, int flags—
3720x174clock_adjtimeclockid_t which_clock, struct old_timex32 __user *tx—
3730x175syncfsint fdFlush pending changes for the filesystem of an open descriptor.
3740x176sendmmsgint fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flagsSend a batch of socket messages in one call.
3750x177setnsint fd, int nstypeMove the calling thread into an existing namespace.
3760x178process_vm_readvpid_t pid, const struct iovec __user *lvec, unsigned long liovcnt, const struct iovec __user *rvec, unsigned long riovcnt, unsigned long flagsCopy memory from another process into local buffers, subject to access checks.
3770x179process_vm_writevpid_t pid, const struct iovec __user *lvec, unsigned long liovcnt, const struct iovec __user *rvec, unsigned long riovcnt, unsigned long flagsCopy bytes from local buffers into another process’s memory, subject to access checks.
3780x17akcmppid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2—
3790x17bfinit_moduleint fd, const char __user *uargs, int flagsLoad a kernel module from an open file descriptor.
3800x17csched_setattrpid_t pid, struct sched_attr __user *attr, unsigned int flags—
3810x17dsched_getattrpid_t pid, struct sched_attr __user *attr, unsigned int size, unsigned int flags—
3820x17erenameat2int olddfd, const char __user *oldname, int newdfd, const char __user *newname, unsigned int flagsRename relative to directory descriptors, with options such as exchange or no replacement.
3830x17fseccompunsigned int op, unsigned int flags, void __user *uargsRestrict which system calls a thread may make, typically with a BPF filter.
3840x180getrandomchar __user *buf, size_t count, unsigned int flagsFill a buffer with random bytes from the kernel’s random number generator.
3850x181memfd_createconst char __user *uname_ptr, unsigned int flagsCreate an anonymous, RAM-backed file accessible through a descriptor.
3860x182bpfint cmd, union bpf_attr __user *attr, unsigned int size, struct bpf_common_attr __user *attr_common, unsigned int size_commonPerform an eBPF operation, such as creating a map or loading a verified program.
3870x183execveatint dfd, const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp, int flagsExecute a program relative to a directory descriptor, or directly from a descriptor with the right flag.
3880x184userfaultfdint flagsRoute selected page faults to userspace so a handler can resolve them.
3890x185membarrierint cmd, unsigned int flags, int cpu_idRequest memory ordering across threads or processors for a supported command.
3900x186mlock2unsigned long start, size_t len, int flags—
3910x187copy_file_rangeint fd_in, loff_t __user *off_in, int fd_out, loff_t __user *off_out, size_t len, unsigned int flagsCopy a byte range between files without routing data through a userspace buffer.
3920x188preadv2unsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flagsRead into several buffers with per-operation flags and a selectable offset.
3930x189pwritev2unsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flagsWrite from several buffers with per-operation flags and a selectable offset.
3940x18apkey_mprotectunsigned long start, size_t len, unsigned long prot, int pkey—
3950x18bpkey_allocunsigned long flags, unsigned long init_val—
3960x18cpkey_freeint pkey—
3970x18dstatxint dfd, const char __user *path, unsigned flags, unsigned mask, struct statx __user *bufferAsk for selected file metadata, including fields such as creation time when available.
3980x18erseqstruct rseq __user *rseq, uint32_t rseq_len, int flags, uint32_t sigRegister per-thread state for restartable sequences, used for low-cost per-CPU operations.
3990x18fio_pgeteventsaio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct old_timespec32 __user *timeout, const struct __aio_sigset __user *sig—
4000x190migrate_pagespid_t pid, unsigned long maxnode, const unsigned long __user *from, const unsigned long __user *to—
4010x191kexec_file_loadint kernel_fd, int initrd_fd, unsigned long cmdline_len, const char __user *cmdline_ptr, unsigned long flags—
4030x193clock_gettime64clockid_t which_clock, struct __kernel_timespec __user *tp—
4040x194clock_settime64clockid_t which_clock, const struct __kernel_timespec __user *tp—
4050x195clock_adjtime64clockid_t which_clock, struct __kernel_timex __user *tx—
4060x196clock_getres_time64clockid_t which_clock, struct __kernel_timespec __user *tp—
4070x197clock_nanosleep_time64clockid_t which_clock, int flags, const struct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtp—
4080x198timer_gettime64timer_t timer_id, struct __kernel_itimerspec __user *setting—
4090x199timer_settime64timer_t timer_id, int flags, const struct __kernel_itimerspec __user *new_setting, struct __kernel_itimerspec __user *old_setting—
4100x19atimerfd_gettime64int ufd, struct __kernel_itimerspec __user *otmr—
4110x19btimerfd_settime64int ufd, int flags, const struct __kernel_itimerspec __user *utmr, struct __kernel_itimerspec __user *otmr—
4120x19cutimensat_time64int dfd, const char __user *filename, struct __kernel_timespec __user *utimes, int flags—
4130x19dpselect6_time64int, fd_set __user *, fd_set __user *, fd_set __user *, struct __kernel_timespec __user *, void __user *—
4140x19eppoll_time64struct pollfd __user *, unsigned int, struct __kernel_timespec __user *, const sigset_t __user *, size_t—
4160x1a0io_pgetevents_time64aio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct __kernel_timespec __user *timeout, const struct __aio_sigset __user *sig—
4170x1a1recvmmsg_time64int fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flags, struct __kernel_timespec __user *timeout—
4180x1a2mq_timedsend_time64mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec __user *abs_timeout—
4190x1a3mq_timedreceive_time64mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int __user *msg_prio, const struct __kernel_timespec __user *abs_timeout—
4200x1a4semtimedop_time64int semid, struct sembuf __user *sops, unsigned nsops, const struct __kernel_timespec __user *timeout—
4210x1a5rt_sigtimedwait_time64const sigset_t __user *uthese, siginfo_t __user *uinfo, const struct __kernel_timespec __user *uts, size_t sigsetsize—
4220x1a6futex_time64u32 __user *uaddr, int op, u32 val, const struct __kernel_timespec __user *utime, u32 __user *uaddr2, u32 val3Perform futex operations with a 64-bit timeout layout on 32-bit ABIs.
4230x1a7sched_rr_get_interval_time64pid_t pid, struct __kernel_timespec __user *interval—
4240x1a8pidfd_send_signalint pidfd, int sig, siginfo_t __user *info, unsigned int flagsSend a signal to the process referenced by a pidfd.
4250x1a9io_uring_setupu32 entries, struct io_uring_params __user *pCreate the submission and completion queues used for io_uring I/O.
4260x1aaio_uring_enterunsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void __user *argp, size_t argszSubmit queued io_uring requests, wait for completions, or do both in one call.
4270x1abio_uring_registerunsigned int fd, unsigned int op, void __user *arg, unsigned int nr_argsConfigure an io_uring instance, for example by registering buffers or files for reuse.
4280x1acopen_treeint dfd, const char __user *path, unsigned flags—
4290x1admove_mountint from_dfd, const char __user *from_path, int to_dfd, const char __user *to_path, unsigned int ms_flags—
4300x1aefsopenconst char __user *fs_name, unsigned int flags—
4310x1affsconfigint fs_fd, unsigned int cmd, const char __user *key, const void __user *value, int aux—
4320x1b0fsmountint fs_fd, unsigned int flags, unsigned int ms_flags—
4330x1b1fspickint dfd, const char __user *path, unsigned int flags—
4340x1b2pidfd_openpid_t pid, unsigned int flagsOpen a descriptor referring to a process, avoiding later ambiguity from PID reuse.
4350x1b3clone3struct clone_args __user *uargs, size_t sizeCreate a child task using a structure for options such as namespaces and pidfds.
4360x1b4close_rangeunsigned int fd, unsigned int max_fd, unsigned int flagsClose or mark close-on-exec for a range of file descriptors in one call.
4370x1b5openat2int dfd, const char __user *filename, struct open_how __user *how, size_t sizeOpen a path with explicit controls on how the kernel resolves it, such as forbidding symlinks.
4380x1b6pidfd_getfdint pidfd, int fd, unsigned int flagsDuplicate an open descriptor from another process identified by a pidfd.
4390x1b7faccessat2int dfd, const char __user *filename, int mode, int flagsCheck file access relative to a directory descriptor with explicit flags.
4400x1b8process_madviseint pidfd, const struct iovec __user *vec, size_t vlen, int behavior, unsigned int flags—
4410x1b9epoll_pwait2int epfd, struct epoll_event __user *events, int maxevents, const struct __kernel_timespec __user *timeout, const sigset_t __user *sigmask, size_t sigsetsizeWait for epoll events with a timespec timeout and an optional signal mask.
4420x1bamount_setattrint dfd, const char __user *path, unsigned int flags, struct mount_attr __user *uattr, size_t usize—
4430x1bbquotactl_fdunsigned int fd, unsigned int cmd, qid_t id, void __user *addr—
4440x1bclandlock_create_rulesetconst struct landlock_ruleset_attr __user *attr, size_t size, __u32 flagsCreate a Landlock ruleset describing which types of access it will control.
4450x1bdlandlock_add_ruleint ruleset_fd, enum landlock_rule_type rule_type, const void __user *rule_attr, __u32 flagsAdd a rule granting selected access within a Landlock ruleset.
4460x1belandlock_restrict_selfint ruleset_fd, __u32 flagsApply a Landlock ruleset to restrict the calling thread.
4480x1c0process_mreleaseint pidfd, unsigned int flags—
4490x1c1futex_waitvstruct futex_waitv __user *waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec __user *timeout, clockid_t clockidWait until a wakeup occurs on any of several futex words.
4500x1c2set_mempolicy_home_nodeunsigned long start, unsigned long len, unsigned long home_node, unsigned long flags—
4510x1c3cachestatunsigned int fd, struct cachestat_range __user *cstat_range, struct cachestat __user *cstat, unsigned int flagsReport page-cache activity for a file range, including cached and dirty pages.
4520x1c4fchmodat2int dfd, const char __user *filename, umode_t mode, unsigned int flags—
4530x1c5map_shadow_stackunsigned long addr, unsigned long size, unsigned int flags—
4540x1c6futex_wakevoid __user *uaddr, unsigned long mask, int nr, unsigned int flags—
4550x1c7futex_waitvoid __user *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec __user *timespec, clockid_t clockid—
4560x1c8futex_requeuestruct futex_waitv __user *waiters, unsigned int flags, int nr_wake, int nr_requeue—
4570x1c9statmountconst struct mnt_id_req __user *req, struct statmount __user *buf, size_t bufsize, unsigned int flags—
4580x1calistmountconst struct mnt_id_req __user *req, u64 __user *mnt_ids, size_t nr_mnt_ids, unsigned int flags—
4590x1cblsm_get_self_attrunsigned int attr, struct lsm_ctx __user *ctx, u32 __user *size, u32 flags—
4600x1cclsm_set_self_attrunsigned int attr, struct lsm_ctx __user *ctx, u32 size, u32 flags—
4610x1cdlsm_list_modulesu64 __user *ids, u32 __user *size, u32 flags—
4620x1cemsealunsigned long start, size_t len, unsigned long flags—
4630x1cfsetxattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name, const struct xattr_args __user *args, size_t size—
4640x1d0getxattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name, struct xattr_args __user *args, size_t size—
4650x1d1listxattratint dfd, const char __user *path, unsigned int at_flags, char __user *list, size_t size—
4660x1d2removexattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name—
4670x1d3open_tree_attrint dfd, const char __user *path, unsigned flags, struct mount_attr __user *uattr, size_t usize—
4680x1d4file_getattrint dfd, const char __user *filename, struct file_attr __user *attr, size_t usize, unsigned int at_flags—
4690x1d5file_setattrint dfd, const char __user *filename, struct file_attr __user *attr, size_t usize, unsigned int at_flags—
4700x1d6listnsconst struct ns_id_req __user *req, u64 __user *ns_ids, size_t nr_ns_ids, unsigned int flags—
4710x1d7rseq_slice_yieldvoid—
4720x1d8fchrootint fd, unsigned int flags—

A table entry does not mean the call exists in every kernel: most optional calls return ENOSYS when the matching configuration option or architecture support is not built. This table as JSON