syscalls.S 21.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11
/*
 * definitions for sys_call_table, each line represents an
 * entry in the table in the form 
 * SYSCALL(31 bit syscall, 64 bit syscall, 31 bit emulated syscall)
 *
 * this file is meant to be included from entry.S and entry64.S
 */

#define NI_SYSCALL SYSCALL(sys_ni_syscall,sys_ni_syscall,sys_ni_syscall)

NI_SYSCALL							/* 0 */
12
SYSCALL(sys_exit,sys_exit,compat_sys_exit)
M
Martin Schwidefsky 已提交
13
SYSCALL(sys_fork,sys_fork,sys_fork)
14 15
SYSCALL(sys_read,sys_read,compat_sys_s390_read)
SYSCALL(sys_write,sys_write,compat_sys_s390_write)
A
Al Viro 已提交
16
SYSCALL(sys_open,sys_open,compat_sys_open)			/* 5 */
17
SYSCALL(sys_close,sys_close,compat_sys_close)
L
Linus Torvalds 已提交
18
SYSCALL(sys_restart_syscall,sys_restart_syscall,sys_restart_syscall)
19 20 21
SYSCALL(sys_creat,sys_creat,compat_sys_creat)
SYSCALL(sys_link,sys_link,compat_sys_link)
SYSCALL(sys_unlink,sys_unlink,compat_sys_unlink)		/* 10 */
22
SYSCALL(sys_execve,sys_execve,compat_sys_execve)
23
SYSCALL(sys_chdir,sys_chdir,compat_sys_chdir)
24
SYSCALL(sys_time,sys_ni_syscall,compat_sys_time)		/* old time syscall */
25 26
SYSCALL(sys_mknod,sys_mknod,compat_sys_mknod)
SYSCALL(sys_chmod,sys_chmod,compat_sys_chmod)			/* 15 */
27
SYSCALL(sys_lchown16,sys_ni_syscall,compat_sys_s390_lchown16)	/* old lchown16 syscall*/
L
Linus Torvalds 已提交
28 29
NI_SYSCALL							/* old break syscall holder */
NI_SYSCALL							/* old stat syscall holder */
A
Al Viro 已提交
30
SYSCALL(sys_lseek,sys_lseek,compat_sys_lseek)
L
Linus Torvalds 已提交
31
SYSCALL(sys_getpid,sys_getpid,sys_getpid)			/* 20 */
32
SYSCALL(sys_mount,sys_mount,compat_sys_mount)
33
SYSCALL(sys_oldumount,sys_oldumount,compat_sys_oldumount)
34
SYSCALL(sys_setuid16,sys_ni_syscall,compat_sys_s390_setuid16)	/* old setuid16 syscall*/
35
SYSCALL(sys_getuid16,sys_ni_syscall,compat_sys_s390_getuid16)	/* old getuid16 syscall*/
36 37
SYSCALL(sys_stime,sys_ni_syscall,compat_sys_stime)		/* 25 old stime syscall */
SYSCALL(sys_ptrace,sys_ptrace,compat_sys_ptrace)
38
SYSCALL(sys_alarm,sys_alarm,compat_sys_alarm)
L
Linus Torvalds 已提交
39
NI_SYSCALL							/* old fstat syscall */
40
SYSCALL(sys_pause,sys_pause,sys_pause)
41
SYSCALL(sys_utime,sys_utime,compat_sys_utime)		/* 30 */
L
Linus Torvalds 已提交
42 43
NI_SYSCALL							/* old stty syscall */
NI_SYSCALL							/* old gtty syscall */
44 45
SYSCALL(sys_access,sys_access,compat_sys_access)
SYSCALL(sys_nice,sys_nice,compat_sys_nice)
L
Linus Torvalds 已提交
46 47
NI_SYSCALL							/* 35 old ftime syscall */
SYSCALL(sys_sync,sys_sync,sys_sync)
48 49 50 51 52 53
SYSCALL(sys_kill,sys_kill,compat_sys_kill)
SYSCALL(sys_rename,sys_rename,compat_sys_rename)
SYSCALL(sys_mkdir,sys_mkdir,compat_sys_mkdir)
SYSCALL(sys_rmdir,sys_rmdir,compat_sys_rmdir)		/* 40 */
SYSCALL(sys_dup,sys_dup,compat_sys_dup)
SYSCALL(sys_pipe,sys_pipe,compat_sys_pipe)
54
SYSCALL(sys_times,sys_times,compat_sys_times)
L
Linus Torvalds 已提交
55
NI_SYSCALL							/* old prof syscall */
56
SYSCALL(sys_brk,sys_brk,compat_sys_brk)				/* 45 */
57
SYSCALL(sys_setgid16,sys_ni_syscall,compat_sys_s390_setgid16)	/* old setgid16 syscall*/
58
SYSCALL(sys_getgid16,sys_ni_syscall,compat_sys_s390_getgid16)	/* old getgid16 syscall*/
59
SYSCALL(sys_signal,sys_signal,compat_sys_signal)
60 61
SYSCALL(sys_geteuid16,sys_ni_syscall,compat_sys_s390_geteuid16)	/* old geteuid16 syscall */
SYSCALL(sys_getegid16,sys_ni_syscall,compat_sys_s390_getegid16)	/* 50 old getegid16 syscall */
62 63
SYSCALL(sys_acct,sys_acct,compat_sys_acct)
SYSCALL(sys_umount,sys_umount,compat_sys_umount)
L
Linus Torvalds 已提交
64
NI_SYSCALL							/* old lock syscall */
65 66
SYSCALL(sys_ioctl,sys_ioctl,compat_sys_ioctl)
SYSCALL(sys_fcntl,sys_fcntl,compat_sys_fcntl)		/* 55 */
L
Linus Torvalds 已提交
67
NI_SYSCALL							/* intel mpx syscall */
68
SYSCALL(sys_setpgid,sys_setpgid,compat_sys_setpgid)
L
Linus Torvalds 已提交
69 70
NI_SYSCALL							/* old ulimit syscall */
NI_SYSCALL							/* old uname syscall */
71 72
SYSCALL(sys_umask,sys_umask,compat_sys_umask)			/* 60 */
SYSCALL(sys_chroot,sys_chroot,compat_sys_chroot)
73
SYSCALL(sys_ustat,sys_ustat,compat_sys_ustat)
74
SYSCALL(sys_dup2,sys_dup2,compat_sys_dup2)
L
Linus Torvalds 已提交
75 76 77
SYSCALL(sys_getppid,sys_getppid,sys_getppid)
SYSCALL(sys_getpgrp,sys_getpgrp,sys_getpgrp)			/* 65 */
SYSCALL(sys_setsid,sys_setsid,sys_setsid)
A
Al Viro 已提交
78
SYSCALL(sys_sigaction,sys_sigaction,compat_sys_sigaction)
L
Linus Torvalds 已提交
79 80
NI_SYSCALL							/* old sgetmask syscall*/
NI_SYSCALL							/* old ssetmask syscall*/
81
SYSCALL(sys_setreuid16,sys_ni_syscall,compat_sys_s390_setreuid16) /* old setreuid16 syscall */
82
SYSCALL(sys_setregid16,sys_ni_syscall,compat_sys_s390_setregid16) /* old setregid16 syscall */
83
SYSCALL(sys_sigsuspend,sys_sigsuspend,compat_sys_sigsuspend)
84
SYSCALL(sys_sigpending,sys_sigpending,compat_sys_sigpending)
85
SYSCALL(sys_sethostname,sys_sethostname,compat_sys_sethostname)
86 87
SYSCALL(sys_setrlimit,sys_setrlimit,compat_sys_setrlimit)	/* 75 */
SYSCALL(sys_old_getrlimit,sys_getrlimit,compat_sys_old_getrlimit)
88
SYSCALL(sys_getrusage,sys_getrusage,compat_sys_getrusage)
89 90
SYSCALL(sys_gettimeofday,sys_gettimeofday,compat_sys_gettimeofday)
SYSCALL(sys_settimeofday,sys_settimeofday,compat_sys_settimeofday)
91 92
SYSCALL(sys_getgroups16,sys_ni_syscall,compat_sys_s390_getgroups16)	/* 80 old getgroups16 syscall */
SYSCALL(sys_setgroups16,sys_ni_syscall,compat_sys_s390_setgroups16)	/* old setgroups16 syscall */
L
Linus Torvalds 已提交
93
NI_SYSCALL							/* old select syscall */
94
SYSCALL(sys_symlink,sys_symlink,compat_sys_symlink)
L
Linus Torvalds 已提交
95
NI_SYSCALL							/* old lstat syscall */
96 97 98
SYSCALL(sys_readlink,sys_readlink,compat_sys_readlink)		/* 85 */
SYSCALL(sys_uselib,sys_uselib,compat_sys_uselib)
SYSCALL(sys_swapon,sys_swapon,compat_sys_swapon)
99
SYSCALL(sys_reboot,sys_reboot,compat_sys_reboot)
100
SYSCALL(sys_ni_syscall,sys_ni_syscall,compat_sys_old_readdir)	/* old readdir syscall */
101
SYSCALL(sys_old_mmap,sys_old_mmap,compat_sys_s390_old_mmap)	/* 90 */
102
SYSCALL(sys_munmap,sys_munmap,compat_sys_munmap)
A
Al Viro 已提交
103 104
SYSCALL(sys_truncate,sys_truncate,compat_sys_truncate)
SYSCALL(sys_ftruncate,sys_ftruncate,compat_sys_ftruncate)
105
SYSCALL(sys_fchmod,sys_fchmod,compat_sys_fchmod)
106
SYSCALL(sys_fchown16,sys_ni_syscall,compat_sys_s390_fchown16)	/* 95 old fchown16 syscall*/
107 108
SYSCALL(sys_getpriority,sys_getpriority,compat_sys_getpriority)
SYSCALL(sys_setpriority,sys_setpriority,compat_sys_setpriority)
L
Linus Torvalds 已提交
109
NI_SYSCALL							/* old profil syscall */
110 111
SYSCALL(sys_statfs,sys_statfs,compat_sys_statfs)
SYSCALL(sys_fstatfs,sys_fstatfs,compat_sys_fstatfs)	/* 100 */
L
Linus Torvalds 已提交
112
NI_SYSCALL							/* ioperm for i386 */
113
SYSCALL(sys_socketcall,sys_socketcall,compat_sys_socketcall)
114
SYSCALL(sys_syslog,sys_syslog,compat_sys_syslog)
A
Al Viro 已提交
115 116
SYSCALL(sys_setitimer,sys_setitimer,compat_sys_setitimer)
SYSCALL(sys_getitimer,sys_getitimer,compat_sys_getitimer)	/* 105 */
117 118 119
SYSCALL(sys_newstat,sys_newstat,compat_sys_newstat)
SYSCALL(sys_newlstat,sys_newlstat,compat_sys_newlstat)
SYSCALL(sys_newfstat,sys_newfstat,compat_sys_newfstat)
L
Linus Torvalds 已提交
120
NI_SYSCALL							/* old uname syscall */
A
Al Viro 已提交
121
SYSCALL(sys_lookup_dcookie,sys_lookup_dcookie,compat_sys_lookup_dcookie)	/* 110 */
L
Linus Torvalds 已提交
122 123 124
SYSCALL(sys_vhangup,sys_vhangup,sys_vhangup)
NI_SYSCALL							/* old "idle" system call */
NI_SYSCALL							/* vm86old for i386 */
A
Al Viro 已提交
125
SYSCALL(sys_wait4,sys_wait4,compat_sys_wait4)
126
SYSCALL(sys_swapoff,sys_swapoff,compat_sys_swapoff)		/* 115 */
127
SYSCALL(sys_sysinfo,sys_sysinfo,compat_sys_sysinfo)
A
Al Viro 已提交
128
SYSCALL(sys_s390_ipc,sys_s390_ipc,compat_sys_s390_ipc)
129
SYSCALL(sys_fsync,sys_fsync,compat_sys_fsync)
130
SYSCALL(sys_sigreturn,sys_sigreturn,compat_sys_sigreturn)
131
SYSCALL(sys_clone,sys_clone,compat_sys_clone)			/* 120 */
132 133
SYSCALL(sys_setdomainname,sys_setdomainname,compat_sys_setdomainname)
SYSCALL(sys_newuname,sys_newuname,compat_sys_newuname)
L
Linus Torvalds 已提交
134
NI_SYSCALL							/* modify_ldt for i386 */
135
SYSCALL(sys_adjtimex,sys_adjtimex,compat_sys_adjtimex)
136
SYSCALL(sys_mprotect,sys_mprotect,compat_sys_mprotect)		/* 125 */
A
Al Viro 已提交
137
SYSCALL(sys_sigprocmask,sys_sigprocmask,compat_sys_sigprocmask)
L
Linus Torvalds 已提交
138
NI_SYSCALL							/* old "create module" */
139 140
SYSCALL(sys_init_module,sys_init_module,compat_sys_init_module)
SYSCALL(sys_delete_module,sys_delete_module,compat_sys_delete_module)
L
Linus Torvalds 已提交
141
NI_SYSCALL							/* 130: old get_kernel_syms */
142 143 144 145 146 147
SYSCALL(sys_quotactl,sys_quotactl,compat_sys_quotactl)
SYSCALL(sys_getpgid,sys_getpgid,compat_sys_getpgid)
SYSCALL(sys_fchdir,sys_fchdir,compat_sys_fchdir)
SYSCALL(sys_bdflush,sys_bdflush,compat_sys_bdflush)
SYSCALL(sys_sysfs,sys_sysfs,compat_sys_sysfs)		/* 135 */
SYSCALL(sys_personality,sys_s390_personality,compat_sys_s390_personality)
L
Linus Torvalds 已提交
148
NI_SYSCALL							/* for afs_syscall */
149 150
SYSCALL(sys_setfsuid16,sys_ni_syscall,compat_sys_s390_setfsuid16)	/* old setfsuid16 syscall */
SYSCALL(sys_setfsgid16,sys_ni_syscall,compat_sys_s390_setfsgid16)	/* old setfsgid16 syscall */
151
SYSCALL(sys_llseek,sys_llseek,compat_sys_llseek)		/* 140 */
152 153
SYSCALL(sys_getdents,sys_getdents,compat_sys_getdents)
SYSCALL(sys_select,sys_select,compat_sys_select)
154 155
SYSCALL(sys_flock,sys_flock,compat_sys_flock)
SYSCALL(sys_msync,sys_msync,compat_sys_msync)
156 157
SYSCALL(sys_readv,sys_readv,compat_sys_readv)		/* 145 */
SYSCALL(sys_writev,sys_writev,compat_sys_writev)
158 159
SYSCALL(sys_getsid,sys_getsid,compat_sys_getsid)
SYSCALL(sys_fdatasync,sys_fdatasync,compat_sys_fdatasync)
160
SYSCALL(sys_sysctl,sys_sysctl,compat_sys_sysctl)
161 162 163
SYSCALL(sys_mlock,sys_mlock,compat_sys_mlock)			/* 150 */
SYSCALL(sys_munlock,sys_munlock,compat_sys_munlock)
SYSCALL(sys_mlockall,sys_mlockall,compat_sys_mlockall)
L
Linus Torvalds 已提交
164
SYSCALL(sys_munlockall,sys_munlockall,sys_munlockall)
165 166 167
SYSCALL(sys_sched_setparam,sys_sched_setparam,compat_sys_sched_setparam)
SYSCALL(sys_sched_getparam,sys_sched_getparam,compat_sys_sched_getparam)	/* 155 */
SYSCALL(sys_sched_setscheduler,sys_sched_setscheduler,compat_sys_sched_setscheduler)
168
SYSCALL(sys_sched_getscheduler,sys_sched_getscheduler,compat_sys_sched_getscheduler)
L
Linus Torvalds 已提交
169
SYSCALL(sys_sched_yield,sys_sched_yield,sys_sched_yield)
170 171
SYSCALL(sys_sched_get_priority_max,sys_sched_get_priority_max,compat_sys_sched_get_priority_max)
SYSCALL(sys_sched_get_priority_min,sys_sched_get_priority_min,compat_sys_sched_get_priority_min)	/* 160 */
A
Al Viro 已提交
172
SYSCALL(sys_sched_rr_get_interval,sys_sched_rr_get_interval,compat_sys_sched_rr_get_interval)
173
SYSCALL(sys_nanosleep,sys_nanosleep,compat_sys_nanosleep)
174
SYSCALL(sys_mremap,sys_mremap,compat_sys_mremap)
175 176
SYSCALL(sys_setresuid16,sys_ni_syscall,compat_sys_s390_setresuid16)	/* old setresuid16 syscall */
SYSCALL(sys_getresuid16,sys_ni_syscall,compat_sys_s390_getresuid16)	/* 165 old getresuid16 syscall */
L
Linus Torvalds 已提交
177 178
NI_SYSCALL							/* for vm86 */
NI_SYSCALL							/* old sys_query_module */
179
SYSCALL(sys_poll,sys_poll,compat_sys_poll)
180
NI_SYSCALL							/* old nfsservctl */
181
SYSCALL(sys_setresgid16,sys_ni_syscall,compat_sys_s390_setresgid16)	/* 170 old setresgid16 syscall */
182
SYSCALL(sys_getresgid16,sys_ni_syscall,compat_sys_s390_getresgid16)	/* old getresgid16 syscall */
183
SYSCALL(sys_prctl,sys_prctl,compat_sys_prctl)
184
SYSCALL(sys_rt_sigreturn,sys_rt_sigreturn,compat_sys_rt_sigreturn)
A
Al Viro 已提交
185 186 187 188 189 190
SYSCALL(sys_rt_sigaction,sys_rt_sigaction,compat_sys_rt_sigaction)
SYSCALL(sys_rt_sigprocmask,sys_rt_sigprocmask,compat_sys_rt_sigprocmask) /* 175 */
SYSCALL(sys_rt_sigpending,sys_rt_sigpending,compat_sys_rt_sigpending)
SYSCALL(sys_rt_sigtimedwait,sys_rt_sigtimedwait,compat_sys_rt_sigtimedwait)
SYSCALL(sys_rt_sigqueueinfo,sys_rt_sigqueueinfo,compat_sys_rt_sigqueueinfo)
SYSCALL(sys_rt_sigsuspend,sys_rt_sigsuspend,compat_sys_rt_sigsuspend)
191 192
SYSCALL(sys_pread64,sys_pread64,compat_sys_s390_pread64)		/* 180 */
SYSCALL(sys_pwrite64,sys_pwrite64,compat_sys_s390_pwrite64)
193
SYSCALL(sys_chown16,sys_ni_syscall,compat_sys_s390_chown16)	/* old chown16 syscall */
194 195 196
SYSCALL(sys_getcwd,sys_getcwd,compat_sys_getcwd)
SYSCALL(sys_capget,sys_capget,compat_sys_capget)
SYSCALL(sys_capset,sys_capset,compat_sys_capset)		/* 185 */
A
Al Viro 已提交
197
SYSCALL(sys_sigaltstack,sys_sigaltstack,compat_sys_sigaltstack)
198
SYSCALL(sys_sendfile,sys_sendfile64,compat_sys_sendfile)
L
Linus Torvalds 已提交
199 200
NI_SYSCALL							/* streams1 */
NI_SYSCALL							/* streams2 */
M
Martin Schwidefsky 已提交
201
SYSCALL(sys_vfork,sys_vfork,sys_vfork)				/* 190 */
202
SYSCALL(sys_getrlimit,sys_getrlimit,compat_sys_getrlimit)
203
SYSCALL(sys_mmap2,sys_mmap2,compat_sys_s390_mmap2)
204
SYSCALL(sys_truncate64,sys_ni_syscall,compat_sys_s390_truncate64)
205 206
SYSCALL(sys_ftruncate64,sys_ni_syscall,compat_sys_s390_ftruncate64)
SYSCALL(sys_stat64,sys_ni_syscall,compat_sys_s390_stat64)		/* 195 */
207 208
SYSCALL(sys_lstat64,sys_ni_syscall,compat_sys_s390_lstat64)
SYSCALL(sys_fstat64,sys_ni_syscall,compat_sys_s390_fstat64)
209
SYSCALL(sys_lchown,sys_lchown,compat_sys_lchown)
L
Linus Torvalds 已提交
210 211 212 213
SYSCALL(sys_getuid,sys_getuid,sys_getuid)
SYSCALL(sys_getgid,sys_getgid,sys_getgid)			/* 200 */
SYSCALL(sys_geteuid,sys_geteuid,sys_geteuid)
SYSCALL(sys_getegid,sys_getegid,sys_getegid)
214 215 216 217 218 219 220 221 222 223
SYSCALL(sys_setreuid,sys_setreuid,compat_sys_setreuid)
SYSCALL(sys_setregid,sys_setregid,compat_sys_setregid)
SYSCALL(sys_getgroups,sys_getgroups,compat_sys_getgroups)	/* 205 */
SYSCALL(sys_setgroups,sys_setgroups,compat_sys_setgroups)
SYSCALL(sys_fchown,sys_fchown,compat_sys_fchown)
SYSCALL(sys_setresuid,sys_setresuid,compat_sys_setresuid)
SYSCALL(sys_getresuid,sys_getresuid,compat_sys_getresuid)
SYSCALL(sys_setresgid,sys_setresgid,compat_sys_setresgid)	/* 210 */
SYSCALL(sys_getresgid,sys_getresgid,compat_sys_getresgid)
SYSCALL(sys_chown,sys_chown,compat_sys_chown)
224 225 226 227 228 229 230
SYSCALL(sys_setuid,sys_setuid,compat_sys_setuid)
SYSCALL(sys_setgid,sys_setgid,compat_sys_setgid)
SYSCALL(sys_setfsuid,sys_setfsuid,compat_sys_setfsuid)	/* 215 */
SYSCALL(sys_setfsgid,sys_setfsgid,compat_sys_setfsgid)
SYSCALL(sys_pivot_root,sys_pivot_root,compat_sys_pivot_root)
SYSCALL(sys_mincore,sys_mincore,compat_sys_mincore)
SYSCALL(sys_madvise,sys_madvise,compat_sys_madvise)
231
SYSCALL(sys_getdents64,sys_getdents64,compat_sys_getdents64)	/* 220 */
232
SYSCALL(sys_fcntl64,sys_ni_syscall,compat_sys_fcntl64)
233
SYSCALL(sys_readahead,sys_readahead,compat_sys_s390_readahead)
234
SYSCALL(sys_sendfile64,sys_ni_syscall,compat_sys_sendfile64)
235 236 237
SYSCALL(sys_setxattr,sys_setxattr,compat_sys_setxattr)
SYSCALL(sys_lsetxattr,sys_lsetxattr,compat_sys_lsetxattr)	/* 225 */
SYSCALL(sys_fsetxattr,sys_fsetxattr,compat_sys_fsetxattr)
238 239 240 241 242 243 244 245 246
SYSCALL(sys_getxattr,sys_getxattr,compat_sys_getxattr)
SYSCALL(sys_lgetxattr,sys_lgetxattr,compat_sys_lgetxattr)
SYSCALL(sys_fgetxattr,sys_fgetxattr,compat_sys_fgetxattr)
SYSCALL(sys_listxattr,sys_listxattr,compat_sys_listxattr)	/* 230 */
SYSCALL(sys_llistxattr,sys_llistxattr,compat_sys_llistxattr)
SYSCALL(sys_flistxattr,sys_flistxattr,compat_sys_flistxattr)
SYSCALL(sys_removexattr,sys_removexattr,compat_sys_removexattr)
SYSCALL(sys_lremovexattr,sys_lremovexattr,compat_sys_lremovexattr)
SYSCALL(sys_fremovexattr,sys_fremovexattr,compat_sys_fremovexattr)	/* 235 */
L
Linus Torvalds 已提交
247
SYSCALL(sys_gettid,sys_gettid,sys_gettid)
248
SYSCALL(sys_tkill,sys_tkill,compat_sys_tkill)
A
Al Viro 已提交
249
SYSCALL(sys_futex,sys_futex,compat_sys_futex)
250 251
SYSCALL(sys_sched_setaffinity,sys_sched_setaffinity,compat_sys_sched_setaffinity)
SYSCALL(sys_sched_getaffinity,sys_sched_getaffinity,compat_sys_sched_getaffinity)	/* 240 */
252
SYSCALL(sys_tgkill,sys_tgkill,compat_sys_tgkill)
L
Linus Torvalds 已提交
253
NI_SYSCALL							/* reserved for TUX */
254
SYSCALL(sys_io_setup,sys_io_setup,compat_sys_io_setup)
255
SYSCALL(sys_io_destroy,sys_io_destroy,compat_sys_io_destroy)
256 257
SYSCALL(sys_io_getevents,sys_io_getevents,compat_sys_io_getevents)	/* 245 */
SYSCALL(sys_io_submit,sys_io_submit,compat_sys_io_submit)
258 259 260 261 262 263
SYSCALL(sys_io_cancel,sys_io_cancel,compat_sys_io_cancel)
SYSCALL(sys_exit_group,sys_exit_group,compat_sys_exit_group)
SYSCALL(sys_epoll_create,sys_epoll_create,compat_sys_epoll_create)
SYSCALL(sys_epoll_ctl,sys_epoll_ctl,compat_sys_epoll_ctl)	/* 250 */
SYSCALL(sys_epoll_wait,sys_epoll_wait,compat_sys_epoll_wait)
SYSCALL(sys_set_tid_address,sys_set_tid_address,compat_sys_set_tid_address)
264
SYSCALL(sys_s390_fadvise64,sys_fadvise64_64,compat_sys_s390_fadvise64)
265 266 267
SYSCALL(sys_timer_create,sys_timer_create,compat_sys_timer_create)
SYSCALL(sys_timer_settime,sys_timer_settime,compat_sys_timer_settime)	/* 255 */
SYSCALL(sys_timer_gettime,sys_timer_gettime,compat_sys_timer_gettime)
268 269
SYSCALL(sys_timer_getoverrun,sys_timer_getoverrun,compat_sys_timer_getoverrun)
SYSCALL(sys_timer_delete,sys_timer_delete,compat_sys_timer_delete)
270 271 272 273
SYSCALL(sys_clock_settime,sys_clock_settime,compat_sys_clock_settime)
SYSCALL(sys_clock_gettime,sys_clock_gettime,compat_sys_clock_gettime)	/* 260 */
SYSCALL(sys_clock_getres,sys_clock_getres,compat_sys_clock_getres)
SYSCALL(sys_clock_nanosleep,sys_clock_nanosleep,compat_sys_clock_nanosleep)
L
Linus Torvalds 已提交
274
NI_SYSCALL							/* reserved for vserver */
275
SYSCALL(sys_s390_fadvise64_64,sys_ni_syscall,compat_sys_s390_fadvise64_64)
276 277
SYSCALL(sys_statfs64,sys_statfs64,compat_sys_statfs64)
SYSCALL(sys_fstatfs64,sys_fstatfs64,compat_sys_fstatfs64)
278
SYSCALL(sys_remap_file_pages,sys_remap_file_pages,compat_sys_remap_file_pages)
L
Linus Torvalds 已提交
279 280 281
NI_SYSCALL							/* 268 sys_mbind */
NI_SYSCALL							/* 269 sys_get_mempolicy */
NI_SYSCALL							/* 270 sys_set_mempolicy */
282
SYSCALL(sys_mq_open,sys_mq_open,compat_sys_mq_open)
283
SYSCALL(sys_mq_unlink,sys_mq_unlink,compat_sys_mq_unlink)
284 285 286 287 288
SYSCALL(sys_mq_timedsend,sys_mq_timedsend,compat_sys_mq_timedsend)
SYSCALL(sys_mq_timedreceive,sys_mq_timedreceive,compat_sys_mq_timedreceive)
SYSCALL(sys_mq_notify,sys_mq_notify,compat_sys_mq_notify) /* 275 */
SYSCALL(sys_mq_getsetattr,sys_mq_getsetattr,compat_sys_mq_getsetattr)
SYSCALL(sys_kexec_load,sys_kexec_load,compat_sys_kexec_load)
289 290
SYSCALL(sys_add_key,sys_add_key,compat_sys_add_key)
SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key)
291
SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl)		/* 280 */
A
Al Viro 已提交
292
SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid)
293 294
SYSCALL(sys_ioprio_set,sys_ioprio_set,compat_sys_ioprio_set)
SYSCALL(sys_ioprio_get,sys_ioprio_get,compat_sys_ioprio_get)
295
SYSCALL(sys_inotify_init,sys_inotify_init,sys_inotify_init)
296 297
SYSCALL(sys_inotify_add_watch,sys_inotify_add_watch,compat_sys_inotify_add_watch)	/* 285 */
SYSCALL(sys_inotify_rm_watch,sys_inotify_rm_watch,compat_sys_inotify_rm_watch)
298
NI_SYSCALL							/* 287 sys_migrate_pages */
A
Al Viro 已提交
299
SYSCALL(sys_openat,sys_openat,compat_sys_openat)
300 301 302
SYSCALL(sys_mkdirat,sys_mkdirat,compat_sys_mkdirat)
SYSCALL(sys_mknodat,sys_mknodat,compat_sys_mknodat)	/* 290 */
SYSCALL(sys_fchownat,sys_fchownat,compat_sys_fchownat)
303
SYSCALL(sys_futimesat,sys_futimesat,compat_sys_futimesat)
304
SYSCALL(sys_fstatat64,sys_newfstatat,compat_sys_s390_fstatat64)
305 306 307 308 309 310 311
SYSCALL(sys_unlinkat,sys_unlinkat,compat_sys_unlinkat)
SYSCALL(sys_renameat,sys_renameat,compat_sys_renameat)	/* 295 */
SYSCALL(sys_linkat,sys_linkat,compat_sys_linkat)
SYSCALL(sys_symlinkat,sys_symlinkat,compat_sys_symlinkat)
SYSCALL(sys_readlinkat,sys_readlinkat,compat_sys_readlinkat)
SYSCALL(sys_fchmodat,sys_fchmodat,compat_sys_fchmodat)
SYSCALL(sys_faccessat,sys_faccessat,compat_sys_faccessat)	/* 300 */
312 313
SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6)
SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll)
314
SYSCALL(sys_unshare,sys_unshare,compat_sys_unshare)
A
Al Viro 已提交
315 316
SYSCALL(sys_set_robust_list,sys_set_robust_list,compat_sys_set_robust_list)
SYSCALL(sys_get_robust_list,sys_get_robust_list,compat_sys_get_robust_list)
317
SYSCALL(sys_splice,sys_splice,compat_sys_splice)
318
SYSCALL(sys_sync_file_range,sys_sync_file_range,compat_sys_s390_sync_file_range)
319
SYSCALL(sys_tee,sys_tee,compat_sys_tee)
320
SYSCALL(sys_vmsplice,sys_vmsplice,compat_sys_vmsplice)
321
NI_SYSCALL							/* 310 sys_move_pages */
322
SYSCALL(sys_getcpu,sys_getcpu,compat_sys_getcpu)
323
SYSCALL(sys_epoll_pwait,sys_epoll_pwait,compat_sys_epoll_pwait)
324
SYSCALL(sys_utimes,sys_utimes,compat_sys_utimes)
325
SYSCALL(sys_s390_fallocate,sys_fallocate,compat_sys_s390_fallocate)
326
SYSCALL(sys_utimensat,sys_utimensat,compat_sys_utimensat)	/* 315 */
327
SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd)
D
Davide Libenzi 已提交
328
NI_SYSCALL						/* 317 old sys_timer_fd */
329 330
SYSCALL(sys_eventfd,sys_eventfd,compat_sys_eventfd)
SYSCALL(sys_timerfd_create,sys_timerfd_create,compat_sys_timerfd_create)
A
Al Viro 已提交
331 332
SYSCALL(sys_timerfd_settime,sys_timerfd_settime,compat_sys_timerfd_settime) /* 320 */
SYSCALL(sys_timerfd_gettime,sys_timerfd_gettime,compat_sys_timerfd_gettime)
333
SYSCALL(sys_signalfd4,sys_signalfd4,compat_sys_signalfd4)
334 335 336 337 338
SYSCALL(sys_eventfd2,sys_eventfd2,compat_sys_eventfd2)
SYSCALL(sys_inotify_init1,sys_inotify_init1,compat_sys_inotify_init1)
SYSCALL(sys_pipe2,sys_pipe2,compat_sys_pipe2) /* 325 */
SYSCALL(sys_dup3,sys_dup3,compat_sys_dup3)
SYSCALL(sys_epoll_create1,sys_epoll_create1,compat_sys_epoll_create1)
339 340
SYSCALL(sys_preadv,sys_preadv,compat_sys_preadv)
SYSCALL(sys_pwritev,sys_pwritev,compat_sys_pwritev)
A
Al Viro 已提交
341
SYSCALL(sys_rt_tgsigqueueinfo,sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo) /* 330 */
342 343
SYSCALL(sys_perf_event_open,sys_perf_event_open,compat_sys_perf_event_open)
SYSCALL(sys_fanotify_init,sys_fanotify_init,compat_sys_fanotify_init)
344
SYSCALL(sys_fanotify_mark,sys_fanotify_mark,compat_sys_fanotify_mark)
345 346
SYSCALL(sys_prlimit64,sys_prlimit64,compat_sys_prlimit64)
SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,compat_sys_name_to_handle_at) /* 335 */
A
Al Viro 已提交
347
SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at)
348
SYSCALL(sys_clock_adjtime,sys_clock_adjtime,compat_sys_clock_adjtime)
349 350
SYSCALL(sys_syncfs,sys_syncfs,compat_sys_syncfs)
SYSCALL(sys_setns,sys_setns,compat_sys_setns)
351 352
SYSCALL(sys_process_vm_readv,sys_process_vm_readv,compat_sys_process_vm_readv) /* 340 */
SYSCALL(sys_process_vm_writev,sys_process_vm_writev,compat_sys_process_vm_writev)
353 354 355 356 357
SYSCALL(sys_ni_syscall,sys_s390_runtime_instr,compat_sys_s390_runtime_instr)
SYSCALL(sys_kcmp,sys_kcmp,compat_sys_kcmp)
SYSCALL(sys_finit_module,sys_finit_module,compat_sys_finit_module)
SYSCALL(sys_sched_setattr,sys_sched_setattr,compat_sys_sched_setattr) /* 345 */
SYSCALL(sys_sched_getattr,sys_sched_getattr,compat_sys_sched_getattr)
H
Heiko Carstens 已提交
358
SYSCALL(sys_renameat2,sys_renameat2,compat_sys_renameat2)
359 360
SYSCALL(sys_seccomp,sys_seccomp,compat_sys_seccomp)
SYSCALL(sys_getrandom,sys_getrandom,compat_sys_getrandom)
361
SYSCALL(sys_memfd_create,sys_memfd_create,compat_sys_memfd_create) /* 350 */
H
Heiko Carstens 已提交
362
SYSCALL(sys_bpf,sys_bpf,compat_sys_bpf)
363 364
SYSCALL(sys_ni_syscall,sys_s390_pci_mmio_write,compat_sys_s390_pci_mmio_write)
SYSCALL(sys_ni_syscall,sys_s390_pci_mmio_read,compat_sys_s390_pci_mmio_read)
H
Heiko Carstens 已提交
365
SYSCALL(sys_execveat,sys_execveat,compat_sys_execveat)