xtensa system calls
Put the syscall number in a2 and the arguments in a6 a3 a4 a5 a8 a9, then run syscall. The result comes back in a2.
A number such as 59 or 0x3b matches that syscall number exactly. Anything else searches the name, the arguments, the description, the family and the kconfig option. Press / to jump here.
| NR | HEX | NAME | ARG0 a6 | ARG1 a3 | ARG2 a4 | ARG3 a5 | ARG4 a8 | ARG5 a9 |
|---|---|---|---|---|---|---|---|---|
| 8 | 0x8 | open | const char *filename | int flags | umode_t mode | - | - | - |
| 9 | 0x9 | close | unsigned int fd | - | - | - | - | - |
| 10 | 0xa | dup | unsigned int fildes | - | - | - | - | - |
| 11 | 0xb | dup2 | unsigned int oldfd | unsigned int newfd | - | - | - | - |
| 12 | 0xc | read | unsigned int fd | char *buf | size_t count | - | - | - |
| 13 | 0xd | write | unsigned int fd | const char *buf | size_t count | - | - | - |
| 14 | 0xe | select | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_old_timeval *tvp | - |
| 15 | 0xf | lseek | unsigned int fd | off_t offset | unsigned int whence | - | - | - |
| 16 | 0x10 | poll | struct pollfd *ufds | unsigned int nfds | int timeout_msecs | - | - | - |
| 17 | 0x11 | _llseek | unsigned int fd | unsigned long offset_high | unsigned long offset_low | loff_t *result | unsigned int whence | - |
| 18 | 0x12 | epoll_wait | int epfd | struct epoll_event *events | int maxevents | int timeout | - | - |
| 19 | 0x13 | epoll_ctl | int epfd | int op | int fd | struct epoll_event *event | - | - |
| 20 | 0x14 | epoll_create | int size | - | - | - | - | - |
| 21 | 0x15 | creat | const char *pathname | umode_t mode | - | - | - | - |
| 22 | 0x16 | truncate | const char *path | long length | - | - | - | - |
| 23 | 0x17 | ftruncate | unsigned int fd | off_t length | - | - | - | - |
| 24 | 0x18 | readv | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 25 | 0x19 | writev | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 26 | 0x1a | fsync | unsigned int fd | - | - | - | - | - |
| 27 | 0x1b | fdatasync | unsigned int fd | - | - | - | - | - |
| 28 | 0x1c | truncate64 | const char *path | loff_t length | - | - | - | - |
| 29 | 0x1d | ftruncate64 | unsigned int fd | loff_t length | - | - | - | - |
| 30 | 0x1e | pread64 | unsigned int fd | char *buf | size_t count | loff_t pos | - | - |
| 31 | 0x1f | pwrite64 | unsigned int fd | const char *buf | size_t count | loff_t pos | - | - |
| 32 | 0x20 | link | const char *oldname | const char *newname | - | - | - | - |
| 33 | 0x21 | rename | const char *oldname | const char *newname | - | - | - | - |
| 34 | 0x22 | symlink | const char *old | const char *new | - | - | - | - |
| 35 | 0x23 | readlink | const char *path | char *buf | int bufsiz | - | - | - |
| 36 | 0x24 | mknod | const char *filename | umode_t mode | unsigned dev | - | - | - |
| 37 | 0x25 | pipe | int *fildes | - | - | - | - | - |
| 38 | 0x26 | unlink | const char *pathname | - | - | - | - | - |
| 39 | 0x27 | rmdir | const char *pathname | - | - | - | - | - |
| 40 | 0x28 | mkdir | const char *pathname | umode_t mode | - | - | - | - |
| 41 | 0x29 | chdir | const char *filename | - | - | - | - | - |
| 42 | 0x2a | fchdir | unsigned int fd | - | - | - | - | - |
| 43 | 0x2b | getcwd | char *buf | unsigned long size | - | - | - | - |
| 44 | 0x2c | chmod | const char *filename | umode_t mode | - | - | - | - |
| 45 | 0x2d | chown | const char *filename | uid_t user | gid_t group | - | - | - |
| 46 | 0x2e | stat | const char *filename | struct stat *statbuf | - | - | - | - |
| 47 | 0x2f | stat64 | const char *filename | struct stat64 *statbuf | - | - | - | - |
| 48 | 0x30 | lchown | const char *filename | uid_t user | gid_t group | - | - | - |
| 49 | 0x31 | lstat | const char *filename | struct stat *statbuf | - | - | - | - |
| 50 | 0x32 | lstat64 | const char *filename | struct stat64 *statbuf | - | - | - | - |
| 52 | 0x34 | fchmod | unsigned int fd | umode_t mode | - | - | - | - |
| 53 | 0x35 | fchown | unsigned int fd | uid_t user | gid_t group | - | - | - |
| 54 | 0x36 | fstat | unsigned int fd | struct stat *statbuf | - | - | - | - |
| 55 | 0x37 | fstat64 | unsigned long fd | struct stat64 *statbuf | - | - | - | - |
| 56 | 0x38 | flock | unsigned int fd | unsigned int cmd | - | - | - | - |
| 57 | 0x39 | access | const char *filename | int mode | - | - | - | - |
| 58 | 0x3a | umask | int mask | - | - | - | - | - |
| 59 | 0x3b | getdents | unsigned int fd | struct linux_dirent *dirent | unsigned int count | - | - | - |
| 60 | 0x3c | getdents64 | unsigned int fd | struct linux_dirent64 *dirent | unsigned int count | - | - | - |
| 61 | 0x3d | fcntl64 | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 62 | 0x3e | fallocate | int fd | int mode | loff_t offset | loff_t len | - | - |
| 63 | 0x3f | fadvise64_64 | int fd | loff_t offset | loff_t len | int advice | - | - |
| 64 | 0x40 | utime | const char *filename | struct old_utimbuf32 *t | - | - | - | - |
| 65 | 0x41 | utimes | const char *filename | struct old_timeval32 *t | - | - | - | - |
| 66 | 0x42 | ioctl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 67 | 0x43 | fcntl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 68 | 0x44 | setxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 69 | 0x45 | getxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 70 | 0x46 | listxattr | const char *path | char *list | size_t size | - | - | - |
| 71 | 0x47 | removexattr | const char *path | const char *name | - | - | - | - |
| 72 | 0x48 | lsetxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 73 | 0x49 | lgetxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 74 | 0x4a | llistxattr | const char *path | char *list | size_t size | - | - | - |
| 75 | 0x4b | lremovexattr | const char *path | const char *name | - | - | - | - |
| 76 | 0x4c | fsetxattr | int fd | const char *name | const void *value | size_t size | int flags | - |
| 77 | 0x4d | fgetxattr | int fd | const char *name | void *value | size_t size | - | - |
| 78 | 0x4e | flistxattr | int fd | char *list | size_t size | - | - | - |
| 79 | 0x4f | fremovexattr | int fd | const char *name | - | - | - | - |
| 80 | 0x50 | mmap2 | unsigned long addr | unsigned long len | unsigned long prot | unsigned long flags | unsigned long fd | unsigned long pgoff |
| 81 | 0x51 | munmap | unsigned long addr | size_t len | - | - | - | - |
| 82 | 0x52 | mprotect | unsigned long start | size_t len | unsigned long prot | - | - | - |
| 83 | 0x53 | brk | unsigned long brk | - | - | - | - | - |
| 84 | 0x54 | mlock | unsigned long start | size_t len | - | - | - | - |
| 85 | 0x55 | munlock | unsigned long start | size_t len | - | - | - | - |
| 86 | 0x56 | mlockall | int flags | - | - | - | - | - |
| 87 | 0x57 | munlockall | - | - | - | - | - | - |
| 88 | 0x58 | mremap | unsigned long addr | unsigned long old_len | unsigned long new_len | unsigned long flags | unsigned long new_addr | - |
| 89 | 0x59 | msync | unsigned long start | size_t len | int flags | - | - | - |
| 90 | 0x5a | mincore | unsigned long start | size_t len | unsigned char *vec | - | - | - |
| 91 | 0x5b | madvise | unsigned long start | size_t len | int behavior | - | - | - |
| 92 | 0x5c | shmget | key_t key | size_t size | int flag | - | - | - |
| 93 | 0x5d | shmat | int shmid | char *shmaddr | int shmflg | - | - | - |
| 94 | 0x5e | shmctl | int shmid | int cmd | struct shmid_ds *buf | - | - | - |
| 95 | 0x5f | shmdt | char *shmaddr | - | - | - | - | - |
| 96 | 0x60 | socket | int family | int type | int protocol | - | - | - |
| 97 | 0x61 | setsockopt | int fd | int level | int optname | char *optval | int optlen | - |
| 98 | 0x62 | getsockopt | int fd | int level | int optname | char *optval | int *optlen | - |
| 99 | 0x63 | shutdown | int fd | int how | - | - | - | - |
| 100 | 0x64 | bind | int fd | struct sockaddr *umyaddr | int addrlen | - | - | - |
| 101 | 0x65 | connect | int fd | struct sockaddr *uservaddr | int addrlen | - | - | - |
| 102 | 0x66 | listen | int fd | int backlog | - | - | - | - |
| 103 | 0x67 | accept | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | - | - | - |
| 104 | 0x68 | getsockname | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 105 | 0x69 | getpeername | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 106 | 0x6a | sendmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 107 | 0x6b | recvmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 108 | 0x6c | send | int fd | void *buff | size_t len | unsigned int flags | - | - |
| 109 | 0x6d | recv | int fd | void *ubuf | size_t size | unsigned int flags | - | - |
| 110 | 0x6e | sendto | int fd | void *buff | size_t len | unsigned int flags | struct sockaddr *addr | int addr_len |
| 111 | 0x6f | recvfrom | int fd | void *ubuf | size_t size | unsigned int flags | struct sockaddr *addr | int *addr_len |
| 112 | 0x70 | socketpair | int family | int type | int protocol | int *usockvec | - | - |
| 113 | 0x71 | sendfile | int out_fd | int in_fd | off_t *offset | size_t count | - | - |
| 114 | 0x72 | sendfile64 | int out_fd | int in_fd | loff_t *offset | size_t count | - | - |
| 115 | 0x73 | sendmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | - | - |
| 116 | 0x74 | clone | unsigned long clone_flags | unsigned long newsp | int *parent_tidptr | unsigned long tls | int *child_tidptr | - |
| 117 | 0x75 | execve | const char *filename | const char *const *argv | const char *const *envp | - | - | - |
| 118 | 0x76 | exit | int error_code | - | - | - | - | - |
| 119 | 0x77 | exit_group | int error_code | - | - | - | - | - |
| 120 | 0x78 | getpid | - | - | - | - | - | - |
| 121 | 0x79 | wait4 | pid_t pid | int *stat_addr | int options | struct rusage *ru | - | - |
| 122 | 0x7a | waitid | int which | pid_t pid | struct siginfo *infop | int options | struct rusage *ru | - |
| 123 | 0x7b | kill | pid_t pid | int sig | - | - | - | - |
| 124 | 0x7c | tkill | pid_t pid | int sig | - | - | - | - |
| 125 | 0x7d | tgkill | pid_t tgid | pid_t pid | int sig | - | - | - |
| 126 | 0x7e | set_tid_address | int *tidptr | - | - | - | - | - |
| 127 | 0x7f | gettid | - | - | - | - | - | - |
| 128 | 0x80 | setsid | - | - | - | - | - | - |
| 129 | 0x81 | getsid | pid_t pid | - | - | - | - | - |
| 130 | 0x82 | prctl | int option | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 131 | 0x83 | personality | unsigned int personality | - | - | - | - | - |
| 132 | 0x84 | getpriority | int which | int who | - | - | - | - |
| 133 | 0x85 | setpriority | int which | int who | int niceval | - | - | - |
| 134 | 0x86 | setitimer | int which | struct __kernel_old_itimerval *value | struct __kernel_old_itimerval *ovalue | - | - | - |
| 135 | 0x87 | getitimer | int which | struct __kernel_old_itimerval *value | - | - | - | - |
| 136 | 0x88 | setuid | uid_t uid | - | - | - | - | - |
| 137 | 0x89 | getuid | - | - | - | - | - | - |
| 138 | 0x8a | setgid | gid_t gid | - | - | - | - | - |
| 139 | 0x8b | getgid | - | - | - | - | - | - |
| 140 | 0x8c | geteuid | - | - | - | - | - | - |
| 141 | 0x8d | getegid | - | - | - | - | - | - |
| 142 | 0x8e | setreuid | uid_t ruid | uid_t euid | - | - | - | - |
| 143 | 0x8f | setregid | gid_t rgid | gid_t egid | - | - | - | - |
| 144 | 0x90 | setresuid | uid_t ruid | uid_t euid | uid_t suid | - | - | - |
| 145 | 0x91 | getresuid | uid_t *ruid | uid_t *euid | uid_t *suid | - | - | - |
| 146 | 0x92 | setresgid | gid_t rgid | gid_t egid | gid_t sgid | - | - | - |
| 147 | 0x93 | getresgid | gid_t *rgid | gid_t *egid | gid_t *sgid | - | - | - |
| 148 | 0x94 | setpgid | pid_t pid | pid_t pgid | - | - | - | - |
| 149 | 0x95 | getpgid | pid_t pid | - | - | - | - | - |
| 150 | 0x96 | getppid | - | - | - | - | - | - |
| 151 | 0x97 | getpgrp | - | - | - | - | - | - |
| 154 | 0x9a | times | struct tms *tbuf | - | - | - | - | - |
| 155 | 0x9b | acct | const char *name | - | - | - | - | - |
| 156 | 0x9c | sched_setaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 157 | 0x9d | sched_getaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 158 | 0x9e | capget | cap_user_header_t header | cap_user_data_t dataptr | - | - | - | - |
| 159 | 0x9f | capset | cap_user_header_t header | const cap_user_data_t data | - | - | - | - |
| 160 | 0xa0 | ptrace | long request | long pid | unsigned long addr | unsigned long data | - | - |
| 161 | 0xa1 | semtimedop | int semid | struct sembuf *sops | unsigned nsops | const struct old_timespec32 *timeout | - | - |
| 162 | 0xa2 | semget | key_t key | int nsems | int semflg | - | - | - |
| 163 | 0xa3 | semop | int semid | struct sembuf *sops | unsigned nsops | - | - | - |
| 164 | 0xa4 | semctl | int semid | int semnum | int cmd | unsigned long arg | - | - |
| 166 | 0xa6 | msgget | key_t key | int msgflg | - | - | - | - |
| 167 | 0xa7 | msgsnd | int msqid | struct msgbuf *msgp | size_t msgsz | int msgflg | - | - |
| 168 | 0xa8 | msgrcv | int msqid | struct msgbuf *msgp | size_t msgsz | long msgtyp | int msgflg | - |
| 169 | 0xa9 | msgctl | int msqid | int cmd | struct msqid_ds *buf | - | - | - |
| 171 | 0xab | umount2 | char *name | int flags | - | - | - | - |
| 172 | 0xac | mount | char *dev_name | char *dir_name | char *type | unsigned long flags | void *data | - |
| 173 | 0xad | swapon | const char *specialfile | int swap_flags | - | - | - | - |
| 174 | 0xae | chroot | const char *filename | - | - | - | - | - |
| 175 | 0xaf | pivot_root | const char *new_root | const char *put_old | - | - | - | - |
| 176 | 0xb0 | umount | char *name | - | - | - | - | - |
| 177 | 0xb1 | swapoff | const char *specialfile | - | - | - | - | - |
| 178 | 0xb2 | sync | - | - | - | - | - | - |
| 179 | 0xb3 | syncfs | int fd | - | - | - | - | - |
| 180 | 0xb4 | setfsuid | uid_t uid | - | - | - | - | - |
| 181 | 0xb5 | setfsgid | gid_t gid | - | - | - | - | - |
| 182 | 0xb6 | sysfs | int option | unsigned long arg1 | unsigned long arg2 | - | - | - |
| 183 | 0xb7 | ustat | unsigned dev | struct ustat *ubuf | - | - | - | - |
| 184 | 0xb8 | statfs | const char *path | struct statfs *buf | - | - | - | - |
| 185 | 0xb9 | fstatfs | unsigned int fd | struct statfs *buf | - | - | - | - |
| 186 | 0xba | statfs64 | const char *path | size_t sz | struct statfs64 *buf | - | - | - |
| 187 | 0xbb | fstatfs64 | unsigned int fd | size_t sz | struct statfs64 *buf | - | - | - |
| 188 | 0xbc | setrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 189 | 0xbd | getrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 190 | 0xbe | getrusage | int who | struct rusage *ru | - | - | - | - |
| 191 | 0xbf | futex | u32 *uaddr | int op | u32 val | const struct old_timespec32 *utime | u32 *uaddr2 | u32 val3 |
| 192 | 0xc0 | gettimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 193 | 0xc1 | settimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 194 | 0xc2 | adjtimex | struct old_timex32 *txc_p | - | - | - | - | - |
| 195 | 0xc3 | nanosleep | struct old_timespec32 *rqtp | struct old_timespec32 *rmtp | - | - | - | - |
| 196 | 0xc4 | getgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 197 | 0xc5 | setgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 198 | 0xc6 | sethostname | char *name | int len | - | - | - | - |
| 199 | 0xc7 | setdomainname | char *name | int len | - | - | - | - |
| 200 | 0xc8 | syslog | int type | char *buf | int len | - | - | - |
| 201 | 0xc9 | vhangup | - | - | - | - | - | - |
| 202 | 0xca | uselib | const char *library | - | - | - | - | - |
| 203 | 0xcb | reboot | int magic1 | int magic2 | unsigned int cmd | void *arg | - | - |
| 204 | 0xcc | quotactl | unsigned int cmd | const char *special | qid_t id | void *addr | - | - |
| 208 | 0xd0 | uname | struct new_utsname *name | - | - | - | - | - |
| 209 | 0xd1 | sysinfo | struct sysinfo *info | - | - | - | - | - |
| 210 | 0xd2 | init_module | void *umod | unsigned long len | const char *uargs | - | - | - |
| 211 | 0xd3 | delete_module | const char *name_user | unsigned int flags | - | - | - | - |
| 212 | 0xd4 | sched_setparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 213 | 0xd5 | sched_getparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 214 | 0xd6 | sched_setscheduler | pid_t pid | int policy | struct sched_param *param | - | - | - |
| 215 | 0xd7 | sched_getscheduler | pid_t pid | - | - | - | - | - |
| 216 | 0xd8 | sched_get_priority_max | int policy | - | - | - | - | - |
| 217 | 0xd9 | sched_get_priority_min | int policy | - | - | - | - | - |
| 218 | 0xda | sched_rr_get_interval | pid_t pid | struct old_timespec32 *interval | - | - | - | - |
| 219 | 0xdb | sched_yield | - | - | - | - | - | - |
| 223 | 0xdf | restart_syscall | - | - | - | - | - | - |
| 224 | 0xe0 | sigaltstack | const stack_t *uss | stack_t *uoss | - | - | - | - |
| 225 | 0xe1 | rt_sigreturn | - | - | - | - | - | - |
| 226 | 0xe2 | rt_sigaction | int sig | const struct sigaction *act | struct sigaction *oact | size_t sigsetsize | - | - |
| 227 | 0xe3 | rt_sigprocmask | int how | sigset_t *nset | sigset_t *oset | size_t sigsetsize | - | - |
| 228 | 0xe4 | rt_sigpending | sigset_t *uset | size_t sigsetsize | - | - | - | - |
| 229 | 0xe5 | rt_sigtimedwait | const sigset_t *uthese | siginfo_t *uinfo | const struct old_timespec32 *uts | size_t sigsetsize | - | - |
| 230 | 0xe6 | rt_sigqueueinfo | pid_t pid | int sig | siginfo_t *uinfo | - | - | - |
| 231 | 0xe7 | rt_sigsuspend | sigset_t *unewset | size_t sigsetsize | - | - | - | - |
| 232 | 0xe8 | mq_open | const char *name | int oflag | umode_t mode | struct mq_attr *attr | - | - |
| 233 | 0xe9 | mq_unlink | const char *name | - | - | - | - | - |
| 234 | 0xea | mq_timedsend | mqd_t mqdes | const char *u_msg_ptr | unsigned int msg_len | unsigned int msg_prio | const struct old_timespec32 *u_abs_timeout | - |
| 235 | 0xeb | mq_timedreceive | mqd_t mqdes | char *u_msg_ptr | unsigned int msg_len | unsigned int *u_msg_prio | const struct old_timespec32 *u_abs_timeout | - |
| 236 | 0xec | mq_notify | mqd_t mqdes | const struct sigevent *notification | - | - | - | - |
| 237 | 0xed | mq_getsetattr | mqd_t mqdes | const struct mq_attr *mqstat | struct mq_attr *omqstat | - | - | - |
| 239 | 0xef | io_setup | unsigned nr_events | aio_context_t *ctxp | - | - | - | - |
| 240 | 0xf0 | io_destroy | aio_context_t ctx | - | - | - | - | - |
| 241 | 0xf1 | io_submit | aio_context_t ctx_id | long nr | struct iocb * *iocbpp | - | - | - |
| 242 | 0xf2 | io_getevents | __u32 ctx_id | __s32 min_nr | __s32 nr | struct io_event *events | struct old_timespec32 *timeout | - |
| 243 | 0xf3 | io_cancel | aio_context_t ctx_id | struct iocb *iocb | struct io_event *result | - | - | - |
| 244 | 0xf4 | clock_settime | clockid_t which_clock | struct old_timespec32 *tp | - | - | - | - |
| 245 | 0xf5 | clock_gettime | clockid_t which_clock | struct old_timespec32 *tp | - | - | - | - |
| 246 | 0xf6 | clock_getres | clockid_t which_clock | struct old_timespec32 *tp | - | - | - | - |
| 247 | 0xf7 | clock_nanosleep | clockid_t which_clock | int flags | struct old_timespec32 *rqtp | struct old_timespec32 *rmtp | - | - |
| 248 | 0xf8 | timer_create | clockid_t which_clock | struct sigevent *timer_event_spec | timer_t *created_timer_id | - | - | - |
| 249 | 0xf9 | timer_delete | timer_t timer_id | - | - | - | - | - |
| 250 | 0xfa | timer_settime | timer_t timer_id | int flags | struct old_itimerspec32 *new | struct old_itimerspec32 *old | - | - |
| 251 | 0xfb | timer_gettime | timer_t timer_id | struct old_itimerspec32 *setting | - | - | - | - |
| 252 | 0xfc | timer_getoverrun | timer_t timer_id | - | - | - | - | - |
| 256 | 0x100 | add_key | const char *_type | const char *_description | const void *_payload | size_t plen | key_serial_t destringid | - |
| 257 | 0x101 | request_key | const char *_type | const char *_description | const char *_callout_info | key_serial_t destringid | - | - |
| 258 | 0x102 | keyctl | int cmd | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 260 | 0x104 | readahead | int fd | loff_t offset | size_t count | - | - | - |
| 261 | 0x105 | remap_file_pages | unsigned long start | unsigned long size | unsigned long prot | unsigned long pgoff | unsigned long flags | - |
| 262 | 0x106 | migrate_pages | pid_t pid | unsigned long maxnode | const unsigned long *from | const unsigned long *to | - | - |
| 263 | 0x107 | mbind | unsigned long start | unsigned long len | unsigned long mode | const unsigned long *nmask | unsigned long maxnode | unsigned flags |
| 264 | 0x108 | get_mempolicy | int *policy | unsigned long *nmask | unsigned long maxnode | unsigned long addr | unsigned long flags | - |
| 265 | 0x109 | set_mempolicy | int mode | const unsigned long *nmask | unsigned long maxnode | - | - | - |
| 266 | 0x10a | unshare | unsigned long unshare_flags | - | - | - | - | - |
| 267 | 0x10b | move_pages | pid_t pid | unsigned long nr_pages | const void * *pages | const int *nodes | int *status | int flags |
| 268 | 0x10c | splice | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 269 | 0x10d | tee | int fdin | int fdout | size_t len | unsigned int flags | - | - |
| 270 | 0x10e | vmsplice | int fd | const struct iovec *iov | unsigned long nr_segs | unsigned int flags | - | - |
| 272 | 0x110 | pselect6 | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct old_timespec32 *tsp | void *sig |
| 273 | 0x111 | ppoll | struct pollfd *ufds | unsigned int nfds | struct old_timespec32 *tsp | const sigset_t *sigmask | size_t sigsetsize | - |
| 274 | 0x112 | epoll_pwait | int epfd | struct epoll_event *events | int maxevents | int timeout | const sigset_t *sigmask | size_t sigsetsize |
| 275 | 0x113 | epoll_create1 | int flags | - | - | - | - | - |
| 276 | 0x114 | inotify_init | - | - | - | - | - | - |
| 277 | 0x115 | inotify_add_watch | int fd | const char *path | u32 mask | - | - | - |
| 278 | 0x116 | inotify_rm_watch | int fd | __s32 wd | - | - | - | - |
| 279 | 0x117 | inotify_init1 | int flags | - | - | - | - | - |
| 280 | 0x118 | getcpu | unsigned *cpup | unsigned *nodep | void *unused | - | - | - |
| 282 | 0x11a | ioprio_set | int which | int who | int ioprio | - | - | - |
| 283 | 0x11b | ioprio_get | int which | int who | - | - | - | - |
| 284 | 0x11c | set_robust_list | struct robust_list_head *head | size_t len | - | - | - | - |
| 285 | 0x11d | get_robust_list | int pid | struct robust_list_head * *head_ptr | size_t *len_ptr | - | - | - |
| 288 | 0x120 | openat | int dfd | const char *filename | int flags | umode_t mode | - | - |
| 289 | 0x121 | mkdirat | int dfd | const char *pathname | umode_t mode | - | - | - |
| 290 | 0x122 | mknodat | int dfd | const char *filename | umode_t mode | unsigned dev | - | - |
| 291 | 0x123 | unlinkat | int dfd | const char *pathname | int flag | - | - | - |
| 292 | 0x124 | renameat | int olddfd | const char *oldname | int newdfd | const char *newname | - | - |
| 293 | 0x125 | linkat | int olddfd | const char *oldname | int newdfd | const char *newname | int flags | - |
| 294 | 0x126 | symlinkat | const char *oldname | int newdfd | const char *newname | - | - | - |
| 295 | 0x127 | readlinkat | int dfd | const char *path | char *buf | int bufsiz | - | - |
| 296 | 0x128 | utimensat | unsigned int dfd | const char *filename | struct old_timespec32 *t | int flags | - | - |
| 297 | 0x129 | fchownat | int dfd | const char *filename | uid_t user | gid_t group | int flag | - |
| 298 | 0x12a | futimesat | unsigned int dfd | const char *filename | struct old_timeval32 *t | - | - | - |
| 299 | 0x12b | fstatat64 | int dfd | const char *filename | struct stat64 *statbuf | int flag | - | - |
| 300 | 0x12c | fchmodat | int dfd | const char *filename | umode_t mode | - | - | - |
| 301 | 0x12d | faccessat | int dfd | const char *filename | int mode | - | - | - |
| 304 | 0x130 | signalfd | int ufd | sigset_t *user_mask | size_t sizemask | - | - | - |
| 306 | 0x132 | eventfd | unsigned int count | - | - | - | - | - |
| 307 | 0x133 | recvmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | struct old_timespec32 *timeout | - |
| 308 | 0x134 | setns | int fd | int nstype | - | - | - | - |
| 309 | 0x135 | signalfd4 | int ufd | sigset_t *user_mask | size_t sizemask | int flags | - | - |
| 310 | 0x136 | dup3 | unsigned int oldfd | unsigned int newfd | int flags | - | - | - |
| 311 | 0x137 | pipe2 | int *fildes | int flags | - | - | - | - |
| 312 | 0x138 | timerfd_create | int clockid | int flags | - | - | - | - |
| 313 | 0x139 | timerfd_settime | int ufd | int flags | const struct old_itimerspec32 *utmr | struct old_itimerspec32 *otmr | - | - |
| 314 | 0x13a | timerfd_gettime | int ufd | struct old_itimerspec32 *otmr | - | - | - | - |
| 316 | 0x13c | eventfd2 | unsigned int count | int flags | - | - | - | - |
| 317 | 0x13d | preadv | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | - |
| 318 | 0x13e | pwritev | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | - |
| 320 | 0x140 | fanotify_init | unsigned int flags | unsigned int event_f_flags | - | - | - | - |
| 321 | 0x141 | fanotify_mark | int fanotify_fd | unsigned int flags | u64 mask | int fd | const char *pathname | - |
| 322 | 0x142 | process_vm_readv | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 323 | 0x143 | process_vm_writev | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 324 | 0x144 | name_to_handle_at | int dfd | const char *name | struct file_handle *handle | void *mnt_id | int flag | - |
| 325 | 0x145 | open_by_handle_at | int mountdirfd | struct file_handle *handle | int flags | - | - | - |
| 326 | 0x146 | sync_file_range2 | int fd | unsigned int flags | loff_t offset | loff_t nbytes | - | - |
| 327 | 0x147 | perf_event_open | struct perf_event_attr *attr_uptr | pid_t pid | int cpu | int group_fd | unsigned long flags | - |
| 328 | 0x148 | rt_tgsigqueueinfo | pid_t tgid | pid_t pid | int sig | siginfo_t *uinfo | - | - |
| 329 | 0x149 | clock_adjtime | clockid_t which_clock | struct old_timex32 *tx | - | - | - | - |
| 330 | 0x14a | prlimit64 | pid_t pid | unsigned int resource | const struct rlimit64 *new_rlim | struct rlimit64 *old_rlim | - | - |
| 331 | 0x14b | kcmp | pid_t pid1 | pid_t pid2 | int type | unsigned long idx1 | unsigned long idx2 | - |
| 332 | 0x14c | finit_module | int fd | const char *uargs | int flags | - | - | - |
| 333 | 0x14d | accept4 | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | int flags | - | - |
| 334 | 0x14e | sched_setattr | pid_t pid | struct sched_attr *attr | unsigned int flags | - | - | - |
| 335 | 0x14f | sched_getattr | pid_t pid | struct sched_attr *attr | unsigned int size | unsigned int flags | - | - |
| 336 | 0x150 | renameat2 | int olddfd | const char *oldname | int newdfd | const char *newname | unsigned int flags | - |
| 337 | 0x151 | seccomp | unsigned int op | unsigned int flags | void *uargs | - | - | - |
| 338 | 0x152 | getrandom | char *buf | size_t count | unsigned int flags | - | - | - |
| 339 | 0x153 | memfd_create | const char *uname_ptr | unsigned int flags | - | - | - | - |
| 340 | 0x154 | bpf | int cmd | union bpf_attr *attr | unsigned int size | struct bpf_common_attr *attr_common | unsigned int size_common | - |
| 341 | 0x155 | execveat | int dfd | const char *filename | const char *const *argv | const char *const *envp | int flags | - |
| 342 | 0x156 | userfaultfd | int flags | - | - | - | - | - |
| 343 | 0x157 | membarrier | int cmd | unsigned int flags | int cpu_id | - | - | - |
| 344 | 0x158 | mlock2 | unsigned long start | size_t len | int flags | - | - | - |
| 345 | 0x159 | copy_file_range | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 346 | 0x15a | preadv2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | rwf_t flags |
| 347 | 0x15b | pwritev2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | rwf_t flags |
| 348 | 0x15c | pkey_mprotect | unsigned long start | size_t len | unsigned long prot | int pkey | - | - |
| 349 | 0x15d | pkey_alloc | unsigned long flags | unsigned long init_val | - | - | - | - |
| 350 | 0x15e | pkey_free | int pkey | - | - | - | - | - |
| 351 | 0x15f | statx | int dfd | const char *path | unsigned flags | unsigned mask | struct statx *buffer | - |
| 352 | 0x160 | rseq | struct rseq *rseq | uint32_t rseq_len | int flags | uint32_t sig | - | - |
| 403 | 0x193 | clock_gettime64 | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 404 | 0x194 | clock_settime64 | clockid_t which_clock | const struct __kernel_timespec *tp | - | - | - | - |
| 405 | 0x195 | clock_adjtime64 | clockid_t which_clock | struct __kernel_timex *tx | - | - | - | - |
| 406 | 0x196 | clock_getres_time64 | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 407 | 0x197 | clock_nanosleep_time64 | clockid_t which_clock | int flags | const struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - |
| 408 | 0x198 | timer_gettime64 | timer_t timer_id | struct __kernel_itimerspec *setting | - | - | - | - |
| 409 | 0x199 | timer_settime64 | timer_t timer_id | int flags | const struct __kernel_itimerspec *new_setting | struct __kernel_itimerspec *old_setting | - | - |
| 410 | 0x19a | timerfd_gettime64 | int ufd | struct __kernel_itimerspec *otmr | - | - | - | - |
| 411 | 0x19b | timerfd_settime64 | int ufd | int flags | const struct __kernel_itimerspec *utmr | struct __kernel_itimerspec *otmr | - | - |
| 412 | 0x19c | utimensat_time64 | int dfd | const char *filename | struct __kernel_timespec *utimes | int flags | - | - |
| 413 | 0x19d | pselect6_time64 | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_timespec *tsp | void *sig |
| 414 | 0x19e | ppoll_time64 | struct pollfd *ufds | unsigned int nfds | struct __kernel_timespec *tsp | const sigset_t *sigmask | size_t sigsetsize | - |
| 416 | 0x1a0 | io_pgetevents_time64 | aio_context_t ctx_id | long min_nr | long nr | struct io_event *events | struct __kernel_timespec *timeout | const struct __aio_sigset *usig |
| 417 | 0x1a1 | recvmmsg_time64 | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | struct __kernel_timespec *timeout | - |
| 418 | 0x1a2 | mq_timedsend_time64 | mqd_t mqdes | const char *msg_ptr | size_t msg_len | unsigned int msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 419 | 0x1a3 | mq_timedreceive_time64 | mqd_t mqdes | char *msg_ptr | size_t msg_len | unsigned int *msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 420 | 0x1a4 | semtimedop_time64 | int semid | struct sembuf *sops | unsigned nsops | const struct __kernel_timespec *timeout | - | - |
| 421 | 0x1a5 | rt_sigtimedwait_time64 | const sigset_t *uthese | siginfo_t *uinfo | const struct __kernel_timespec *uts | size_t sigsetsize | - | - |
| 422 | 0x1a6 | futex_time64 | u32 *uaddr | int op | u32 val | const struct __kernel_timespec *utime | u32 *uaddr2 | u32 val3 |
| 423 | 0x1a7 | sched_rr_get_interval_time64 | pid_t pid | struct __kernel_timespec *interval | - | - | - | - |
| 424 | 0x1a8 | pidfd_send_signal | int pidfd | int sig | siginfo_t *info | unsigned int flags | - | - |
| 425 | 0x1a9 | io_uring_setup | u32 entries | struct io_uring_params *p | - | - | - | - |
| 426 | 0x1aa | io_uring_enter | unsigned int fd | u32 to_submit | u32 min_complete | u32 flags | const void *argp | size_t argsz |
| 427 | 0x1ab | io_uring_register | unsigned int fd | unsigned int op | void *arg | unsigned int nr_args | - | - |
| 428 | 0x1ac | open_tree | int dfd | const char *path | unsigned flags | - | - | - |
| 429 | 0x1ad | move_mount | int from_dfd | const char *from_path | int to_dfd | const char *to_path | unsigned int ms_flags | - |
| 430 | 0x1ae | fsopen | const char *fs_name | unsigned int flags | - | - | - | - |
| 431 | 0x1af | fsconfig | int fs_fd | unsigned int cmd | const char *key | const void *value | int aux | - |
| 432 | 0x1b0 | fsmount | int fs_fd | unsigned int flags | unsigned int ms_flags | - | - | - |
| 433 | 0x1b1 | fspick | int dfd | const char *path | unsigned int flags | - | - | - |
| 434 | 0x1b2 | pidfd_open | pid_t pid | unsigned int flags | - | - | - | - |
| 435 | 0x1b3 | clone3 | struct clone_args *uargs | size_t size | - | - | - | - |
| 436 | 0x1b4 | close_range | unsigned int fd | unsigned int max_fd | unsigned int flags | - | - | - |
| 437 | 0x1b5 | openat2 | int dfd | const char *filename | struct open_how *how | size_t size | - | - |
| 438 | 0x1b6 | pidfd_getfd | int pidfd | int fd | unsigned int flags | - | - | - |
| 439 | 0x1b7 | faccessat2 | int dfd | const char *filename | int mode | int flags | - | - |
| 440 | 0x1b8 | process_madvise | int pidfd | const struct iovec *vec | size_t vlen | int behavior | unsigned int flags | - |
| 441 | 0x1b9 | epoll_pwait2 | int epfd | struct epoll_event *events | int maxevents | const struct __kernel_timespec *timeout | const sigset_t *sigmask | size_t sigsetsize |
| 442 | 0x1ba | mount_setattr | int dfd | const char *path | unsigned int flags | struct mount_attr *uattr | size_t usize | - |
| 443 | 0x1bb | quotactl_fd | unsigned int fd | unsigned int cmd | qid_t id | void *addr | - | - |
| 444 | 0x1bc | landlock_create_ruleset | const struct landlock_ruleset_attr *attr | size_t size | __u32 flags | - | - | - |
| 445 | 0x1bd | landlock_add_rule | int ruleset_fd | enum landlock_rule_type rule_type | const void *rule_attr | __u32 flags | - | - |
| 446 | 0x1be | landlock_restrict_self | int ruleset_fd | __u32 flags | - | - | - | - |
| 448 | 0x1c0 | process_mrelease | int pidfd | unsigned int flags | - | - | - | - |
| 449 | 0x1c1 | futex_waitv | struct futex_waitv *waiters | unsigned int nr_futexes | unsigned int flags | struct __kernel_timespec *timeout | clockid_t clockid | - |
| 450 | 0x1c2 | set_mempolicy_home_node | unsigned long start | unsigned long len | unsigned long home_node | unsigned long flags | - | - |
| 451 | 0x1c3 | cachestat | unsigned int fd | struct cachestat_range *cstat_range | struct cachestat *cstat | unsigned int flags | - | - |
| 452 | 0x1c4 | fchmodat2 | int dfd | const char *filename | umode_t mode | unsigned int flags | - | - |
| 453 | 0x1c5 | map_shadow_stack | unsigned long addr | unsigned long size | unsigned int flags | - | - | - |
| 454 | 0x1c6 | futex_wake | void *uaddr | unsigned long mask | int nr | unsigned int flags | - | - |
| 455 | 0x1c7 | futex_wait | void *uaddr | unsigned long val | unsigned long mask | unsigned int flags | struct __kernel_timespec *timespec | clockid_t clockid |
| 456 | 0x1c8 | futex_requeue | struct futex_waitv *waiters | unsigned int flags | int nr_wake | int nr_requeue | - | - |
| 457 | 0x1c9 | statmount | const struct mnt_id_req *req | struct statmount *buf | size_t bufsize | unsigned int flags | - | - |
| 458 | 0x1ca | listmount | const struct mnt_id_req *req | u64 *mnt_ids | size_t nr_mnt_ids | unsigned int flags | - | - |
| 459 | 0x1cb | lsm_get_self_attr | unsigned int attr | struct lsm_ctx *ctx | u32 *size | u32 flags | - | - |
| 460 | 0x1cc | lsm_set_self_attr | unsigned int attr | struct lsm_ctx *ctx | u32 size | u32 flags | - | - |
| 461 | 0x1cd | lsm_list_modules | u64 *ids | u32 *size | u32 flags | - | - | - |
| 462 | 0x1ce | mseal | unsigned long start | size_t len | unsigned long flags | - | - | - |
| 463 | 0x1cf | setxattrat | int dfd | const char *path | unsigned int at_flags | const char *name | const struct xattr_args *args | size_t size |
| 464 | 0x1d0 | getxattrat | int dfd | const char *path | unsigned int at_flags | const char *name | struct xattr_args *args | size_t size |
| 465 | 0x1d1 | listxattrat | int dfd | const char *path | unsigned int at_flags | char *list | size_t size | - |
| 466 | 0x1d2 | removexattrat | int dfd | const char *path | unsigned int at_flags | const char *name | - | - |
| 467 | 0x1d3 | open_tree_attr | int dfd | const char *path | unsigned flags | struct mount_attr *uattr | size_t usize | - |
| 468 | 0x1d4 | file_getattr | int dfd | const char *filename | struct file_attr *attr | size_t usize | unsigned int at_flags | - |
| 469 | 0x1d5 | file_setattr | int dfd | const char *filename | struct file_attr *attr | size_t usize | unsigned int at_flags | - |
| 470 | 0x1d6 | listns | const struct ns_id_req *req | u64 *ns_ids | size_t nr_ns_ids | unsigned int flags | - | - |
| 471 | 0x1d7 | rseq_slice_yield | - | - | - | - | - | - |
| 472 | 0x1d8 | fchroot | int fd | unsigned int flags | - | - | - | - |
No matching syscalls.
Want the raw data? /xtensa/syscalls.json has every xtensa syscall seen since Linux 5.0, the first release scanned for xtensa, along with the release it showed up in (since) and the one that dropped it (removed_in).