x32 system calls
Put the syscall number in rax and the arguments in rdi rsi rdx r10 r8 r9, then run syscall. The result comes back in rax.
| NR | HEX | NAME | ARG0 rdi | ARG1 rsi | ARG2 rdx | ARG3 r10 | ARG4 r8 | ARG5 r9 |
|---|---|---|---|---|---|---|---|---|
| 1073741824 | 0x40000000 | read | unsigned int fd | char *buf | size_t count | - | - | - |
| 1073741825 | 0x40000001 | write | unsigned int fd | const char *buf | size_t count | - | - | - |
| 1073741826 | 0x40000002 | open | const char *filename | int flags | umode_t mode | - | - | - |
| 1073741827 | 0x40000003 | close | unsigned int fd | - | - | - | - | - |
| 1073741828 | 0x40000004 | stat | const char *filename | struct stat *statbuf | - | - | - | - |
| 1073741829 | 0x40000005 | fstat | unsigned int fd | struct stat *statbuf | - | - | - | - |
| 1073741830 | 0x40000006 | lstat | const char *filename | struct stat *statbuf | - | - | - | - |
| 1073741831 | 0x40000007 | poll | struct pollfd *ufds | unsigned int nfds | int timeout_msecs | - | - | - |
| 1073741832 | 0x40000008 | lseek | unsigned int fd | off_t offset | unsigned int whence | - | - | - |
| 1073741833 | 0x40000009 | mmap | unsigned long addr | unsigned long len | unsigned long prot | unsigned long flags | unsigned long fd | unsigned long off |
| 1073741834 | 0x4000000a | mprotect | unsigned long start | size_t len | unsigned long prot | - | - | - |
| 1073741835 | 0x4000000b | munmap | unsigned long addr | size_t len | - | - | - | - |
| 1073741836 | 0x4000000c | brk | unsigned long brk | - | - | - | - | - |
| 1073741838 | 0x4000000e | rt_sigprocmask | int how | sigset_t *nset | sigset_t *oset | size_t sigsetsize | - | - |
| 1073741841 | 0x40000011 | pread64 | unsigned int fd | char *buf | size_t count | loff_t pos | - | - |
| 1073741842 | 0x40000012 | pwrite64 | unsigned int fd | const char *buf | size_t count | loff_t pos | - | - |
| 1073741845 | 0x40000015 | access | const char *filename | int mode | - | - | - | - |
| 1073741846 | 0x40000016 | pipe | int *fildes | - | - | - | - | - |
| 1073741847 | 0x40000017 | select | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_old_timeval *tvp | - |
| 1073741848 | 0x40000018 | sched_yield | - | - | - | - | - | - |
| 1073741849 | 0x40000019 | mremap | unsigned long addr | unsigned long old_len | unsigned long new_len | unsigned long flags | unsigned long new_addr | - |
| 1073741850 | 0x4000001a | msync | unsigned long start | size_t len | int flags | - | - | - |
| 1073741851 | 0x4000001b | mincore | unsigned long start | size_t len | unsigned char *vec | - | - | - |
| 1073741852 | 0x4000001c | madvise | unsigned long start | size_t len | int behavior | - | - | - |
| 1073741853 | 0x4000001d | shmget | key_t key | size_t size | int flag | - | - | - |
| 1073741854 | 0x4000001e | shmat | int shmid | char *shmaddr | int shmflg | - | - | - |
| 1073741855 | 0x4000001f | shmctl | int shmid | int cmd | struct shmid_ds *buf | - | - | - |
| 1073741856 | 0x40000020 | dup | unsigned int fildes | - | - | - | - | - |
| 1073741857 | 0x40000021 | dup2 | unsigned int oldfd | unsigned int newfd | - | - | - | - |
| 1073741858 | 0x40000022 | pause | - | - | - | - | - | - |
| 1073741859 | 0x40000023 | nanosleep | struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - | - | - |
| 1073741860 | 0x40000024 | getitimer | int which | struct __kernel_old_itimerval *value | - | - | - | - |
| 1073741861 | 0x40000025 | alarm | unsigned int seconds | - | - | - | - | - |
| 1073741862 | 0x40000026 | setitimer | int which | struct __kernel_old_itimerval *value | struct __kernel_old_itimerval *ovalue | - | - | - |
| 1073741863 | 0x40000027 | getpid | - | - | - | - | - | - |
| 1073741864 | 0x40000028 | sendfile | int out_fd | int in_fd | loff_t *offset | size_t count | - | - |
| 1073741865 | 0x40000029 | socket | int family | int type | int protocol | - | - | - |
| 1073741866 | 0x4000002a | connect | int fd | struct sockaddr *uservaddr | int addrlen | - | - | - |
| 1073741867 | 0x4000002b | accept | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | - | - | - |
| 1073741868 | 0x4000002c | sendto | int fd | void *buff | size_t len | unsigned int flags | struct sockaddr *addr | int addr_len |
| 1073741872 | 0x40000030 | shutdown | int fd | int how | - | - | - | - |
| 1073741873 | 0x40000031 | bind | int fd | struct sockaddr *umyaddr | int addrlen | - | - | - |
| 1073741874 | 0x40000032 | listen | int fd | int backlog | - | - | - | - |
| 1073741875 | 0x40000033 | getsockname | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 1073741876 | 0x40000034 | getpeername | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 1073741877 | 0x40000035 | socketpair | int family | int type | int protocol | int *usockvec | - | - |
| 1073741880 | 0x40000038 | clone | unsigned long clone_flags | unsigned long newsp | int *parent_tidptr | int *child_tidptr | unsigned long tls | - |
| 1073741881 | 0x40000039 | fork | - | - | - | - | - | - |
| 1073741882 | 0x4000003a | vfork | - | - | - | - | - | - |
| 1073741884 | 0x4000003c | exit | int error_code | - | - | - | - | - |
| 1073741885 | 0x4000003d | wait4 | pid_t pid | int *stat_addr | int options | struct rusage *ru | - | - |
| 1073741886 | 0x4000003e | kill | pid_t pid | int sig | - | - | - | - |
| 1073741887 | 0x4000003f | uname | struct new_utsname *name | - | - | - | - | - |
| 1073741888 | 0x40000040 | semget | key_t key | int nsems | int semflg | - | - | - |
| 1073741889 | 0x40000041 | semop | int semid | struct sembuf *sops | unsigned nsops | - | - | - |
| 1073741890 | 0x40000042 | semctl | int semid | int semnum | int cmd | unsigned long arg | - | - |
| 1073741891 | 0x40000043 | shmdt | char *shmaddr | - | - | - | - | - |
| 1073741892 | 0x40000044 | msgget | key_t key | int msgflg | - | - | - | - |
| 1073741893 | 0x40000045 | msgsnd | int msqid | struct msgbuf *msgp | size_t msgsz | int msgflg | - | - |
| 1073741894 | 0x40000046 | msgrcv | int msqid | struct msgbuf *msgp | size_t msgsz | long msgtyp | int msgflg | - |
| 1073741895 | 0x40000047 | msgctl | int msqid | int cmd | struct msqid_ds *buf | - | - | - |
| 1073741896 | 0x40000048 | fcntl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 1073741897 | 0x40000049 | flock | unsigned int fd | unsigned int cmd | - | - | - | - |
| 1073741898 | 0x4000004a | fsync | unsigned int fd | - | - | - | - | - |
| 1073741899 | 0x4000004b | fdatasync | unsigned int fd | - | - | - | - | - |
| 1073741900 | 0x4000004c | truncate | const char *path | long length | - | - | - | - |
| 1073741901 | 0x4000004d | ftruncate | unsigned int fd | off_t length | - | - | - | - |
| 1073741902 | 0x4000004e | getdents | unsigned int fd | struct linux_dirent *dirent | unsigned int count | - | - | - |
| 1073741903 | 0x4000004f | getcwd | char *buf | unsigned long size | - | - | - | - |
| 1073741904 | 0x40000050 | chdir | const char *filename | - | - | - | - | - |
| 1073741905 | 0x40000051 | fchdir | unsigned int fd | - | - | - | - | - |
| 1073741906 | 0x40000052 | rename | const char *oldname | const char *newname | - | - | - | - |
| 1073741907 | 0x40000053 | mkdir | const char *pathname | umode_t mode | - | - | - | - |
| 1073741908 | 0x40000054 | rmdir | const char *pathname | - | - | - | - | - |
| 1073741909 | 0x40000055 | creat | const char *pathname | umode_t mode | - | - | - | - |
| 1073741910 | 0x40000056 | link | const char *oldname | const char *newname | - | - | - | - |
| 1073741911 | 0x40000057 | unlink | const char *pathname | - | - | - | - | - |
| 1073741912 | 0x40000058 | symlink | const char *old | const char *new | - | - | - | - |
| 1073741913 | 0x40000059 | readlink | const char *path | char *buf | int bufsiz | - | - | - |
| 1073741914 | 0x4000005a | chmod | const char *filename | umode_t mode | - | - | - | - |
| 1073741915 | 0x4000005b | fchmod | unsigned int fd | umode_t mode | - | - | - | - |
| 1073741916 | 0x4000005c | chown | const char *filename | uid_t user | gid_t group | - | - | - |
| 1073741917 | 0x4000005d | fchown | unsigned int fd | uid_t user | gid_t group | - | - | - |
| 1073741918 | 0x4000005e | lchown | const char *filename | uid_t user | gid_t group | - | - | - |
| 1073741919 | 0x4000005f | umask | int mask | - | - | - | - | - |
| 1073741920 | 0x40000060 | gettimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 1073741921 | 0x40000061 | getrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 1073741922 | 0x40000062 | getrusage | int who | struct rusage *ru | - | - | - | - |
| 1073741923 | 0x40000063 | sysinfo | struct sysinfo *info | - | - | - | - | - |
| 1073741924 | 0x40000064 | times | struct tms *tbuf | - | - | - | - | - |
| 1073741926 | 0x40000066 | getuid | - | - | - | - | - | - |
| 1073741927 | 0x40000067 | syslog | int type | char *buf | int len | - | - | - |
| 1073741928 | 0x40000068 | getgid | - | - | - | - | - | - |
| 1073741929 | 0x40000069 | setuid | uid_t uid | - | - | - | - | - |
| 1073741930 | 0x4000006a | setgid | gid_t gid | - | - | - | - | - |
| 1073741931 | 0x4000006b | geteuid | - | - | - | - | - | - |
| 1073741932 | 0x4000006c | getegid | - | - | - | - | - | - |
| 1073741933 | 0x4000006d | setpgid | pid_t pid | pid_t pgid | - | - | - | - |
| 1073741934 | 0x4000006e | getppid | - | - | - | - | - | - |
| 1073741935 | 0x4000006f | getpgrp | - | - | - | - | - | - |
| 1073741936 | 0x40000070 | setsid | - | - | - | - | - | - |
| 1073741937 | 0x40000071 | setreuid | uid_t ruid | uid_t euid | - | - | - | - |
| 1073741938 | 0x40000072 | setregid | gid_t rgid | gid_t egid | - | - | - | - |
| 1073741939 | 0x40000073 | getgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 1073741940 | 0x40000074 | setgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 1073741941 | 0x40000075 | setresuid | uid_t ruid | uid_t euid | uid_t suid | - | - | - |
| 1073741942 | 0x40000076 | getresuid | uid_t *ruid | uid_t *euid | uid_t *suid | - | - | - |
| 1073741943 | 0x40000077 | setresgid | gid_t rgid | gid_t egid | gid_t sgid | - | - | - |
| 1073741944 | 0x40000078 | getresgid | gid_t *rgid | gid_t *egid | gid_t *sgid | - | - | - |
| 1073741945 | 0x40000079 | getpgid | pid_t pid | - | - | - | - | - |
| 1073741946 | 0x4000007a | setfsuid | uid_t uid | - | - | - | - | - |
| 1073741947 | 0x4000007b | setfsgid | gid_t gid | - | - | - | - | - |
| 1073741948 | 0x4000007c | getsid | pid_t pid | - | - | - | - | - |
| 1073741949 | 0x4000007d | capget | cap_user_header_t header | cap_user_data_t dataptr | - | - | - | - |
| 1073741950 | 0x4000007e | capset | cap_user_header_t header | const cap_user_data_t data | - | - | - | - |
| 1073741954 | 0x40000082 | rt_sigsuspend | sigset_t *unewset | size_t sigsetsize | - | - | - | - |
| 1073741956 | 0x40000084 | utime | char *filename | struct utimbuf *times | - | - | - | - |
| 1073741957 | 0x40000085 | mknod | const char *filename | umode_t mode | unsigned dev | - | - | - |
| 1073741959 | 0x40000087 | personality | unsigned int personality | - | - | - | - | - |
| 1073741960 | 0x40000088 | ustat | unsigned dev | struct ustat *ubuf | - | - | - | - |
| 1073741961 | 0x40000089 | statfs | const char *path | struct statfs *buf | - | - | - | - |
| 1073741962 | 0x4000008a | fstatfs | unsigned int fd | struct statfs *buf | - | - | - | - |
| 1073741963 | 0x4000008b | sysfs | int option | unsigned long arg1 | unsigned long arg2 | - | - | - |
| 1073741964 | 0x4000008c | getpriority | int which | int who | - | - | - | - |
| 1073741965 | 0x4000008d | setpriority | int which | int who | int niceval | - | - | - |
| 1073741966 | 0x4000008e | sched_setparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 1073741967 | 0x4000008f | sched_getparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 1073741968 | 0x40000090 | sched_setscheduler | pid_t pid | int policy | struct sched_param *param | - | - | - |
| 1073741969 | 0x40000091 | sched_getscheduler | pid_t pid | - | - | - | - | - |
| 1073741970 | 0x40000092 | sched_get_priority_max | int policy | - | - | - | - | - |
| 1073741971 | 0x40000093 | sched_get_priority_min | int policy | - | - | - | - | - |
| 1073741972 | 0x40000094 | sched_rr_get_interval | pid_t pid | struct __kernel_timespec *interval | - | - | - | - |
| 1073741973 | 0x40000095 | mlock | unsigned long start | size_t len | - | - | - | - |
| 1073741974 | 0x40000096 | munlock | unsigned long start | size_t len | - | - | - | - |
| 1073741975 | 0x40000097 | mlockall | int flags | - | - | - | - | - |
| 1073741976 | 0x40000098 | munlockall | - | - | - | - | - | - |
| 1073741977 | 0x40000099 | vhangup | - | - | - | - | - | - |
| 1073741978 | 0x4000009a | modify_ldt | int func | void *ptr | unsigned long bytecount | - | - | - |
| 1073741979 | 0x4000009b | pivot_root | const char *new_root | const char *put_old | - | - | - | - |
| 1073741981 | 0x4000009d | prctl | int option | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 1073741982 | 0x4000009e | arch_prctl | int option | unsigned long arg2 | - | - | - | - |
| 1073741983 | 0x4000009f | adjtimex | struct __kernel_timex *txc_p | - | - | - | - | - |
| 1073741984 | 0x400000a0 | setrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 1073741985 | 0x400000a1 | chroot | const char *filename | - | - | - | - | - |
| 1073741986 | 0x400000a2 | sync | - | - | - | - | - | - |
| 1073741987 | 0x400000a3 | acct | const char *name | - | - | - | - | - |
| 1073741988 | 0x400000a4 | settimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 1073741989 | 0x400000a5 | mount | char *dev_name | char *dir_name | char *type | unsigned long flags | void *data | - |
| 1073741990 | 0x400000a6 | umount2 | char *name | int flags | - | - | - | - |
| 1073741991 | 0x400000a7 | swapon | const char *specialfile | int swap_flags | - | - | - | - |
| 1073741992 | 0x400000a8 | swapoff | const char *specialfile | - | - | - | - | - |
| 1073741993 | 0x400000a9 | reboot | int magic1 | int magic2 | unsigned int cmd | void *arg | - | - |
| 1073741994 | 0x400000aa | sethostname | char *name | int len | - | - | - | - |
| 1073741995 | 0x400000ab | setdomainname | char *name | int len | - | - | - | - |
| 1073741996 | 0x400000ac | iopl | unsigned int level | - | - | - | - | - |
| 1073741997 | 0x400000ad | ioperm | unsigned long from | unsigned long num | int turn_on | - | - | - |
| 1073741999 | 0x400000af | init_module | void *umod | unsigned long len | const char *uargs | - | - | - |
| 1073742000 | 0x400000b0 | delete_module | const char *name_user | unsigned int flags | - | - | - | - |
| 1073742003 | 0x400000b3 | quotactl | unsigned int cmd | const char *special | qid_t id | void *addr | - | - |
| 1073742010 | 0x400000ba | gettid | - | - | - | - | - | - |
| 1073742011 | 0x400000bb | readahead | int fd | loff_t offset | size_t count | - | - | - |
| 1073742012 | 0x400000bc | setxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 1073742013 | 0x400000bd | lsetxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 1073742014 | 0x400000be | fsetxattr | int fd | const char *name | const void *value | size_t size | int flags | - |
| 1073742015 | 0x400000bf | getxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 1073742016 | 0x400000c0 | lgetxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 1073742017 | 0x400000c1 | fgetxattr | int fd | const char *name | void *value | size_t size | - | - |
| 1073742018 | 0x400000c2 | listxattr | const char *path | char *list | size_t size | - | - | - |
| 1073742019 | 0x400000c3 | llistxattr | const char *path | char *list | size_t size | - | - | - |
| 1073742020 | 0x400000c4 | flistxattr | int fd | char *list | size_t size | - | - | - |
| 1073742021 | 0x400000c5 | removexattr | const char *path | const char *name | - | - | - | - |
| 1073742022 | 0x400000c6 | lremovexattr | const char *path | const char *name | - | - | - | - |
| 1073742023 | 0x400000c7 | fremovexattr | int fd | const char *name | - | - | - | - |
| 1073742024 | 0x400000c8 | tkill | pid_t pid | int sig | - | - | - | - |
| 1073742025 | 0x400000c9 | time | __kernel_old_time_t *tloc | - | - | - | - | - |
| 1073742026 | 0x400000ca | futex | u32 *uaddr | int op | u32 val | const struct __kernel_timespec *utime | u32 *uaddr2 | u32 val3 |
| 1073742027 | 0x400000cb | sched_setaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 1073742028 | 0x400000cc | sched_getaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 1073742031 | 0x400000cf | io_destroy | aio_context_t ctx | - | - | - | - | - |
| 1073742032 | 0x400000d0 | io_getevents | aio_context_t ctx_id | long min_nr | long nr | struct io_event *events | struct __kernel_timespec *timeout | - |
| 1073742034 | 0x400000d2 | io_cancel | aio_context_t ctx_id | struct iocb *iocb | struct io_event *result | - | - | - |
| 1073742037 | 0x400000d5 | epoll_create | int size | - | - | - | - | - |
| 1073742040 | 0x400000d8 | remap_file_pages | unsigned long start | unsigned long size | unsigned long prot | unsigned long pgoff | unsigned long flags | - |
| 1073742041 | 0x400000d9 | getdents64 | unsigned int fd | struct linux_dirent64 *dirent | unsigned int count | - | - | - |
| 1073742042 | 0x400000da | set_tid_address | int *tidptr | - | - | - | - | - |
| 1073742043 | 0x400000db | restart_syscall | - | - | - | - | - | - |
| 1073742044 | 0x400000dc | semtimedop | int semid | struct sembuf *sops | unsigned nsops | const struct __kernel_timespec *timeout | - | - |
| 1073742045 | 0x400000dd | fadvise64 | int fd | loff_t offset | size_t len | int advice | - | - |
| 1073742047 | 0x400000df | timer_settime | timer_t timer_id | int flags | const struct __kernel_itimerspec *new_setting | struct __kernel_itimerspec *old_setting | - | - |
| 1073742048 | 0x400000e0 | timer_gettime | timer_t timer_id | struct __kernel_itimerspec *setting | - | - | - | - |
| 1073742049 | 0x400000e1 | timer_getoverrun | timer_t timer_id | - | - | - | - | - |
| 1073742050 | 0x400000e2 | timer_delete | timer_t timer_id | - | - | - | - | - |
| 1073742051 | 0x400000e3 | clock_settime | clockid_t which_clock | const struct __kernel_timespec *tp | - | - | - | - |
| 1073742052 | 0x400000e4 | clock_gettime | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 1073742053 | 0x400000e5 | clock_getres | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 1073742054 | 0x400000e6 | clock_nanosleep | clockid_t which_clock | int flags | const struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - |
| 1073742055 | 0x400000e7 | exit_group | int error_code | - | - | - | - | - |
| 1073742056 | 0x400000e8 | epoll_wait | int epfd | struct epoll_event *events | int maxevents | int timeout | - | - |
| 1073742057 | 0x400000e9 | epoll_ctl | int epfd | int op | int fd | struct epoll_event *event | - | - |
| 1073742058 | 0x400000ea | tgkill | pid_t tgid | pid_t pid | int sig | - | - | - |
| 1073742059 | 0x400000eb | utimes | char *filename | struct __kernel_old_timeval *utimes | - | - | - | - |
| 1073742061 | 0x400000ed | mbind | unsigned long start | unsigned long len | unsigned long mode | const unsigned long *nmask | unsigned long maxnode | unsigned flags |
| 1073742062 | 0x400000ee | set_mempolicy | int mode | const unsigned long *nmask | unsigned long maxnode | - | - | - |
| 1073742063 | 0x400000ef | get_mempolicy | int *policy | unsigned long *nmask | unsigned long maxnode | unsigned long addr | unsigned long flags | - |
| 1073742064 | 0x400000f0 | mq_open | const char *name | int oflag | umode_t mode | struct mq_attr *attr | - | - |
| 1073742065 | 0x400000f1 | mq_unlink | const char *name | - | - | - | - | - |
| 1073742066 | 0x400000f2 | mq_timedsend | mqd_t mqdes | const char *msg_ptr | size_t msg_len | unsigned int msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 1073742067 | 0x400000f3 | mq_timedreceive | mqd_t mqdes | char *msg_ptr | size_t msg_len | unsigned int *msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 1073742069 | 0x400000f5 | mq_getsetattr | mqd_t mqdes | const struct mq_attr *mqstat | struct mq_attr *omqstat | - | - | - |
| 1073742072 | 0x400000f8 | add_key | const char *_type | const char *_description | const void *_payload | size_t plen | key_serial_t destringid | - |
| 1073742073 | 0x400000f9 | request_key | const char *_type | const char *_description | const char *_callout_info | key_serial_t destringid | - | - |
| 1073742074 | 0x400000fa | keyctl | int cmd | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 1073742075 | 0x400000fb | ioprio_set | int which | int who | int ioprio | - | - | - |
| 1073742076 | 0x400000fc | ioprio_get | int which | int who | - | - | - | - |
| 1073742077 | 0x400000fd | inotify_init | - | - | - | - | - | - |
| 1073742078 | 0x400000fe | inotify_add_watch | int fd | const char *path | u32 mask | - | - | - |
| 1073742079 | 0x400000ff | inotify_rm_watch | int fd | __s32 wd | - | - | - | - |
| 1073742080 | 0x40000100 | migrate_pages | pid_t pid | unsigned long maxnode | const unsigned long *from | const unsigned long *to | - | - |
| 1073742081 | 0x40000101 | openat | int dfd | const char *filename | int flags | umode_t mode | - | - |
| 1073742082 | 0x40000102 | mkdirat | int dfd | const char *pathname | umode_t mode | - | - | - |
| 1073742083 | 0x40000103 | mknodat | int dfd | const char *filename | umode_t mode | unsigned dev | - | - |
| 1073742084 | 0x40000104 | fchownat | int dfd | const char *filename | uid_t user | gid_t group | int flag | - |
| 1073742085 | 0x40000105 | futimesat | int dfd | const char *filename | struct __kernel_old_timeval *utimes | - | - | - |
| 1073742086 | 0x40000106 | newfstatat | int dfd | const char *filename | struct stat *statbuf | int flag | - | - |
| 1073742087 | 0x40000107 | unlinkat | int dfd | const char *pathname | int flag | - | - | - |
| 1073742088 | 0x40000108 | renameat | int olddfd | const char *oldname | int newdfd | const char *newname | - | - |
| 1073742089 | 0x40000109 | linkat | int olddfd | const char *oldname | int newdfd | const char *newname | int flags | - |
| 1073742090 | 0x4000010a | symlinkat | const char *oldname | int newdfd | const char *newname | - | - | - |
| 1073742091 | 0x4000010b | readlinkat | int dfd | const char *path | char *buf | int bufsiz | - | - |
| 1073742092 | 0x4000010c | fchmodat | int dfd | const char *filename | umode_t mode | - | - | - |
| 1073742093 | 0x4000010d | faccessat | int dfd | const char *filename | int mode | - | - | - |
| 1073742094 | 0x4000010e | pselect6 | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_timespec *tsp | void *sig |
| 1073742095 | 0x4000010f | ppoll | struct pollfd *ufds | unsigned int nfds | struct __kernel_timespec *tsp | const sigset_t *sigmask | size_t sigsetsize | - |
| 1073742096 | 0x40000110 | unshare | unsigned long unshare_flags | - | - | - | - | - |
| 1073742099 | 0x40000113 | splice | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 1073742100 | 0x40000114 | tee | int fdin | int fdout | size_t len | unsigned int flags | - | - |
| 1073742101 | 0x40000115 | sync_file_range | int fd | loff_t offset | loff_t nbytes | unsigned int flags | - | - |
| 1073742104 | 0x40000118 | utimensat | int dfd | const char *filename | struct __kernel_timespec *utimes | int flags | - | - |
| 1073742105 | 0x40000119 | epoll_pwait | int epfd | struct epoll_event *events | int maxevents | int timeout | const sigset_t *sigmask | size_t sigsetsize |
| 1073742106 | 0x4000011a | signalfd | int ufd | sigset_t *user_mask | size_t sizemask | - | - | - |
| 1073742107 | 0x4000011b | timerfd_create | int clockid | int flags | - | - | - | - |
| 1073742108 | 0x4000011c | eventfd | unsigned int count | - | - | - | - | - |
| 1073742109 | 0x4000011d | fallocate | int fd | int mode | loff_t offset | loff_t len | - | - |
| 1073742110 | 0x4000011e | timerfd_settime | int ufd | int flags | const struct __kernel_itimerspec *utmr | struct __kernel_itimerspec *otmr | - | - |
| 1073742111 | 0x4000011f | timerfd_gettime | int ufd | struct __kernel_itimerspec *otmr | - | - | - | - |
| 1073742112 | 0x40000120 | accept4 | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | int flags | - | - |
| 1073742113 | 0x40000121 | signalfd4 | int ufd | sigset_t *user_mask | size_t sizemask | int flags | - | - |
| 1073742114 | 0x40000122 | eventfd2 | unsigned int count | int flags | - | - | - | - |
| 1073742115 | 0x40000123 | epoll_create1 | int flags | - | - | - | - | - |
| 1073742116 | 0x40000124 | dup3 | unsigned int oldfd | unsigned int newfd | int flags | - | - | - |
| 1073742117 | 0x40000125 | pipe2 | int *fildes | int flags | - | - | - | - |
| 1073742118 | 0x40000126 | inotify_init1 | int flags | - | - | - | - | - |
| 1073742122 | 0x4000012a | perf_event_open | struct perf_event_attr *attr_uptr | pid_t pid | int cpu | int group_fd | unsigned long flags | - |
| 1073742124 | 0x4000012c | fanotify_init | unsigned int flags | unsigned int event_f_flags | - | - | - | - |
| 1073742125 | 0x4000012d | fanotify_mark | int fanotify_fd | unsigned int flags | u64 mask | int fd | const char *pathname | - |
| 1073742126 | 0x4000012e | prlimit64 | pid_t pid | unsigned int resource | const struct rlimit64 *new_rlim | struct rlimit64 *old_rlim | - | - |
| 1073742127 | 0x4000012f | name_to_handle_at | int dfd | const char *name | struct file_handle *handle | void *mnt_id | int flag | - |
| 1073742128 | 0x40000130 | open_by_handle_at | int mountdirfd | struct file_handle *handle | int flags | - | - | - |
| 1073742129 | 0x40000131 | clock_adjtime | clockid_t which_clock | struct __kernel_timex *tx | - | - | - | - |
| 1073742130 | 0x40000132 | syncfs | int fd | - | - | - | - | - |
| 1073742132 | 0x40000134 | setns | int fd | int nstype | - | - | - | - |
| 1073742133 | 0x40000135 | getcpu | unsigned *cpup | unsigned *nodep | void *unused | - | - | - |
| 1073742136 | 0x40000138 | kcmp | pid_t pid1 | pid_t pid2 | int type | unsigned long idx1 | unsigned long idx2 | - |
| 1073742137 | 0x40000139 | finit_module | int fd | const char *uargs | int flags | - | - | - |
| 1073742138 | 0x4000013a | sched_setattr | pid_t pid | struct sched_attr *attr | unsigned int flags | - | - | - |
| 1073742139 | 0x4000013b | sched_getattr | pid_t pid | struct sched_attr *attr | unsigned int size | unsigned int flags | - | - |
| 1073742140 | 0x4000013c | renameat2 | int olddfd | const char *oldname | int newdfd | const char *newname | unsigned int flags | - |
| 1073742141 | 0x4000013d | seccomp | unsigned int op | unsigned int flags | void *uargs | - | - | - |
| 1073742142 | 0x4000013e | getrandom | char *buf | size_t count | unsigned int flags | - | - | - |
| 1073742143 | 0x4000013f | memfd_create | const char *uname_ptr | unsigned int flags | - | - | - | - |
| 1073742144 | 0x40000140 | kexec_file_load | int kernel_fd | int initrd_fd | unsigned long cmdline_len | const char *cmdline_ptr | unsigned long flags | - |
| 1073742145 | 0x40000141 | bpf | int cmd | union bpf_attr *attr | unsigned int size | struct bpf_common_attr *attr_common | unsigned int size_common | - |
| 1073742147 | 0x40000143 | userfaultfd | int flags | - | - | - | - | - |
| 1073742148 | 0x40000144 | membarrier | int cmd | unsigned int flags | int cpu_id | - | - | - |
| 1073742149 | 0x40000145 | mlock2 | unsigned long start | size_t len | int flags | - | - | - |
| 1073742150 | 0x40000146 | copy_file_range | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 1073742153 | 0x40000149 | pkey_mprotect | unsigned long start | size_t len | unsigned long prot | int pkey | - | - |
| 1073742154 | 0x4000014a | pkey_alloc | unsigned long flags | unsigned long init_val | - | - | - | - |
| 1073742155 | 0x4000014b | pkey_free | int pkey | - | - | - | - | - |
| 1073742156 | 0x4000014c | statx | int dfd | const char *path | unsigned flags | unsigned mask | struct statx *buffer | - |
| 1073742157 | 0x4000014d | io_pgetevents | aio_context_t ctx_id | long min_nr | long nr | struct io_event *events | struct __kernel_timespec *timeout | const struct __aio_sigset *usig |
| 1073742158 | 0x4000014e | rseq | struct rseq *rseq | uint32_t rseq_len | int flags | uint32_t sig | - | - |
| 1073742159 | 0x4000014f | uretprobe | - | - | - | - | - | - |
| 1073742160 | 0x40000150 | uprobe | - | - | - | - | - | - |
| 1073742248 | 0x400001a8 | pidfd_send_signal | int pidfd | int sig | siginfo_t *info | unsigned int flags | - | - |
| 1073742249 | 0x400001a9 | io_uring_setup | u32 entries | struct io_uring_params *p | - | - | - | - |
| 1073742250 | 0x400001aa | io_uring_enter | unsigned int fd | u32 to_submit | u32 min_complete | u32 flags | const void *argp | size_t argsz |
| 1073742251 | 0x400001ab | io_uring_register | unsigned int fd | unsigned int op | void *arg | unsigned int nr_args | - | - |
| 1073742252 | 0x400001ac | open_tree | int dfd | const char *path | unsigned flags | - | - | - |
| 1073742253 | 0x400001ad | move_mount | int from_dfd | const char *from_path | int to_dfd | const char *to_path | unsigned int ms_flags | - |
| 1073742254 | 0x400001ae | fsopen | const char *fs_name | unsigned int flags | - | - | - | - |
| 1073742255 | 0x400001af | fsconfig | int fs_fd | unsigned int cmd | const char *key | const void *value | int aux | - |
| 1073742256 | 0x400001b0 | fsmount | int fs_fd | unsigned int flags | unsigned int ms_flags | - | - | - |
| 1073742257 | 0x400001b1 | fspick | int dfd | const char *path | unsigned int flags | - | - | - |
| 1073742258 | 0x400001b2 | pidfd_open | pid_t pid | unsigned int flags | - | - | - | - |
| 1073742259 | 0x400001b3 | clone3 | struct clone_args *uargs | size_t size | - | - | - | - |
| 1073742260 | 0x400001b4 | close_range | unsigned int fd | unsigned int max_fd | unsigned int flags | - | - | - |
| 1073742261 | 0x400001b5 | openat2 | int dfd | const char *filename | struct open_how *how | size_t size | - | - |
| 1073742262 | 0x400001b6 | pidfd_getfd | int pidfd | int fd | unsigned int flags | - | - | - |
| 1073742263 | 0x400001b7 | faccessat2 | int dfd | const char *filename | int mode | int flags | - | - |
| 1073742264 | 0x400001b8 | process_madvise | int pidfd | const struct iovec *vec | size_t vlen | int behavior | unsigned int flags | - |
| 1073742265 | 0x400001b9 | epoll_pwait2 | int epfd | struct epoll_event *events | int maxevents | const struct __kernel_timespec *timeout | const sigset_t *sigmask | size_t sigsetsize |
| 1073742266 | 0x400001ba | mount_setattr | int dfd | const char *path | unsigned int flags | struct mount_attr *uattr | size_t usize | - |
| 1073742267 | 0x400001bb | quotactl_fd | unsigned int fd | unsigned int cmd | qid_t id | void *addr | - | - |
| 1073742268 | 0x400001bc | landlock_create_ruleset | const struct landlock_ruleset_attr *attr | size_t size | __u32 flags | - | - | - |
| 1073742269 | 0x400001bd | landlock_add_rule | int ruleset_fd | enum landlock_rule_type rule_type | const void *rule_attr | __u32 flags | - | - |
| 1073742270 | 0x400001be | landlock_restrict_self | int ruleset_fd | __u32 flags | - | - | - | - |
| 1073742271 | 0x400001bf | memfd_secret | unsigned int flags | - | - | - | - | - |
| 1073742272 | 0x400001c0 | process_mrelease | int pidfd | unsigned int flags | - | - | - | - |
| 1073742273 | 0x400001c1 | futex_waitv | struct futex_waitv *waiters | unsigned int nr_futexes | unsigned int flags | struct __kernel_timespec *timeout | clockid_t clockid | - |
| 1073742274 | 0x400001c2 | set_mempolicy_home_node | unsigned long start | unsigned long len | unsigned long home_node | unsigned long flags | - | - |
| 1073742275 | 0x400001c3 | cachestat | unsigned int fd | struct cachestat_range *cstat_range | struct cachestat *cstat | unsigned int flags | - | - |
| 1073742276 | 0x400001c4 | fchmodat2 | int dfd | const char *filename | umode_t mode | unsigned int flags | - | - |
| 1073742277 | 0x400001c5 | map_shadow_stack | unsigned long addr | unsigned long size | unsigned int flags | - | - | - |
| 1073742278 | 0x400001c6 | futex_wake | void *uaddr | unsigned long mask | int nr | unsigned int flags | - | - |
| 1073742279 | 0x400001c7 | futex_wait | void *uaddr | unsigned long val | unsigned long mask | unsigned int flags | struct __kernel_timespec *timespec | clockid_t clockid |
| 1073742280 | 0x400001c8 | futex_requeue | struct futex_waitv *waiters | unsigned int flags | int nr_wake | int nr_requeue | - | - |
| 1073742281 | 0x400001c9 | statmount | const struct mnt_id_req *req | struct statmount *buf | size_t bufsize | unsigned int flags | - | - |
| 1073742282 | 0x400001ca | listmount | const struct mnt_id_req *req | u64 *mnt_ids | size_t nr_mnt_ids | unsigned int flags | - | - |
| 1073742283 | 0x400001cb | lsm_get_self_attr | unsigned int attr | struct lsm_ctx *ctx | u32 *size | u32 flags | - | - |
| 1073742284 | 0x400001cc | lsm_set_self_attr | unsigned int attr | struct lsm_ctx *ctx | u32 size | u32 flags | - | - |
| 1073742285 | 0x400001cd | lsm_list_modules | u64 *ids | u32 *size | u32 flags | - | - | - |
| 1073742286 | 0x400001ce | mseal | unsigned long start | size_t len | unsigned long flags | - | - | - |
| 1073742287 | 0x400001cf | setxattrat | int dfd | const char *path | unsigned int at_flags | const char *name | const struct xattr_args *args | size_t size |
| 1073742288 | 0x400001d0 | getxattrat | int dfd | const char *path | unsigned int at_flags | const char *name | struct xattr_args *args | size_t size |
| 1073742289 | 0x400001d1 | listxattrat | int dfd | const char *path | unsigned int at_flags | char *list | size_t size | - |
| 1073742290 | 0x400001d2 | removexattrat | int dfd | const char *path | unsigned int at_flags | const char *name | - | - |
| 1073742291 | 0x400001d3 | open_tree_attr | int dfd | const char *path | unsigned flags | struct mount_attr *uattr | size_t usize | - |
| 1073742292 | 0x400001d4 | file_getattr | int dfd | const char *filename | struct file_attr *attr | size_t usize | unsigned int at_flags | - |
| 1073742293 | 0x400001d5 | file_setattr | int dfd | const char *filename | struct file_attr *attr | size_t usize | unsigned int at_flags | - |
| 1073742294 | 0x400001d6 | listns | const struct ns_id_req *req | u64 *ns_ids | size_t nr_ns_ids | unsigned int flags | - | - |
| 1073742295 | 0x400001d7 | rseq_slice_yield | - | - | - | - | - | - |
| 1073742296 | 0x400001d8 | fchroot | int fd | unsigned int flags | - | - | - | - |
| 1073742336 | 0x40000200 | rt_sigaction | int sig | const struct sigaction *act | struct sigaction *oact | size_t sigsetsize | - | - |
| 1073742337 | 0x40000201 | rt_sigreturn | - | - | - | - | - | - |
| 1073742338 | 0x40000202 | ioctl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 1073742339 | 0x40000203 | readv | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 1073742340 | 0x40000204 | writev | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 1073742341 | 0x40000205 | recvfrom | int fd | void *ubuf | size_t size | unsigned int flags | struct sockaddr *addr | int *addr_len |
| 1073742342 | 0x40000206 | sendmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 1073742343 | 0x40000207 | recvmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 1073742344 | 0x40000208 | execve | const char *filename | const char *const *argv | const char *const *envp | - | - | - |
| 1073742345 | 0x40000209 | ptrace | long request | long pid | unsigned long addr | unsigned long data | - | - |
| 1073742346 | 0x4000020a | rt_sigpending | sigset_t *uset | size_t sigsetsize | - | - | - | - |
| 1073742347 | 0x4000020b | rt_sigtimedwait | const sigset_t *uthese | siginfo_t *uinfo | const struct __kernel_timespec *uts | size_t sigsetsize | - | - |
| 1073742348 | 0x4000020c | rt_sigqueueinfo | pid_t pid | int sig | siginfo_t *uinfo | - | - | - |
| 1073742349 | 0x4000020d | sigaltstack | const stack_t *uss | stack_t *uoss | - | - | - | - |
| 1073742350 | 0x4000020e | timer_create | clockid_t which_clock | struct sigevent *timer_event_spec | timer_t *created_timer_id | - | - | - |
| 1073742351 | 0x4000020f | mq_notify | mqd_t mqdes | const struct sigevent *notification | - | - | - | - |
| 1073742352 | 0x40000210 | kexec_load | unsigned long entry | unsigned long nr_segments | struct kexec_segment *segments | unsigned long flags | - | - |
| 1073742353 | 0x40000211 | waitid | int which | pid_t pid | struct siginfo *infop | int options | struct rusage *ru | - |
| 1073742354 | 0x40000212 | set_robust_list | struct robust_list_head *head | size_t len | - | - | - | - |
| 1073742355 | 0x40000213 | get_robust_list | int pid | struct robust_list_head * *head_ptr | size_t *len_ptr | - | - | - |
| 1073742356 | 0x40000214 | vmsplice | int fd | const struct iovec *iov | unsigned long nr_segs | unsigned int flags | - | - |
| 1073742357 | 0x40000215 | move_pages | pid_t pid | unsigned long nr_pages | const void * *pages | const int *nodes | int *status | int flags |
| 1073742358 | 0x40000216 | preadv | unsigned long fd | const struct iovec *vec | unsigned long vlen | loff_t pos | - | - |
| 1073742359 | 0x40000217 | pwritev | unsigned long fd | const struct iovec *vec | unsigned long vlen | loff_t pos | - | - |
| 1073742360 | 0x40000218 | rt_tgsigqueueinfo | pid_t tgid | pid_t pid | int sig | siginfo_t *uinfo | - | - |
| 1073742361 | 0x40000219 | recvmmsg | int fd | struct mmsghdr *msg | unsigned int vlen | unsigned flags | struct __kernel_timespec *timeout | - |
| 1073742362 | 0x4000021a | sendmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | - | - |
| 1073742363 | 0x4000021b | process_vm_readv | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 1073742364 | 0x4000021c | process_vm_writev | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 1073742365 | 0x4000021d | setsockopt | int fd | int level | int optname | char *optval | int optlen | - |
| 1073742366 | 0x4000021e | getsockopt | int fd | int level | int optname | char *optval | int *optlen | - |
| 1073742367 | 0x4000021f | io_setup | unsigned nr_events | aio_context_t *ctxp | - | - | - | - |
| 1073742368 | 0x40000220 | io_submit | aio_context_t ctx_id | long nr | struct iocb * *iocbpp | - | - | - |
| 1073742369 | 0x40000221 | execveat | int dfd | const char *filename | const char *const *argv | const char *const *envp | int flags | - |
| 1073742370 | 0x40000222 | preadv2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | loff_t pos | rwf_t flags | - |
| 1073742371 | 0x40000223 | pwritev2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | loff_t pos | rwf_t flags | - |
Want the raw data? /x32/syscalls.json has every x32 syscall since Linux 3.4, along with the release it showed up in (since) and the one that dropped it (removed_in).