MIPS n32 Linux system call table Linux 7.3

The MIPS n32 system call table of Linux 7.3: 387 implemented calls and 13 reserved slots without an implementation. Numbers and entry points come from arch/mips/kernel/syscalls/syscall_n32.tbl; C parameters come from the kernel headers and sources.

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

Calling convention

Instruction
syscall
System call number (NR)
v0
Return value
v0
Arguments (ARG1–ARG6)
a0, a1, a2, a3, a4, a5
Error flag
a3

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).

MIPS n32 system calls in Linux 7.3

MIPS n32 system calls in Linux 7.3
No.HexSystem callArgumentsWhat it does
60000x1770readunsigned int fd, char __user *buf, size_t countRead bytes from an open file descriptor into a buffer.
60010x1771writeunsigned int fd, const char __user *buf, size_t countWrite bytes from a buffer to an open file descriptor.
60020x1772openconst char __user *filename, int flags, umode_t modeOpen a path and return a file descriptor; flags can request creation or truncation.
60030x1773closeunsigned int fdRelease a file descriptor so its number can be reused.
60040x1774statconst char __user *filename, struct stat __user *statbufRead metadata such as file size, type and permissions for a path.
60050x1775fstatunsigned int fd, struct stat __user *statbufRead file metadata from an open descriptor.
60060x1776lstatconst char __user *filename, struct stat __user *statbufRead metadata about the path itself, leaving a final symbolic link unfollowed.
60070x1777pollstruct pollfd __user *ufds, unsigned int nfds, int timeoutWait for one or more descriptors to become ready for I/O.
60080x1778lseekunsigned int fd, off_t offset, unsigned int whenceChange the file position used by subsequent reads and writes.
60090x1779mmapunsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offsetMap a file or anonymous memory into the process address space.
60100x177amprotectunsigned long start, size_t len, unsigned long protChange which accesses are permitted to a mapped address range.
60110x177bmunmapunsigned long addr, size_t lenRemove a mapped address range from the process.
60120x177cbrkunsigned long brkChange the end of the process data segment used by some heap allocators.
60130x177drt_sigactionint, const struct compat_sigaction __user *, struct compat_sigaction __user *, compat_size_tInspect or change how the process handles a signal.
60140x177ert_sigprocmaskint how, compat_sigset_t __user *set, compat_sigset_t __user *oset, compat_size_t sigsetsizeRead or change the set of signals blocked by the calling thread.
60150x177fioctlunsigned int fd, unsigned int cmd, compat_ulong_t argSend a control request whose meaning depends on the device or object behind the descriptor.
60160x1780pread64unsigned int fd, char __user *buf, size_t count, loff_t posRead at an explicit file offset without moving the shared file position.
60170x1781pwrite64unsigned int fd, const char __user *buf, size_t count, loff_t posWrite at an explicit file offset without moving the shared file position.
60180x1782readvunsigned long fd, const struct iovec __user *vec, unsigned long vlenRead into several buffers in order with one call.
60190x1783writevunsigned long fd, const struct iovec __user *vec, unsigned long vlenWrite from several buffers in order with one call.
60200x1784accessconst char __user *filename, int modeCheck path access using real user and group IDs, rather than the effective IDs used by open.
60210x1785pipenot resolvedCreate a byte stream with separate read and write descriptors.
60220x1786_newselectint n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct old_timeval32 __user *tvp—
60230x1787sched_yieldvoidGive up the CPU and let the scheduler choose the next runnable thread.
60240x1788mremapunsigned 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.
60250x1789msyncunsigned long start, size_t len, int flagsFlush changes in a shared file mapping back to the file.
60260x178amincoreunsigned long start, size_t len, unsigned char __user * vecReport which pages in a mapping are currently resident in RAM.
60270x178bmadviseunsigned long start, size_t len, int behaviorTell the kernel how an address range will be used, or request an action such as discarding pages.
60280x178cshmgetkey_t key, size_t size, int flagCreate or look up a System V shared memory segment.
60290x178dshmatint shmid, char __user *shmaddr, int shmflgAttach a System V shared memory segment to the process address space.
60300x178eshmctlint shmid, int cmd, void __user *uptrInspect, configure or mark a System V shared memory segment for removal.
60310x178fdupunsigned int fildesMake a new descriptor that shares the same open file, including its current position.
60320x1790dup2unsigned int oldfd, unsigned int newfdDuplicate a descriptor onto a chosen number, replacing the target if needed.
60330x1791pausevoidSuspend the calling thread until a signal runs a handler or terminates it.
60340x1792nanosleepstruct old_timespec32 __user *rqtp, struct old_timespec32 __user *rmtpPause the calling thread for a relative interval unless interrupted.
60350x1793getitimerint which, struct old_itimerval32 __user *itRead the remaining time and repetition interval of a legacy timer.
60360x1794setitimerint which, struct old_itimerval32 __user *in, struct old_itimerval32 __user *outStart or cancel a legacy interval timer that delivers a signal.
60370x1795alarmunsigned int secondsSchedule a SIGALRM signal after a specified number of seconds.
60380x1796getpidvoidReturn the caller’s process ID, shared by threads in the same process.
60390x1797sendfileint out_fd, int in_fd, compat_off_t __user *offset, compat_size_t countTransfer bytes from an input file descriptor to another descriptor, such as a socket, inside the kernel.
60400x1798socketint, int, intCreate a communication endpoint and return its descriptor.
60410x1799connectint, struct sockaddr __user *, intConnect a socket to a peer or set a datagram socket’s default peer.
60420x179aacceptint, struct sockaddr __user *, int __user *Take the next pending connection and return a new connected socket.
60430x179bsendtoint, void __user *, size_t, unsigned, struct sockaddr __user *, intSend a message through a socket, optionally specifying its destination.
60440x179crecvfromint fd, void __user *buf, compat_size_t len, unsigned flags, struct sockaddr __user *addr, int __user *addrlenReceive data from a socket and optionally retrieve the sender’s address.
60450x179dsendmsgint fd, struct compat_msghdr __user *msg, unsigned flagsSend a socket message with multiple buffers and optional ancillary data.
60460x179erecvmsgint fd, struct compat_msghdr __user *msg, unsigned int flagsReceive a socket message, including ancillary data such as passed descriptors.
60470x179fshutdownint, intDisable receiving, sending or both on a socket connection.
60480x17a0bindint, struct sockaddr __user *, intAssign a local address to a socket.
60490x17a1listenint, intPut a socket into listening mode for incoming connections.
60500x17a2getsocknameint, struct sockaddr __user *, int __user *Get the local address currently bound to a socket.
60510x17a3getpeernameint, struct sockaddr __user *, int __user *Get the address of the socket’s connected peer.
60520x17a4socketpairint, int, int, int __user *Create two connected sockets, often for local process communication.
60530x17a5setsockoptint fd, int level, int optname, char __user *optval, int optlenSet an option at a socket or protocol level.
60540x17a6getsockoptint fd, int level, int optname, char __user *optval, int __user *optlenRead an option at a socket or protocol level.
60550x17a7clonenot resolvedCreate a child task and choose which resources it shares with the caller.
60560x17a8forknot resolvedCreate a child process with a separate address space initially sharing pages through copy-on-write.
60570x17a9execveconst char __user *filename, const compat_uptr_t __user *argv, const compat_uptr_t __user *envpReplace the current process image with a program and pass it arguments and environment variables.
60580x17aaexitint error_codeTerminate the calling thread; the libc _exit wrapper usually terminates the whole process.
60590x17abwait4compat_pid_t pid, compat_uint_t __user *stat_addr, int options, struct compat_rusage __user *ruWait for a child state change and collect its status and resource usage.
60600x17ackillpid_t pid, int sigSend a signal to a process or process group; signal 0 only checks existence and permission.
60610x17adunamestruct new_utsname __user *nameRead kernel and machine identification, including the release string.
60620x17aesemgetkey_t key, int nsems, int semflgCreate or find a set of System V semaphores.
60630x17afsemopint semid, struct sembuf __user *sops, unsigned nsopsApply a batch of operations to System V semaphores atomically.
60640x17b0semctlint semid, int semnum, int cmd, int argQuery or control a System V semaphore set and its values.
60650x17b1shmdtchar __user *shmaddrDetach a System V shared memory segment from an address.
60660x17b2msggetkey_t key, int msgflgCreate or look up a System V message queue.
60670x17b3msgsndint msqid, compat_uptr_t msgp, compat_ssize_t msgsz, int msgflgPlace a typed message on a System V message queue.
60680x17b4msgrcvint msqid, compat_uptr_t msgp, compat_ssize_t msgsz, compat_long_t msgtyp, int msgflgRemove a message from a System V queue, optionally selecting by type.
60690x17b5msgctlint msqid, int cmd, void __user *uptrQuery, update or remove a System V message queue.
60700x17b6fcntlunsigned int fd, unsigned int cmd, compat_ulong_t argInspect or change descriptor and open-file settings, or manage advisory locks.
60710x17b7flockunsigned int fd, unsigned int cmdAcquire or release an advisory lock on an open file.
60720x17b8fsyncunsigned int fdWait for pending data and relevant metadata of a file to reach storage.
60730x17b9fdatasyncunsigned int fdLike fsync, but only flush metadata needed to retrieve the file data.
60740x17batruncateconst char __user *path, long lengthSet a file’s length, discarding or extending its tail as needed.
60750x17bbftruncateunsigned int fd, off_t lengthSet the length of a file identified by an open descriptor.
60760x17bcgetdentsunsigned int fd, struct compat_linux_dirent __user *dirent, unsigned int countRead directory entries into a buffer in the kernel’s older record layout.
60770x17bdgetcwdchar __user *buf, unsigned long sizeReturn the absolute path of the current working directory.
60780x17bechdirconst char __user *filenameChange the working directory used for relative paths.
60790x17bffchdirunsigned int fdSet the working directory from an open directory descriptor.
60800x17c0renameconst char __user *oldname, const char __user *newnameMove a filesystem name, replacing the destination atomically when allowed.
60810x17c1mkdirconst char __user *pathname, umode_t modeCreate an empty directory at a path.
60820x17c2rmdirconst char __user *pathnameRemove an empty directory.
60830x17c3creatconst char __user *pathname, umode_t modeOpen a file for writing, creating it if absent and truncating it if present.
60840x17c4linkconst char __user *oldname, const char __user *newnameCreate a second directory entry for the same inode.
60850x17c5unlinkconst char __user *pathnameRemove a filesystem name; open descriptors can keep the underlying file alive.
60860x17c6symlinkconst char __user *old, const char __user *newCreate a symbolic link containing a target path.
60870x17c7readlinkconst char __user *path, char __user *buf, int bufsizRead the path stored in a symbolic link without following it.
60880x17c8chmodconst char __user *filename, umode_t modeChange the permission and special mode bits of a file.
60890x17c9fchmodunsigned int fd, umode_t modeSet the mode bits of the file behind an open descriptor.
60900x17cachownconst char __user *filename, uid_t user, gid_t groupChange the user or group that owns a file.
60910x17cbfchownunsigned int fd, uid_t user, gid_t groupSet the owner or group of the file behind an open descriptor.
60920x17cclchownconst char __user *filename, uid_t user, gid_t groupChange ownership of a path without following its final symbolic link.
60930x17cdumaskint maskSet which permission bits are cleared when creating files or directories.
60940x17cegettimeofdaystruct old_timeval32 __user *tv, struct timezone __user *tzRead wall-clock time as seconds and microseconds since the Unix epoch.
60950x17cfgetrlimitunsigned int resource, struct compat_rlimit __user *rlimRead the soft and hard limits for a process resource, such as open files.
60960x17d0getrusageint who, struct compat_rusage __user *ruRead CPU time, page faults and other resource usage counters.
60970x17d1sysinfostruct compat_sysinfo __user *infoRead system statistics such as uptime, load and memory totals.
60980x17d2timesstruct compat_tms __user *tbufCollect user and kernel CPU time for the process and its waited-for children.
60990x17d3ptracecompat_long_t request, compat_long_t pid, compat_long_t addr, compat_long_t dataObserve or control another thread’s execution, as debuggers do.
61000x17d4getuidvoidReturn the real user ID of the caller.
61010x17d5syslogint type, char __user *buf, int len—
61020x17d6getgidvoidReturn the caller’s real group ID.
61030x17d7setuiduid_t uidChange the caller’s user identity, within its current permissions.
61040x17d8setgidgid_t gidChange the caller’s group identity, within its current permissions.
61050x17d9geteuidvoidReturn the effective user ID used for many permission checks.
61060x17dagetegidvoidReturn the caller’s effective group ID.
61070x17dbsetpgidpid_t pid, pid_t pgidSet a process’s group, as a shell does for job control.
61080x17dcgetppidvoidReturn the parent process ID visible to the caller.
61090x17ddgetpgrpvoid—
61100x17desetsidvoidStart a new session and process group without a controlling terminal.
61110x17dfsetreuiduid_t ruid, uid_t euid—
61120x17e0setregidgid_t rgid, gid_t egid—
61130x17e1getgroupsint gidsetsize, gid_t __user *grouplistRead the caller’s supplementary group IDs.
61140x17e2setgroupsint gidsetsize, gid_t __user *grouplistReplace the supplementary group list when permitted.
61150x17e3setresuiduid_t ruid, uid_t euid, uid_t suidSet the real, effective and saved user IDs within the caller’s permissions.
61160x17e4getresuiduid_t __user *ruid, uid_t __user *euid, uid_t __user *suidRead the real, effective and saved user IDs.
61170x17e5setresgidgid_t rgid, gid_t egid, gid_t sgidSet the real, effective and saved group IDs within the caller’s permissions.
61180x17e6getresgidgid_t __user *rgid, gid_t __user *egid, gid_t __user *sgidRead the real, effective and saved group IDs.
61190x17e7getpgidpid_t pidRead a process’s process-group ID.
61200x17e8setfsuiduid_t uid—
61210x17e9setfsgidgid_t gid—
61220x17eagetsidpid_t pid—
61230x17ebcapgetcap_user_header_t header, cap_user_data_t dataptrRead a thread’s Linux capability sets.
61240x17eccapsetcap_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.
61250x17edrt_sigpendingcompat_sigset_t __user *uset, compat_size_t sigsetsizeRead the set of signals pending delivery to the calling thread.
61260x17eert_sigtimedwaitcompat_sigset_t __user *uthese, struct compat_siginfo __user *uinfo, struct old_timespec32 __user *uts, compat_size_t sigsetsize—
61270x17efrt_sigqueueinfocompat_pid_t pid, int sig, struct compat_siginfo __user *uinfo—
61280x17f0rt_sigsuspendcompat_sigset_t __user *unewset, compat_size_t sigsetsizeTemporarily replace the signal mask and sleep until a signal is delivered.
61290x17f1sigaltstackconst compat_stack_t __user *uss_ptr, compat_stack_t __user *uoss_ptrSet or inspect an alternate stack for signal handlers.
61300x17f2utimeconst char __user *filename, struct old_utimbuf32 __user *t—
61310x17f3mknodconst char __user *filename, umode_t mode, unsigned dev—
61320x17f4personalityunsigned long personality—
61330x17f5ustatunsigned dev, struct compat_ustat __user *u32—
61340x17f6statfsconst char __user *pathname, struct compat_statfs __user *bufReport capacity, free space and other statistics for the filesystem containing a path.
61350x17f7fstatfsunsigned int fd, struct compat_statfs __user *buf—
61360x17f8sysfsint option, unsigned long arg1, unsigned long arg2—
61370x17f9getpriorityint which, int who—
61380x17fasetpriorityint which, int who, int niceval—
61390x17fbsched_setparampid_t pid, struct sched_param __user *param—
61400x17fcsched_getparampid_t pid, struct sched_param __user *param—
61410x17fdsched_setschedulerpid_t pid, int policy, struct sched_param __user *param—
61420x17fesched_getschedulerpid_t pid—
61430x17ffsched_get_priority_maxint policy—
61440x1800sched_get_priority_minint policy—
61450x1801sched_rr_get_intervalpid_t pid, struct old_timespec32 __user *interval—
61460x1802mlockunsigned long start, size_t lenKeep pages in an address range resident in RAM.
61470x1803munlockunsigned long start, size_t lenRemove a memory lock so the kernel can reclaim the pages again.
61480x1804mlockallint flags—
61490x1805munlockallvoid—
61500x1806vhangupvoid—
61510x1807pivot_rootconst char __user *new_root, const char __user *put_oldSwap the root mount in the caller’s mount namespace, moving the old root aside.
61520x1808_sysctl unimplemented——
61530x1809prctlint option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5Query or change process and thread attributes selected by an operation code.
61540x180aadjtimexstruct old_timex32 __user *txc_p—
61550x180bsetrlimitunsigned int resource, struct compat_rlimit __user *rlimSet soft and hard limits for a process resource within the caller’s permissions.
61560x180cchrootconst char __user *filenameChange the root directory used to resolve paths beginning with a slash.
61570x180dsyncvoidRequest writeback of pending changes across filesystems.
61580x180eacctconst char __user *name—
61590x180fsettimeofdaystruct old_timeval32 __user *tv, struct timezone __user *tz—
61600x1810mountchar __user *dev_name, char __user *dir_name, char __user *type, unsigned long flags, void __user *dataAttach or reconfigure a filesystem at a mount point.
61610x1811umount2char __user *name, int flagsDetach a mounted filesystem with options such as lazy unmount.
61620x1812swaponconst char __user *specialfile, int swap_flags—
61630x1813swapoffconst char __user *specialfile—
61640x1814rebootint magic1, int magic2, unsigned int cmd, void __user *argRequest a system action such as restarting or powering off, with the required privilege.
61650x1815sethostnamechar __user *name, int len—
61660x1816setdomainnamechar __user *name, int len—
61670x1817create_module unimplemented——
61680x1818init_modulevoid __user *umod, unsigned long len, const char __user *uargs—
61690x1819delete_moduleconst char __user *name_user, unsigned int flagsAsk the kernel to unload a module by name.
61700x181aget_kernel_syms unimplemented——
61710x181bquery_module unimplemented——
61720x181cquotactlunsigned int cmd, const char __user *special, qid_t id, void __user *addr—
61730x181dnfsservctl unimplemented——
61740x181egetpmsg unimplemented——
61750x181fputpmsg unimplemented——
61760x1820afs_syscall unimplemented——
61770x1821reserved177 unimplemented——
61780x1822gettidvoidReturn the kernel thread ID of the calling thread.
61790x1823readaheadint fd, loff_t offset, size_t countAsk the kernel to preload a file range into the page cache.
61800x1824setxattrconst 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.
61810x1825lsetxattrconst char __user *path, const char __user *name, const void __user *value, size_t size, int flags—
61820x1826fsetxattrint fd, const char __user *name, const void __user *value, size_t size, int flags—
61830x1827getxattrconst char __user *path, const char __user *name, void __user *value, size_t sizeRead the bytes stored in a named extended attribute.
61840x1828lgetxattrconst char __user *path, const char __user *name, void __user *value, size_t size—
61850x1829fgetxattrint fd, const char __user *name, void __user *value, size_t size—
61860x182alistxattrconst char __user *path, char __user *list, size_t sizeList names of extended attributes accessible on a file.
61870x182bllistxattrconst char __user *path, char __user *list, size_t size—
61880x182cflistxattrint fd, char __user *list, size_t size—
61890x182dremovexattrconst char __user *path, const char __user *nameRemove a named extended attribute from a file.
61900x182elremovexattrconst char __user *path, const char __user *name—
61910x182ffremovexattrint fd, const char __user *name—
61920x1830tkillpid_t pid, int sig—
61930x1831reserved193 unimplemented——
61940x1832futexu32 __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.
61950x1833sched_setaffinitycompat_pid_t pid, unsigned int len, compat_ulong_t __user *user_mask_ptrRestrict the CPUs on which a thread can run.
61960x1834sched_getaffinitycompat_pid_t pid, unsigned int len, compat_ulong_t __user *user_mask_ptrRead the CPU set on which a thread is allowed to run.
61970x1835cacheflushunsigned long addr, unsigned long bytes, unsigned int cache—
61980x1836cachectlchar *addr, int nbytes, int op—
61990x1837sysmipsnot resolved—
62000x1838io_setupunsigned nr_reqs, u32 __user *ctx32p—
62010x1839io_destroyaio_context_t ctx—
62020x183aio_getevents__u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event __user *events, struct old_timespec32 __user *timeout—
62030x183bio_submitcompat_aio_context_t ctx_id, int nr, u32 __user *iocb—
62040x183cio_cancelaio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result—
62050x183dexit_groupint error_codeTerminate all threads in the calling process.
62060x183elookup_dcookie unimplemented——
62070x183fepoll_createint sizeCreate a kernel object for tracking readiness across many descriptors.
62080x1840epoll_ctlint epfd, int op, int fd, struct epoll_event __user *eventAdd, modify or remove a descriptor in an epoll interest list.
62090x1841epoll_waitint epfd, struct epoll_event __user *events, int maxevents, int timeoutCollect ready events from an epoll instance, waiting up to a timeout.
62100x1842remap_file_pagesunsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags—
62110x1843rt_sigreturnnot resolvedRestore the saved thread context after a signal handler finishes.
62120x1844fcntl64unsigned int fd, unsigned int cmd, compat_ulong_t arg—
62130x1845set_tid_addressint __user *tidptr—
62140x1846restart_syscallvoid—
62150x1847semtimedopint semid, struct sembuf __user *sops, unsigned nsops, const struct old_timespec32 __user *timeout—
62160x1848fadvise64int fd, loff_t offset, loff_t len, int adviceGive the kernel a hint about expected access to a file range.
62170x1849statfs64const char __user *pathname, compat_size_t sz, struct compat_statfs64 __user *buf—
62180x184afstatfs64unsigned int fd, compat_size_t sz, struct compat_statfs64 __user *buf—
62190x184bsendfile64int out_fd, int in_fd, loff_t __user *offset, size_t count—
62200x184ctimer_createclockid_t which_clock, struct compat_sigevent __user *timer_event_spec, timer_t __user *created_timer_idCreate a POSIX timer against a selected clock and choose its notification method.
62210x184dtimer_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.
62220x184etimer_gettimetimer_t timer_id, struct old_itimerspec32 __user *settingRead the time left and repetition interval of a POSIX timer.
62230x184ftimer_getoverruntimer_t timer_id—
62240x1850timer_deletetimer_t timer_idDelete a POSIX timer and disarm it if active.
62250x1851clock_settimeclockid_t which_clock, struct old_timespec32 __user *tpSet the time of a clock that allows updates.
62260x1852clock_gettimeclockid_t which_clock, struct old_timespec32 __user *tpRead the current value of a chosen clock, such as monotonic time.
62270x1853clock_getresclockid_t which_clock, struct old_timespec32 __user *tpReport the resolution of a chosen clock.
62280x1854clock_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.
62290x1855tgkillpid_t tgid, pid_t pid, int sigSend a signal to a specific thread within a specified process.
62300x1856utimesconst char __user *filename, struct old_timeval32 __user *t—
62310x1857mbindunsigned long start, unsigned long len, unsigned long mode, const unsigned long __user *nmask, unsigned long maxnode, unsigned flags—
62320x1858get_mempolicyint __user *policy, unsigned long __user *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags—
62330x1859set_mempolicyint mode, const unsigned long __user *nmask, unsigned long maxnode—
62340x185amq_openconst char __user *u_name, int oflag, compat_mode_t mode, struct compat_mq_attr __user *u_attrCreate or open a named POSIX message queue.
62350x185bmq_unlinkconst char __user *nameRemove the name of a POSIX message queue.
62360x185cmq_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.
62370x185dmq_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.
62380x185emq_notifymqd_t mqdes, const struct compat_sigevent __user *u_notification—
62390x185fmq_getsetattrmqd_t mqdes, const struct compat_mq_attr __user *u_mqstat, struct compat_mq_attr __user *u_omqstat—
62400x1860vserver unimplemented——
62410x1861waitidint, compat_pid_t, struct compat_siginfo __user *, int, struct compat_rusage __user *Wait for a selected child event such as exit, stop or resume.
62430x1863add_keyconst char __user *_type, const char __user *_description, const void __user *_payload, size_t plen, key_serial_t destringid—
62440x1864request_keyconst char __user *_type, const char __user *_description, const char __user *_callout_info, key_serial_t destringid—
62450x1865keyctlu32 option, u32 arg2, u32 arg3, u32 arg4, u32 arg5—
62460x1866set_thread_areaunsigned long addr—
62470x1867inotify_initvoidCreate an inotify instance and return a descriptor for its filesystem event queue.
62480x1868inotify_add_watchint fd, const char __user *path, u32 maskAdd or update a watch for filesystem changes at a path.
62490x1869inotify_rm_watchint fd, __s32 wdRemove a watch from an inotify instance.
62500x186amigrate_pagespid_t pid, unsigned long maxnode, const unsigned long __user *from, const unsigned long __user *to—
62510x186bopenatint dfd, const char __user *filename, int flags, umode_t modeOpen a path, resolving relative paths from a directory descriptor.
62520x186cmkdiratint dfd, const char __user * pathname, umode_t modeCreate a directory using a directory descriptor as the base for relative paths.
62530x186dmknodatint dfd, const char __user * filename, umode_t mode, unsigned dev—
62540x186efchownatint 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.
62550x186ffutimesatunsigned int dfd, const char __user *filename, struct old_timeval32 __user *t—
62560x1870newfstatatint dfd, const char __user *filename, struct stat __user *statbuf, int flagRead file metadata relative to a directory descriptor, with control over symlink handling.
62570x1871unlinkatint dfd, const char __user * pathname, int flagRemove a name or directory relative to a directory descriptor.
62580x1872renameatint olddfd, const char __user * oldname, int newdfd, const char __user * newnameRename a path using directory descriptors to resolve relative names.
62590x1873linkatint olddfd, const char __user *oldname, int newdfd, const char __user *newname, int flags—
62600x1874symlinkatconst char __user * oldname, int newdfd, const char __user * newname—
62610x1875readlinkatint dfd, const char __user *path, char __user *buf, int bufsizRead a symbolic link using a directory descriptor to resolve relative paths.
62620x1876fchmodatint dfd, const char __user *filename, umode_t mode—
62630x1877faccessatint dfd, const char __user *filename, int mode—
62640x1878pselect6int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct old_timespec32 __user *tsp, void __user *sigWait like select while temporarily changing the signal mask.
62650x1879ppollstruct pollfd __user *ufds, unsigned int nfds, struct old_timespec32 __user *tsp, const compat_sigset_t __user *sigmask, compat_size_t sigsetsizeWait for descriptor readiness while temporarily applying a signal mask.
62660x187aunshareunsigned long unshare_flagsGive the caller a private copy of selected execution context, such as a mount namespace.
62670x187bspliceint 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.
62680x187csync_file_rangeint fd, loff_t offset, loff_t nbytes, unsigned int flags—
62690x187dteeint fdin, int fdout, size_t len, unsigned int flagsDuplicate pipe data into a second pipe without consuming it from the first.
62700x187evmspliceint fd, const struct iovec __user *iov, unsigned long nr_segs, unsigned int flagsTransfer data between a vector of userspace buffers and a pipe.
62710x187fmove_pagespid_t pid, unsigned long nr_pages, const void __user * __user *pages, const int __user *nodes, int __user *status, int flags—
62720x1880set_robust_liststruct compat_robust_list_head __user *head, compat_size_t lenRegister a thread’s robust futex list so the kernel can clean up when it exits.
62730x1881get_robust_listint pid, compat_uptr_t __user *head_ptr, compat_size_t __user *len_ptr—
62740x1882kexec_loadcompat_ulong_t entry, compat_ulong_t nr_segments, struct compat_kexec_segment __user *, compat_ulong_t flags—
62750x1883getcpuunsigned __user *cpu, unsigned __user *node, void __user *cache—
62760x1884epoll_pwaitint epfd, struct epoll_event __user *events, int maxevents, int timeout, const compat_sigset_t __user *sigmask, compat_size_t sigsetsizeWait for epoll events while temporarily applying a signal mask.
62770x1885ioprio_setint which, int who, int ioprio—
62780x1886ioprio_getint which, int who—
62790x1887utimensatunsigned int dfd, const char __user *filename, struct old_timespec32 __user *t, int flagsSet file access and modification timestamps at nanosecond precision.
62800x1888signalfdint ufd, const compat_sigset_t __user *sigmask, compat_size_t sigsetsizeReceive selected pending signals through a file descriptor.
62810x1889timerfd unimplemented——
62820x188aeventfdunsigned int countCreate a descriptor backed by a counter for notifying other threads or an event loop.
62830x188bfallocateint fd, int mode, loff_t offset, loff_t lenAllocate or alter storage for a file range, with operations such as punching a hole.
62840x188ctimerfd_createint clockid, int flagsCreate a timer whose expirations can be read or watched through a descriptor.
62850x188dtimerfd_gettimeint ufd, struct old_itimerspec32 __user *otmrRead the remaining time and interval of a descriptor-based timer.
62860x188etimerfd_settimeint ufd, int flags, const struct old_itimerspec32 __user *utmr, struct old_itimerspec32 __user *otmrArm, reconfigure or disarm a descriptor-based timer.
62870x188fsignalfd4int ufd, const compat_sigset_t __user *sigmask, compat_size_t sigsetsize, int flagsReceive selected pending signals by reading a file descriptor.
62880x1890eventfd2unsigned int count, int flagsCreate a counter descriptor with nonblocking, close-on-exec or semaphore options.
62890x1891epoll_create1int flagsCreate an epoll instance and optionally mark its descriptor close-on-exec.
62900x1892dup3unsigned int oldfd, unsigned int newfd, int flagsDuplicate onto a chosen descriptor number and optionally set close-on-exec.
62910x1893pipe2int __user *fildes, int flagsCreate a pipe with options such as nonblocking I/O or close-on-exec set from the start.
62920x1894inotify_init1int flagsCreate a descriptor that delivers filesystem change notifications.
62930x1895preadvcompat_ulong_t fd, const struct iovec __user *vec, compat_ulong_t vlen, u32 pos_low, u32 pos_highRead from a specified offset into several buffers without moving the file position.
62940x1896pwritevcompat_ulong_t fd, const struct iovec __user *vec, compat_ulong_t vlen, u32 pos_low, u32 pos_highWrite from several buffers at a specified offset without moving the file position.
62950x1897rt_tgsigqueueinfocompat_pid_t tgid, compat_pid_t pid, int sig, struct compat_siginfo __user *uinfo—
62960x1898perf_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.
62970x1899accept4int, struct sockaddr __user *, int __user *, intAccept a connection and set descriptor flags without a separate call.
62980x189arecvmmsgint fd, struct compat_mmsghdr __user *mmsg, unsigned vlen, unsigned int flags, struct old_timespec32 __user *timeoutReceive a batch of socket messages in one call.
62990x189bgetdents64unsigned int fd, struct linux_dirent64 __user *dirent, unsigned int countRead a batch of directory entries with 64-bit inode numbers.
63000x189cfanotify_initunsigned int flags, unsigned int event_f_flagsCreate a fanotify group for filesystem event notification or permission decisions.
63010x189dfanotify_markint fanotify_fd, unsigned int flags, u64 mask, int fd, const char __user *pathnameChoose which files, mounts or filesystems a fanotify group monitors.
63020x189eprlimit64pid_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.
63030x189fname_to_handle_atint dfd, const char __user *name, struct file_handle __user *handle, void __user *mnt_id, int flag—
63040x18a0open_by_handle_atint mountdirfd, struct file_handle __user *handle, int flags—
63050x18a1clock_adjtimeclockid_t which_clock, struct old_timex32 __user *tx—
63060x18a2syncfsint fdFlush pending changes for the filesystem of an open descriptor.
63070x18a3sendmmsgint fd, struct compat_mmsghdr __user *mmsg, unsigned vlen, unsigned int flagsSend a batch of socket messages in one call.
63080x18a4setnsint fd, int nstypeMove the calling thread into an existing namespace.
63090x18a5process_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.
63100x18a6process_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.
63110x18a7kcmppid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2—
63120x18a8finit_moduleint fd, const char __user *uargs, int flagsLoad a kernel module from an open file descriptor.
63130x18a9sched_setattrpid_t pid, struct sched_attr __user *attr, unsigned int flags—
63140x18aasched_getattrpid_t pid, struct sched_attr __user *attr, unsigned int size, unsigned int flags—
63150x18abrenameat2int 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.
63160x18acseccompunsigned int op, unsigned int flags, void __user *uargsRestrict which system calls a thread may make, typically with a BPF filter.
63170x18adgetrandomchar __user *buf, size_t count, unsigned int flagsFill a buffer with random bytes from the kernel’s random number generator.
63180x18aememfd_createconst char __user *uname_ptr, unsigned int flagsCreate an anonymous, RAM-backed file accessible through a descriptor.
63190x18afbpfint 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.
63200x18b0execveatint dfd, const char __user *filename, const compat_uptr_t __user *argv, const compat_uptr_t __user *envp, int flagsExecute a program relative to a directory descriptor, or directly from a descriptor with the right flag.
63210x18b1userfaultfdint flagsRoute selected page faults to userspace so a handler can resolve them.
63220x18b2membarrierint cmd, unsigned int flags, int cpu_idRequest memory ordering across threads or processors for a supported command.
63230x18b3mlock2unsigned long start, size_t len, int flags—
63240x18b4copy_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.
63250x18b5preadv2compat_ulong_t fd, const struct iovec __user *vec, compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flagsRead into several buffers with per-operation flags and a selectable offset.
63260x18b6pwritev2compat_ulong_t fd, const struct iovec __user *vec, compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flagsWrite from several buffers with per-operation flags and a selectable offset.
63270x18b7pkey_mprotectunsigned long start, size_t len, unsigned long prot, int pkey—
63280x18b8pkey_allocunsigned long flags, unsigned long init_val—
63290x18b9pkey_freeint pkey—
63300x18bastatxint 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.
63310x18bbrseqstruct 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.
63320x18bcio_pgeteventscompat_aio_context_t ctx_id, compat_long_t min_nr, compat_long_t nr, struct io_event __user *events, struct old_timespec32 __user *timeout, const struct __compat_aio_sigset __user *usig—
64030x1903clock_gettime64clockid_t which_clock, struct __kernel_timespec __user *tp—
64040x1904clock_settime64clockid_t which_clock, const struct __kernel_timespec __user *tp—
64050x1905clock_adjtime64clockid_t which_clock, struct __kernel_timex __user *tx—
64060x1906clock_getres_time64clockid_t which_clock, struct __kernel_timespec __user *tp—
64070x1907clock_nanosleep_time64clockid_t which_clock, int flags, const struct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtp—
64080x1908timer_gettime64timer_t timer_id, struct __kernel_itimerspec __user *setting—
64090x1909timer_settime64timer_t timer_id, int flags, const struct __kernel_itimerspec __user *new_setting, struct __kernel_itimerspec __user *old_setting—
64100x190atimerfd_gettime64int ufd, struct __kernel_itimerspec __user *otmr—
64110x190btimerfd_settime64int ufd, int flags, const struct __kernel_itimerspec __user *utmr, struct __kernel_itimerspec __user *otmr—
64120x190cutimensat_time64int dfd, const char __user *filename, struct __kernel_timespec __user *utimes, int flags—
64130x190dpselect6_time64int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct __kernel_timespec __user *tsp, void __user *sig—
64140x190eppoll_time64struct pollfd __user *ufds, unsigned int nfds, struct __kernel_timespec __user *tsp, const compat_sigset_t __user *sigmask, compat_size_t sigsetsize—
64160x1910io_pgetevents_time64compat_aio_context_t ctx_id, compat_long_t min_nr, compat_long_t nr, struct io_event __user *events, struct __kernel_timespec __user *timeout, const struct __compat_aio_sigset __user *usig—
64170x1911recvmmsg_time64int fd, struct compat_mmsghdr __user *mmsg, unsigned vlen, unsigned int flags, struct __kernel_timespec __user *timeout—
64180x1912mq_timedsend_time64mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec __user *abs_timeout—
64190x1913mq_timedreceive_time64mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int __user *msg_prio, const struct __kernel_timespec __user *abs_timeout—
64200x1914semtimedop_time64int semid, struct sembuf __user *sops, unsigned nsops, const struct __kernel_timespec __user *timeout—
64210x1915rt_sigtimedwait_time64compat_sigset_t __user *uthese, struct compat_siginfo __user *uinfo, struct __kernel_timespec __user *uts, compat_size_t sigsetsize—
64220x1916futex_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.
64230x1917sched_rr_get_interval_time64pid_t pid, struct __kernel_timespec __user *interval—
64240x1918pidfd_send_signalint pidfd, int sig, siginfo_t __user *info, unsigned int flagsSend a signal to the process referenced by a pidfd.
64250x1919io_uring_setupu32 entries, struct io_uring_params __user *pCreate the submission and completion queues used for io_uring I/O.
64260x191aio_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.
64270x191bio_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.
64280x191copen_treeint dfd, const char __user *path, unsigned flags—
64290x191dmove_mountint from_dfd, const char __user *from_path, int to_dfd, const char __user *to_path, unsigned int ms_flags—
64300x191efsopenconst char __user *fs_name, unsigned int flags—
64310x191ffsconfigint fs_fd, unsigned int cmd, const char __user *key, const void __user *value, int aux—
64320x1920fsmountint fs_fd, unsigned int flags, unsigned int ms_flags—
64330x1921fspickint dfd, const char __user *path, unsigned int flags—
64340x1922pidfd_openpid_t pid, unsigned int flagsOpen a descriptor referring to a process, avoiding later ambiguity from PID reuse.
64350x1923clone3not resolvedCreate a child task using a structure for options such as namespaces and pidfds.
64360x1924close_rangeunsigned int fd, unsigned int max_fd, unsigned int flagsClose or mark close-on-exec for a range of file descriptors in one call.
64370x1925openat2int 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.
64380x1926pidfd_getfdint pidfd, int fd, unsigned int flagsDuplicate an open descriptor from another process identified by a pidfd.
64390x1927faccessat2int dfd, const char __user *filename, int mode, int flagsCheck file access relative to a directory descriptor with explicit flags.
64400x1928process_madviseint pidfd, const struct iovec __user *vec, size_t vlen, int behavior, unsigned int flags—
64410x1929epoll_pwait2int epfd, struct epoll_event __user *events, int maxevents, const struct __kernel_timespec __user *timeout, const compat_sigset_t __user *sigmask, compat_size_t sigsetsizeWait for epoll events with a timespec timeout and an optional signal mask.
64420x192amount_setattrint dfd, const char __user *path, unsigned int flags, struct mount_attr __user *uattr, size_t usize—
64430x192bquotactl_fdunsigned int fd, unsigned int cmd, qid_t id, void __user *addr—
64440x192clandlock_create_rulesetconst struct landlock_ruleset_attr __user *attr, size_t size, __u32 flagsCreate a Landlock ruleset describing which types of access it will control.
64450x192dlandlock_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.
64460x192elandlock_restrict_selfint ruleset_fd, __u32 flagsApply a Landlock ruleset to restrict the calling thread.
64480x1930process_mreleaseint pidfd, unsigned int flags—
64490x1931futex_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.
64500x1932set_mempolicy_home_nodeunsigned long start, unsigned long len, unsigned long home_node, unsigned long flags—
64510x1933cachestatunsigned 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.
64520x1934fchmodat2int dfd, const char __user *filename, umode_t mode, unsigned int flags—
64530x1935map_shadow_stackunsigned long addr, unsigned long size, unsigned int flags—
64540x1936futex_wakevoid __user *uaddr, unsigned long mask, int nr, unsigned int flags—
64550x1937futex_waitvoid __user *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec __user *timespec, clockid_t clockid—
64560x1938futex_requeuestruct futex_waitv __user *waiters, unsigned int flags, int nr_wake, int nr_requeue—
64570x1939statmountconst struct mnt_id_req __user *req, struct statmount __user *buf, size_t bufsize, unsigned int flags—
64580x193alistmountconst struct mnt_id_req __user *req, u64 __user *mnt_ids, size_t nr_mnt_ids, unsigned int flags—
64590x193blsm_get_self_attrunsigned int attr, struct lsm_ctx __user *ctx, u32 __user *size, u32 flags—
64600x193clsm_set_self_attrunsigned int attr, struct lsm_ctx __user *ctx, u32 size, u32 flags—
64610x193dlsm_list_modulesu64 __user *ids, u32 __user *size, u32 flags—
64620x193emsealunsigned long start, size_t len, unsigned long flags—
64630x193fsetxattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name, const struct xattr_args __user *args, size_t size—
64640x1940getxattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name, struct xattr_args __user *args, size_t size—
64650x1941listxattratint dfd, const char __user *path, unsigned int at_flags, char __user *list, size_t size—
64660x1942removexattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name—
64670x1943open_tree_attrint dfd, const char __user *path, unsigned flags, struct mount_attr __user *uattr, size_t usize—
64680x1944file_getattrint dfd, const char __user *filename, struct file_attr __user *attr, size_t usize, unsigned int at_flags—
64690x1945file_setattrint dfd, const char __user *filename, struct file_attr __user *attr, size_t usize, unsigned int at_flags—
64700x1946listnsconst struct ns_id_req __user *req, u64 __user *ns_ids, size_t nr_ns_ids, unsigned int flags—
64710x1947rseq_slice_yieldvoid—
64720x1948fchrootint 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