s390x system calls
Put the syscall number in r1 and the arguments in r2 r3 r4 r5 r6 r7, then run svc 0. The result comes back in r2.
The syscall number may also be passed directly with the svc instruction when it is below 256.
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 r2 | ARG1 r3 | ARG2 r4 | ARG3 r5 | ARG4 r6 | ARG5 r7 |
|---|---|---|---|---|---|---|---|---|
| 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 | restart_syscall | - | - | - | - | - | - |
| 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 | execve | const char *filename | const char *const *argv | const char *const *envp | - | - | - |
| 12 | 0xc | chdir | const char *filename | - | - | - | - | - |
| 14 | 0xe | mknod | const char *filename | umode_t mode | unsigned dev | - | - | - |
| 15 | 0xf | chmod | const char *filename | umode_t mode | - | - | - | - |
| 19 | 0x13 | lseek | unsigned int fd | off_t offset | unsigned int whence | - | - | - |
| 20 | 0x14 | getpid | - | - | - | - | - | - |
| 21 | 0x15 | mount | char *dev_name | char *dir_name | char *type | unsigned long flags | void *data | - |
| 22 | 0x16 | umount | char *name | - | - | - | - | - |
| 26 | 0x1a | ptrace | long request | long pid | unsigned long addr | unsigned long data | - | - |
| 27 | 0x1b | alarm | unsigned int seconds | - | - | - | - | - |
| 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 | rename | const char *oldname | const char *newname | - | - | - | - |
| 39 | 0x27 | mkdir | const char *pathname | umode_t mode | - | - | - | - |
| 40 | 0x28 | rmdir | const char *pathname | - | - | - | - | - |
| 41 | 0x29 | dup | unsigned int fildes | - | - | - | - | - |
| 42 | 0x2a | pipe | int *fildes | - | - | - | - | - |
| 43 | 0x2b | times | struct tms *tbuf | - | - | - | - | - |
| 45 | 0x2d | brk | unsigned long brk | - | - | - | - | - |
| 48 | 0x30 | signal | int sig | __sighandler_t handler | - | - | - | - |
| 51 | 0x33 | acct | const char *name | - | - | - | - | - |
| 52 | 0x34 | umount2 | char *name | int flags | - | - | - | - |
| 54 | 0x36 | ioctl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 55 | 0x37 | fcntl | unsigned int fd | unsigned int cmd | unsigned long arg | - | - | - |
| 57 | 0x39 | setpgid | pid_t pid | pid_t pgid | - | - | - | - |
| 60 | 0x3c | umask | int mask | - | - | - | - | - |
| 61 | 0x3d | chroot | const char *filename | - | - | - | - | - |
| 62 | 0x3e | ustat | unsigned dev | struct ustat *ubuf | - | - | - | - |
| 63 | 0x3f | dup2 | unsigned int oldfd | unsigned int newfd | - | - | - | - |
| 64 | 0x40 | getppid | - | - | - | - | - | - |
| 65 | 0x41 | getpgrp | - | - | - | - | - | - |
| 66 | 0x42 | setsid | - | - | - | - | - | - |
| 67 | 0x43 | sigaction | int sig | const struct old_sigaction *act | struct old_sigaction *oact | - | - | - |
| 72 | 0x48 | sigsuspend | int unused1 | int unused2 | old_sigset_t mask | - | - | - |
| 73 | 0x49 | sigpending | old_sigset_t *uset | - | - | - | - | - |
| 74 | 0x4a | sethostname | char *name | int len | - | - | - | - |
| 75 | 0x4b | setrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 77 | 0x4d | getrusage | int who | struct rusage *ru | - | - | - | - |
| 78 | 0x4e | gettimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 79 | 0x4f | settimeofday | struct __kernel_old_timeval *tv | struct timezone *tz | - | - | - | - |
| 83 | 0x53 | symlink | const char *old | const char *new | - | - | - | - |
| 85 | 0x55 | readlink | const char *path | char *buf | int bufsiz | - | - | - |
| 86 | 0x56 | uselib | const char *library | - | - | - | - | - |
| 87 | 0x57 | swapon | const char *specialfile | int swap_flags | - | - | - | - |
| 88 | 0x58 | reboot | int magic1 | int magic2 | unsigned int cmd | void *arg | - | - |
| 90 | 0x5a | mmap | struct mmap_arg_struct *arg | - | - | - | - | - |
| 91 | 0x5b | munmap | unsigned long addr | size_t len | - | - | - | - |
| 92 | 0x5c | truncate | const char *path | long length | - | - | - | - |
| 93 | 0x5d | ftruncate | unsigned int fd | off_t length | - | - | - | - |
| 94 | 0x5e | fchmod | unsigned int fd | umode_t mode | - | - | - | - |
| 96 | 0x60 | getpriority | int which | int who | - | - | - | - |
| 97 | 0x61 | setpriority | int which | int who | int niceval | - | - | - |
| 99 | 0x63 | statfs | const char *path | struct statfs *buf | - | - | - | - |
| 100 | 0x64 | fstatfs | unsigned int fd | struct statfs *buf | - | - | - | - |
| 102 | 0x66 | socketcall | int call | unsigned long *args | - | - | - | - |
| 103 | 0x67 | syslog | int type | char *buf | int len | - | - | - |
| 104 | 0x68 | setitimer | int which | struct __kernel_old_itimerval *value | struct __kernel_old_itimerval *ovalue | - | - | - |
| 105 | 0x69 | getitimer | int which | struct __kernel_old_itimerval *value | - | - | - | - |
| 106 | 0x6a | stat | const char *filename | struct stat *statbuf | - | - | - | - |
| 107 | 0x6b | lstat | const char *filename | struct stat *statbuf | - | - | - | - |
| 108 | 0x6c | fstat | unsigned int fd | struct stat *statbuf | - | - | - | - |
| 111 | 0x6f | vhangup | - | - | - | - | - | - |
| 114 | 0x72 | wait4 | pid_t pid | int *stat_addr | int options | struct rusage *ru | - | - |
| 115 | 0x73 | swapoff | const char *specialfile | - | - | - | - | - |
| 116 | 0x74 | sysinfo | struct sysinfo *info | - | - | - | - | - |
| 117 | 0x75 | ipc | uint call | int first | unsigned long second | unsigned long third | void *ptr | - |
| 118 | 0x76 | fsync | unsigned int fd | - | - | - | - | - |
| 119 | 0x77 | sigreturn | - | - | - | - | - | - |
| 120 | 0x78 | clone | unsigned long newsp | unsigned long clone_flags | int *parent_tidptr | int *child_tidptr | unsigned long tls | - |
| 121 | 0x79 | setdomainname | char *name | int len | - | - | - | - |
| 122 | 0x7a | uname | struct new_utsname *name | - | - | - | - | - |
| 124 | 0x7c | adjtimex | struct __kernel_timex *txc_p | - | - | - | - | - |
| 125 | 0x7d | mprotect | unsigned long start | size_t len | unsigned long prot | - | - | - |
| 126 | 0x7e | sigprocmask | int how | old_sigset_t *nset | old_sigset_t *oset | - | - | - |
| 128 | 0x80 | init_module | void *umod | unsigned long len | const char *uargs | - | - | - |
| 129 | 0x81 | delete_module | const char *name_user | unsigned int flags | - | - | - | - |
| 131 | 0x83 | quotactl | unsigned int cmd | const char *special | qid_t id | void *addr | - | - |
| 132 | 0x84 | getpgid | pid_t pid | - | - | - | - | - |
| 133 | 0x85 | fchdir | unsigned int fd | - | - | - | - | - |
| 135 | 0x87 | sysfs | int option | unsigned long arg1 | unsigned long arg2 | - | - | - |
| 136 | 0x88 | personality | unsigned int personality | - | - | - | - | - |
| 141 | 0x8d | getdents | unsigned int fd | struct linux_dirent *dirent | unsigned int count | - | - | - |
| 142 | 0x8e | select | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_old_timeval *tvp | - |
| 143 | 0x8f | flock | unsigned int fd | unsigned int cmd | - | - | - | - |
| 144 | 0x90 | msync | unsigned long start | size_t len | int flags | - | - | - |
| 145 | 0x91 | readv | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 146 | 0x92 | writev | unsigned long fd | const struct iovec *vec | unsigned long vlen | - | - | - |
| 147 | 0x93 | getsid | pid_t pid | - | - | - | - | - |
| 148 | 0x94 | fdatasync | unsigned int fd | - | - | - | - | - |
| 150 | 0x96 | mlock | unsigned long start | size_t len | - | - | - | - |
| 151 | 0x97 | munlock | unsigned long start | size_t len | - | - | - | - |
| 152 | 0x98 | mlockall | int flags | - | - | - | - | - |
| 153 | 0x99 | munlockall | - | - | - | - | - | - |
| 154 | 0x9a | sched_setparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 155 | 0x9b | sched_getparam | pid_t pid | struct sched_param *param | - | - | - | - |
| 156 | 0x9c | sched_setscheduler | pid_t pid | int policy | struct sched_param *param | - | - | - |
| 157 | 0x9d | sched_getscheduler | pid_t pid | - | - | - | - | - |
| 158 | 0x9e | sched_yield | - | - | - | - | - | - |
| 159 | 0x9f | sched_get_priority_max | int policy | - | - | - | - | - |
| 160 | 0xa0 | sched_get_priority_min | int policy | - | - | - | - | - |
| 161 | 0xa1 | sched_rr_get_interval | pid_t pid | struct __kernel_timespec *interval | - | - | - | - |
| 162 | 0xa2 | nanosleep | struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - | - | - |
| 163 | 0xa3 | mremap | unsigned long addr | unsigned long old_len | unsigned long new_len | unsigned long flags | unsigned long new_addr | - |
| 168 | 0xa8 | poll | struct pollfd *ufds | unsigned int nfds | int timeout_msecs | - | - | - |
| 172 | 0xac | prctl | int option | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 173 | 0xad | rt_sigreturn | - | - | - | - | - | - |
| 174 | 0xae | rt_sigaction | int sig | const struct sigaction *act | struct sigaction *oact | size_t sigsetsize | - | - |
| 175 | 0xaf | rt_sigprocmask | int how | sigset_t *nset | sigset_t *oset | size_t sigsetsize | - | - |
| 176 | 0xb0 | rt_sigpending | sigset_t *uset | size_t sigsetsize | - | - | - | - |
| 177 | 0xb1 | rt_sigtimedwait | const sigset_t *uthese | siginfo_t *uinfo | const struct __kernel_timespec *uts | size_t sigsetsize | - | - |
| 178 | 0xb2 | rt_sigqueueinfo | pid_t pid | int sig | siginfo_t *uinfo | - | - | - |
| 179 | 0xb3 | rt_sigsuspend | sigset_t *unewset | size_t sigsetsize | - | - | - | - |
| 180 | 0xb4 | pread64 | unsigned int fd | char *buf | size_t count | loff_t pos | - | - |
| 181 | 0xb5 | pwrite64 | unsigned int fd | const char *buf | size_t count | loff_t pos | - | - |
| 183 | 0xb7 | getcwd | char *buf | unsigned long size | - | - | - | - |
| 184 | 0xb8 | capget | cap_user_header_t header | cap_user_data_t dataptr | - | - | - | - |
| 185 | 0xb9 | capset | cap_user_header_t header | const cap_user_data_t data | - | - | - | - |
| 186 | 0xba | sigaltstack | const stack_t *uss | stack_t *uoss | - | - | - | - |
| 187 | 0xbb | sendfile | int out_fd | int in_fd | loff_t *offset | size_t count | - | - |
| 190 | 0xbe | vfork | - | - | - | - | - | - |
| 191 | 0xbf | getrlimit | unsigned int resource | struct rlimit *rlim | - | - | - | - |
| 198 | 0xc6 | lchown | const char *filename | uid_t user | gid_t group | - | - | - |
| 199 | 0xc7 | getuid | - | - | - | - | - | - |
| 200 | 0xc8 | getgid | - | - | - | - | - | - |
| 201 | 0xc9 | geteuid | - | - | - | - | - | - |
| 202 | 0xca | getegid | - | - | - | - | - | - |
| 203 | 0xcb | setreuid | uid_t ruid | uid_t euid | - | - | - | - |
| 204 | 0xcc | setregid | gid_t rgid | gid_t egid | - | - | - | - |
| 205 | 0xcd | getgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 206 | 0xce | setgroups | int gidsetsize | gid_t *grouplist | - | - | - | - |
| 207 | 0xcf | fchown | unsigned int fd | uid_t user | gid_t group | - | - | - |
| 208 | 0xd0 | setresuid | uid_t ruid | uid_t euid | uid_t suid | - | - | - |
| 209 | 0xd1 | getresuid | uid_t *ruid | uid_t *euid | uid_t *suid | - | - | - |
| 210 | 0xd2 | setresgid | gid_t rgid | gid_t egid | gid_t sgid | - | - | - |
| 211 | 0xd3 | getresgid | gid_t *rgid | gid_t *egid | gid_t *sgid | - | - | - |
| 212 | 0xd4 | chown | const char *filename | uid_t user | gid_t group | - | - | - |
| 213 | 0xd5 | setuid | uid_t uid | - | - | - | - | - |
| 214 | 0xd6 | setgid | gid_t gid | - | - | - | - | - |
| 215 | 0xd7 | setfsuid | uid_t uid | - | - | - | - | - |
| 216 | 0xd8 | setfsgid | gid_t gid | - | - | - | - | - |
| 217 | 0xd9 | pivot_root | const char *new_root | const char *put_old | - | - | - | - |
| 218 | 0xda | mincore | unsigned long start | size_t len | unsigned char *vec | - | - | - |
| 219 | 0xdb | madvise | unsigned long start | size_t len | int behavior | - | - | - |
| 220 | 0xdc | getdents64 | unsigned int fd | struct linux_dirent64 *dirent | unsigned int count | - | - | - |
| 222 | 0xde | readahead | int fd | loff_t offset | size_t count | - | - | - |
| 224 | 0xe0 | setxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 225 | 0xe1 | lsetxattr | const char *path | const char *name | const void *value | size_t size | int flags | - |
| 226 | 0xe2 | fsetxattr | int fd | const char *name | const void *value | size_t size | int flags | - |
| 227 | 0xe3 | getxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 228 | 0xe4 | lgetxattr | const char *path | const char *name | void *value | size_t size | - | - |
| 229 | 0xe5 | fgetxattr | int fd | const char *name | void *value | size_t size | - | - |
| 230 | 0xe6 | listxattr | const char *path | char *list | size_t size | - | - | - |
| 231 | 0xe7 | llistxattr | const char *path | char *list | size_t size | - | - | - |
| 232 | 0xe8 | flistxattr | int fd | char *list | size_t size | - | - | - |
| 233 | 0xe9 | removexattr | const char *path | const char *name | - | - | - | - |
| 234 | 0xea | lremovexattr | const char *path | const char *name | - | - | - | - |
| 235 | 0xeb | fremovexattr | int fd | const char *name | - | - | - | - |
| 236 | 0xec | gettid | - | - | - | - | - | - |
| 237 | 0xed | tkill | pid_t pid | int sig | - | - | - | - |
| 238 | 0xee | futex | u32 *uaddr | int op | u32 val | const struct __kernel_timespec *utime | u32 *uaddr2 | u32 val3 |
| 239 | 0xef | sched_setaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 240 | 0xf0 | sched_getaffinity | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | - | - | - |
| 241 | 0xf1 | tgkill | pid_t tgid | pid_t pid | int sig | - | - | - |
| 243 | 0xf3 | io_setup | unsigned nr_events | aio_context_t *ctxp | - | - | - | - |
| 244 | 0xf4 | io_destroy | aio_context_t ctx | - | - | - | - | - |
| 245 | 0xf5 | io_getevents | aio_context_t ctx_id | long min_nr | long nr | struct io_event *events | struct __kernel_timespec *timeout | - |
| 246 | 0xf6 | io_submit | aio_context_t ctx_id | long nr | struct iocb * *iocbpp | - | - | - |
| 247 | 0xf7 | io_cancel | aio_context_t ctx_id | struct iocb *iocb | struct io_event *result | - | - | - |
| 248 | 0xf8 | exit_group | int error_code | - | - | - | - | - |
| 249 | 0xf9 | epoll_create | int size | - | - | - | - | - |
| 250 | 0xfa | epoll_ctl | int epfd | int op | int fd | struct epoll_event *event | - | - |
| 251 | 0xfb | epoll_wait | int epfd | struct epoll_event *events | int maxevents | int timeout | - | - |
| 252 | 0xfc | set_tid_address | int *tidptr | - | - | - | - | - |
| 253 | 0xfd | fadvise64 | int fd | loff_t offset | loff_t len | int advice | - | - |
| 254 | 0xfe | timer_create | clockid_t which_clock | struct sigevent *timer_event_spec | timer_t *created_timer_id | - | - | - |
| 255 | 0xff | timer_settime | timer_t timer_id | int flags | const struct __kernel_itimerspec *new_setting | struct __kernel_itimerspec *old_setting | - | - |
| 256 | 0x100 | timer_gettime | timer_t timer_id | struct __kernel_itimerspec *setting | - | - | - | - |
| 257 | 0x101 | timer_getoverrun | timer_t timer_id | - | - | - | - | - |
| 258 | 0x102 | timer_delete | timer_t timer_id | - | - | - | - | - |
| 259 | 0x103 | clock_settime | clockid_t which_clock | const struct __kernel_timespec *tp | - | - | - | - |
| 260 | 0x104 | clock_gettime | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 261 | 0x105 | clock_getres | clockid_t which_clock | struct __kernel_timespec *tp | - | - | - | - |
| 262 | 0x106 | clock_nanosleep | clockid_t which_clock | int flags | const struct __kernel_timespec *rqtp | struct __kernel_timespec *rmtp | - | - |
| 265 | 0x109 | statfs64 | const char *path | size_t sz | struct statfs64 *buf | - | - | - |
| 266 | 0x10a | fstatfs64 | unsigned int fd | size_t sz | struct statfs64 *buf | - | - | - |
| 267 | 0x10b | remap_file_pages | unsigned long start | unsigned long size | unsigned long prot | unsigned long pgoff | unsigned long flags | - |
| 268 | 0x10c | mbind | unsigned long start | unsigned long len | unsigned long mode | const unsigned long *nmask | unsigned long maxnode | unsigned flags |
| 269 | 0x10d | get_mempolicy | int *policy | unsigned long *nmask | unsigned long maxnode | unsigned long addr | unsigned long flags | - |
| 270 | 0x10e | set_mempolicy | int mode | const unsigned long *nmask | unsigned long maxnode | - | - | - |
| 271 | 0x10f | mq_open | const char *name | int oflag | umode_t mode | struct mq_attr *attr | - | - |
| 272 | 0x110 | mq_unlink | const char *name | - | - | - | - | - |
| 273 | 0x111 | mq_timedsend | mqd_t mqdes | const char *msg_ptr | size_t msg_len | unsigned int msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 274 | 0x112 | mq_timedreceive | mqd_t mqdes | char *msg_ptr | size_t msg_len | unsigned int *msg_prio | const struct __kernel_timespec *abs_timeout | - |
| 275 | 0x113 | mq_notify | mqd_t mqdes | const struct sigevent *notification | - | - | - | - |
| 276 | 0x114 | mq_getsetattr | mqd_t mqdes | const struct mq_attr *mqstat | struct mq_attr *omqstat | - | - | - |
| 277 | 0x115 | kexec_load | unsigned long entry | unsigned long nr_segments | struct kexec_segment *segments | unsigned long flags | - | - |
| 278 | 0x116 | add_key | const char *_type | const char *_description | const void *_payload | size_t plen | key_serial_t destringid | - |
| 279 | 0x117 | request_key | const char *_type | const char *_description | const char *_callout_info | key_serial_t destringid | - | - |
| 280 | 0x118 | keyctl | int cmd | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | - |
| 281 | 0x119 | waitid | int which | pid_t pid | struct siginfo *infop | int options | struct rusage *ru | - |
| 282 | 0x11a | ioprio_set | int which | int who | int ioprio | - | - | - |
| 283 | 0x11b | ioprio_get | int which | int who | - | - | - | - |
| 284 | 0x11c | inotify_init | - | - | - | - | - | - |
| 285 | 0x11d | inotify_add_watch | int fd | const char *path | u32 mask | - | - | - |
| 286 | 0x11e | inotify_rm_watch | int fd | __s32 wd | - | - | - | - |
| 287 | 0x11f | migrate_pages | pid_t pid | unsigned long maxnode | const unsigned long *from | const unsigned long *to | - | - |
| 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 | fchownat | int dfd | const char *filename | uid_t user | gid_t group | int flag | - |
| 292 | 0x124 | futimesat | int dfd | const char *filename | struct __kernel_old_timeval *utimes | - | - | - |
| 293 | 0x125 | newfstatat | int dfd | const char *filename | struct stat *statbuf | int flag | - | - |
| 294 | 0x126 | unlinkat | int dfd | const char *pathname | int flag | - | - | - |
| 295 | 0x127 | renameat | int olddfd | const char *oldname | int newdfd | const char *newname | - | - |
| 296 | 0x128 | linkat | int olddfd | const char *oldname | int newdfd | const char *newname | int flags | - |
| 297 | 0x129 | symlinkat | const char *oldname | int newdfd | const char *newname | - | - | - |
| 298 | 0x12a | readlinkat | int dfd | const char *path | char *buf | int bufsiz | - | - |
| 299 | 0x12b | fchmodat | int dfd | const char *filename | umode_t mode | - | - | - |
| 300 | 0x12c | faccessat | int dfd | const char *filename | int mode | - | - | - |
| 301 | 0x12d | pselect6 | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct __kernel_timespec *tsp | void *sig |
| 302 | 0x12e | ppoll | struct pollfd *ufds | unsigned int nfds | struct __kernel_timespec *tsp | const sigset_t *sigmask | size_t sigsetsize | - |
| 303 | 0x12f | unshare | unsigned long unshare_flags | - | - | - | - | - |
| 304 | 0x130 | set_robust_list | struct robust_list_head *head | size_t len | - | - | - | - |
| 305 | 0x131 | get_robust_list | int pid | struct robust_list_head * *head_ptr | size_t *len_ptr | - | - | - |
| 306 | 0x132 | splice | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 307 | 0x133 | sync_file_range | int fd | loff_t offset | loff_t nbytes | unsigned int flags | - | - |
| 308 | 0x134 | tee | int fdin | int fdout | size_t len | unsigned int flags | - | - |
| 309 | 0x135 | vmsplice | int fd | const struct iovec *iov | unsigned long nr_segs | unsigned int flags | - | - |
| 310 | 0x136 | move_pages | pid_t pid | unsigned long nr_pages | const void * *pages | const int *nodes | int *status | int flags |
| 311 | 0x137 | getcpu | unsigned *cpup | unsigned *nodep | void *unused | - | - | - |
| 312 | 0x138 | epoll_pwait | int epfd | struct epoll_event *events | int maxevents | int timeout | const sigset_t *sigmask | size_t sigsetsize |
| 313 | 0x139 | utimes | char *filename | struct __kernel_old_timeval *utimes | - | - | - | - |
| 314 | 0x13a | fallocate | int fd | int mode | loff_t offset | loff_t len | - | - |
| 315 | 0x13b | utimensat | int dfd | const char *filename | struct __kernel_timespec *utimes | int flags | - | - |
| 316 | 0x13c | signalfd | int ufd | sigset_t *user_mask | size_t sizemask | - | - | - |
| 318 | 0x13e | eventfd | unsigned int count | - | - | - | - | - |
| 319 | 0x13f | timerfd_create | int clockid | int flags | - | - | - | - |
| 320 | 0x140 | timerfd_settime | int ufd | int flags | const struct __kernel_itimerspec *utmr | struct __kernel_itimerspec *otmr | - | - |
| 321 | 0x141 | timerfd_gettime | int ufd | struct __kernel_itimerspec *otmr | - | - | - | - |
| 322 | 0x142 | signalfd4 | int ufd | sigset_t *user_mask | size_t sizemask | int flags | - | - |
| 323 | 0x143 | eventfd2 | unsigned int count | int flags | - | - | - | - |
| 324 | 0x144 | inotify_init1 | int flags | - | - | - | - | - |
| 325 | 0x145 | pipe2 | int *fildes | int flags | - | - | - | - |
| 326 | 0x146 | dup3 | unsigned int oldfd | unsigned int newfd | int flags | - | - | - |
| 327 | 0x147 | epoll_create1 | int flags | - | - | - | - | - |
| 328 | 0x148 | preadv | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | - |
| 329 | 0x149 | pwritev | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | - |
| 330 | 0x14a | rt_tgsigqueueinfo | pid_t tgid | pid_t pid | int sig | siginfo_t *uinfo | - | - |
| 331 | 0x14b | perf_event_open | struct perf_event_attr *attr_uptr | pid_t pid | int cpu | int group_fd | unsigned long flags | - |
| 332 | 0x14c | fanotify_init | unsigned int flags | unsigned int event_f_flags | - | - | - | - |
| 333 | 0x14d | fanotify_mark | int fanotify_fd | unsigned int flags | u64 mask | int fd | const char *pathname | - |
| 334 | 0x14e | prlimit64 | pid_t pid | unsigned int resource | const struct rlimit64 *new_rlim | struct rlimit64 *old_rlim | - | - |
| 335 | 0x14f | name_to_handle_at | int dfd | const char *name | struct file_handle *handle | void *mnt_id | int flag | - |
| 336 | 0x150 | open_by_handle_at | int mountdirfd | struct file_handle *handle | int flags | - | - | - |
| 337 | 0x151 | clock_adjtime | clockid_t which_clock | struct __kernel_timex *tx | - | - | - | - |
| 338 | 0x152 | syncfs | int fd | - | - | - | - | - |
| 339 | 0x153 | setns | int fd | int nstype | - | - | - | - |
| 340 | 0x154 | process_vm_readv | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 341 | 0x155 | process_vm_writev | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 342 | 0x156 | s390_runtime_instr | int command | int signum | - | - | - | - |
| 343 | 0x157 | kcmp | pid_t pid1 | pid_t pid2 | int type | unsigned long idx1 | unsigned long idx2 | - |
| 344 | 0x158 | finit_module | int fd | const char *uargs | int flags | - | - | - |
| 345 | 0x159 | sched_setattr | pid_t pid | struct sched_attr *attr | unsigned int flags | - | - | - |
| 346 | 0x15a | sched_getattr | pid_t pid | struct sched_attr *attr | unsigned int size | unsigned int flags | - | - |
| 347 | 0x15b | renameat2 | int olddfd | const char *oldname | int newdfd | const char *newname | unsigned int flags | - |
| 348 | 0x15c | seccomp | unsigned int op | unsigned int flags | void *uargs | - | - | - |
| 349 | 0x15d | getrandom | char *buf | size_t count | unsigned int flags | - | - | - |
| 350 | 0x15e | memfd_create | const char *uname_ptr | unsigned int flags | - | - | - | - |
| 351 | 0x15f | bpf | int cmd | union bpf_attr *attr | unsigned int size | struct bpf_common_attr *attr_common | unsigned int size_common | - |
| 352 | 0x160 | s390_pci_mmio_write | unsigned long mmio_addr | const void *user_buffer | size_t length | - | - | - |
| 353 | 0x161 | s390_pci_mmio_read | unsigned long mmio_addr | void *user_buffer | size_t length | - | - | - |
| 354 | 0x162 | execveat | int dfd | const char *filename | const char *const *argv | const char *const *envp | int flags | - |
| 355 | 0x163 | userfaultfd | int flags | - | - | - | - | - |
| 356 | 0x164 | membarrier | int cmd | unsigned int flags | int cpu_id | - | - | - |
| 357 | 0x165 | recvmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | struct __kernel_timespec *timeout | - |
| 358 | 0x166 | sendmmsg | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | - | - |
| 359 | 0x167 | socket | int family | int type | int protocol | - | - | - |
| 360 | 0x168 | socketpair | int family | int type | int protocol | int *usockvec | - | - |
| 361 | 0x169 | bind | int fd | struct sockaddr *umyaddr | int addrlen | - | - | - |
| 362 | 0x16a | connect | int fd | struct sockaddr *uservaddr | int addrlen | - | - | - |
| 363 | 0x16b | listen | int fd | int backlog | - | - | - | - |
| 364 | 0x16c | accept4 | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | int flags | - | - |
| 365 | 0x16d | getsockopt | int fd | int level | int optname | char *optval | int *optlen | - |
| 366 | 0x16e | setsockopt | int fd | int level | int optname | char *optval | int optlen | - |
| 367 | 0x16f | getsockname | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 368 | 0x170 | getpeername | int fd | struct sockaddr *usockaddr | int *usockaddr_len | - | - | - |
| 369 | 0x171 | sendto | int fd | void *buff | size_t len | unsigned int flags | struct sockaddr *addr | int addr_len |
| 370 | 0x172 | sendmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 371 | 0x173 | recvfrom | int fd | void *ubuf | size_t size | unsigned int flags | struct sockaddr *addr | int *addr_len |
| 372 | 0x174 | recvmsg | int fd | struct user_msghdr *msg | unsigned int flags | - | - | - |
| 373 | 0x175 | shutdown | int fd | int how | - | - | - | - |
| 374 | 0x176 | mlock2 | unsigned long start | size_t len | int flags | - | - | - |
| 375 | 0x177 | copy_file_range | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 376 | 0x178 | preadv2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | rwf_t flags |
| 377 | 0x179 | pwritev2 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | rwf_t flags |
| 378 | 0x17a | s390_guarded_storage | int command | struct gs_cb *gs_cb | - | - | - | - |
| 379 | 0x17b | statx | int dfd | const char *path | unsigned flags | unsigned mask | struct statx *buffer | - |
| 380 | 0x17c | s390_sthyi | unsigned long function_code | void *buffer | u64 *return_code | unsigned long flags | - | - |
| 381 | 0x17d | kexec_file_load | int kernel_fd | int initrd_fd | unsigned long cmdline_len | const char *cmdline_ptr | unsigned long flags | - |
| 382 | 0x17e | 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 |
| 383 | 0x17f | rseq | struct rseq *rseq | uint32_t rseq_len | int flags | uint32_t sig | - | - |
| 384 | 0x180 | pkey_mprotect | unsigned long start | size_t len | unsigned long prot | int pkey | - | - |
| 385 | 0x181 | pkey_alloc | unsigned long flags | unsigned long init_val | - | - | - | - |
| 386 | 0x182 | pkey_free | int pkey | - | - | - | - | - |
| 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 | - | - | - | - |
| 447 | 0x1bf | memfd_secret | unsigned int 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? /s390x/syscalls.json has every s390x syscall seen since Linux 4.16, the first release scanned for s390x, along with the release it showed up in (since) and the one that dropped it (removed_in).