sparc64 system calls
Put the syscall number in g1 and the arguments in o0 o1 o2 o3 o4 o5, then run t 0x6d. The result comes back in o0.
| NR | HEX | NAME | ARG0 o0 | ARG1 o1 | ARG2 o2 | ARG3 o3 | ARG4 o4 | ARG5 o5 |
|---|---|---|---|---|---|---|---|---|
| 0 | 0x0 | restart_syscall | - | - | - | - | - | - |
| 1 | 0x1 | exit | int error_code | - | - | - | - | - |
| 2 | 0x2 | fork | - | - | - | - | - | - |
| 3 | 0x3 | read | unsigned int fd | char *buf | size_t count | - | - | - |
| 4 | 0x4 | write | unsigned int fd | const char *buf | size_t count | - | - | - |
| 5 | 0x5 | open | const char *filename | int flags | umode_t mode | - | - | - |
| 6 | 0x6 | close | unsigned int fd | - | - | - | - | - |
| 7 | 0x7 | wait4 | pid_t pid | int *stat_addr | int options | struct rusage *ru | - | - |
| 8 | 0x8 | creat | const char *pathname | umode_t mode | - | - | - | - |
| 9 | 0x9 | link | const char *oldname | const char *newname | - | - | - | - |
| 10 | 0xa | unlink | const char *pathname | - | - | - | - | - |
| 11 | 0xb | execv | - | - | - | - | - | - |
| 12 | 0xc | chdir | const char *filename | - | - | - | - | - |
| 13 | 0xd | chown | const char *filename | uid_t user | gid_t group | - | - | - |
| 14 | 0xe | mknod | const char *filename | umode_t mode | unsigned dev | - | - | - |
| 15 | 0xf | chmod | const char *filename | umode_t mode | - | - | - | - |
| 16 | 0x10 | lchown | const char *filename | uid_t user | gid_t group | - | - | - |
| 17 | 0x11 | brk | unsigned long brk | - | - | - | - | - |
| 18 | 0x12 | perfctr | - | - | - | - | - | - |
| 19 | 0x13 | lseek | unsigned int fd | off_t offset | unsigned int whence | - | - | - |
| 20 | 0x14 | getpid | - | - | - | - | - | - |
| 21 | 0x15 | capget | cap_user_header_t header | cap_user_data_t dataptr | - | - | - | - |
| 22 | 0x16 | capset | cap_user_header_t header | const cap_user_data_t data | - | - | - | - |
| 23 | 0x17 | setuid | uid_t uid | - | - | - | - | - |
| 24 | 0x18 | getuid | - | - | - | - | - | - |
| 25 | 0x19 | vmsplice | int fd | const struct iovec *iov | unsigned long nr_segs | unsigned int flags | - | - |
| 26 | 0x1a | ptrace | long request | long pid | unsigned long addr | unsigned long data | - | - |
| 27 | 0x1b | alarm | unsigned int seconds | - | - | - | - | - |
| 28 | 0x1c | sigaltstack | const stack_t *uss | stack_t *uoss | - | - | - | - |
| 29 | 0x1d | pause | - | - | - | - | - | - |
| 30 | 0x1e | utime | char *filename | struct utimbuf *times | - | - | - | - |
| 33 | 0x21 | access | const char *filename | int mode | - | - | - | - |
| 34 | 0x22 | nice | int increment | - | - | - | - | - |
| 36 | 0x24 | sync | - | - | - | - | - | - |
| 37 | 0x25 | kill | pid_t pid | int sig | - | - | - | - |
| 38 | 0x26 | stat | const char *filename | struct stat *statbuf | - | - | - | - |
| 39 | 0x27 | sendfile | int out_fd | int in_fd | loff_t *offset | size_t count | - | - |
| 40 | 0x28 | lstat | const char *filename | struct stat *statbuf | - | - | - | - |
| 41 | 0x29 | dup | unsigned int fildes | - | - | - | - | - |
| 42 | 0x2a | pipe | - | - | - | - | - | - |
| 43 | 0x2b | times | struct tms *tbuf | - | - | - | - | - |
| 45 | 0x2d | umount2 | char *name | int flags | - | - | - | - |
| 46 | 0x2e | setgid | gid_t gid | - | - | - | - | - |
| 47 | 0x2f | getgid | - | - | - | - | - | - |
| 48 | 0x30 | signal | int sig | __sighandler_t handler | - | - | - | - |
| 49 | 0x31 | geteuid | - | - | - | - | - | - |
| 50 | 0x32 | getegid | - | - | - | - | - | - |
| 51 | 0x33 | acct | const char *name | - | - | - | - | - |
| 52 | 0x34 | memory_ordering | unsigned long model | - | - | - | - | - |
| 54 | 0x36 | ioctl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 55 | 0x37 | reboot | int magic1 | int magic2 | unsigned int cmd | void *arg | - | - |
| 57 | 0x39 | symlink | const char *old | const char *new | - | - | - | - |
| 58 | 0x3a | readlink | const char *path | char *buf | int bufsiz | - | - | - |
| 59 | 0x3b | execve | const char *filename | const char *const *argv | const char *const *envp | - | - | - |
| 60 | 0x3c | umask | int mask | - | - | - | - | - |
| 61 | 0x3d | chroot | const char *filename | - | - | - | - | - |
| 62 | 0x3e | fstat | unsigned int fd | struct stat *statbuf | - | - | - | - |
| 63 | 0x3f | fstat64 | unsigned long fd | struct stat64 *statbuf | - | - | - | - |
| 64 | 0x40 | getpagesize | - | - | - | - | - | - |
| 65 | 0x41 | msync | unsigned long start | size_t len | int flags | - | - | - |
| 66 | 0x42 | vfork | - | - | - | - | - | - |
| 67 | 0x43 | pread64 | unsigned int fd | char *buf | size_t count | loff_t pos | - | - |
| 68 | 0x44 | pwrite64 | unsigned int fd | const char *buf | size_t count | loff_t pos | - | - |
| 71 | 0x47 | mmap | unsigned long addr | unsigned long len | unsigned long prot | unsigned long flags | unsigned long fd | unsigned long off |
| 73 | 0x49 | munmap | unsigned long addr | size_t len | - | - | - | - |
| 74 | 0x4a | mprotect | unsigned long start | size_t len | unsigned long prot | - | - | - |
| 75 | 0x4b | madvise | unsigned long start | size_t len | int behavior | - | - | - |
| 76 | 0x4c | vhangup | - | - | - | - | - | - |
| 78 | 0x4e | mincore | unsigned long start | size_t len | unsigned char *vec | - | - | - |
| 79 | 0x4f | getgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 80 | 0x50 | setgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 81 | 0x51 | getpgrp | - | - | - | - | - | - |
| 83 | 0x53 | setitimer | int which | struct __kernel_old_itimerval *value | struct __kernel_old_itimerval *ovalue | - | - | - |
| 85 | 0x55 | swapon | const char *specialfile | int swap_flags | - | - | - | - |
| 86 | 0x56 | getitimer | int which | struct __kernel_old_itimerval *value | - | - | - | - |
| 88 | 0x58 | sethostname | char *name | int len | - | - | - | - |
| 90 | 0x5a | dup2 | unsigned int oldfd | unsigned int newfd | - | - | - | - |
| 92 | 0x5c | fcntl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 93 | 0x5d | select | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_old_timeval *tvp | - |
| 95 | 0x5f | fsync | unsigned int fd | - | - | - | - | - |
| 96 | 0x60 | setpriority | int which | int who | int niceval | - | - | - |
| 97 | 0x61 | socket | int family | int type | int protocol | - | - | - |
| 98 | 0x62 | connect | int fd | struct sockaddr *uservaddr | int addrlen | - | - | - |
| 99 | 0x63 | accept | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | - | - | - |
| 100 | 0x64 | getpriority | int which | int who | - | - | - | - |
| 101 | 0x65 | rt_sigreturn | - | - | - | - | - | - |
| 102 | 0x66 | rt_sigaction | int sig | const struct sigaction *act | struct sigaction *oact | void *restorer | size_t sigsetsize | - |
| 103 | 0x67 | rt_sigprocmask | int how | sigset_t *nset | sigset_t *oset | size_t sigsetsize | - | - |
| 104 | 0x68 | rt_sigpending | sigset_t *uset | size_t sigsetsize | - | - | - | - |
| 105 | 0x69 | rt_sigtimedwait | const sigset_t *uthese | siginfo_t *uinfo | const struct __kernel_timespec *uts | size_t sigsetsize | - | - |
| 106 | 0x6a | rt_sigqueueinfo | pid_t pid | int sig | siginfo_t *uinfo | - | - | - |
| 107 | 0x6b | rt_sigsuspend | sigset_t *unewset | size_t sigsetsize | - | - | - | - |
| 108 | 0x6c | setresuid | uid_t ruid | uid_t euid | uid_t suid | - | - | - |
| 109 | 0x6d | getresuid | uid_t *ruid | uid_t *euid | uid_t *suid | - | - | - |
| 110 | 0x6e | setresgid | gid_t rgid | gid_t egid | gid_t sgid | - | - | - |
| 111 | 0x6f | getresgid | gid_t *rgid | gid_t *egid | gid_t *sgid | - | - | - |
| 113 | 0x71 | recvmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 114 | 0x72 | sendmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 116 | 0x74 | gettimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 117 | 0x75 | getrusage | int who | struct rusage *ru | - | - | - | - |
| 118 | 0x76 | getsockopt | int fd | int level | int optname | char *optval | int *optlen | - |
| 119 | 0x77 | getcwd | char *buf | unsigned long size | - | - | - | - |
| 120 | 0x78 | readv | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 121 | 0x79 | writev | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 122 | 0x7a | settimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 123 | 0x7b | fchown | unsigned int fd | uid_t user | gid_t group | - | - | - |
| 124 | 0x7c | fchmod | unsigned int fd | umode_t mode | - | - | - | - |
| 125 | 0x7d | recvfrom | int fd | void *ubuf | size_t size | unsigned int flags | struct sockaddr *addr | int *addr_len |
| 126 | 0x7e | setreuid | uid_t ruid | uid_t euid | - | - | - | - |
| 127 | 0x7f | setregid | gid_t rgid | gid_t egid | - | - | - | - |
| 128 | 0x80 | rename | const char *oldname | const char *newname | - | - | - | - |
| 129 | 0x81 | truncate | const char *path | long length | - | - | - | - |
| 130 | 0x82 | ftruncate | unsigned int fd | off_t length | - | - | - | - |
| 131 | 0x83 | flock | unsigned int fd | unsigned int cmd | - | - | - | - |
| 132 | 0x84 | lstat64 | const char *filename | struct stat64 *statbuf | - | - | - | - |
| 133 | 0x85 | sendto | int fd | void *buff | size_t len | unsigned int flags | struct sockaddr *addr | int addr_len |
| 134 | 0x86 | shutdown | int fd | int how | - | - | - | - |
| 135 | 0x87 | socketpair | int family | int type | int protocol | int *usockvec | - | - |
| 136 | 0x88 | mkdir | const char *pathname | umode_t mode | - | - | - | - |
| 137 | 0x89 | rmdir | const char *pathname | - | - | - | - | - |
| 138 | 0x8a | utimes | char *filename | struct __kernel_old_timeval *utimes | - | - | - | - |
| 139 | 0x8b | stat64 | const char *filename | struct stat64 *statbuf | - | - | - | - |
| 140 | 0x8c | sendfile64 | int out_fd | int in_fd | loff_t *offset | size_t count | - | - |
| 141 | 0x8d | getpeername | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 142 | 0x8e | futex | u32 *uaddr | int op | u32 val | const struct __kernel_timespec *utime | u32 *uaddr2 | u32 val3 |
| 143 | 0x8f | gettid | - | - | - | - | - | - |
| 144 | 0x90 | getrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 145 | 0x91 | setrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 146 | 0x92 | pivot_root | const char *new_root | const char *put_old | - | - | - | - |
| 147 | 0x93 | prctl | int option | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 148 | 0x94 | pciconfig_read | unsigned long bus | unsigned long dfn | unsigned long off | unsigned long len | void *buf | - |
| 149 | 0x95 | pciconfig_write | unsigned long bus | unsigned long dfn | unsigned long off | unsigned long len | void *buf | - |
| 150 | 0x96 | getsockname | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 151 | 0x97 | inotify_init | - | - | - | - | - | - |
| 152 | 0x98 | inotify_add_watch | int fd | const char *path | u32 mask | - | - | - |
| 153 | 0x99 | poll | struct pollfd *ufds | unsigned int nfds | int timeout_msecs | - | - | - |
| 154 | 0x9a | getdents64 | unsigned int fd | struct linux_dirent64 *dirent | unsigned int count | - | - | - |
| 156 | 0x9c | inotify_rm_watch | int fd | __s32 wd | - | - | - | - |
| 157 | 0x9d | statfs | const char *path | struct statfs *buf | - | - | - | - |
| 158 | 0x9e | fstatfs | unsigned int fd | struct statfs *buf | - | - | - | - |
| 159 | 0x9f | umount | char *name | - | - | - | - | - |
| 160 | 0xa0 | sched_set_affinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 161 | 0xa1 | sched_get_affinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 162 | 0xa2 | getdomainname | char *name | int len | - | - | - | - |
| 163 | 0xa3 | setdomainname | char *name | int len | - | - | - | - |
| 164 | 0xa4 | utrap_install | utrap_entry_t type | utrap_handler_t new_p | utrap_handler_t new_d | utrap_handler_t *old_p | utrap_handler_t *old_d | - |
| 165 | 0xa5 | quotactl | unsigned int cmd | const char *special | qid_t id | void *addr | - | - |
| 166 | 0xa6 | set_tid_address | int *tidptr | - | - | - | - | - |
| 167 | 0xa7 | mount | char *dev_name | char *dir_name | char *type | unsigned long flags | void *data | - |
| 168 | 0xa8 | ustat | unsigned dev | struct ustat *ubuf | - | - | - | - |
| 169 | 0xa9 | setxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 170 | 0xaa | lsetxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 171 | 0xab | fsetxattr | int fd | const char *name | const void *value | size_t size | int flags | - |
| 172 | 0xac | getxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 173 | 0xad | lgetxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 174 | 0xae | getdents | unsigned int fd | struct linux_dirent *dirent | unsigned int count | - | - | - |
| 175 | 0xaf | setsid | - | - | - | - | - | - |
| 176 | 0xb0 | fchdir | unsigned int fd | - | - | - | - | - |
| 177 | 0xb1 | fgetxattr | int fd | const char *name | void *value | size_t size | - | - |
| 178 | 0xb2 | listxattr | const char *path | char *list | size_t size | - | - | - |
| 179 | 0xb3 | llistxattr | const char *path | char *list | size_t size | - | - | - |
| 180 | 0xb4 | flistxattr | int fd | char *list | size_t size | - | - | - |
| 181 | 0xb5 | removexattr | const char *path | const char *name | - | - | - | - |
| 182 | 0xb6 | lremovexattr | const char *path | const char *name | - | - | - | - |
| 183 | 0xb7 | sigpending | - | - | - | - | - | - |
| 185 | 0xb9 | setpgid | pid_t pid | pid_t pgid | - | - | - | - |
| 186 | 0xba | fremovexattr | int fd | const char *name | - | - | - | - |
| 187 | 0xbb | tkill | pid_t pid | int sig | - | - | - | - |
| 188 | 0xbc | exit_group | int error_code | - | - | - | - | - |
| 189 | 0xbd | uname | struct new_utsname *name | - | - | - | - | - |
| 190 | 0xbe | init_module | void *umod | unsigned long len | const char *uargs | - | - | - |
| 191 | 0xbf | personality | unsigned long personality | - | - | - | - | - |
| 192 | 0xc0 | remap_file_pages | unsigned long start | unsigned long size | unsigned long prot | unsigned long pgoff | unsigned long flags | - |
| 193 | 0xc1 | epoll_create | int size | - | - | - | - | - |
| 194 | 0xc2 | epoll_ctl | int epfd | int op | int fd | struct epoll_event *event | - | - |
| 195 | 0xc3 | epoll_wait | int epfd | struct epoll_event *events | int maxevents | int timeout | - | - |
| 196 | 0xc4 | ioprio_set | int which | int who | int ioprio | - | - | - |
| 197 | 0xc5 | getppid | - | - | - | - | - | - |
| 198 | 0xc6 | sigaction | - | - | - | - | - | - |
| 199 | 0xc7 | sgetmask | - | - | - | - | - | - |
| 200 | 0xc8 | ssetmask | int newmask | - | - | - | - | - |
| 201 | 0xc9 | sigsuspend | - | - | - | - | - | - |
| 202 | 0xca | oldlstat | const char *filename | struct stat *statbuf | - | - | - | - |
| 203 | 0xcb | uselib | const char *library | - | - | - | - | - |
| 204 | 0xcc | readdir | - | - | - | - | - | - |
| 205 | 0xcd | readahead | int fd | loff_t offset | size_t count | - | - | - |
| 206 | 0xce | socketcall | int call | unsigned long *args | - | - | - | - |
| 207 | 0xcf | syslog | int type | char *buf | int len | - | - | - |
| 209 | 0xd1 | fadvise64 | int fd | loff_t offset | size_t len | int advice | - | - |
| 210 | 0xd2 | fadvise64_64 | int fd | loff_t offset | loff_t len | int advice | - | - |
| 211 | 0xd3 | tgkill | pid_t tgid | pid_t pid | int sig | - | - | - |
| 212 | 0xd4 | waitpid | pid_t pid | int *stat_addr | int options | - | - | - |
| 213 | 0xd5 | swapoff | const char *specialfile | - | - | - | - | - |
| 214 | 0xd6 | sysinfo | struct sysinfo *info | - | - | - | - | - |
| 215 | 0xd7 | ipc | unsigned int call | int first | unsigned long second | unsigned long third | void *ptr | long fifth |
| 216 | 0xd8 | sigreturn | - | - | - | - | - | - |
| 217 | 0xd9 | clone | unsigned long | unsigned long | int * | int * | unsigned long | - |
| 218 | 0xda | ioprio_get | int which | int who | - | - | - | - |
| 219 | 0xdb | adjtimex | struct __kernel_timex *txc_p | - | - | - | - | - |
| 220 | 0xdc | sigprocmask | - | - | - | - | - | - |
| 222 | 0xde | delete_module | const char *name_user | unsigned int flags | - | - | - | - |
| 224 | 0xe0 | getpgid | pid_t pid | - | - | - | - | - |
| 226 | 0xe2 | sysfs | int option | unsigned long arg1 | unsigned long arg2 | - | - | - |
| 227 | 0xe3 | afs_syscall | - | - | - | - | - | - |
| 228 | 0xe4 | setfsuid | old_uid_t uid | - | - | - | - | - |
| 229 | 0xe5 | setfsgid | old_gid_t gid | - | - | - | - | - |
| 230 | 0xe6 | _newselect | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_old_timeval *tvp | - |
| 232 | 0xe8 | splice | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 233 | 0xe9 | stime | __kernel_old_time_t *tptr | - | - | - | - | - |
| 234 | 0xea | statfs64 | const char *path | size_t sz | struct statfs64 *buf | - | - | - |
| 235 | 0xeb | fstatfs64 | unsigned int fd | size_t sz | struct statfs64 *buf | - | - | - |
| 236 | 0xec | _llseek | unsigned int fd | unsigned long offset_high | unsigned long offset_low | loff_t *result | unsigned int whence | - |
| 237 | 0xed | mlock | unsigned long start | size_t len | - | - | - | - |
| 238 | 0xee | munlock | unsigned long start | size_t len | - | - | - | - |
| 239 | 0xef | mlockall | int flags | - | - | - | - | - |
| 240 | 0xf0 | munlockall | - | - | - | - | - | - |
| 241 | 0xf1 | sched_setparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 242 | 0xf2 | sched_getparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 243 | 0xf3 | sched_setscheduler | pid_t pid | int policy | struct sched_param *param | - | - | - |
| 244 | 0xf4 | sched_getscheduler | pid_t pid | - | - | - | - | - |
| 245 | 0xf5 | sched_yield | - | - | - | - | - | - |
| 246 | 0xf6 | sched_get_priority_max | int policy | - | - | - | - | - |
| 247 | 0xf7 | sched_get_priority_min | int policy | - | - | - | - | - |
| 248 | 0xf8 | sched_rr_get_interval | pid_t pid | struct __kernel_timespec *interval | - | - | - | - |
| 249 | 0xf9 | nanosleep | struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - | - | - |
| 250 | 0xfa | mremap | unsigned long addr | unsigned long old_len | unsigned long new_len | unsigned long flags | unsigned long new_addr | - |
| 252 | 0xfc | getsid | pid_t pid | - | - | - | - | - |
| 253 | 0xfd | fdatasync | unsigned int fd | - | - | - | - | - |
| 254 | 0xfe | nfsservctl | - | - | - | - | - | - |
| 255 | 0xff | sync_file_range | int fd | loff_t offset | loff_t nbytes | unsigned int flags | - | - |
| 256 | 0x100 | clock_settime | clockid_t which_clock | const struct __kernel_timespec *tp | - | - | - | - |
| 257 | 0x101 | clock_gettime | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 258 | 0x102 | clock_getres | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 259 | 0x103 | clock_nanosleep | clockid_t which_clock | int flags | const struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - |
| 260 | 0x104 | sched_getaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 261 | 0x105 | sched_setaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 262 | 0x106 | timer_settime | timer_t timer_id | int flags | const struct __kernel_itimerspec *new_setting | struct __kernel_itimerspec *old_setting | - | - |
| 263 | 0x107 | timer_gettime | timer_t timer_id | struct __kernel_itimerspec *setting | - | - | - | - |
| 264 | 0x108 | timer_getoverrun | timer_t timer_id | - | - | - | - | - |
| 265 | 0x109 | timer_delete | timer_t timer_id | - | - | - | - | - |
| 266 | 0x10a | timer_create | clockid_t which_clock | struct sigevent *timer_event_spec | timer_t *created_timer_id | - | - | - |
| 267 | 0x10b | vserver | - | - | - | - | - | - |
| 268 | 0x10c | io_setup | unsigned nr_events | aio_context_t *ctxp | - | - | - | - |
| 269 | 0x10d | io_destroy | aio_context_t ctx | - | - | - | - | - |
| 270 | 0x10e | io_submit | aio_context_t ctx_id | long nr | struct iocb * *iocbpp | - | - | - |
| 271 | 0x10f | io_cancel | aio_context_t ctx_id | struct iocb *iocb | struct io_event *result | - | - | - |
| 272 | 0x110 | io_getevents | aio_context_t ctx_id | long min_nr | long nr | struct io_event *events | struct __kernel_timespec *timeout | - |
| 273 | 0x111 | mq_open | const char *name | int oflag | umode_t mode | struct mq_attr *attr | - | - |
| 274 | 0x112 | mq_unlink | const char *name | - | - | - | - | - |
| 275 | 0x113 | mq_timedsend | mqd_t mqdes | const char *msg_ptr | size_t msg_len | unsigned int msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 276 | 0x114 | mq_timedreceive | mqd_t mqdes | char *msg_ptr | size_t msg_len | unsigned int *msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 277 | 0x115 | mq_notify | mqd_t mqdes | const struct sigevent *notification | - | - | - | - |
| 278 | 0x116 | mq_getsetattr | mqd_t mqdes | const struct mq_attr *mqstat | struct mq_attr *omqstat | - | - | - |
| 279 | 0x117 | waitid | int which | pid_t pid | struct siginfo *infop | int options | struct rusage *ru | - |
| 280 | 0x118 | tee | int fdin | int fdout | size_t len | unsigned int flags | - | - |
| 281 | 0x119 | add_key | const char *_type | const char *_description | const void *_payload | size_t plen | key_serial_t destringid | - |
| 282 | 0x11a | request_key | const char *_type | const char *_description | const char *_callout_info | key_serial_t destringid | - | - |
| 283 | 0x11b | keyctl | int cmd | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 284 | 0x11c | openat | int dfd | const char *filename | int flags | umode_t mode | - | - |
| 285 | 0x11d | mkdirat | int dfd | const char *pathname | umode_t mode | - | - | - |
| 286 | 0x11e | mknodat | int dfd | const char *filename | umode_t mode | unsigned dev | - | - |
| 287 | 0x11f | fchownat | int dfd | const char *filename | uid_t user | gid_t group | int flag | - |
| 288 | 0x120 | futimesat | int dfd | const char *filename | struct __kernel_old_timeval *utimes | - | - | - |
| 289 | 0x121 | fstatat64 | int dfd | const char *filename | struct stat64 *statbuf | int flag | - | - |
| 290 | 0x122 | unlinkat | int dfd | const char *pathname | int flag | - | - | - |
| 291 | 0x123 | renameat | int olddfd | const char *oldname | int newdfd | const char *newname | - | - |
| 292 | 0x124 | linkat | int olddfd | const char *oldname | int newdfd | const char *newname | int flags | - |
| 293 | 0x125 | symlinkat | const char *oldname | int newdfd | const char *newname | - | - | - |
| 294 | 0x126 | readlinkat | int dfd | const char *path | char *buf | int bufsiz | - | - |
| 295 | 0x127 | fchmodat | int dfd | const char *filename | umode_t mode | - | - | - |
| 296 | 0x128 | faccessat | int dfd | const char *filename | int mode | - | - | - |
| 297 | 0x129 | pselect6 | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_timespec *tsp | void *sig |
| 298 | 0x12a | ppoll | struct pollfd *ufds | unsigned int nfds | struct __kernel_timespec *tsp | const sigset_t *sigmask | size_t sigsetsize | - |
| 299 | 0x12b | unshare | unsigned long unshare_flags | - | - | - | - | - |
| 300 | 0x12c | set_robust_list | struct robust_list_head *head | size_t len | - | - | - | - |
| 301 | 0x12d | get_robust_list | int pid | struct robust_list_head * *head_ptr | size_t *len_ptr | - | - | - |
| 302 | 0x12e | migrate_pages | pid_t pid | unsigned long maxnode | const unsigned long *from | const unsigned long *to | - | - |
| 303 | 0x12f | mbind | unsigned long start | unsigned long len | unsigned long mode | const unsigned long *nmask | unsigned long maxnode | unsigned flags |
| 304 | 0x130 | get_mempolicy | int *policy | unsigned long *nmask | unsigned long maxnode | unsigned long addr | unsigned long flags | - |
| 305 | 0x131 | set_mempolicy | int mode | const unsigned long *nmask | unsigned long maxnode | - | - | - |
| 306 | 0x132 | kexec_load | unsigned long entry | unsigned long nr_segments | struct kexec_segment *segments | unsigned long flags | - | - |
| 307 | 0x133 | move_pages | pid_t pid | unsigned long nr_pages | const void * *pages | const int *nodes | int *status | int flags |
| 308 | 0x134 | getcpu | unsigned *cpup | unsigned *nodep | void *unused | - | - | - |
| 309 | 0x135 | epoll_pwait | int epfd | struct epoll_event *events | int maxevents | int timeout | const sigset_t *sigmask | size_t sigsetsize |
| 310 | 0x136 | utimensat | int dfd | const char *filename | struct __kernel_timespec *utimes | int flags | - | - |
| 311 | 0x137 | signalfd | int ufd | sigset_t *user_mask | size_t sizemask | - | - | - |
| 312 | 0x138 | timerfd_create | int clockid | int flags | - | - | - | - |
| 313 | 0x139 | eventfd | unsigned int count | - | - | - | - | - |
| 314 | 0x13a | fallocate | int fd | int mode | loff_t offset | loff_t len | - | - |
| 315 | 0x13b | timerfd_settime | int ufd | int flags | const struct __kernel_itimerspec *utmr | struct __kernel_itimerspec *otmr | - | - |
| 316 | 0x13c | timerfd_gettime | int ufd | struct __kernel_itimerspec *otmr | - | - | - | - |
| 317 | 0x13d | signalfd4 | int ufd | sigset_t *user_mask | size_t sizemask | int flags | - | - |
| 318 | 0x13e | eventfd2 | unsigned int count | int flags | - | - | - | - |
| 319 | 0x13f | epoll_create1 | int flags | - | - | - | - | - |
| 320 | 0x140 | dup3 | unsigned int oldfd | unsigned int newfd | int flags | - | - | - |
| 321 | 0x141 | pipe2 | int *fildes | int flags | - | - | - | - |
| 322 | 0x142 | inotify_init1 | int flags | - | - | - | - | - |
| 323 | 0x143 | accept4 | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | int flags | - | - |
| 324 | 0x144 | preadv | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | - |
| 325 | 0x145 | pwritev | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | - |
| 326 | 0x146 | rt_tgsigqueueinfo | pid_t tgid | pid_t pid | int sig | siginfo_t *uinfo | - | - |
| 327 | 0x147 | perf_event_open | struct perf_event_attr *attr_uptr | pid_t pid | int cpu | int group_fd | unsigned long flags | - |
| 328 | 0x148 | recvmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | struct __kernel_timespec *timeout | - |
| 329 | 0x149 | fanotify_init | unsigned int flags | unsigned int event_f_flags | - | - | - | - |
| 330 | 0x14a | fanotify_mark | int fanotify_fd | unsigned int flags | u64 mask | int fd | const char *pathname | - |
| 331 | 0x14b | prlimit64 | pid_t pid | unsigned int resource | const struct rlimit64 *new_rlim | struct rlimit64 *old_rlim | - | - |
| 332 | 0x14c | name_to_handle_at | int dfd | const char *name | struct file_handle *handle | void *mnt_id | int flag | - |
| 333 | 0x14d | open_by_handle_at | int mountdirfd | struct file_handle *handle | int flags | - | - | - |
| 334 | 0x14e | clock_adjtime | const clockid_t which_clock | struct __kernel_timex *txc_p | - | - | - | - |
| 335 | 0x14f | syncfs | int fd | - | - | - | - | - |
| 336 | 0x150 | sendmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | - | - |
| 337 | 0x151 | setns | int fd | int nstype | - | - | - | - |
| 338 | 0x152 | process_vm_readv | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 339 | 0x153 | process_vm_writev | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 340 | 0x154 | kern_features | - | - | - | - | - | - |
| 341 | 0x155 | kcmp | pid_t pid1 | pid_t pid2 | int type | unsigned long idx1 | unsigned long idx2 | - |
| 342 | 0x156 | finit_module | int fd | const char *uargs | int flags | - | - | - |
| 343 | 0x157 | sched_setattr | pid_t pid | struct sched_attr *attr | unsigned int flags | - | - | - |
| 344 | 0x158 | sched_getattr | pid_t pid | struct sched_attr *attr | unsigned int size | unsigned int flags | - | - |
| 345 | 0x159 | renameat2 | int olddfd | const char *oldname | int newdfd | const char *newname | unsigned int flags | - |
| 346 | 0x15a | seccomp | unsigned int op | unsigned int flags | void *uargs | - | - | - |
| 347 | 0x15b | getrandom | char *buf | size_t count | unsigned int flags | - | - | - |
| 348 | 0x15c | memfd_create | const char *uname_ptr | unsigned int flags | - | - | - | - |
| 349 | 0x15d | bpf | int cmd | union bpf_attr *attr | unsigned int size | struct bpf_common_attr *attr_common | unsigned int size_common | - |
| 350 | 0x15e | execveat | int dfd | const char *filename | const char *const *argv | const char *const *envp | int flags | - |
| 351 | 0x15f | membarrier | int cmd | unsigned int flags | int cpu_id | - | - | - |
| 352 | 0x160 | userfaultfd | int flags | - | - | - | - | - |
| 353 | 0x161 | bind | int fd | struct sockaddr *umyaddr | int addrlen | - | - | - |
| 354 | 0x162 | listen | int fd | int backlog | - | - | - | - |
| 355 | 0x163 | setsockopt | int fd | int level | int optname | char *optval | int optlen | - |
| 356 | 0x164 | mlock2 | unsigned long start | size_t len | int flags | - | - | - |
| 357 | 0x165 | copy_file_range | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 358 | 0x166 | preadv2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | rwf_t flags |
| 359 | 0x167 | pwritev2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | rwf_t flags |
| 360 | 0x168 | statx | int dfd | const char *path | unsigned flags | unsigned mask | struct statx *buffer | - |
| 361 | 0x169 | 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 |
| 362 | 0x16a | pkey_mprotect | unsigned long start | size_t len | unsigned long prot | int pkey | - | - |
| 363 | 0x16b | pkey_alloc | unsigned long flags | unsigned long init_val | - | - | - | - |
| 364 | 0x16c | pkey_free | int pkey | - | - | - | - | - |
| 365 | 0x16d | rseq | struct rseq *rseq | uint32_t rseq_len | int flags | uint32_t sig | - | - |
| 392 | 0x188 | semtimedop | int semid | struct sembuf *sops | unsigned nsops | const struct __kernel_timespec *timeout | - | - |
| 393 | 0x189 | semget | key_t key | int nsems | int semflg | - | - | - |
| 394 | 0x18a | semctl | int semid | int semnum | int cmd | unsigned long arg | - | - |
| 395 | 0x18b | shmget | key_t key | size_t size | int flag | - | - | - |
| 396 | 0x18c | shmctl | int shmid | int cmd | struct shmid_ds *buf | - | - | - |
| 397 | 0x18d | shmat | int shmid | char *shmaddr | int shmflg | - | - | - |
| 398 | 0x18e | shmdt | char *shmaddr | - | - | - | - | - |
| 399 | 0x18f | msgget | key_t key | int msgflg | - | - | - | - |
| 400 | 0x190 | msgsnd | int msqid | struct msgbuf *msgp | size_t msgsz | int msgflg | - | - |
| 401 | 0x191 | msgrcv | int msqid | struct msgbuf *msgp | size_t msgsz | long msgtyp | int msgflg | - |
| 402 | 0x192 | msgctl | int msqid | int cmd | struct msqid_ds *buf | - | - | - |
| 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 | - | - | - | - |
Want the raw data? /sparc64/syscalls.json has every sparc64 syscall since Linux 5.0, along with the release it showed up in (since) and the one that dropped it (removed_in).