x86-64 Linux system call table Linux 7.3

The x86-64 system call table of Linux 7.3: 369 implemented calls and 17 reserved slots without an implementation. Numbers and entry points come from arch/x86/entry/syscalls/syscall_64.tbl; C parameters come from the kernel headers and sources.

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

Calling convention

Instruction
syscall
System call number (NR)
rax
Return value
rax
Arguments (ARG1–ARG6)
rdi, rsi, rdx, r10, r8, r9

These are the raw kernel conventions. The C library provides its own wrappers. Second result register, clobbered registers and PowerPC notes.

x86-64 system calls in Linux 7.3

x86-64 system calls in Linux 7.3
No.HexSystem callArgumentsWhat it does
00x0readunsigned int fd, char __user *buf, size_t countRead bytes from an open file descriptor into a buffer.
10x1writeunsigned int fd, const char __user *buf, size_t countWrite bytes from a buffer to an open file descriptor.
20x2openconst char __user *filename, int flags, umode_t modeOpen a path and return a file descriptor; flags can request creation or truncation.
30x3closeunsigned int fdRelease a file descriptor so its number can be reused.
40x4statconst char __user *filename, struct stat __user *statbufRead metadata such as file size, type and permissions for a path.
50x5fstatunsigned int fd, struct stat __user *statbufRead file metadata from an open descriptor.
60x6lstatconst char __user *filename, struct stat __user *statbufRead metadata about the path itself, leaving a final symbolic link unfollowed.
70x7pollstruct pollfd __user *ufds, unsigned int nfds, int timeoutWait for one or more descriptors to become ready for I/O.
80x8lseekunsigned int fd, off_t offset, unsigned int whenceChange the file position used by subsequent reads and writes.
90x9mmapunsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offMap a file or anonymous memory into the process address space.
100xamprotectunsigned long start, size_t len, unsigned long protChange which accesses are permitted to a mapped address range.
110xbmunmapunsigned long addr, size_t lenRemove a mapped address range from the process.
120xcbrkunsigned long brkChange the end of the process data segment used by some heap allocators.
130xdrt_sigactionint, const struct sigaction __user *, struct sigaction __user *, size_tInspect or change how the process handles a signal.
140xert_sigprocmaskint how, sigset_t __user *set, sigset_t __user *oset, size_t sigsetsizeRead or change the set of signals blocked by the calling thread.
150xfrt_sigreturnvoidRestore the saved thread context after a signal handler finishes.
160x10ioctlunsigned int fd, unsigned int cmd, unsigned long argSend a control request whose meaning depends on the device or object behind the descriptor.
170x11pread64unsigned int fd, char __user *buf, size_t count, loff_t posRead at an explicit file offset without moving the shared file position.
180x12pwrite64unsigned int fd, const char __user *buf, size_t count, loff_t posWrite at an explicit file offset without moving the shared file position.
190x13readvunsigned long fd, const struct iovec __user *vec, unsigned long vlenRead into several buffers in order with one call.
200x14writevunsigned long fd, const struct iovec __user *vec, unsigned long vlenWrite from several buffers in order with one call.
210x15accessconst char __user *filename, int modeCheck path access using real user and group IDs, rather than the effective IDs used by open.
220x16pipeint __user *fildesCreate a byte stream with separate read and write descriptors.
230x17selectint n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_timeval __user *tvpWatch sets of descriptors for read, write or exceptional readiness.
240x18sched_yieldvoidGive up the CPU and let the scheduler choose the next runnable thread.
250x19mremapunsigned 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.
260x1amsyncunsigned long start, size_t len, int flagsFlush changes in a shared file mapping back to the file.
270x1bmincoreunsigned long start, size_t len, unsigned char __user * vecReport which pages in a mapping are currently resident in RAM.
280x1cmadviseunsigned long start, size_t len, int behaviorTell the kernel how an address range will be used, or request an action such as discarding pages.
290x1dshmgetkey_t key, size_t size, int flagCreate or look up a System V shared memory segment.
300x1eshmatint shmid, char __user *shmaddr, int shmflgAttach a System V shared memory segment to the process address space.
310x1fshmctlint shmid, int cmd, struct shmid_ds __user *bufInspect, configure or mark a System V shared memory segment for removal.
320x20dupunsigned int fildesMake a new descriptor that shares the same open file, including its current position.
330x21dup2unsigned int oldfd, unsigned int newfdDuplicate a descriptor onto a chosen number, replacing the target if needed.
340x22pausevoidSuspend the calling thread until a signal runs a handler or terminates it.
350x23nanosleepstruct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtpPause the calling thread for a relative interval unless interrupted.
360x24getitimerint which, struct __kernel_old_itimerval __user *valueRead the remaining time and repetition interval of a legacy timer.
370x25alarmunsigned int secondsSchedule a SIGALRM signal after a specified number of seconds.
380x26setitimerint which, struct __kernel_old_itimerval __user *value, struct __kernel_old_itimerval __user *ovalueStart or cancel a legacy interval timer that delivers a signal.
390x27getpidvoidReturn the caller’s process ID, shared by threads in the same process.
400x28sendfileint out_fd, int in_fd, loff_t __user *offset, size_t countTransfer bytes from an input file descriptor to another descriptor, such as a socket, inside the kernel.
410x29socketint, int, intCreate a communication endpoint and return its descriptor.
420x2aconnectint, struct sockaddr __user *, intConnect a socket to a peer or set a datagram socket’s default peer.
430x2bacceptint, struct sockaddr __user *, int __user *Take the next pending connection and return a new connected socket.
440x2csendtoint, void __user *, size_t, unsigned, struct sockaddr __user *, intSend a message through a socket, optionally specifying its destination.
450x2drecvfromint, void __user *, size_t, unsigned, struct sockaddr __user *, int __user *Receive data from a socket and optionally retrieve the sender’s address.
460x2esendmsgint fd, struct user_msghdr __user *msg, unsigned flagsSend a socket message with multiple buffers and optional ancillary data.
470x2frecvmsgint fd, struct user_msghdr __user *msg, unsigned flagsReceive a socket message, including ancillary data such as passed descriptors.
480x30shutdownint, intDisable receiving, sending or both on a socket connection.
490x31bindint, struct sockaddr __user *, intAssign a local address to a socket.
500x32listenint, intPut a socket into listening mode for incoming connections.
510x33getsocknameint, struct sockaddr __user *, int __user *Get the local address currently bound to a socket.
520x34getpeernameint, struct sockaddr __user *, int __user *Get the address of the socket’s connected peer.
530x35socketpairint, int, int, int __user *Create two connected sockets, often for local process communication.
540x36setsockoptint fd, int level, int optname, char __user *optval, int optlenSet an option at a socket or protocol level.
550x37getsockoptint fd, int level, int optname, char __user *optval, int __user *optlenRead an option at a socket or protocol level.
560x38cloneunsigned long, unsigned long, int __user *, int __user *, unsigned longCreate a child task and choose which resources it shares with the caller.
570x39forkvoidCreate a child process with a separate address space initially sharing pages through copy-on-write.
580x3avforkvoidCreate a child that temporarily shares the parent’s address space and suspends the calling thread.
590x3bexecveconst 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.
600x3cexitint error_codeTerminate the calling thread; the libc _exit wrapper usually terminates the whole process.
610x3dwait4pid_t pid, int __user *stat_addr, int options, struct rusage __user *ruWait for a child state change and collect its status and resource usage.
620x3ekillpid_t pid, int sigSend a signal to a process or process group; signal 0 only checks existence and permission.
630x3funamestruct new_utsname __user *nameRead kernel and machine identification, including the release string.
640x40semgetkey_t key, int nsems, int semflgCreate or find a set of System V semaphores.
650x41semopint semid, struct sembuf __user *sops, unsigned nsopsApply a batch of operations to System V semaphores atomically.
660x42semctlint semid, int semnum, int cmd, unsigned long argQuery or control a System V semaphore set and its values.
670x43shmdtchar __user *shmaddrDetach a System V shared memory segment from an address.
680x44msggetkey_t key, int msgflgCreate or look up a System V message queue.
690x45msgsndint msqid, struct msgbuf __user *msgp, size_t msgsz, int msgflgPlace a typed message on a System V message queue.
700x46msgrcvint msqid, struct msgbuf __user *msgp, size_t msgsz, long msgtyp, int msgflgRemove a message from a System V queue, optionally selecting by type.
710x47msgctlint msqid, int cmd, struct msqid_ds __user *bufQuery, update or remove a System V message queue.
720x48fcntlunsigned int fd, unsigned int cmd, unsigned long argInspect or change descriptor and open-file settings, or manage advisory locks.
730x49flockunsigned int fd, unsigned int cmdAcquire or release an advisory lock on an open file.
740x4afsyncunsigned int fdWait for pending data and relevant metadata of a file to reach storage.
750x4bfdatasyncunsigned int fdLike fsync, but only flush metadata needed to retrieve the file data.
760x4ctruncateconst char __user *path, long lengthSet a file’s length, discarding or extending its tail as needed.
770x4dftruncateunsigned int fd, off_t lengthSet the length of a file identified by an open descriptor.
780x4egetdentsunsigned int fd, struct linux_dirent __user *dirent, unsigned int countRead directory entries into a buffer in the kernel’s older record layout.
790x4fgetcwdchar __user *buf, unsigned long sizeReturn the absolute path of the current working directory.
800x50chdirconst char __user *filenameChange the working directory used for relative paths.
810x51fchdirunsigned int fdSet the working directory from an open directory descriptor.
820x52renameconst char __user *oldname, const char __user *newnameMove a filesystem name, replacing the destination atomically when allowed.
830x53mkdirconst char __user *pathname, umode_t modeCreate an empty directory at a path.
840x54rmdirconst char __user *pathnameRemove an empty directory.
850x55creatconst char __user *pathname, umode_t modeOpen a file for writing, creating it if absent and truncating it if present.
860x56linkconst char __user *oldname, const char __user *newnameCreate a second directory entry for the same inode.
870x57unlinkconst char __user *pathnameRemove a filesystem name; open descriptors can keep the underlying file alive.
880x58symlinkconst char __user *old, const char __user *newCreate a symbolic link containing a target path.
890x59readlinkconst char __user *path, char __user *buf, int bufsizRead the path stored in a symbolic link without following it.
900x5achmodconst char __user *filename, umode_t modeChange the permission and special mode bits of a file.
910x5bfchmodunsigned int fd, umode_t modeSet the mode bits of the file behind an open descriptor.
920x5cchownconst char __user *filename, uid_t user, gid_t groupChange the user or group that owns a file.
930x5dfchownunsigned int fd, uid_t user, gid_t groupSet the owner or group of the file behind an open descriptor.
940x5elchownconst char __user *filename, uid_t user, gid_t groupChange ownership of a path without following its final symbolic link.
950x5fumaskint maskSet which permission bits are cleared when creating files or directories.
960x60gettimeofdaystruct __kernel_old_timeval __user *tv, struct timezone __user *tzRead wall-clock time as seconds and microseconds since the Unix epoch.
970x61getrlimitunsigned int resource, struct rlimit __user *rlimRead the soft and hard limits for a process resource, such as open files.
980x62getrusageint who, struct rusage __user *ruRead CPU time, page faults and other resource usage counters.
990x63sysinfostruct sysinfo __user *infoRead system statistics such as uptime, load and memory totals.
1000x64timesstruct tms __user *tbufCollect user and kernel CPU time for the process and its waited-for children.
1010x65ptracelong request, long pid, unsigned long addr, unsigned long dataObserve or control another thread’s execution, as debuggers do.
1020x66getuidvoidReturn the real user ID of the caller.
1030x67syslogint type, char __user *buf, int len—
1040x68getgidvoidReturn the caller’s real group ID.
1050x69setuiduid_t uidChange the caller’s user identity, within its current permissions.
1060x6asetgidgid_t gidChange the caller’s group identity, within its current permissions.
1070x6bgeteuidvoidReturn the effective user ID used for many permission checks.
1080x6cgetegidvoidReturn the caller’s effective group ID.
1090x6dsetpgidpid_t pid, pid_t pgidSet a process’s group, as a shell does for job control.
1100x6egetppidvoidReturn the parent process ID visible to the caller.
1110x6fgetpgrpvoid—
1120x70setsidvoidStart a new session and process group without a controlling terminal.
1130x71setreuiduid_t ruid, uid_t euid—
1140x72setregidgid_t rgid, gid_t egid—
1150x73getgroupsint gidsetsize, gid_t __user *grouplistRead the caller’s supplementary group IDs.
1160x74setgroupsint gidsetsize, gid_t __user *grouplistReplace the supplementary group list when permitted.
1170x75setresuiduid_t ruid, uid_t euid, uid_t suidSet the real, effective and saved user IDs within the caller’s permissions.
1180x76getresuiduid_t __user *ruid, uid_t __user *euid, uid_t __user *suidRead the real, effective and saved user IDs.
1190x77setresgidgid_t rgid, gid_t egid, gid_t sgidSet the real, effective and saved group IDs within the caller’s permissions.
1200x78getresgidgid_t __user *rgid, gid_t __user *egid, gid_t __user *sgidRead the real, effective and saved group IDs.
1210x79getpgidpid_t pidRead a process’s process-group ID.
1220x7asetfsuiduid_t uid—
1230x7bsetfsgidgid_t gid—
1240x7cgetsidpid_t pid—
1250x7dcapgetcap_user_header_t header, cap_user_data_t dataptrRead a thread’s Linux capability sets.
1260x7ecapsetcap_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.
1270x7frt_sigpendingsigset_t __user *set, size_t sigsetsizeRead the set of signals pending delivery to the calling thread.
1280x80rt_sigtimedwaitconst sigset_t __user *uthese, siginfo_t __user *uinfo, const struct __kernel_timespec __user *uts, size_t sigsetsize—
1290x81rt_sigqueueinfopid_t pid, int sig, siginfo_t __user *uinfo—
1300x82rt_sigsuspendsigset_t __user *unewset, size_t sigsetsizeTemporarily replace the signal mask and sleep until a signal is delivered.
1310x83sigaltstackconst struct sigaltstack __user *uss, struct sigaltstack __user *uossSet or inspect an alternate stack for signal handlers.
1320x84utimechar __user *filename, struct utimbuf __user *times—
1330x85mknodconst char __user *filename, umode_t mode, unsigned dev—
1340x86uselib unimplemented——
1350x87personalityunsigned int personality—
1360x88ustatunsigned dev, struct ustat __user *ubuf—
1370x89statfsconst char __user * path, struct statfs __user *bufReport capacity, free space and other statistics for the filesystem containing a path.
1380x8afstatfsunsigned int fd, struct statfs __user *buf—
1390x8bsysfsint option, unsigned long arg1, unsigned long arg2—
1400x8cgetpriorityint which, int who—
1410x8dsetpriorityint which, int who, int niceval—
1420x8esched_setparampid_t pid, struct sched_param __user *param—
1430x8fsched_getparampid_t pid, struct sched_param __user *param—
1440x90sched_setschedulerpid_t pid, int policy, struct sched_param __user *param—
1450x91sched_getschedulerpid_t pid—
1460x92sched_get_priority_maxint policy—
1470x93sched_get_priority_minint policy—
1480x94sched_rr_get_intervalpid_t pid, struct __kernel_timespec __user *interval—
1490x95mlockunsigned long start, size_t lenKeep pages in an address range resident in RAM.
1500x96munlockunsigned long start, size_t lenRemove a memory lock so the kernel can reclaim the pages again.
1510x97mlockallint flags—
1520x98munlockallvoid—
1530x99vhangupvoid—
1540x9amodify_ldtint func, void __user *ptr, unsigned long bytecount—
1550x9bpivot_rootconst char __user *new_root, const char __user *put_oldSwap the root mount in the caller’s mount namespace, moving the old root aside.
1560x9c_sysctl unimplemented——
1570x9dprctlint option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5Query or change process and thread attributes selected by an operation code.
1580x9earch_prctlint option, unsigned long arg2Query or change architecture-specific thread state, such as the x86-64 FS base.
1590x9fadjtimexstruct __kernel_timex __user *txc_p—
1600xa0setrlimitunsigned int resource, struct rlimit __user *rlimSet soft and hard limits for a process resource within the caller’s permissions.
1610xa1chrootconst char __user *filenameChange the root directory used to resolve paths beginning with a slash.
1620xa2syncvoidRequest writeback of pending changes across filesystems.
1630xa3acctconst char __user *name—
1640xa4settimeofdaystruct __kernel_old_timeval __user *tv, struct timezone __user *tz—
1650xa5mountchar __user *dev_name, char __user *dir_name, char __user *type, unsigned long flags, void __user *dataAttach or reconfigure a filesystem at a mount point.
1660xa6umount2char __user *name, int flagsDetach a mounted filesystem with options such as lazy unmount.
1670xa7swaponconst char __user *specialfile, int swap_flags—
1680xa8swapoffconst char __user *specialfile—
1690xa9rebootint magic1, int magic2, unsigned int cmd, void __user *argRequest a system action such as restarting or powering off, with the required privilege.
1700xaasethostnamechar __user *name, int len—
1710xabsetdomainnamechar __user *name, int len—
1720xacioplunsigned int level—
1730xadiopermunsigned long from, unsigned long num, int on—
1740xaecreate_module unimplemented——
1750xafinit_modulevoid __user *umod, unsigned long len, const char __user *uargs—
1760xb0delete_moduleconst char __user *name_user, unsigned int flagsAsk the kernel to unload a module by name.
1770xb1get_kernel_syms unimplemented——
1780xb2query_module unimplemented——
1790xb3quotactlunsigned int cmd, const char __user *special, qid_t id, void __user *addr—
1800xb4nfsservctl unimplemented——
1810xb5getpmsg unimplemented——
1820xb6putpmsg unimplemented——
1830xb7afs_syscall unimplemented——
1840xb8tuxcall unimplemented——
1850xb9security unimplemented——
1860xbagettidvoidReturn the kernel thread ID of the calling thread.
1870xbbreadaheadint fd, loff_t offset, size_t countAsk the kernel to preload a file range into the page cache.
1880xbcsetxattrconst 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.
1890xbdlsetxattrconst char __user *path, const char __user *name, const void __user *value, size_t size, int flags—
1900xbefsetxattrint fd, const char __user *name, const void __user *value, size_t size, int flags—
1910xbfgetxattrconst char __user *path, const char __user *name, void __user *value, size_t sizeRead the bytes stored in a named extended attribute.
1920xc0lgetxattrconst char __user *path, const char __user *name, void __user *value, size_t size—
1930xc1fgetxattrint fd, const char __user *name, void __user *value, size_t size—
1940xc2listxattrconst char __user *path, char __user *list, size_t sizeList names of extended attributes accessible on a file.
1950xc3llistxattrconst char __user *path, char __user *list, size_t size—
1960xc4flistxattrint fd, char __user *list, size_t size—
1970xc5removexattrconst char __user *path, const char __user *nameRemove a named extended attribute from a file.
1980xc6lremovexattrconst char __user *path, const char __user *name—
1990xc7fremovexattrint fd, const char __user *name—
2000xc8tkillpid_t pid, int sig—
2010xc9time__kernel_old_time_t __user *tlocRead wall-clock time in whole seconds since the Unix epoch.
2020xcafutexu32 __user *uaddr, int op, u32 val, const struct __kernel_timespec __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.
2030xcbsched_setaffinitypid_t pid, unsigned int len, unsigned long __user *user_mask_ptrRestrict the CPUs on which a thread can run.
2040xccsched_getaffinitypid_t pid, unsigned int len, unsigned long __user *user_mask_ptrRead the CPU set on which a thread is allowed to run.
2050xcdset_thread_area unimplemented——
2060xceio_setupunsigned nr_reqs, aio_context_t __user *ctx—
2070xcfio_destroyaio_context_t ctx—
2080xd0io_geteventsaio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct __kernel_timespec __user *timeout—
2090xd1io_submitaio_context_t, long, struct iocb __user * __user *—
2100xd2io_cancelaio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result—
2110xd3get_thread_area unimplemented——
2120xd4lookup_dcookie unimplemented——
2130xd5epoll_createint sizeCreate a kernel object for tracking readiness across many descriptors.
2140xd6epoll_ctl_old unimplemented——
2150xd7epoll_wait_old unimplemented——
2160xd8remap_file_pagesunsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags—
2170xd9getdents64unsigned int fd, struct linux_dirent64 __user *dirent, unsigned int countRead a batch of directory entries with 64-bit inode numbers.
2180xdaset_tid_addressint __user *tidptr—
2190xdbrestart_syscallvoid—
2200xdcsemtimedopint semid, struct sembuf __user *sops, unsigned nsops, const struct __kernel_timespec __user *timeout—
2210xddfadvise64int fd, loff_t offset, size_t len, int adviceGive the kernel a hint about expected access to a file range.
2220xdetimer_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.
2230xdftimer_settimetimer_t timer_id, int flags, const struct __kernel_itimerspec __user *new_setting, struct __kernel_itimerspec __user *old_settingStart or stop a POSIX timer and set its expiration and interval.
2240xe0timer_gettimetimer_t timer_id, struct __kernel_itimerspec __user *settingRead the time left and repetition interval of a POSIX timer.
2250xe1timer_getoverruntimer_t timer_id—
2260xe2timer_deletetimer_t timer_idDelete a POSIX timer and disarm it if active.
2270xe3clock_settimeclockid_t which_clock, const struct __kernel_timespec __user *tpSet the time of a clock that allows updates.
2280xe4clock_gettimeclockid_t which_clock, struct __kernel_timespec __user *tpRead the current value of a chosen clock, such as monotonic time.
2290xe5clock_getresclockid_t which_clock, struct __kernel_timespec __user *tpReport the resolution of a chosen clock.
2300xe6clock_nanosleepclockid_t which_clock, int flags, const struct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtpSleep relative to or until a time on a chosen clock.
2310xe7exit_groupint error_codeTerminate all threads in the calling process.
2320xe8epoll_waitint epfd, struct epoll_event __user *events, int maxevents, int timeoutCollect ready events from an epoll instance, waiting up to a timeout.
2330xe9epoll_ctlint epfd, int op, int fd, struct epoll_event __user *eventAdd, modify or remove a descriptor in an epoll interest list.
2340xeatgkillpid_t tgid, pid_t pid, int sigSend a signal to a specific thread within a specified process.
2350xebutimeschar __user *filename, struct __kernel_old_timeval __user *utimes—
2360xecvserver unimplemented——
2370xedmbindunsigned long start, unsigned long len, unsigned long mode, const unsigned long __user *nmask, unsigned long maxnode, unsigned flags—
2380xeeset_mempolicyint mode, const unsigned long __user *nmask, unsigned long maxnode—
2390xefget_mempolicyint __user *policy, unsigned long __user *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags—
2400xf0mq_openconst char __user *name, int oflag, umode_t mode, struct mq_attr __user *attrCreate or open a named POSIX message queue.
2410xf1mq_unlinkconst char __user *nameRemove the name of a POSIX message queue.
2420xf2mq_timedsendmqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec __user *abs_timeoutSend a POSIX message with a priority and a deadline for blocking.
2430xf3mq_timedreceivemqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int __user *msg_prio, const struct __kernel_timespec __user *abs_timeoutReceive the highest-priority POSIX message, with a deadline for blocking.
2440xf4mq_notifymqd_t mqdes, const struct sigevent __user *notification—
2450xf5mq_getsetattrmqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr __user *omqstat—
2460xf6kexec_loadunsigned long entry, unsigned long nr_segments, struct kexec_segment __user *segments, unsigned long flags—
2470xf7waitidint 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.
2480xf8add_keyconst char __user *_type, const char __user *_description, const void __user *_payload, size_t plen, key_serial_t destringid—
2490xf9request_keyconst char __user *_type, const char __user *_description, const char __user *_callout_info, key_serial_t destringid—
2500xfakeyctlint cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5—
2510xfbioprio_setint which, int who, int ioprio—
2520xfcioprio_getint which, int who—
2530xfdinotify_initvoidCreate an inotify instance and return a descriptor for its filesystem event queue.
2540xfeinotify_add_watchint fd, const char __user *path, u32 maskAdd or update a watch for filesystem changes at a path.
2550xffinotify_rm_watchint fd, __s32 wdRemove a watch from an inotify instance.
2560x100migrate_pagespid_t pid, unsigned long maxnode, const unsigned long __user *from, const unsigned long __user *to—
2570x101openatint dfd, const char __user *filename, int flags, umode_t modeOpen a path, resolving relative paths from a directory descriptor.
2580x102mkdiratint dfd, const char __user * pathname, umode_t modeCreate a directory using a directory descriptor as the base for relative paths.
2590x103mknodatint dfd, const char __user * filename, umode_t mode, unsigned dev—
2600x104fchownatint 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.
2610x105futimesatint dfd, const char __user *filename, struct __kernel_old_timeval __user *utimes—
2620x106newfstatatint dfd, const char __user *filename, struct stat __user *statbuf, int flagRead file metadata relative to a directory descriptor, with control over symlink handling.
2630x107unlinkatint dfd, const char __user * pathname, int flagRemove a name or directory relative to a directory descriptor.
2640x108renameatint olddfd, const char __user * oldname, int newdfd, const char __user * newnameRename a path using directory descriptors to resolve relative names.
2650x109linkatint olddfd, const char __user *oldname, int newdfd, const char __user *newname, int flags—
2660x10asymlinkatconst char __user * oldname, int newdfd, const char __user * newname—
2670x10breadlinkatint dfd, const char __user *path, char __user *buf, int bufsizRead a symbolic link using a directory descriptor to resolve relative paths.
2680x10cfchmodatint dfd, const char __user *filename, umode_t mode—
2690x10dfaccessatint dfd, const char __user *filename, int mode—
2700x10epselect6int, fd_set __user *, fd_set __user *, fd_set __user *, struct __kernel_timespec __user *, void __user *Wait like select while temporarily changing the signal mask.
2710x10fppollstruct pollfd __user *, unsigned int, struct __kernel_timespec __user *, const sigset_t __user *, size_tWait for descriptor readiness while temporarily applying a signal mask.
2720x110unshareunsigned long unshare_flagsGive the caller a private copy of selected execution context, such as a mount namespace.
2730x111set_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.
2740x112get_robust_listint pid, struct robust_list_head __user * __user *head_ptr, size_t __user *len_ptr—
2750x113spliceint 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.
2760x114teeint fdin, int fdout, size_t len, unsigned int flagsDuplicate pipe data into a second pipe without consuming it from the first.
2770x115sync_file_rangeint fd, loff_t offset, loff_t nbytes, unsigned int flags—
2780x116vmspliceint fd, const struct iovec __user *iov, unsigned long nr_segs, unsigned int flagsTransfer data between a vector of userspace buffers and a pipe.
2790x117move_pagespid_t pid, unsigned long nr_pages, const void __user * __user *pages, const int __user *nodes, int __user *status, int flags—
2800x118utimensatint dfd, const char __user *filename, struct __kernel_timespec __user *utimes, int flagsSet file access and modification timestamps at nanosecond precision.
2810x119epoll_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.
2820x11asignalfdint ufd, sigset_t __user *user_mask, size_t sizemaskReceive selected pending signals through a file descriptor.
2830x11btimerfd_createint clockid, int flagsCreate a timer whose expirations can be read or watched through a descriptor.
2840x11ceventfdunsigned int countCreate a descriptor backed by a counter for notifying other threads or an event loop.
2850x11dfallocateint fd, int mode, loff_t offset, loff_t lenAllocate or alter storage for a file range, with operations such as punching a hole.
2860x11etimerfd_settimeint ufd, int flags, const struct __kernel_itimerspec __user *utmr, struct __kernel_itimerspec __user *otmrArm, reconfigure or disarm a descriptor-based timer.
2870x11ftimerfd_gettimeint ufd, struct __kernel_itimerspec __user *otmrRead the remaining time and interval of a descriptor-based timer.
2880x120accept4int, struct sockaddr __user *, int __user *, intAccept a connection and set descriptor flags without a separate call.
2890x121signalfd4int ufd, sigset_t __user *user_mask, size_t sizemask, int flagsReceive selected pending signals by reading a file descriptor.
2900x122eventfd2unsigned int count, int flagsCreate a counter descriptor with nonblocking, close-on-exec or semaphore options.
2910x123epoll_create1int flagsCreate an epoll instance and optionally mark its descriptor close-on-exec.
2920x124dup3unsigned int oldfd, unsigned int newfd, int flagsDuplicate onto a chosen descriptor number and optionally set close-on-exec.
2930x125pipe2int __user *fildes, int flagsCreate a pipe with options such as nonblocking I/O or close-on-exec set from the start.
2940x126inotify_init1int flagsCreate a descriptor that delivers filesystem change notifications.
2950x127preadvunsigned 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.
2960x128pwritevunsigned 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.
2970x129rt_tgsigqueueinfopid_t tgid, pid_t pid, int sig, siginfo_t __user *uinfo—
2980x12aperf_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.
2990x12brecvmmsgint fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flags, struct __kernel_timespec __user *timeoutReceive a batch of socket messages in one call.
3000x12cfanotify_initunsigned int flags, unsigned int event_f_flagsCreate a fanotify group for filesystem event notification or permission decisions.
3010x12dfanotify_markint fanotify_fd, unsigned int flags, u64 mask, int fd, const char __user *pathnameChoose which files, mounts or filesystems a fanotify group monitors.
3020x12eprlimit64pid_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.
3030x12fname_to_handle_atint dfd, const char __user *name, struct file_handle __user *handle, void __user *mnt_id, int flag—
3040x130open_by_handle_atint mountdirfd, struct file_handle __user *handle, int flags—
3050x131clock_adjtimeclockid_t which_clock, struct __kernel_timex __user *tx—
3060x132syncfsint fdFlush pending changes for the filesystem of an open descriptor.
3070x133sendmmsgint fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flagsSend a batch of socket messages in one call.
3080x134setnsint fd, int nstypeMove the calling thread into an existing namespace.
3090x135getcpuunsigned __user *cpu, unsigned __user *node, void __user *cache—
3100x136process_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.
3110x137process_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.
3120x138kcmppid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2—
3130x139finit_moduleint fd, const char __user *uargs, int flagsLoad a kernel module from an open file descriptor.
3140x13asched_setattrpid_t pid, struct sched_attr __user *attr, unsigned int flags—
3150x13bsched_getattrpid_t pid, struct sched_attr __user *attr, unsigned int size, unsigned int flags—
3160x13crenameat2int 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.
3170x13dseccompunsigned int op, unsigned int flags, void __user *uargsRestrict which system calls a thread may make, typically with a BPF filter.
3180x13egetrandomchar __user *buf, size_t count, unsigned int flagsFill a buffer with random bytes from the kernel’s random number generator.
3190x13fmemfd_createconst char __user *uname_ptr, unsigned int flagsCreate an anonymous, RAM-backed file accessible through a descriptor.
3200x140kexec_file_loadint kernel_fd, int initrd_fd, unsigned long cmdline_len, const char __user *cmdline_ptr, unsigned long flags—
3210x141bpfint 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.
3220x142execveatint 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.
3230x143userfaultfdint flagsRoute selected page faults to userspace so a handler can resolve them.
3240x144membarrierint cmd, unsigned int flags, int cpu_idRequest memory ordering across threads or processors for a supported command.
3250x145mlock2unsigned long start, size_t len, int flags—
3260x146copy_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.
3270x147preadv2unsigned 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.
3280x148pwritev2unsigned 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.
3290x149pkey_mprotectunsigned long start, size_t len, unsigned long prot, int pkey—
3300x14apkey_allocunsigned long flags, unsigned long init_val—
3310x14bpkey_freeint pkey—
3320x14cstatxint 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.
3330x14dio_pgeteventsaio_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—
3340x14erseqstruct 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.
3350x14furetprobevoid—
3360x150uprobevoid—
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.
4470x1bfmemfd_secretunsigned int flags—
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