Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * definitions for sys_call_table, each line represents an |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 3 | * entry in the table in the form |
| 4 | * SYSCALL(64 bit syscall, 31 bit emulated syscall) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | * |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 6 | * this file is meant to be included from entry.S |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 9 | #define NI_SYSCALL SYSCALL(sys_ni_syscall,sys_ni_syscall) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 11 | NI_SYSCALL /* 0 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 12 | SYSCALL(sys_exit,sys_exit) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 13 | SYSCALL(sys_fork,sys_fork) |
| 14 | SYSCALL(sys_read,compat_sys_s390_read) |
| 15 | SYSCALL(sys_write,compat_sys_s390_write) |
| 16 | SYSCALL(sys_open,compat_sys_open) /* 5 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 17 | SYSCALL(sys_close,sys_close) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 18 | SYSCALL(sys_restart_syscall,sys_restart_syscall) |
| 19 | SYSCALL(sys_creat,compat_sys_creat) |
| 20 | SYSCALL(sys_link,compat_sys_link) |
| 21 | SYSCALL(sys_unlink,compat_sys_unlink) /* 10 */ |
| 22 | SYSCALL(sys_execve,compat_sys_execve) |
| 23 | SYSCALL(sys_chdir,compat_sys_chdir) |
| 24 | SYSCALL(sys_ni_syscall,compat_sys_time) /* old time syscall */ |
| 25 | SYSCALL(sys_mknod,compat_sys_mknod) |
| 26 | SYSCALL(sys_chmod,compat_sys_chmod) /* 15 */ |
| 27 | SYSCALL(sys_ni_syscall,compat_sys_s390_lchown16) /* old lchown16 syscall*/ |
| 28 | NI_SYSCALL /* old break syscall holder */ |
| 29 | NI_SYSCALL /* old stat syscall holder */ |
| 30 | SYSCALL(sys_lseek,compat_sys_lseek) |
| 31 | SYSCALL(sys_getpid,sys_getpid) /* 20 */ |
| 32 | SYSCALL(sys_mount,compat_sys_mount) |
| 33 | SYSCALL(sys_oldumount,compat_sys_oldumount) |
| 34 | SYSCALL(sys_ni_syscall,compat_sys_s390_setuid16) /* old setuid16 syscall*/ |
| 35 | SYSCALL(sys_ni_syscall,compat_sys_s390_getuid16) /* old getuid16 syscall*/ |
| 36 | SYSCALL(sys_ni_syscall,compat_sys_stime) /* 25 old stime syscall */ |
| 37 | SYSCALL(sys_ptrace,compat_sys_ptrace) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 38 | SYSCALL(sys_alarm,sys_alarm) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 39 | NI_SYSCALL /* old fstat syscall */ |
| 40 | SYSCALL(sys_pause,sys_pause) |
| 41 | SYSCALL(sys_utime,compat_sys_utime) /* 30 */ |
| 42 | NI_SYSCALL /* old stty syscall */ |
| 43 | NI_SYSCALL /* old gtty syscall */ |
| 44 | SYSCALL(sys_access,compat_sys_access) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 45 | SYSCALL(sys_nice,sys_nice) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 46 | NI_SYSCALL /* 35 old ftime syscall */ |
| 47 | SYSCALL(sys_sync,sys_sync) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 48 | SYSCALL(sys_kill,sys_kill) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 49 | SYSCALL(sys_rename,compat_sys_rename) |
| 50 | SYSCALL(sys_mkdir,compat_sys_mkdir) |
| 51 | SYSCALL(sys_rmdir,compat_sys_rmdir) /* 40 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 52 | SYSCALL(sys_dup,sys_dup) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 53 | SYSCALL(sys_pipe,compat_sys_pipe) |
| 54 | SYSCALL(sys_times,compat_sys_times) |
| 55 | NI_SYSCALL /* old prof syscall */ |
| 56 | SYSCALL(sys_brk,compat_sys_brk) /* 45 */ |
| 57 | SYSCALL(sys_ni_syscall,compat_sys_s390_setgid16) /* old setgid16 syscall*/ |
| 58 | SYSCALL(sys_ni_syscall,compat_sys_s390_getgid16) /* old getgid16 syscall*/ |
| 59 | SYSCALL(sys_signal,compat_sys_signal) |
| 60 | SYSCALL(sys_ni_syscall,compat_sys_s390_geteuid16) /* old geteuid16 syscall */ |
| 61 | SYSCALL(sys_ni_syscall,compat_sys_s390_getegid16) /* 50 old getegid16 syscall */ |
| 62 | SYSCALL(sys_acct,compat_sys_acct) |
| 63 | SYSCALL(sys_umount,compat_sys_umount) |
| 64 | NI_SYSCALL /* old lock syscall */ |
| 65 | SYSCALL(sys_ioctl,compat_sys_ioctl) |
| 66 | SYSCALL(sys_fcntl,compat_sys_fcntl) /* 55 */ |
| 67 | NI_SYSCALL /* intel mpx syscall */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 68 | SYSCALL(sys_setpgid,sys_setpgid) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 69 | NI_SYSCALL /* old ulimit syscall */ |
| 70 | NI_SYSCALL /* old uname syscall */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 71 | SYSCALL(sys_umask,sys_umask) /* 60 */ |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 72 | SYSCALL(sys_chroot,compat_sys_chroot) |
| 73 | SYSCALL(sys_ustat,compat_sys_ustat) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 74 | SYSCALL(sys_dup2,sys_dup2) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 75 | SYSCALL(sys_getppid,sys_getppid) |
| 76 | SYSCALL(sys_getpgrp,sys_getpgrp) /* 65 */ |
| 77 | SYSCALL(sys_setsid,sys_setsid) |
| 78 | SYSCALL(sys_sigaction,compat_sys_sigaction) |
| 79 | NI_SYSCALL /* old sgetmask syscall*/ |
| 80 | NI_SYSCALL /* old ssetmask syscall*/ |
| 81 | SYSCALL(sys_ni_syscall,compat_sys_s390_setreuid16) /* old setreuid16 syscall */ |
| 82 | SYSCALL(sys_ni_syscall,compat_sys_s390_setregid16) /* old setregid16 syscall */ |
| 83 | SYSCALL(sys_sigsuspend,compat_sys_sigsuspend) |
| 84 | SYSCALL(sys_sigpending,compat_sys_sigpending) |
| 85 | SYSCALL(sys_sethostname,compat_sys_sethostname) |
| 86 | SYSCALL(sys_setrlimit,compat_sys_setrlimit) /* 75 */ |
| 87 | SYSCALL(sys_getrlimit,compat_sys_old_getrlimit) |
| 88 | SYSCALL(sys_getrusage,compat_sys_getrusage) |
| 89 | SYSCALL(sys_gettimeofday,compat_sys_gettimeofday) |
| 90 | SYSCALL(sys_settimeofday,compat_sys_settimeofday) |
| 91 | SYSCALL(sys_ni_syscall,compat_sys_s390_getgroups16) /* 80 old getgroups16 syscall */ |
| 92 | SYSCALL(sys_ni_syscall,compat_sys_s390_setgroups16) /* old setgroups16 syscall */ |
| 93 | NI_SYSCALL /* old select syscall */ |
| 94 | SYSCALL(sys_symlink,compat_sys_symlink) |
| 95 | NI_SYSCALL /* old lstat syscall */ |
| 96 | SYSCALL(sys_readlink,compat_sys_readlink) /* 85 */ |
| 97 | SYSCALL(sys_uselib,compat_sys_uselib) |
| 98 | SYSCALL(sys_swapon,compat_sys_swapon) |
| 99 | SYSCALL(sys_reboot,compat_sys_reboot) |
| 100 | SYSCALL(sys_ni_syscall,compat_sys_old_readdir) /* old readdir syscall */ |
| 101 | SYSCALL(sys_old_mmap,compat_sys_s390_old_mmap) /* 90 */ |
| 102 | SYSCALL(sys_munmap,compat_sys_munmap) |
| 103 | SYSCALL(sys_truncate,compat_sys_truncate) |
| 104 | SYSCALL(sys_ftruncate,compat_sys_ftruncate) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 105 | SYSCALL(sys_fchmod,sys_fchmod) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 106 | SYSCALL(sys_ni_syscall,compat_sys_s390_fchown16) /* 95 old fchown16 syscall*/ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 107 | SYSCALL(sys_getpriority,sys_getpriority) |
| 108 | SYSCALL(sys_setpriority,sys_setpriority) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 109 | NI_SYSCALL /* old profil syscall */ |
| 110 | SYSCALL(sys_statfs,compat_sys_statfs) |
| 111 | SYSCALL(sys_fstatfs,compat_sys_fstatfs) /* 100 */ |
| 112 | NI_SYSCALL /* ioperm for i386 */ |
| 113 | SYSCALL(sys_socketcall,compat_sys_socketcall) |
| 114 | SYSCALL(sys_syslog,compat_sys_syslog) |
| 115 | SYSCALL(sys_setitimer,compat_sys_setitimer) |
| 116 | SYSCALL(sys_getitimer,compat_sys_getitimer) /* 105 */ |
| 117 | SYSCALL(sys_newstat,compat_sys_newstat) |
| 118 | SYSCALL(sys_newlstat,compat_sys_newlstat) |
| 119 | SYSCALL(sys_newfstat,compat_sys_newfstat) |
| 120 | NI_SYSCALL /* old uname syscall */ |
| 121 | SYSCALL(sys_lookup_dcookie,compat_sys_lookup_dcookie) /* 110 */ |
| 122 | SYSCALL(sys_vhangup,sys_vhangup) |
| 123 | NI_SYSCALL /* old "idle" system call */ |
| 124 | NI_SYSCALL /* vm86old for i386 */ |
| 125 | SYSCALL(sys_wait4,compat_sys_wait4) |
| 126 | SYSCALL(sys_swapoff,compat_sys_swapoff) /* 115 */ |
| 127 | SYSCALL(sys_sysinfo,compat_sys_sysinfo) |
| 128 | SYSCALL(sys_s390_ipc,compat_sys_s390_ipc) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 129 | SYSCALL(sys_fsync,sys_fsync) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 130 | SYSCALL(sys_sigreturn,compat_sys_sigreturn) |
| 131 | SYSCALL(sys_clone,compat_sys_clone) /* 120 */ |
| 132 | SYSCALL(sys_setdomainname,compat_sys_setdomainname) |
| 133 | SYSCALL(sys_newuname,compat_sys_newuname) |
| 134 | NI_SYSCALL /* modify_ldt for i386 */ |
| 135 | SYSCALL(sys_adjtimex,compat_sys_adjtimex) |
| 136 | SYSCALL(sys_mprotect,compat_sys_mprotect) /* 125 */ |
| 137 | SYSCALL(sys_sigprocmask,compat_sys_sigprocmask) |
| 138 | NI_SYSCALL /* old "create module" */ |
| 139 | SYSCALL(sys_init_module,compat_sys_init_module) |
| 140 | SYSCALL(sys_delete_module,compat_sys_delete_module) |
| 141 | NI_SYSCALL /* 130: old get_kernel_syms */ |
| 142 | SYSCALL(sys_quotactl,compat_sys_quotactl) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 143 | SYSCALL(sys_getpgid,sys_getpgid) |
| 144 | SYSCALL(sys_fchdir,sys_fchdir) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 145 | SYSCALL(sys_bdflush,compat_sys_bdflush) |
| 146 | SYSCALL(sys_sysfs,compat_sys_sysfs) /* 135 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 147 | SYSCALL(sys_s390_personality,sys_s390_personality) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 148 | NI_SYSCALL /* for afs_syscall */ |
| 149 | SYSCALL(sys_ni_syscall,compat_sys_s390_setfsuid16) /* old setfsuid16 syscall */ |
| 150 | SYSCALL(sys_ni_syscall,compat_sys_s390_setfsgid16) /* old setfsgid16 syscall */ |
| 151 | SYSCALL(sys_llseek,compat_sys_llseek) /* 140 */ |
| 152 | SYSCALL(sys_getdents,compat_sys_getdents) |
| 153 | SYSCALL(sys_select,compat_sys_select) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 154 | SYSCALL(sys_flock,sys_flock) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 155 | SYSCALL(sys_msync,compat_sys_msync) |
| 156 | SYSCALL(sys_readv,compat_sys_readv) /* 145 */ |
| 157 | SYSCALL(sys_writev,compat_sys_writev) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 158 | SYSCALL(sys_getsid,sys_getsid) |
| 159 | SYSCALL(sys_fdatasync,sys_fdatasync) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 160 | SYSCALL(sys_sysctl,compat_sys_sysctl) |
| 161 | SYSCALL(sys_mlock,compat_sys_mlock) /* 150 */ |
| 162 | SYSCALL(sys_munlock,compat_sys_munlock) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 163 | SYSCALL(sys_mlockall,sys_mlockall) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 164 | SYSCALL(sys_munlockall,sys_munlockall) |
| 165 | SYSCALL(sys_sched_setparam,compat_sys_sched_setparam) |
| 166 | SYSCALL(sys_sched_getparam,compat_sys_sched_getparam) /* 155 */ |
| 167 | SYSCALL(sys_sched_setscheduler,compat_sys_sched_setscheduler) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 168 | SYSCALL(sys_sched_getscheduler,sys_sched_getscheduler) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 169 | SYSCALL(sys_sched_yield,sys_sched_yield) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 170 | SYSCALL(sys_sched_get_priority_max,sys_sched_get_priority_max) |
| 171 | SYSCALL(sys_sched_get_priority_min,sys_sched_get_priority_min) /* 160 */ |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 172 | SYSCALL(sys_sched_rr_get_interval,compat_sys_sched_rr_get_interval) |
| 173 | SYSCALL(sys_nanosleep,compat_sys_nanosleep) |
| 174 | SYSCALL(sys_mremap,compat_sys_mremap) |
| 175 | SYSCALL(sys_ni_syscall,compat_sys_s390_setresuid16) /* old setresuid16 syscall */ |
| 176 | SYSCALL(sys_ni_syscall,compat_sys_s390_getresuid16) /* 165 old getresuid16 syscall */ |
| 177 | NI_SYSCALL /* for vm86 */ |
| 178 | NI_SYSCALL /* old sys_query_module */ |
| 179 | SYSCALL(sys_poll,compat_sys_poll) |
| 180 | NI_SYSCALL /* old nfsservctl */ |
| 181 | SYSCALL(sys_ni_syscall,compat_sys_s390_setresgid16) /* 170 old setresgid16 syscall */ |
| 182 | SYSCALL(sys_ni_syscall,compat_sys_s390_getresgid16) /* old getresgid16 syscall */ |
| 183 | SYSCALL(sys_prctl,compat_sys_prctl) |
| 184 | SYSCALL(sys_rt_sigreturn,compat_sys_rt_sigreturn) |
| 185 | SYSCALL(sys_rt_sigaction,compat_sys_rt_sigaction) |
| 186 | SYSCALL(sys_rt_sigprocmask,compat_sys_rt_sigprocmask) /* 175 */ |
| 187 | SYSCALL(sys_rt_sigpending,compat_sys_rt_sigpending) |
| 188 | SYSCALL(sys_rt_sigtimedwait,compat_sys_rt_sigtimedwait) |
| 189 | SYSCALL(sys_rt_sigqueueinfo,compat_sys_rt_sigqueueinfo) |
| 190 | SYSCALL(sys_rt_sigsuspend,compat_sys_rt_sigsuspend) |
| 191 | SYSCALL(sys_pread64,compat_sys_s390_pread64) /* 180 */ |
| 192 | SYSCALL(sys_pwrite64,compat_sys_s390_pwrite64) |
| 193 | SYSCALL(sys_ni_syscall,compat_sys_s390_chown16) /* old chown16 syscall */ |
| 194 | SYSCALL(sys_getcwd,compat_sys_getcwd) |
| 195 | SYSCALL(sys_capget,compat_sys_capget) |
| 196 | SYSCALL(sys_capset,compat_sys_capset) /* 185 */ |
| 197 | SYSCALL(sys_sigaltstack,compat_sys_sigaltstack) |
| 198 | SYSCALL(sys_sendfile64,compat_sys_sendfile) |
| 199 | NI_SYSCALL /* streams1 */ |
| 200 | NI_SYSCALL /* streams2 */ |
| 201 | SYSCALL(sys_vfork,sys_vfork) /* 190 */ |
| 202 | SYSCALL(sys_getrlimit,compat_sys_getrlimit) |
| 203 | SYSCALL(sys_mmap2,compat_sys_s390_mmap2) |
| 204 | SYSCALL(sys_ni_syscall,compat_sys_s390_truncate64) |
| 205 | SYSCALL(sys_ni_syscall,compat_sys_s390_ftruncate64) |
| 206 | SYSCALL(sys_ni_syscall,compat_sys_s390_stat64) /* 195 */ |
| 207 | SYSCALL(sys_ni_syscall,compat_sys_s390_lstat64) |
| 208 | SYSCALL(sys_ni_syscall,compat_sys_s390_fstat64) |
| 209 | SYSCALL(sys_lchown,compat_sys_lchown) |
| 210 | SYSCALL(sys_getuid,sys_getuid) |
| 211 | SYSCALL(sys_getgid,sys_getgid) /* 200 */ |
| 212 | SYSCALL(sys_geteuid,sys_geteuid) |
| 213 | SYSCALL(sys_getegid,sys_getegid) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 214 | SYSCALL(sys_setreuid,sys_setreuid) |
| 215 | SYSCALL(sys_setregid,sys_setregid) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 216 | SYSCALL(sys_getgroups,compat_sys_getgroups) /* 205 */ |
| 217 | SYSCALL(sys_setgroups,compat_sys_setgroups) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 218 | SYSCALL(sys_fchown,sys_fchown) |
| 219 | SYSCALL(sys_setresuid,sys_setresuid) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 220 | SYSCALL(sys_getresuid,compat_sys_getresuid) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 221 | SYSCALL(sys_setresgid,sys_setresgid) /* 210 */ |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 222 | SYSCALL(sys_getresgid,compat_sys_getresgid) |
| 223 | SYSCALL(sys_chown,compat_sys_chown) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 224 | SYSCALL(sys_setuid,sys_setuid) |
| 225 | SYSCALL(sys_setgid,sys_setgid) |
| 226 | SYSCALL(sys_setfsuid,sys_setfsuid) /* 215 */ |
| 227 | SYSCALL(sys_setfsgid,sys_setfsgid) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 228 | SYSCALL(sys_pivot_root,compat_sys_pivot_root) |
| 229 | SYSCALL(sys_mincore,compat_sys_mincore) |
| 230 | SYSCALL(sys_madvise,compat_sys_madvise) |
| 231 | SYSCALL(sys_getdents64,compat_sys_getdents64) /* 220 */ |
| 232 | SYSCALL(sys_ni_syscall,compat_sys_fcntl64) |
| 233 | SYSCALL(sys_readahead,compat_sys_s390_readahead) |
| 234 | SYSCALL(sys_ni_syscall,compat_sys_sendfile64) |
| 235 | SYSCALL(sys_setxattr,compat_sys_setxattr) |
| 236 | SYSCALL(sys_lsetxattr,compat_sys_lsetxattr) /* 225 */ |
| 237 | SYSCALL(sys_fsetxattr,compat_sys_fsetxattr) |
| 238 | SYSCALL(sys_getxattr,compat_sys_getxattr) |
| 239 | SYSCALL(sys_lgetxattr,compat_sys_lgetxattr) |
| 240 | SYSCALL(sys_fgetxattr,compat_sys_fgetxattr) |
| 241 | SYSCALL(sys_listxattr,compat_sys_listxattr) /* 230 */ |
| 242 | SYSCALL(sys_llistxattr,compat_sys_llistxattr) |
| 243 | SYSCALL(sys_flistxattr,compat_sys_flistxattr) |
| 244 | SYSCALL(sys_removexattr,compat_sys_removexattr) |
| 245 | SYSCALL(sys_lremovexattr,compat_sys_lremovexattr) |
| 246 | SYSCALL(sys_fremovexattr,compat_sys_fremovexattr) /* 235 */ |
| 247 | SYSCALL(sys_gettid,sys_gettid) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 248 | SYSCALL(sys_tkill,sys_tkill) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 249 | SYSCALL(sys_futex,compat_sys_futex) |
| 250 | SYSCALL(sys_sched_setaffinity,compat_sys_sched_setaffinity) |
| 251 | SYSCALL(sys_sched_getaffinity,compat_sys_sched_getaffinity) /* 240 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 252 | SYSCALL(sys_tgkill,sys_tgkill) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 253 | NI_SYSCALL /* reserved for TUX */ |
| 254 | SYSCALL(sys_io_setup,compat_sys_io_setup) |
| 255 | SYSCALL(sys_io_destroy,compat_sys_io_destroy) |
| 256 | SYSCALL(sys_io_getevents,compat_sys_io_getevents) /* 245 */ |
| 257 | SYSCALL(sys_io_submit,compat_sys_io_submit) |
| 258 | SYSCALL(sys_io_cancel,compat_sys_io_cancel) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 259 | SYSCALL(sys_exit_group,sys_exit_group) |
| 260 | SYSCALL(sys_epoll_create,sys_epoll_create) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 261 | SYSCALL(sys_epoll_ctl,compat_sys_epoll_ctl) /* 250 */ |
| 262 | SYSCALL(sys_epoll_wait,compat_sys_epoll_wait) |
| 263 | SYSCALL(sys_set_tid_address,compat_sys_set_tid_address) |
| 264 | SYSCALL(sys_fadvise64_64,compat_sys_s390_fadvise64) |
| 265 | SYSCALL(sys_timer_create,compat_sys_timer_create) |
| 266 | SYSCALL(sys_timer_settime,compat_sys_timer_settime) /* 255 */ |
| 267 | SYSCALL(sys_timer_gettime,compat_sys_timer_gettime) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 268 | SYSCALL(sys_timer_getoverrun,sys_timer_getoverrun) |
| 269 | SYSCALL(sys_timer_delete,sys_timer_delete) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 270 | SYSCALL(sys_clock_settime,compat_sys_clock_settime) |
| 271 | SYSCALL(sys_clock_gettime,compat_sys_clock_gettime) /* 260 */ |
| 272 | SYSCALL(sys_clock_getres,compat_sys_clock_getres) |
| 273 | SYSCALL(sys_clock_nanosleep,compat_sys_clock_nanosleep) |
| 274 | NI_SYSCALL /* reserved for vserver */ |
| 275 | SYSCALL(sys_ni_syscall,compat_sys_s390_fadvise64_64) |
| 276 | SYSCALL(sys_statfs64,compat_sys_statfs64) |
| 277 | SYSCALL(sys_fstatfs64,compat_sys_fstatfs64) |
| 278 | SYSCALL(sys_remap_file_pages,compat_sys_remap_file_pages) |
Philipp Hachtmann | 3a368f7 | 2014-03-06 18:25:13 +0100 | [diff] [blame] | 279 | SYSCALL(sys_mbind,compat_sys_mbind) |
| 280 | SYSCALL(sys_get_mempolicy,compat_sys_get_mempolicy) |
| 281 | SYSCALL(sys_set_mempolicy,compat_sys_set_mempolicy) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 282 | SYSCALL(sys_mq_open,compat_sys_mq_open) |
| 283 | SYSCALL(sys_mq_unlink,compat_sys_mq_unlink) |
| 284 | SYSCALL(sys_mq_timedsend,compat_sys_mq_timedsend) |
| 285 | SYSCALL(sys_mq_timedreceive,compat_sys_mq_timedreceive) |
| 286 | SYSCALL(sys_mq_notify,compat_sys_mq_notify) /* 275 */ |
| 287 | SYSCALL(sys_mq_getsetattr,compat_sys_mq_getsetattr) |
| 288 | SYSCALL(sys_kexec_load,compat_sys_kexec_load) |
| 289 | SYSCALL(sys_add_key,compat_sys_add_key) |
| 290 | SYSCALL(sys_request_key,compat_sys_request_key) |
| 291 | SYSCALL(sys_keyctl,compat_sys_keyctl) /* 280 */ |
| 292 | SYSCALL(sys_waitid,compat_sys_waitid) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 293 | SYSCALL(sys_ioprio_set,sys_ioprio_set) |
| 294 | SYSCALL(sys_ioprio_get,sys_ioprio_get) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 295 | SYSCALL(sys_inotify_init,sys_inotify_init) |
| 296 | SYSCALL(sys_inotify_add_watch,compat_sys_inotify_add_watch) /* 285 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 297 | SYSCALL(sys_inotify_rm_watch,sys_inotify_rm_watch) |
Philipp Hachtmann | 3a368f7 | 2014-03-06 18:25:13 +0100 | [diff] [blame] | 298 | SYSCALL(sys_migrate_pages,compat_sys_migrate_pages) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 299 | SYSCALL(sys_openat,compat_sys_openat) |
| 300 | SYSCALL(sys_mkdirat,compat_sys_mkdirat) |
| 301 | SYSCALL(sys_mknodat,compat_sys_mknodat) /* 290 */ |
| 302 | SYSCALL(sys_fchownat,compat_sys_fchownat) |
| 303 | SYSCALL(sys_futimesat,compat_sys_futimesat) |
| 304 | SYSCALL(sys_newfstatat,compat_sys_s390_fstatat64) |
| 305 | SYSCALL(sys_unlinkat,compat_sys_unlinkat) |
| 306 | SYSCALL(sys_renameat,compat_sys_renameat) /* 295 */ |
| 307 | SYSCALL(sys_linkat,compat_sys_linkat) |
| 308 | SYSCALL(sys_symlinkat,compat_sys_symlinkat) |
| 309 | SYSCALL(sys_readlinkat,compat_sys_readlinkat) |
| 310 | SYSCALL(sys_fchmodat,compat_sys_fchmodat) |
| 311 | SYSCALL(sys_faccessat,compat_sys_faccessat) /* 300 */ |
| 312 | SYSCALL(sys_pselect6,compat_sys_pselect6) |
| 313 | SYSCALL(sys_ppoll,compat_sys_ppoll) |
| 314 | SYSCALL(sys_unshare,compat_sys_unshare) |
| 315 | SYSCALL(sys_set_robust_list,compat_sys_set_robust_list) |
| 316 | SYSCALL(sys_get_robust_list,compat_sys_get_robust_list) |
| 317 | SYSCALL(sys_splice,compat_sys_splice) |
| 318 | SYSCALL(sys_sync_file_range,compat_sys_s390_sync_file_range) |
| 319 | SYSCALL(sys_tee,compat_sys_tee) |
| 320 | SYSCALL(sys_vmsplice,compat_sys_vmsplice) |
Philipp Hachtmann | 3a368f7 | 2014-03-06 18:25:13 +0100 | [diff] [blame] | 321 | SYSCALL(sys_move_pages,compat_sys_move_pages) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 322 | SYSCALL(sys_getcpu,compat_sys_getcpu) |
| 323 | SYSCALL(sys_epoll_pwait,compat_sys_epoll_pwait) |
| 324 | SYSCALL(sys_utimes,compat_sys_utimes) |
| 325 | SYSCALL(sys_fallocate,compat_sys_s390_fallocate) |
| 326 | SYSCALL(sys_utimensat,compat_sys_utimensat) /* 315 */ |
| 327 | SYSCALL(sys_signalfd,compat_sys_signalfd) |
Davide Libenzi | 4d672e7 | 2008-02-04 22:27:26 -0800 | [diff] [blame] | 328 | NI_SYSCALL /* 317 old sys_timer_fd */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 329 | SYSCALL(sys_eventfd,sys_eventfd) |
| 330 | SYSCALL(sys_timerfd_create,sys_timerfd_create) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 331 | SYSCALL(sys_timerfd_settime,compat_sys_timerfd_settime) /* 320 */ |
| 332 | SYSCALL(sys_timerfd_gettime,compat_sys_timerfd_gettime) |
| 333 | SYSCALL(sys_signalfd4,compat_sys_signalfd4) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 334 | SYSCALL(sys_eventfd2,sys_eventfd2) |
| 335 | SYSCALL(sys_inotify_init1,sys_inotify_init1) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 336 | SYSCALL(sys_pipe2,compat_sys_pipe2) /* 325 */ |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 337 | SYSCALL(sys_dup3,sys_dup3) |
| 338 | SYSCALL(sys_epoll_create1,sys_epoll_create1) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 339 | SYSCALL(sys_preadv,compat_sys_preadv) |
| 340 | SYSCALL(sys_pwritev,compat_sys_pwritev) |
| 341 | SYSCALL(sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo) /* 330 */ |
| 342 | SYSCALL(sys_perf_event_open,compat_sys_perf_event_open) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 343 | SYSCALL(sys_fanotify_init,sys_fanotify_init) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 344 | SYSCALL(sys_fanotify_mark,compat_sys_fanotify_mark) |
| 345 | SYSCALL(sys_prlimit64,compat_sys_prlimit64) |
| 346 | SYSCALL(sys_name_to_handle_at,compat_sys_name_to_handle_at) /* 335 */ |
| 347 | SYSCALL(sys_open_by_handle_at,compat_sys_open_by_handle_at) |
| 348 | SYSCALL(sys_clock_adjtime,compat_sys_clock_adjtime) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 349 | SYSCALL(sys_syncfs,sys_syncfs) |
| 350 | SYSCALL(sys_setns,sys_setns) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 351 | SYSCALL(sys_process_vm_readv,compat_sys_process_vm_readv) /* 340 */ |
| 352 | SYSCALL(sys_process_vm_writev,compat_sys_process_vm_writev) |
Heiko Carstens | 7681df4 | 2015-09-17 18:30:35 +0200 | [diff] [blame] | 353 | SYSCALL(sys_s390_runtime_instr,sys_s390_runtime_instr) |
Heiko Carstens | a876cb3 | 2015-02-13 14:44:29 +0100 | [diff] [blame] | 354 | SYSCALL(sys_kcmp,compat_sys_kcmp) |
| 355 | SYSCALL(sys_finit_module,compat_sys_finit_module) |
| 356 | SYSCALL(sys_sched_setattr,compat_sys_sched_setattr) /* 345 */ |
| 357 | SYSCALL(sys_sched_getattr,compat_sys_sched_getattr) |
| 358 | SYSCALL(sys_renameat2,compat_sys_renameat2) |
| 359 | SYSCALL(sys_seccomp,compat_sys_seccomp) |
| 360 | SYSCALL(sys_getrandom,compat_sys_getrandom) |
| 361 | SYSCALL(sys_memfd_create,compat_sys_memfd_create) /* 350 */ |
| 362 | SYSCALL(sys_bpf,compat_sys_bpf) |
| 363 | SYSCALL(sys_s390_pci_mmio_write,compat_sys_s390_pci_mmio_write) |
| 364 | SYSCALL(sys_s390_pci_mmio_read,compat_sys_s390_pci_mmio_read) |
| 365 | SYSCALL(sys_execveat,compat_sys_execveat) |
Heiko Carstens | 0224357 | 2015-09-09 09:39:58 +0200 | [diff] [blame] | 366 | SYSCALL(sys_userfaultfd,sys_userfaultfd) /* 355 */ |
Mathieu Desnoyers | 96d4ee8 | 2015-09-07 12:15:56 -0400 | [diff] [blame] | 367 | SYSCALL(sys_membarrier,sys_membarrier) |
Heiko Carstens | 977108f | 2015-09-17 18:30:36 +0200 | [diff] [blame] | 368 | SYSCALL(sys_recvmmsg,compat_sys_recvmmsg) |
| 369 | SYSCALL(sys_sendmmsg,compat_sys_sendmmsg) |
| 370 | SYSCALL(sys_socket,sys_socket) |
| 371 | SYSCALL(sys_socketpair,compat_sys_socketpair) /* 360 */ |
| 372 | SYSCALL(sys_bind,sys_bind) |
| 373 | SYSCALL(sys_connect,sys_connect) |
| 374 | SYSCALL(sys_listen,sys_listen) |
| 375 | SYSCALL(sys_accept4,sys_accept4) |
| 376 | SYSCALL(sys_getsockopt,compat_sys_getsockopt) /* 365 */ |
| 377 | SYSCALL(sys_setsockopt,compat_sys_setsockopt) |
| 378 | SYSCALL(sys_getsockname,compat_sys_getsockname) |
| 379 | SYSCALL(sys_getpeername,compat_sys_getpeername) |
| 380 | SYSCALL(sys_sendto,compat_sys_sendto) |
| 381 | SYSCALL(sys_sendmsg,compat_sys_sendmsg) /* 370 */ |
| 382 | SYSCALL(sys_recvfrom,compat_sys_recvfrom) |
| 383 | SYSCALL(sys_recvmsg,compat_sys_recvmsg) |
| 384 | SYSCALL(sys_shutdown,sys_shutdown) |
Heiko Carstens | 932f608 | 2015-11-16 12:31:33 +0100 | [diff] [blame] | 385 | SYSCALL(sys_mlock2,compat_sys_mlock2) |
Heiko Carstens | 696aafd | 2016-01-19 10:19:02 +0100 | [diff] [blame] | 386 | SYSCALL(sys_copy_file_range,compat_sys_copy_file_range) /* 375 */ |
Heiko Carstens | 3358999 | 2016-03-21 13:48:43 +0100 | [diff] [blame] | 387 | SYSCALL(sys_preadv2,compat_sys_preadv2) |
| 388 | SYSCALL(sys_pwritev2,compat_sys_pwritev2) |
Heiko Carstens | 8bd49ac | 2017-03-06 09:57:17 +0100 | [diff] [blame] | 389 | NI_SYSCALL |
| 390 | SYSCALL(sys_statx,compat_sys_statx) |