MIPS n64 Linux system call table Linux 7.3

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

Open the interactive MIPS n64 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.

MIPS n64 system calls in Linux 7.3

MIPS n64 system calls in Linux 7.3
No.HexSystem callArgumentsWhat it does
50000x1388readunsigned int fd, char __user *buf, size_t countRead bytes from an open file descriptor into a buffer.
50010x1389writeunsigned int fd, const char __user *buf, size_t countWrite bytes from a buffer to an open file descriptor.
50020x138aopenconst char __user *filename, int flags, umode_t modeOpen a path and return a file descriptor; flags can request creation or truncation.
50030x138bcloseunsigned int fdRelease a file descriptor so its number can be reused.
50040x138cstatconst char __user *filename, struct stat __user *statbufRead metadata such as file size, type and permissions for a path.
50050x138dfstatunsigned int fd, struct stat __user *statbufRead file metadata from an open descriptor.
50060x138elstatconst char __user *filename, struct stat __user *statbufRead metadata about the path itself, leaving a final symbolic link unfollowed.
50070x138fpollstruct pollfd __user *ufds, unsigned int nfds, int timeoutWait for one or more descriptors to become ready for I/O.
50080x1390lseekunsigned int fd, off_t offset, unsigned int whenceChange the file position used by subsequent reads and writes.
50090x1391mmapunsigned 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.
50100x1392mprotectunsigned long start, size_t len, unsigned long protChange which accesses are permitted to a mapped address range.
50110x1393munmapunsigned long addr, size_t lenRemove a mapped address range from the process.
50120x1394brkunsigned long brkChange the end of the process data segment used by some heap allocators.
50130x1395rt_sigactionint, const struct sigaction __user *, struct sigaction __user *, size_tInspect or change how the process handles a signal.
50140x1396rt_sigprocmaskint how, sigset_t __user *set, sigset_t __user *oset, size_t sigsetsizeRead or change the set of signals blocked by the calling thread.
50150x1397ioctlunsigned int fd, unsigned int cmd, unsigned long argSend a control request whose meaning depends on the device or object behind the descriptor.
50160x1398pread64unsigned int fd, char __user *buf, size_t count, loff_t posRead at an explicit file offset without moving the shared file position.
50170x1399pwrite64unsigned int fd, const char __user *buf, size_t count, loff_t posWrite at an explicit file offset without moving the shared file position.
50180x139areadvunsigned long fd, const struct iovec __user *vec, unsigned long vlenRead into several buffers in order with one call.
50190x139bwritevunsigned long fd, const struct iovec __user *vec, unsigned long vlenWrite from several buffers in order with one call.
50200x139caccessconst char __user *filename, int modeCheck path access using real user and group IDs, rather than the effective IDs used by open.
50210x139dpipenot resolvedCreate a byte stream with separate read and write descriptors.
50220x139e_newselectint n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_timeval __user *tvp—
50230x139fsched_yieldvoidGive up the CPU and let the scheduler choose the next runnable thread.
50240x13a0mremapunsigned 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.
50250x13a1msyncunsigned long start, size_t len, int flagsFlush changes in a shared file mapping back to the file.
50260x13a2mincoreunsigned long start, size_t len, unsigned char __user * vecReport which pages in a mapping are currently resident in RAM.
50270x13a3madviseunsigned long start, size_t len, int behaviorTell the kernel how an address range will be used, or request an action such as discarding pages.
50280x13a4shmgetkey_t key, size_t size, int flagCreate or look up a System V shared memory segment.
50290x13a5shmatint shmid, char __user *shmaddr, int shmflgAttach a System V shared memory segment to the process address space.
50300x13a6shmctlint shmid, int cmd, struct shmid_ds __user *bufInspect, configure or mark a System V shared memory segment for removal.
50310x13a7dupunsigned int fildesMake a new descriptor that shares the same open file, including its current position.
50320x13a8dup2unsigned int oldfd, unsigned int newfdDuplicate a descriptor onto a chosen number, replacing the target if needed.
50330x13a9pausevoidSuspend the calling thread until a signal runs a handler or terminates it.
50340x13aananosleepstruct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtpPause the calling thread for a relative interval unless interrupted.
50350x13abgetitimerint which, struct __kernel_old_itimerval __user *valueRead the remaining time and repetition interval of a legacy timer.
50360x13acsetitimerint which, struct __kernel_old_itimerval __user *value, struct __kernel_old_itimerval __user *ovalueStart or cancel a legacy interval timer that delivers a signal.
50370x13adalarmunsigned int secondsSchedule a SIGALRM signal after a specified number of seconds.
50380x13aegetpidvoidReturn the caller’s process ID, shared by threads in the same process.
50390x13afsendfileint 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.
50400x13b0socketint, int, intCreate a communication endpoint and return its descriptor.
50410x13b1connectint, struct sockaddr __user *, intConnect a socket to a peer or set a datagram socket’s default peer.
50420x13b2acceptint, struct sockaddr __user *, int __user *Take the next pending connection and return a new connected socket.
50430x13b3sendtoint, void __user *, size_t, unsigned, struct sockaddr __user *, intSend a message through a socket, optionally specifying its destination.
50440x13b4recvfromint, void __user *, size_t, unsigned, struct sockaddr __user *, int __user *Receive data from a socket and optionally retrieve the sender’s address.
50450x13b5sendmsgint fd, struct user_msghdr __user *msg, unsigned flagsSend a socket message with multiple buffers and optional ancillary data.
50460x13b6recvmsgint fd, struct user_msghdr __user *msg, unsigned flagsReceive a socket message, including ancillary data such as passed descriptors.
50470x13b7shutdownint, intDisable receiving, sending or both on a socket connection.
50480x13b8bindint, struct sockaddr __user *, intAssign a local address to a socket.
50490x13b9listenint, intPut a socket into listening mode for incoming connections.
50500x13bagetsocknameint, struct sockaddr __user *, int __user *Get the local address currently bound to a socket.
50510x13bbgetpeernameint, struct sockaddr __user *, int __user *Get the address of the socket’s connected peer.
50520x13bcsocketpairint, int, int, int __user *Create two connected sockets, often for local process communication.
50530x13bdsetsockoptint fd, int level, int optname, char __user *optval, int optlenSet an option at a socket or protocol level.
50540x13begetsockoptint fd, int level, int optname, char __user *optval, int __user *optlenRead an option at a socket or protocol level.
50550x13bfclonenot resolvedCreate a child task and choose which resources it shares with the caller.
50560x13c0forknot resolvedCreate a child process with a separate address space initially sharing pages through copy-on-write.
50570x13c1execveconst 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.
50580x13c2exitint error_codeTerminate the calling thread; the libc _exit wrapper usually terminates the whole process.
50590x13c3wait4pid_t pid, int __user *stat_addr, int options, struct rusage __user *ruWait for a child state change and collect its status and resource usage.
50600x13c4killpid_t pid, int sigSend a signal to a process or process group; signal 0 only checks existence and permission.
50610x13c5unamestruct new_utsname __user *nameRead kernel and machine identification, including the release string.
50620x13c6semgetkey_t key, int nsems, int semflgCreate or find a set of System V semaphores.
50630x13c7semopint semid, struct sembuf __user *sops, unsigned nsopsApply a batch of operations to System V semaphores atomically.
50640x13c8semctlint semid, int semnum, int cmd, unsigned long argQuery or control a System V semaphore set and its values.
50650x13c9shmdtchar __user *shmaddrDetach a System V shared memory segment from an address.
50660x13camsggetkey_t key, int msgflgCreate or look up a System V message queue.
50670x13cbmsgsndint msqid, struct msgbuf __user *msgp, size_t msgsz, int msgflgPlace a typed message on a System V message queue.
50680x13ccmsgrcvint msqid, struct msgbuf __user *msgp, size_t msgsz, long msgtyp, int msgflgRemove a message from a System V queue, optionally selecting by type.
50690x13cdmsgctlint msqid, int cmd, struct msqid_ds __user *bufQuery, update or remove a System V message queue.
50700x13cefcntlunsigned int fd, unsigned int cmd, unsigned long argInspect or change descriptor and open-file settings, or manage advisory locks.
50710x13cfflockunsigned int fd, unsigned int cmdAcquire or release an advisory lock on an open file.
50720x13d0fsyncunsigned int fdWait for pending data and relevant metadata of a file to reach storage.
50730x13d1fdatasyncunsigned int fdLike fsync, but only flush metadata needed to retrieve the file data.
50740x13d2truncateconst char __user *path, long lengthSet a file’s length, discarding or extending its tail as needed.
50750x13d3ftruncateunsigned int fd, off_t lengthSet the length of a file identified by an open descriptor.
50760x13d4getdentsunsigned int fd, struct linux_dirent __user *dirent, unsigned int countRead directory entries into a buffer in the kernel’s older record layout.
50770x13d5getcwdchar __user *buf, unsigned long sizeReturn the absolute path of the current working directory.
50780x13d6chdirconst char __user *filenameChange the working directory used for relative paths.
50790x13d7fchdirunsigned int fdSet the working directory from an open directory descriptor.
50800x13d8renameconst char __user *oldname, const char __user *newnameMove a filesystem name, replacing the destination atomically when allowed.
50810x13d9mkdirconst char __user *pathname, umode_t modeCreate an empty directory at a path.
50820x13darmdirconst char __user *pathnameRemove an empty directory.
50830x13dbcreatconst char __user *pathname, umode_t modeOpen a file for writing, creating it if absent and truncating it if present.
50840x13dclinkconst char __user *oldname, const char __user *newnameCreate a second directory entry for the same inode.
50850x13ddunlinkconst char __user *pathnameRemove a filesystem name; open descriptors can keep the underlying file alive.
50860x13desymlinkconst char __user *old, const char __user *newCreate a symbolic link containing a target path.
50870x13dfreadlinkconst char __user *path, char __user *buf, int bufsizRead the path stored in a symbolic link without following it.
50880x13e0chmodconst char __user *filename, umode_t modeChange the permission and special mode bits of a file.
50890x13e1fchmodunsigned int fd, umode_t modeSet the mode bits of the file behind an open descriptor.
50900x13e2chownconst char __user *filename, uid_t user, gid_t groupChange the user or group that owns a file.
50910x13e3fchownunsigned int fd, uid_t user, gid_t groupSet the owner or group of the file behind an open descriptor.
50920x13e4lchownconst char __user *filename, uid_t user, gid_t groupChange ownership of a path without following its final symbolic link.
50930x13e5umaskint maskSet which permission bits are cleared when creating files or directories.
50940x13e6gettimeofdaystruct __kernel_old_timeval __user *tv, struct timezone __user *tzRead wall-clock time as seconds and microseconds since the Unix epoch.
50950x13e7getrlimitunsigned int resource, struct rlimit __user *rlimRead the soft and hard limits for a process resource, such as open files.
50960x13e8getrusageint who, struct rusage __user *ruRead CPU time, page faults and other resource usage counters.
50970x13e9sysinfostruct sysinfo __user *infoRead system statistics such as uptime, load and memory totals.
50980x13eatimesstruct tms __user *tbufCollect user and kernel CPU time for the process and its waited-for children.
50990x13ebptracelong request, long pid, unsigned long addr, unsigned long dataObserve or control another thread’s execution, as debuggers do.
51000x13ecgetuidvoidReturn the real user ID of the caller.
51010x13edsyslogint type, char __user *buf, int len—
51020x13eegetgidvoidReturn the caller’s real group ID.
51030x13efsetuiduid_t uidChange the caller’s user identity, within its current permissions.
51040x13f0setgidgid_t gidChange the caller’s group identity, within its current permissions.
51050x13f1geteuidvoidReturn the effective user ID used for many permission checks.
51060x13f2getegidvoidReturn the caller’s effective group ID.
51070x13f3setpgidpid_t pid, pid_t pgidSet a process’s group, as a shell does for job control.
51080x13f4getppidvoidReturn the parent process ID visible to the caller.
51090x13f5getpgrpvoid—
51100x13f6setsidvoidStart a new session and process group without a controlling terminal.
51110x13f7setreuiduid_t ruid, uid_t euid—
51120x13f8setregidgid_t rgid, gid_t egid—
51130x13f9getgroupsint gidsetsize, gid_t __user *grouplistRead the caller’s supplementary group IDs.
51140x13fasetgroupsint gidsetsize, gid_t __user *grouplistReplace the supplementary group list when permitted.
51150x13fbsetresuiduid_t ruid, uid_t euid, uid_t suidSet the real, effective and saved user IDs within the caller’s permissions.
51160x13fcgetresuiduid_t __user *ruid, uid_t __user *euid, uid_t __user *suidRead the real, effective and saved user IDs.
51170x13fdsetresgidgid_t rgid, gid_t egid, gid_t sgidSet the real, effective and saved group IDs within the caller’s permissions.
51180x13fegetresgidgid_t __user *rgid, gid_t __user *egid, gid_t __user *sgidRead the real, effective and saved group IDs.
51190x13ffgetpgidpid_t pidRead a process’s process-group ID.
51200x1400setfsuiduid_t uid—
51210x1401setfsgidgid_t gid—
51220x1402getsidpid_t pid—
51230x1403capgetcap_user_header_t header, cap_user_data_t dataptrRead a thread’s Linux capability sets.
51240x1404capsetcap_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.
51250x1405rt_sigpendingsigset_t __user *set, size_t sigsetsizeRead the set of signals pending delivery to the calling thread.
51260x1406rt_sigtimedwaitconst sigset_t __user *uthese, siginfo_t __user *uinfo, const struct __kernel_timespec __user *uts, size_t sigsetsize—
51270x1407rt_sigqueueinfopid_t pid, int sig, siginfo_t __user *uinfo—
51280x1408rt_sigsuspendsigset_t __user *unewset, size_t sigsetsizeTemporarily replace the signal mask and sleep until a signal is delivered.
51290x1409sigaltstackconst struct sigaltstack __user *uss, struct sigaltstack __user *uossSet or inspect an alternate stack for signal handlers.
51300x140autimechar __user *filename, struct utimbuf __user *times—
51310x140bmknodconst char __user *filename, umode_t mode, unsigned dev—
51320x140cpersonalityunsigned int personality—
51330x140dustatunsigned dev, struct ustat __user *ubuf—
51340x140estatfsconst char __user * path, struct statfs __user *bufReport capacity, free space and other statistics for the filesystem containing a path.
51350x140ffstatfsunsigned int fd, struct statfs __user *buf—
51360x1410sysfsint option, unsigned long arg1, unsigned long arg2—
51370x1411getpriorityint which, int who—
51380x1412setpriorityint which, int who, int niceval—
51390x1413sched_setparampid_t pid, struct sched_param __user *param—
51400x1414sched_getparampid_t pid, struct sched_param __user *param—
51410x1415sched_setschedulerpid_t pid, int policy, struct sched_param __user *param—
51420x1416sched_getschedulerpid_t pid—
51430x1417sched_get_priority_maxint policy—
51440x1418sched_get_priority_minint policy—
51450x1419sched_rr_get_intervalpid_t pid, struct __kernel_timespec __user *interval—
51460x141amlockunsigned long start, size_t lenKeep pages in an address range resident in RAM.
51470x141bmunlockunsigned long start, size_t lenRemove a memory lock so the kernel can reclaim the pages again.
51480x141cmlockallint flags—
51490x141dmunlockallvoid—
51500x141evhangupvoid—
51510x141fpivot_rootconst char __user *new_root, const char __user *put_oldSwap the root mount in the caller’s mount namespace, moving the old root aside.
51520x1420_sysctl unimplemented——
51530x1421prctlint option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5Query or change process and thread attributes selected by an operation code.
51540x1422adjtimexstruct __kernel_timex __user *txc_p—
51550x1423setrlimitunsigned int resource, struct rlimit __user *rlimSet soft and hard limits for a process resource within the caller’s permissions.
51560x1424chrootconst char __user *filenameChange the root directory used to resolve paths beginning with a slash.
51570x1425syncvoidRequest writeback of pending changes across filesystems.
51580x1426acctconst char __user *name—
51590x1427settimeofdaystruct __kernel_old_timeval __user *tv, struct timezone __user *tz—
51600x1428mountchar __user *dev_name, char __user *dir_name, char __user *type, unsigned long flags, void __user *dataAttach or reconfigure a filesystem at a mount point.
51610x1429umount2char __user *name, int flagsDetach a mounted filesystem with options such as lazy unmount.
51620x142aswaponconst char __user *specialfile, int swap_flags—
51630x142bswapoffconst char __user *specialfile—
51640x142crebootint magic1, int magic2, unsigned int cmd, void __user *argRequest a system action such as restarting or powering off, with the required privilege.
51650x142dsethostnamechar __user *name, int len—
51660x142esetdomainnamechar __user *name, int len—
51670x142fcreate_module unimplemented——
51680x1430init_modulevoid __user *umod, unsigned long len, const char __user *uargs—
51690x1431delete_moduleconst char __user *name_user, unsigned int flagsAsk the kernel to unload a module by name.
51700x1432get_kernel_syms unimplemented——
51710x1433query_module unimplemented——
51720x1434quotactlunsigned int cmd, const char __user *special, qid_t id, void __user *addr—
51730x1435nfsservctl unimplemented——
51740x1436getpmsg unimplemented——
51750x1437putpmsg unimplemented——
51760x1438afs_syscall unimplemented——
51770x1439reserved177 unimplemented——
51780x143agettidvoidReturn the kernel thread ID of the calling thread.
51790x143breadaheadint fd, loff_t offset, size_t countAsk the kernel to preload a file range into the page cache.
51800x143csetxattrconst 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.
51810x143dlsetxattrconst char __user *path, const char __user *name, const void __user *value, size_t size, int flags—
51820x143efsetxattrint fd, const char __user *name, const void __user *value, size_t size, int flags—
51830x143fgetxattrconst char __user *path, const char __user *name, void __user *value, size_t sizeRead the bytes stored in a named extended attribute.
51840x1440lgetxattrconst char __user *path, const char __user *name, void __user *value, size_t size—
51850x1441fgetxattrint fd, const char __user *name, void __user *value, size_t size—
51860x1442listxattrconst char __user *path, char __user *list, size_t sizeList names of extended attributes accessible on a file.
51870x1443llistxattrconst char __user *path, char __user *list, size_t size—
51880x1444flistxattrint fd, char __user *list, size_t size—
51890x1445removexattrconst char __user *path, const char __user *nameRemove a named extended attribute from a file.
51900x1446lremovexattrconst char __user *path, const char __user *name—
51910x1447fremovexattrint fd, const char __user *name—
51920x1448tkillpid_t pid, int sig—
51930x1449reserved193 unimplemented——
51940x144afutexu32 __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.
51950x144bsched_setaffinitypid_t pid, unsigned int len, unsigned long __user *user_mask_ptrRestrict the CPUs on which a thread can run.
51960x144csched_getaffinitypid_t pid, unsigned int len, unsigned long __user *user_mask_ptrRead the CPU set on which a thread is allowed to run.
51970x144dcacheflushunsigned long addr, unsigned long bytes, unsigned int cache—
51980x144ecachectlchar *addr, int nbytes, int op—
51990x144fsysmipsnot resolved—
52000x1450io_setupunsigned nr_reqs, aio_context_t __user *ctx—
52010x1451io_destroyaio_context_t ctx—
52020x1452io_geteventsaio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct __kernel_timespec __user *timeout—
52030x1453io_submitaio_context_t, long, struct iocb __user * __user *—
52040x1454io_cancelaio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result—
52050x1455exit_groupint error_codeTerminate all threads in the calling process.
52060x1456lookup_dcookie unimplemented——
52070x1457epoll_createint sizeCreate a kernel object for tracking readiness across many descriptors.
52080x1458epoll_ctlint epfd, int op, int fd, struct epoll_event __user *eventAdd, modify or remove a descriptor in an epoll interest list.
52090x1459epoll_waitint epfd, struct epoll_event __user *events, int maxevents, int timeoutCollect ready events from an epoll instance, waiting up to a timeout.
52100x145aremap_file_pagesunsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags—
52110x145brt_sigreturnvoidRestore the saved thread context after a signal handler finishes.
52120x145cset_tid_addressint __user *tidptr—
52130x145drestart_syscallvoid—
52140x145esemtimedopint semid, struct sembuf __user *sops, unsigned nsops, const struct __kernel_timespec __user *timeout—
52150x145ffadvise64int fd, loff_t offset, loff_t len, int adviceGive the kernel a hint about expected access to a file range.
52160x1460timer_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.
52170x1461timer_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.
52180x1462timer_gettimetimer_t timer_id, struct __kernel_itimerspec __user *settingRead the time left and repetition interval of a POSIX timer.
52190x1463timer_getoverruntimer_t timer_id—
52200x1464timer_deletetimer_t timer_idDelete a POSIX timer and disarm it if active.
52210x1465clock_settimeclockid_t which_clock, const struct __kernel_timespec __user *tpSet the time of a clock that allows updates.
52220x1466clock_gettimeclockid_t which_clock, struct __kernel_timespec __user *tpRead the current value of a chosen clock, such as monotonic time.
52230x1467clock_getresclockid_t which_clock, struct __kernel_timespec __user *tpReport the resolution of a chosen clock.
52240x1468clock_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.
52250x1469tgkillpid_t tgid, pid_t pid, int sigSend a signal to a specific thread within a specified process.
52260x146autimeschar __user *filename, struct __kernel_old_timeval __user *utimes—
52270x146bmbindunsigned long start, unsigned long len, unsigned long mode, const unsigned long __user *nmask, unsigned long maxnode, unsigned flags—
52280x146cget_mempolicyint __user *policy, unsigned long __user *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags—
52290x146dset_mempolicyint mode, const unsigned long __user *nmask, unsigned long maxnode—
52300x146emq_openconst char __user *name, int oflag, umode_t mode, struct mq_attr __user *attrCreate or open a named POSIX message queue.
52310x146fmq_unlinkconst char __user *nameRemove the name of a POSIX message queue.
52320x1470mq_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.
52330x1471mq_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.
52340x1472mq_notifymqd_t mqdes, const struct sigevent __user *notification—
52350x1473mq_getsetattrmqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr __user *omqstat—
52360x1474vserver unimplemented——
52370x1475waitidint 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.
52390x1477add_keyconst char __user *_type, const char __user *_description, const void __user *_payload, size_t plen, key_serial_t destringid—
52400x1478request_keyconst char __user *_type, const char __user *_description, const char __user *_callout_info, key_serial_t destringid—
52410x1479keyctlint cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5—
52420x147aset_thread_areaunsigned long addr—
52430x147binotify_initvoidCreate an inotify instance and return a descriptor for its filesystem event queue.
52440x147cinotify_add_watchint fd, const char __user *path, u32 maskAdd or update a watch for filesystem changes at a path.
52450x147dinotify_rm_watchint fd, __s32 wdRemove a watch from an inotify instance.
52460x147emigrate_pagespid_t pid, unsigned long maxnode, const unsigned long __user *from, const unsigned long __user *to—
52470x147fopenatint dfd, const char __user *filename, int flags, umode_t modeOpen a path, resolving relative paths from a directory descriptor.
52480x1480mkdiratint dfd, const char __user * pathname, umode_t modeCreate a directory using a directory descriptor as the base for relative paths.
52490x1481mknodatint dfd, const char __user * filename, umode_t mode, unsigned dev—
52500x1482fchownatint 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.
52510x1483futimesatint dfd, const char __user *filename, struct __kernel_old_timeval __user *utimes—
52520x1484newfstatatint dfd, const char __user *filename, struct stat __user *statbuf, int flagRead file metadata relative to a directory descriptor, with control over symlink handling.
52530x1485unlinkatint dfd, const char __user * pathname, int flagRemove a name or directory relative to a directory descriptor.
52540x1486renameatint olddfd, const char __user * oldname, int newdfd, const char __user * newnameRename a path using directory descriptors to resolve relative names.
52550x1487linkatint olddfd, const char __user *oldname, int newdfd, const char __user *newname, int flags—
52560x1488symlinkatconst char __user * oldname, int newdfd, const char __user * newname—
52570x1489readlinkatint dfd, const char __user *path, char __user *buf, int bufsizRead a symbolic link using a directory descriptor to resolve relative paths.
52580x148afchmodatint dfd, const char __user *filename, umode_t mode—
52590x148bfaccessatint dfd, const char __user *filename, int mode—
52600x148cpselect6int, fd_set __user *, fd_set __user *, fd_set __user *, struct __kernel_timespec __user *, void __user *Wait like select while temporarily changing the signal mask.
52610x148dppollstruct pollfd __user *, unsigned int, struct __kernel_timespec __user *, const sigset_t __user *, size_tWait for descriptor readiness while temporarily applying a signal mask.
52620x148eunshareunsigned long unshare_flagsGive the caller a private copy of selected execution context, such as a mount namespace.
52630x148fspliceint 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.
52640x1490sync_file_rangeint fd, loff_t offset, loff_t nbytes, unsigned int flags—
52650x1491teeint fdin, int fdout, size_t len, unsigned int flagsDuplicate pipe data into a second pipe without consuming it from the first.
52660x1492vmspliceint fd, const struct iovec __user *iov, unsigned long nr_segs, unsigned int flagsTransfer data between a vector of userspace buffers and a pipe.
52670x1493move_pagespid_t pid, unsigned long nr_pages, const void __user * __user *pages, const int __user *nodes, int __user *status, int flags—
52680x1494set_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.
52690x1495get_robust_listint pid, struct robust_list_head __user * __user *head_ptr, size_t __user *len_ptr—
52700x1496kexec_loadunsigned long entry, unsigned long nr_segments, struct kexec_segment __user *segments, unsigned long flags—
52710x1497getcpuunsigned __user *cpu, unsigned __user *node, void __user *cache—
52720x1498epoll_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.
52730x1499ioprio_setint which, int who, int ioprio—
52740x149aioprio_getint which, int who—
52750x149butimensatint dfd, const char __user *filename, struct __kernel_timespec __user *utimes, int flagsSet file access and modification timestamps at nanosecond precision.
52760x149csignalfdint ufd, sigset_t __user *user_mask, size_t sizemaskReceive selected pending signals through a file descriptor.
52770x149dtimerfd unimplemented——
52780x149eeventfdunsigned int countCreate a descriptor backed by a counter for notifying other threads or an event loop.
52790x149ffallocateint fd, int mode, loff_t offset, loff_t lenAllocate or alter storage for a file range, with operations such as punching a hole.
52800x14a0timerfd_createint clockid, int flagsCreate a timer whose expirations can be read or watched through a descriptor.
52810x14a1timerfd_gettimeint ufd, struct __kernel_itimerspec __user *otmrRead the remaining time and interval of a descriptor-based timer.
52820x14a2timerfd_settimeint ufd, int flags, const struct __kernel_itimerspec __user *utmr, struct __kernel_itimerspec __user *otmrArm, reconfigure or disarm a descriptor-based timer.
52830x14a3signalfd4int ufd, sigset_t __user *user_mask, size_t sizemask, int flagsReceive selected pending signals by reading a file descriptor.
52840x14a4eventfd2unsigned int count, int flagsCreate a counter descriptor with nonblocking, close-on-exec or semaphore options.
52850x14a5epoll_create1int flagsCreate an epoll instance and optionally mark its descriptor close-on-exec.
52860x14a6dup3unsigned int oldfd, unsigned int newfd, int flagsDuplicate onto a chosen descriptor number and optionally set close-on-exec.
52870x14a7pipe2int __user *fildes, int flagsCreate a pipe with options such as nonblocking I/O or close-on-exec set from the start.
52880x14a8inotify_init1int flagsCreate a descriptor that delivers filesystem change notifications.
52890x14a9preadvunsigned 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.
52900x14aapwritevunsigned 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.
52910x14abrt_tgsigqueueinfopid_t tgid, pid_t pid, int sig, siginfo_t __user *uinfo—
52920x14acperf_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.
52930x14adaccept4int, struct sockaddr __user *, int __user *, intAccept a connection and set descriptor flags without a separate call.
52940x14aerecvmmsgint fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flags, struct __kernel_timespec __user *timeoutReceive a batch of socket messages in one call.
52950x14affanotify_initunsigned int flags, unsigned int event_f_flagsCreate a fanotify group for filesystem event notification or permission decisions.
52960x14b0fanotify_markint fanotify_fd, unsigned int flags, u64 mask, int fd, const char __user *pathnameChoose which files, mounts or filesystems a fanotify group monitors.
52970x14b1prlimit64pid_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.
52980x14b2name_to_handle_atint dfd, const char __user *name, struct file_handle __user *handle, void __user *mnt_id, int flag—
52990x14b3open_by_handle_atint mountdirfd, struct file_handle __user *handle, int flags—
53000x14b4clock_adjtimeclockid_t which_clock, struct __kernel_timex __user *tx—
53010x14b5syncfsint fdFlush pending changes for the filesystem of an open descriptor.
53020x14b6sendmmsgint fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flagsSend a batch of socket messages in one call.
53030x14b7setnsint fd, int nstypeMove the calling thread into an existing namespace.
53040x14b8process_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.
53050x14b9process_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.
53060x14bakcmppid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2—
53070x14bbfinit_moduleint fd, const char __user *uargs, int flagsLoad a kernel module from an open file descriptor.
53080x14bcgetdents64unsigned int fd, struct linux_dirent64 __user *dirent, unsigned int countRead a batch of directory entries with 64-bit inode numbers.
53090x14bdsched_setattrpid_t pid, struct sched_attr __user *attr, unsigned int flags—
53100x14besched_getattrpid_t pid, struct sched_attr __user *attr, unsigned int size, unsigned int flags—
53110x14bfrenameat2int 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.
53120x14c0seccompunsigned int op, unsigned int flags, void __user *uargsRestrict which system calls a thread may make, typically with a BPF filter.
53130x14c1getrandomchar __user *buf, size_t count, unsigned int flagsFill a buffer with random bytes from the kernel’s random number generator.
53140x14c2memfd_createconst char __user *uname_ptr, unsigned int flagsCreate an anonymous, RAM-backed file accessible through a descriptor.
53150x14c3bpfint 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.
53160x14c4execveatint 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.
53170x14c5userfaultfdint flagsRoute selected page faults to userspace so a handler can resolve them.
53180x14c6membarrierint cmd, unsigned int flags, int cpu_idRequest memory ordering across threads or processors for a supported command.
53190x14c7mlock2unsigned long start, size_t len, int flags—
53200x14c8copy_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.
53210x14c9preadv2unsigned 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.
53220x14capwritev2unsigned 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.
53230x14cbpkey_mprotectunsigned long start, size_t len, unsigned long prot, int pkey—
53240x14ccpkey_allocunsigned long flags, unsigned long init_val—
53250x14cdpkey_freeint pkey—
53260x14cestatxint 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.
53270x14cfrseqstruct 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.
53280x14d0io_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—
54240x1530pidfd_send_signalint pidfd, int sig, siginfo_t __user *info, unsigned int flagsSend a signal to the process referenced by a pidfd.
54250x1531io_uring_setupu32 entries, struct io_uring_params __user *pCreate the submission and completion queues used for io_uring I/O.
54260x1532io_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.
54270x1533io_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.
54280x1534open_treeint dfd, const char __user *path, unsigned flags—
54290x1535move_mountint from_dfd, const char __user *from_path, int to_dfd, const char __user *to_path, unsigned int ms_flags—
54300x1536fsopenconst char __user *fs_name, unsigned int flags—
54310x1537fsconfigint fs_fd, unsigned int cmd, const char __user *key, const void __user *value, int aux—
54320x1538fsmountint fs_fd, unsigned int flags, unsigned int ms_flags—
54330x1539fspickint dfd, const char __user *path, unsigned int flags—
54340x153apidfd_openpid_t pid, unsigned int flagsOpen a descriptor referring to a process, avoiding later ambiguity from PID reuse.
54350x153bclone3not resolvedCreate a child task using a structure for options such as namespaces and pidfds.
54360x153cclose_rangeunsigned int fd, unsigned int max_fd, unsigned int flagsClose or mark close-on-exec for a range of file descriptors in one call.
54370x153dopenat2int 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.
54380x153epidfd_getfdint pidfd, int fd, unsigned int flagsDuplicate an open descriptor from another process identified by a pidfd.
54390x153ffaccessat2int dfd, const char __user *filename, int mode, int flagsCheck file access relative to a directory descriptor with explicit flags.
54400x1540process_madviseint pidfd, const struct iovec __user *vec, size_t vlen, int behavior, unsigned int flags—
54410x1541epoll_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.
54420x1542mount_setattrint dfd, const char __user *path, unsigned int flags, struct mount_attr __user *uattr, size_t usize—
54430x1543quotactl_fdunsigned int fd, unsigned int cmd, qid_t id, void __user *addr—
54440x1544landlock_create_rulesetconst struct landlock_ruleset_attr __user *attr, size_t size, __u32 flagsCreate a Landlock ruleset describing which types of access it will control.
54450x1545landlock_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.
54460x1546landlock_restrict_selfint ruleset_fd, __u32 flagsApply a Landlock ruleset to restrict the calling thread.
54480x1548process_mreleaseint pidfd, unsigned int flags—
54490x1549futex_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.
54500x154aset_mempolicy_home_nodeunsigned long start, unsigned long len, unsigned long home_node, unsigned long flags—
54510x154bcachestatunsigned 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.
54520x154cfchmodat2int dfd, const char __user *filename, umode_t mode, unsigned int flags—
54530x154dmap_shadow_stackunsigned long addr, unsigned long size, unsigned int flags—
54540x154efutex_wakevoid __user *uaddr, unsigned long mask, int nr, unsigned int flags—
54550x154ffutex_waitvoid __user *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec __user *timespec, clockid_t clockid—
54560x1550futex_requeuestruct futex_waitv __user *waiters, unsigned int flags, int nr_wake, int nr_requeue—
54570x1551statmountconst struct mnt_id_req __user *req, struct statmount __user *buf, size_t bufsize, unsigned int flags—
54580x1552listmountconst struct mnt_id_req __user *req, u64 __user *mnt_ids, size_t nr_mnt_ids, unsigned int flags—
54590x1553lsm_get_self_attrunsigned int attr, struct lsm_ctx __user *ctx, u32 __user *size, u32 flags—
54600x1554lsm_set_self_attrunsigned int attr, struct lsm_ctx __user *ctx, u32 size, u32 flags—
54610x1555lsm_list_modulesu64 __user *ids, u32 __user *size, u32 flags—
54620x1556msealunsigned long start, size_t len, unsigned long flags—
54630x1557setxattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name, const struct xattr_args __user *args, size_t size—
54640x1558getxattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name, struct xattr_args __user *args, size_t size—
54650x1559listxattratint dfd, const char __user *path, unsigned int at_flags, char __user *list, size_t size—
54660x155aremovexattratint dfd, const char __user *path, unsigned int at_flags, const char __user *name—
54670x155bopen_tree_attrint dfd, const char __user *path, unsigned flags, struct mount_attr __user *uattr, size_t usize—
54680x155cfile_getattrint dfd, const char __user *filename, struct file_attr __user *attr, size_t usize, unsigned int at_flags—
54690x155dfile_setattrint dfd, const char __user *filename, struct file_attr __user *attr, size_t usize, unsigned int at_flags—
54700x155elistnsconst struct ns_id_req __user *req, u64 __user *ns_ids, size_t nr_ns_ids, unsigned int flags—
54710x155frseq_slice_yieldvoid—
54720x1560fchrootint 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