aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-03-05 04:05:56 -0500
committerHeiko Carstens <heiko.carstens@de.ibm.com>2014-03-06 10:30:48 -0500
commit5b098c204827ed21961988b4206b411f90cc89c8 (patch)
tree3d9b810903525d54e6139b88d3efb763f6caf143
parent9a205286bcca84b38d3ab1689f16236d1935af2d (diff)
s390/compat: get rid of compat wrapper assembly code
Now that all compat syscalls have been converted to use the COMPAT_SYSCALL_DEFINE macros, we don't need to compat syscall wrapper assembly code anymore. So remove it and fix up the system call table accordingly. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
-rw-r--r--arch/s390/kernel/Makefile1
-rw-r--r--arch/s390/kernel/compat_linux.h2
-rw-r--r--arch/s390/kernel/compat_signal.c4
-rw-r--r--arch/s390/kernel/compat_wrapper.S369
-rw-r--r--arch/s390/kernel/compat_wrapper.c (renamed from arch/s390/kernel/compat_wrap.c)0
-rw-r--r--arch/s390/kernel/entry.h5
-rw-r--r--arch/s390/kernel/syscalls.S124
7 files changed, 66 insertions, 439 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile
index 725515f9c5db..1b3ac09c11b6 100644
--- a/arch/s390/kernel/Makefile
+++ b/arch/s390/kernel/Makefile
@@ -50,7 +50,6 @@ compat-obj-$(CONFIG_AUDIT) += compat_audit.o
50obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \ 50obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \
51 compat_wrapper.o compat_exec_domain.o \ 51 compat_wrapper.o compat_exec_domain.o \
52 $(compat-obj-y) 52 $(compat-obj-y)
53obj-$(CONFIG_COMPAT) += compat_wrap.o
54 53
55obj-$(CONFIG_STACKTRACE) += stacktrace.o 54obj-$(CONFIG_STACKTRACE) += stacktrace.o
56obj-$(CONFIG_KPROBES) += kprobes.o 55obj-$(CONFIG_KPROBES) += kprobes.o
diff --git a/arch/s390/kernel/compat_linux.h b/arch/s390/kernel/compat_linux.h
index 330e11d164d7..39ddfdb40ae8 100644
--- a/arch/s390/kernel/compat_linux.h
+++ b/arch/s390/kernel/compat_linux.h
@@ -112,5 +112,7 @@ long compat_sys_s390_fadvise64(int fd, u32 high, u32 low, compat_size_t len, int
112long compat_sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); 112long compat_sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
113long compat_sys_s390_sync_file_range(int fd, u32 offhigh, u32 offlow, u32 nhigh, u32 nlow, unsigned int flags); 113long compat_sys_s390_sync_file_range(int fd, u32 offhigh, u32 offlow, u32 nhigh, u32 nlow, unsigned int flags);
114long compat_sys_s390_fallocate(int fd, int mode, u32 offhigh, u32 offlow, u32 lenhigh, u32 lenlow); 114long compat_sys_s390_fallocate(int fd, int mode, u32 offhigh, u32 offlow, u32 lenhigh, u32 lenlow);
115long compat_sys_sigreturn(void);
116long compat_sys_rt_sigreturn(void);
115 117
116#endif /* _ASM_S390X_S390_H */ 118#endif /* _ASM_S390X_S390_H */
diff --git a/arch/s390/kernel/compat_signal.c b/arch/s390/kernel/compat_signal.c
index 8b84bc373e94..7df5ed9f44d7 100644
--- a/arch/s390/kernel/compat_signal.c
+++ b/arch/s390/kernel/compat_signal.c
@@ -241,7 +241,7 @@ static int restore_sigregs_gprs_high(struct pt_regs *regs, __u32 __user *uregs)
241 return 0; 241 return 0;
242} 242}
243 243
244asmlinkage long sys32_sigreturn(void) 244COMPAT_SYSCALL_DEFINE0(sigreturn)
245{ 245{
246 struct pt_regs *regs = task_pt_regs(current); 246 struct pt_regs *regs = task_pt_regs(current);
247 sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15]; 247 sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15];
@@ -260,7 +260,7 @@ badframe:
260 return 0; 260 return 0;
261} 261}
262 262
263asmlinkage long sys32_rt_sigreturn(void) 263COMPAT_SYSCALL_DEFINE0(rt_sigreturn)
264{ 264{
265 struct pt_regs *regs = task_pt_regs(current); 265 struct pt_regs *regs = task_pt_regs(current);
266 rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15]; 266 rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15];
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S
deleted file mode 100644
index 23d9f8a7c6f5..000000000000
--- a/arch/s390/kernel/compat_wrapper.S
+++ /dev/null
@@ -1,369 +0,0 @@
1/*
2* wrapper for 31 bit compatible system calls.
3*
4* Copyright IBM Corp. 2000, 2006
5* Author(s): Gerhard Tonn (ton@de.ibm.com),
6* Thomas Spatzier (tspat@de.ibm.com)
7*/
8
9#include <linux/linkage.h>
10
11ENTRY(sys32_time_wrapper)
12 llgtr %r2,%r2 # int *
13 jg compat_sys_time # branch to system call
14
15#sys32_getpid_wrapper # void
16
17ENTRY(sys32_mount_wrapper)
18 llgtr %r2,%r2 # char *
19 llgtr %r3,%r3 # char *
20 llgtr %r4,%r4 # char *
21 llgfr %r5,%r5 # unsigned long
22 llgtr %r6,%r6 # void *
23 jg compat_sys_mount # branch to system call
24
25ENTRY(sys32_ptrace_wrapper)
26 lgfr %r2,%r2 # long
27 lgfr %r3,%r3 # long
28 llgtr %r4,%r4 # long
29 llgfr %r5,%r5 # long
30 jg compat_sys_ptrace # branch to system call
31
32ENTRY(compat_sys_utime_wrapper)
33 llgtr %r2,%r2 # char *
34 llgtr %r3,%r3 # struct compat_utimbuf *
35 jg compat_sys_utime # branch to system call
36
37ENTRY(compat_sys_times_wrapper)
38 llgtr %r2,%r2 # struct compat_tms *
39 jg compat_sys_times # branch to system call
40
41ENTRY(compat_sys_ioctl_wrapper)
42 llgfr %r2,%r2 # unsigned int
43 llgfr %r3,%r3 # unsigned int
44 llgfr %r4,%r4 # unsigned int
45 jg compat_sys_ioctl # branch to system call
46
47ENTRY(compat_sys_fcntl_wrapper)
48 llgfr %r2,%r2 # unsigned int
49 llgfr %r3,%r3 # unsigned int
50 llgfr %r4,%r4 # unsigned long
51 jg compat_sys_fcntl # branch to system call
52
53ENTRY(sys32_ustat_wrapper)
54 llgfr %r2,%r2 # dev_t
55 llgtr %r3,%r3 # struct ustat *
56 jg compat_sys_ustat
57
58ENTRY(compat_sys_sigpending_wrapper)
59 llgtr %r2,%r2 # compat_old_sigset_t *
60 jg compat_sys_sigpending # branch to system call
61
62ENTRY(compat_sys_setrlimit_wrapper)
63 llgfr %r2,%r2 # unsigned int
64 llgtr %r3,%r3 # struct rlimit_emu31 *
65 jg compat_sys_setrlimit # branch to system call
66
67ENTRY(compat_sys_old_getrlimit_wrapper)
68 llgfr %r2,%r2 # unsigned int
69 llgtr %r3,%r3 # struct rlimit_emu31 *
70 jg compat_sys_old_getrlimit # branch to system call
71
72ENTRY(compat_sys_getrlimit_wrapper)
73 llgfr %r2,%r2 # unsigned int
74 llgtr %r3,%r3 # struct rlimit_emu31 *
75 jg compat_sys_getrlimit # branch to system call
76
77ENTRY(compat_sys_gettimeofday_wrapper)
78 llgtr %r2,%r2 # struct timeval_emu31 *
79 llgtr %r3,%r3 # struct timezone *
80 jg compat_sys_gettimeofday # branch to system call
81
82ENTRY(compat_sys_settimeofday_wrapper)
83 llgtr %r2,%r2 # struct timeval_emu31 *
84 llgtr %r3,%r3 # struct timezone *
85 jg compat_sys_settimeofday # branch to system call
86
87ENTRY(old32_readdir_wrapper)
88 llgfr %r2,%r2 # unsigned int
89 llgtr %r3,%r3 # void *
90 llgfr %r4,%r4 # unsigned int
91 jg compat_sys_old_readdir # branch to system call
92
93ENTRY(compat_sys_statfs_wrapper)
94 llgtr %r2,%r2 # char *
95 llgtr %r3,%r3 # struct compat_statfs *
96 jg compat_sys_statfs # branch to system call
97
98ENTRY(compat_sys_fstatfs_wrapper)
99 llgfr %r2,%r2 # unsigned int
100 llgtr %r3,%r3 # struct compat_statfs *
101 jg compat_sys_fstatfs # branch to system call
102
103ENTRY(compat_sys_socketcall_wrapper)
104 lgfr %r2,%r2 # int
105 llgtr %r3,%r3 # u32 *
106 jg compat_sys_socketcall # branch to system call
107
108ENTRY(compat_sys_newstat_wrapper)
109 llgtr %r2,%r2 # char *
110 llgtr %r3,%r3 # struct stat_emu31 *
111 jg compat_sys_newstat # branch to system call
112
113ENTRY(compat_sys_newlstat_wrapper)
114 llgtr %r2,%r2 # char *
115 llgtr %r3,%r3 # struct stat_emu31 *
116 jg compat_sys_newlstat # branch to system call
117
118ENTRY(compat_sys_newfstat_wrapper)
119 llgfr %r2,%r2 # unsigned int
120 llgtr %r3,%r3 # struct stat_emu31 *
121 jg compat_sys_newfstat # branch to system call
122
123ENTRY(compat_sys_sysinfo_wrapper)
124 llgtr %r2,%r2 # struct sysinfo_emu31 *
125 jg compat_sys_sysinfo # branch to system call
126
127ENTRY(compat_sys_adjtimex_wrapper)
128 llgtr %r2,%r2 # struct compat_timex *
129 jg compat_sys_adjtimex # branch to system call
130
131ENTRY(sys32_getdents_wrapper)
132 llgfr %r2,%r2 # unsigned int
133 llgtr %r3,%r3 # void *
134 llgfr %r4,%r4 # unsigned int
135 jg compat_sys_getdents # branch to system call
136
137ENTRY(compat_sys_select_wrapper)
138 lgfr %r2,%r2 # int
139 llgtr %r3,%r3 # compat_fd_set *
140 llgtr %r4,%r4 # compat_fd_set *
141 llgtr %r5,%r5 # compat_fd_set *
142 llgtr %r6,%r6 # struct compat_timeval *
143 jg compat_sys_select # branch to system call
144
145ENTRY(compat_sys_readv_wrapper)
146 lgfr %r2,%r2 # int
147 llgtr %r3,%r3 # const struct compat_iovec *
148 llgfr %r4,%r4 # unsigned long
149 jg compat_sys_readv # branch to system call
150
151ENTRY(compat_sys_writev_wrapper)
152 lgfr %r2,%r2 # int
153 llgtr %r3,%r3 # const struct compat_iovec *
154 llgfr %r4,%r4 # unsigned long
155 jg compat_sys_writev # branch to system call
156
157ENTRY(compat_sys_nanosleep_wrapper)
158 llgtr %r2,%r2 # struct compat_timespec *
159 llgtr %r3,%r3 # struct compat_timespec *
160 jg compat_sys_nanosleep # branch to system call
161
162ENTRY(compat_sys_fcntl64_wrapper)
163 llgfr %r2,%r2 # unsigned int
164 llgfr %r3,%r3 # unsigned int
165 llgfr %r4,%r4 # unsigned long
166 jg compat_sys_fcntl64 # branch to system call
167
168ENTRY(sys32_stime_wrapper)
169 llgtr %r2,%r2 # long *
170 jg compat_sys_stime # branch to system call
171
172ENTRY(sys32_sched_setaffinity_wrapper)
173 lgfr %r2,%r2 # int
174 llgfr %r3,%r3 # unsigned int
175 llgtr %r4,%r4 # unsigned long *
176 jg compat_sys_sched_setaffinity
177
178ENTRY(sys32_sched_getaffinity_wrapper)
179 lgfr %r2,%r2 # int
180 llgfr %r3,%r3 # unsigned int
181 llgtr %r4,%r4 # unsigned long *
182 jg compat_sys_sched_getaffinity
183
184ENTRY(sys32_clock_settime_wrapper)
185 lgfr %r2,%r2 # clockid_t (int)
186 llgtr %r3,%r3 # struct compat_timespec *
187 jg compat_sys_clock_settime
188
189ENTRY(sys32_clock_gettime_wrapper)
190 lgfr %r2,%r2 # clockid_t (int)
191 llgtr %r3,%r3 # struct compat_timespec *
192 jg compat_sys_clock_gettime
193
194ENTRY(sys32_clock_getres_wrapper)
195 lgfr %r2,%r2 # clockid_t (int)
196 llgtr %r3,%r3 # struct compat_timespec *
197 jg compat_sys_clock_getres
198
199ENTRY(sys32_clock_nanosleep_wrapper)
200 lgfr %r2,%r2 # clockid_t (int)
201 lgfr %r3,%r3 # int
202 llgtr %r4,%r4 # struct compat_timespec *
203 llgtr %r5,%r5 # struct compat_timespec *
204 jg compat_sys_clock_nanosleep
205
206ENTRY(sys32_timer_create_wrapper)
207 lgfr %r2,%r2 # timer_t (int)
208 llgtr %r3,%r3 # struct compat_sigevent *
209 llgtr %r4,%r4 # timer_t *
210 jg compat_sys_timer_create
211
212ENTRY(sys32_timer_settime_wrapper)
213 lgfr %r2,%r2 # timer_t (int)
214 lgfr %r3,%r3 # int
215 llgtr %r4,%r4 # struct compat_itimerspec *
216 llgtr %r5,%r5 # struct compat_itimerspec *
217 jg compat_sys_timer_settime
218
219ENTRY(sys32_timer_gettime_wrapper)
220 lgfr %r2,%r2 # timer_t (int)
221 llgtr %r3,%r3 # struct compat_itimerspec *
222 jg compat_sys_timer_gettime
223
224ENTRY(sys32_io_setup_wrapper)
225 llgfr %r2,%r2 # unsigned int
226 llgtr %r3,%r3 # u32 *
227 jg compat_sys_io_setup
228
229ENTRY(sys32_io_getevents_wrapper)
230 llgfr %r2,%r2 # (aio_context_t) u32
231 lgfr %r3,%r3 # long
232 lgfr %r4,%r4 # long
233 llgtr %r5,%r5 # struct io_event *
234 llgtr %r6,%r6 # struct compat_timespec *
235 jg compat_sys_io_getevents
236
237ENTRY(sys32_io_submit_wrapper)
238 llgfr %r2,%r2 # (aio_context_t) u32
239 lgfr %r3,%r3 # long
240 llgtr %r4,%r4 # struct iocb **
241 jg compat_sys_io_submit
242
243ENTRY(compat_sys_statfs64_wrapper)
244 llgtr %r2,%r2 # const char *
245 llgfr %r3,%r3 # compat_size_t
246 llgtr %r4,%r4 # struct compat_statfs64 *
247 jg compat_sys_statfs64
248
249ENTRY(compat_sys_fstatfs64_wrapper)
250 llgfr %r2,%r2 # unsigned int fd
251 llgfr %r3,%r3 # compat_size_t
252 llgtr %r4,%r4 # struct compat_statfs64 *
253 jg compat_sys_fstatfs64
254
255ENTRY(compat_sys_mq_open_wrapper)
256 llgtr %r2,%r2 # const char *
257 lgfr %r3,%r3 # int
258 llgfr %r4,%r4 # mode_t
259 llgtr %r5,%r5 # struct compat_mq_attr *
260 jg compat_sys_mq_open
261
262ENTRY(compat_sys_mq_timedsend_wrapper)
263 lgfr %r2,%r2 # mqd_t
264 llgtr %r3,%r3 # const char *
265 llgfr %r4,%r4 # size_t
266 llgfr %r5,%r5 # unsigned int
267 llgtr %r6,%r6 # const struct compat_timespec *
268 jg compat_sys_mq_timedsend
269
270ENTRY(compat_sys_mq_timedreceive_wrapper)
271 lgfr %r2,%r2 # mqd_t
272 llgtr %r3,%r3 # char *
273 llgfr %r4,%r4 # size_t
274 llgtr %r5,%r5 # unsigned int *
275 llgtr %r6,%r6 # const struct compat_timespec *
276 jg compat_sys_mq_timedreceive
277
278ENTRY(compat_sys_mq_notify_wrapper)
279 lgfr %r2,%r2 # mqd_t
280 llgtr %r3,%r3 # struct compat_sigevent *
281 jg compat_sys_mq_notify
282
283ENTRY(compat_sys_mq_getsetattr_wrapper)
284 lgfr %r2,%r2 # mqd_t
285 llgtr %r3,%r3 # struct compat_mq_attr *
286 llgtr %r4,%r4 # struct compat_mq_attr *
287 jg compat_sys_mq_getsetattr
288
289ENTRY(compat_sys_kexec_load_wrapper)
290 llgfr %r2,%r2 # unsigned long
291 llgfr %r3,%r3 # unsigned long
292 llgtr %r4,%r4 # struct kexec_segment *
293 llgfr %r5,%r5 # unsigned long
294 jg compat_sys_kexec_load
295
296ENTRY(compat_sys_futimesat_wrapper)
297 llgfr %r2,%r2 # unsigned int
298 llgtr %r3,%r3 # char *
299 llgtr %r4,%r4 # struct timeval *
300 jg compat_sys_futimesat
301
302ENTRY(compat_sys_pselect6_wrapper)
303 lgfr %r2,%r2 # int
304 llgtr %r3,%r3 # fd_set *
305 llgtr %r4,%r4 # fd_set *
306 llgtr %r5,%r5 # fd_set *
307 llgtr %r6,%r6 # struct timespec *
308 llgt %r0,164(%r15) # void *
309 stg %r0,160(%r15)
310 jg compat_sys_pselect6
311
312ENTRY(compat_sys_ppoll_wrapper)
313 llgtr %r2,%r2 # struct pollfd *
314 llgfr %r3,%r3 # unsigned int
315 llgtr %r4,%r4 # struct timespec *
316 llgtr %r5,%r5 # const sigset_t *
317 llgfr %r6,%r6 # size_t
318 jg compat_sys_ppoll
319
320ENTRY(compat_sys_utimes_wrapper)
321 llgtr %r2,%r2 # char *
322 llgtr %r3,%r3 # struct compat_timeval *
323 jg compat_sys_utimes
324
325ENTRY(compat_sys_utimensat_wrapper)
326 llgfr %r2,%r2 # unsigned int
327 llgtr %r3,%r3 # char *
328 llgtr %r4,%r4 # struct compat_timespec *
329 lgfr %r5,%r5 # int
330 jg compat_sys_utimensat
331
332ENTRY(compat_sys_keyctl_wrapper)
333 llgfr %r2,%r2 # u32
334 llgfr %r3,%r3 # u32
335 llgfr %r4,%r4 # u32
336 llgfr %r5,%r5 # u32
337 llgfr %r6,%r6 # u32
338 jg compat_sys_keyctl # branch to system call
339
340ENTRY(sys32_execve_wrapper)
341 llgtr %r2,%r2 # char *
342 llgtr %r3,%r3 # compat_uptr_t *
343 llgtr %r4,%r4 # compat_uptr_t *
344 jg compat_sys_execve # branch to system call
345
346ENTRY(compat_sys_clock_adjtime_wrapper)
347 lgfr %r2,%r2 # clockid_t (int)
348 llgtr %r3,%r3 # struct compat_timex __user *
349 jg compat_sys_clock_adjtime
350
351ENTRY(compat_sys_process_vm_readv_wrapper)
352 lgfr %r2,%r2 # compat_pid_t
353 llgtr %r3,%r3 # struct compat_iovec __user *
354 llgfr %r4,%r4 # unsigned long
355 llgtr %r5,%r5 # struct compat_iovec __user *
356 llgfr %r6,%r6 # unsigned long
357 llgf %r0,164(%r15) # unsigned long
358 stg %r0,160(%r15)
359 jg compat_sys_process_vm_readv
360
361ENTRY(compat_sys_process_vm_writev_wrapper)
362 lgfr %r2,%r2 # compat_pid_t
363 llgtr %r3,%r3 # struct compat_iovec __user *
364 llgfr %r4,%r4 # unsigned long
365 llgtr %r5,%r5 # struct compat_iovec __user *
366 llgfr %r6,%r6 # unsigned long
367 llgf %r0,164(%r15) # unsigned long
368 stg %r0,160(%r15)
369 jg compat_sys_process_vm_writev
diff --git a/arch/s390/kernel/compat_wrap.c b/arch/s390/kernel/compat_wrapper.c
index d123f5d87b82..d123f5d87b82 100644
--- a/arch/s390/kernel/compat_wrap.c
+++ b/arch/s390/kernel/compat_wrapper.c
diff --git a/arch/s390/kernel/entry.h b/arch/s390/kernel/entry.h
index e9167889ff1a..6ac78192455f 100644
--- a/arch/s390/kernel/entry.h
+++ b/arch/s390/kernel/entry.h
@@ -67,11 +67,6 @@ struct s390_mmap_arg_struct;
67struct fadvise64_64_args; 67struct fadvise64_64_args;
68struct old_sigaction; 68struct old_sigaction;
69 69
70long sys_sigreturn(void);
71long sys_rt_sigreturn(void);
72long sys32_sigreturn(void);
73long sys32_rt_sigreturn(void);
74
75long sys_s390_personality(unsigned int personality); 70long sys_s390_personality(unsigned int personality);
76long sys_s390_runtime_instr(int command, int signum); 71long sys_s390_runtime_instr(int command, int signum);
77 72
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
index dbdec47e935a..542ef488bac1 100644
--- a/arch/s390/kernel/syscalls.S
+++ b/arch/s390/kernel/syscalls.S
@@ -19,9 +19,9 @@ SYSCALL(sys_restart_syscall,sys_restart_syscall,sys_restart_syscall)
19SYSCALL(sys_creat,sys_creat,compat_sys_creat) 19SYSCALL(sys_creat,sys_creat,compat_sys_creat)
20SYSCALL(sys_link,sys_link,compat_sys_link) 20SYSCALL(sys_link,sys_link,compat_sys_link)
21SYSCALL(sys_unlink,sys_unlink,compat_sys_unlink) /* 10 */ 21SYSCALL(sys_unlink,sys_unlink,compat_sys_unlink) /* 10 */
22SYSCALL(sys_execve,sys_execve,sys32_execve_wrapper) 22SYSCALL(sys_execve,sys_execve,compat_sys_execve)
23SYSCALL(sys_chdir,sys_chdir,compat_sys_chdir) 23SYSCALL(sys_chdir,sys_chdir,compat_sys_chdir)
24SYSCALL(sys_time,sys_ni_syscall,sys32_time_wrapper) /* old time syscall */ 24SYSCALL(sys_time,sys_ni_syscall,compat_sys_time) /* old time syscall */
25SYSCALL(sys_mknod,sys_mknod,compat_sys_mknod) 25SYSCALL(sys_mknod,sys_mknod,compat_sys_mknod)
26SYSCALL(sys_chmod,sys_chmod,compat_sys_chmod) /* 15 */ 26SYSCALL(sys_chmod,sys_chmod,compat_sys_chmod) /* 15 */
27SYSCALL(sys_lchown16,sys_ni_syscall,compat_sys_s390_lchown16) /* old lchown16 syscall*/ 27SYSCALL(sys_lchown16,sys_ni_syscall,compat_sys_s390_lchown16) /* old lchown16 syscall*/
@@ -29,16 +29,16 @@ NI_SYSCALL /* old break syscall holder */
29NI_SYSCALL /* old stat syscall holder */ 29NI_SYSCALL /* old stat syscall holder */
30SYSCALL(sys_lseek,sys_lseek,compat_sys_lseek) 30SYSCALL(sys_lseek,sys_lseek,compat_sys_lseek)
31SYSCALL(sys_getpid,sys_getpid,sys_getpid) /* 20 */ 31SYSCALL(sys_getpid,sys_getpid,sys_getpid) /* 20 */
32SYSCALL(sys_mount,sys_mount,sys32_mount_wrapper) 32SYSCALL(sys_mount,sys_mount,compat_sys_mount)
33SYSCALL(sys_oldumount,sys_oldumount,compat_sys_oldumount) 33SYSCALL(sys_oldumount,sys_oldumount,compat_sys_oldumount)
34SYSCALL(sys_setuid16,sys_ni_syscall,compat_sys_s390_setuid16) /* old setuid16 syscall*/ 34SYSCALL(sys_setuid16,sys_ni_syscall,compat_sys_s390_setuid16) /* old setuid16 syscall*/
35SYSCALL(sys_getuid16,sys_ni_syscall,compat_sys_s390_getuid16) /* old getuid16 syscall*/ 35SYSCALL(sys_getuid16,sys_ni_syscall,compat_sys_s390_getuid16) /* old getuid16 syscall*/
36SYSCALL(sys_stime,sys_ni_syscall,sys32_stime_wrapper) /* 25 old stime syscall */ 36SYSCALL(sys_stime,sys_ni_syscall,compat_sys_stime) /* 25 old stime syscall */
37SYSCALL(sys_ptrace,sys_ptrace,sys32_ptrace_wrapper) 37SYSCALL(sys_ptrace,sys_ptrace,compat_sys_ptrace)
38SYSCALL(sys_alarm,sys_alarm,compat_sys_alarm) 38SYSCALL(sys_alarm,sys_alarm,compat_sys_alarm)
39NI_SYSCALL /* old fstat syscall */ 39NI_SYSCALL /* old fstat syscall */
40SYSCALL(sys_pause,sys_pause,sys_pause) 40SYSCALL(sys_pause,sys_pause,sys_pause)
41SYSCALL(sys_utime,sys_utime,compat_sys_utime_wrapper) /* 30 */ 41SYSCALL(sys_utime,sys_utime,compat_sys_utime) /* 30 */
42NI_SYSCALL /* old stty syscall */ 42NI_SYSCALL /* old stty syscall */
43NI_SYSCALL /* old gtty syscall */ 43NI_SYSCALL /* old gtty syscall */
44SYSCALL(sys_access,sys_access,compat_sys_access) 44SYSCALL(sys_access,sys_access,compat_sys_access)
@@ -51,7 +51,7 @@ SYSCALL(sys_mkdir,sys_mkdir,compat_sys_mkdir)
51SYSCALL(sys_rmdir,sys_rmdir,compat_sys_rmdir) /* 40 */ 51SYSCALL(sys_rmdir,sys_rmdir,compat_sys_rmdir) /* 40 */
52SYSCALL(sys_dup,sys_dup,compat_sys_dup) 52SYSCALL(sys_dup,sys_dup,compat_sys_dup)
53SYSCALL(sys_pipe,sys_pipe,compat_sys_pipe) 53SYSCALL(sys_pipe,sys_pipe,compat_sys_pipe)
54SYSCALL(sys_times,sys_times,compat_sys_times_wrapper) 54SYSCALL(sys_times,sys_times,compat_sys_times)
55NI_SYSCALL /* old prof syscall */ 55NI_SYSCALL /* old prof syscall */
56SYSCALL(sys_brk,sys_brk,compat_sys_brk) /* 45 */ 56SYSCALL(sys_brk,sys_brk,compat_sys_brk) /* 45 */
57SYSCALL(sys_setgid16,sys_ni_syscall,compat_sys_s390_setgid16) /* old setgid16 syscall*/ 57SYSCALL(sys_setgid16,sys_ni_syscall,compat_sys_s390_setgid16) /* old setgid16 syscall*/
@@ -62,15 +62,15 @@ SYSCALL(sys_getegid16,sys_ni_syscall,compat_sys_s390_getegid16) /* 50 old getegi
62SYSCALL(sys_acct,sys_acct,compat_sys_acct) 62SYSCALL(sys_acct,sys_acct,compat_sys_acct)
63SYSCALL(sys_umount,sys_umount,compat_sys_umount) 63SYSCALL(sys_umount,sys_umount,compat_sys_umount)
64NI_SYSCALL /* old lock syscall */ 64NI_SYSCALL /* old lock syscall */
65SYSCALL(sys_ioctl,sys_ioctl,compat_sys_ioctl_wrapper) 65SYSCALL(sys_ioctl,sys_ioctl,compat_sys_ioctl)
66SYSCALL(sys_fcntl,sys_fcntl,compat_sys_fcntl_wrapper) /* 55 */ 66SYSCALL(sys_fcntl,sys_fcntl,compat_sys_fcntl) /* 55 */
67NI_SYSCALL /* intel mpx syscall */ 67NI_SYSCALL /* intel mpx syscall */
68SYSCALL(sys_setpgid,sys_setpgid,compat_sys_setpgid) 68SYSCALL(sys_setpgid,sys_setpgid,compat_sys_setpgid)
69NI_SYSCALL /* old ulimit syscall */ 69NI_SYSCALL /* old ulimit syscall */
70NI_SYSCALL /* old uname syscall */ 70NI_SYSCALL /* old uname syscall */
71SYSCALL(sys_umask,sys_umask,compat_sys_umask) /* 60 */ 71SYSCALL(sys_umask,sys_umask,compat_sys_umask) /* 60 */
72SYSCALL(sys_chroot,sys_chroot,compat_sys_chroot) 72SYSCALL(sys_chroot,sys_chroot,compat_sys_chroot)
73SYSCALL(sys_ustat,sys_ustat,sys32_ustat_wrapper) 73SYSCALL(sys_ustat,sys_ustat,compat_sys_ustat)
74SYSCALL(sys_dup2,sys_dup2,compat_sys_dup2) 74SYSCALL(sys_dup2,sys_dup2,compat_sys_dup2)
75SYSCALL(sys_getppid,sys_getppid,sys_getppid) 75SYSCALL(sys_getppid,sys_getppid,sys_getppid)
76SYSCALL(sys_getpgrp,sys_getpgrp,sys_getpgrp) /* 65 */ 76SYSCALL(sys_getpgrp,sys_getpgrp,sys_getpgrp) /* 65 */
@@ -81,13 +81,13 @@ NI_SYSCALL /* old ssetmask syscall*/
81SYSCALL(sys_setreuid16,sys_ni_syscall,compat_sys_s390_setreuid16) /* old setreuid16 syscall */ 81SYSCALL(sys_setreuid16,sys_ni_syscall,compat_sys_s390_setreuid16) /* old setreuid16 syscall */
82SYSCALL(sys_setregid16,sys_ni_syscall,compat_sys_s390_setregid16) /* old setregid16 syscall */ 82SYSCALL(sys_setregid16,sys_ni_syscall,compat_sys_s390_setregid16) /* old setregid16 syscall */
83SYSCALL(sys_sigsuspend,sys_sigsuspend,compat_sys_sigsuspend) 83SYSCALL(sys_sigsuspend,sys_sigsuspend,compat_sys_sigsuspend)
84SYSCALL(sys_sigpending,sys_sigpending,compat_sys_sigpending_wrapper) 84SYSCALL(sys_sigpending,sys_sigpending,compat_sys_sigpending)
85SYSCALL(sys_sethostname,sys_sethostname,compat_sys_sethostname) 85SYSCALL(sys_sethostname,sys_sethostname,compat_sys_sethostname)
86SYSCALL(sys_setrlimit,sys_setrlimit,compat_sys_setrlimit_wrapper) /* 75 */ 86SYSCALL(sys_setrlimit,sys_setrlimit,compat_sys_setrlimit) /* 75 */
87SYSCALL(sys_old_getrlimit,sys_getrlimit,compat_sys_old_getrlimit_wrapper) 87SYSCALL(sys_old_getrlimit,sys_getrlimit,compat_sys_old_getrlimit)
88SYSCALL(sys_getrusage,sys_getrusage,compat_sys_getrusage) 88SYSCALL(sys_getrusage,sys_getrusage,compat_sys_getrusage)
89SYSCALL(sys_gettimeofday,sys_gettimeofday,compat_sys_gettimeofday_wrapper) 89SYSCALL(sys_gettimeofday,sys_gettimeofday,compat_sys_gettimeofday)
90SYSCALL(sys_settimeofday,sys_settimeofday,compat_sys_settimeofday_wrapper) 90SYSCALL(sys_settimeofday,sys_settimeofday,compat_sys_settimeofday)
91SYSCALL(sys_getgroups16,sys_ni_syscall,compat_sys_s390_getgroups16) /* 80 old getgroups16 syscall */ 91SYSCALL(sys_getgroups16,sys_ni_syscall,compat_sys_s390_getgroups16) /* 80 old getgroups16 syscall */
92SYSCALL(sys_setgroups16,sys_ni_syscall,compat_sys_s390_setgroups16) /* old setgroups16 syscall */ 92SYSCALL(sys_setgroups16,sys_ni_syscall,compat_sys_s390_setgroups16) /* old setgroups16 syscall */
93NI_SYSCALL /* old select syscall */ 93NI_SYSCALL /* old select syscall */
@@ -97,7 +97,7 @@ SYSCALL(sys_readlink,sys_readlink,compat_sys_readlink) /* 85 */
97SYSCALL(sys_uselib,sys_uselib,compat_sys_uselib) 97SYSCALL(sys_uselib,sys_uselib,compat_sys_uselib)
98SYSCALL(sys_swapon,sys_swapon,compat_sys_swapon) 98SYSCALL(sys_swapon,sys_swapon,compat_sys_swapon)
99SYSCALL(sys_reboot,sys_reboot,compat_sys_reboot) 99SYSCALL(sys_reboot,sys_reboot,compat_sys_reboot)
100SYSCALL(sys_ni_syscall,sys_ni_syscall,old32_readdir_wrapper) /* old readdir syscall */ 100SYSCALL(sys_ni_syscall,sys_ni_syscall,compat_sys_old_readdir) /* old readdir syscall */
101SYSCALL(sys_old_mmap,sys_old_mmap,compat_sys_s390_old_mmap) /* 90 */ 101SYSCALL(sys_old_mmap,sys_old_mmap,compat_sys_s390_old_mmap) /* 90 */
102SYSCALL(sys_munmap,sys_munmap,compat_sys_munmap) 102SYSCALL(sys_munmap,sys_munmap,compat_sys_munmap)
103SYSCALL(sys_truncate,sys_truncate,compat_sys_truncate) 103SYSCALL(sys_truncate,sys_truncate,compat_sys_truncate)
@@ -107,16 +107,16 @@ SYSCALL(sys_fchown16,sys_ni_syscall,compat_sys_s390_fchown16) /* 95 old fchown16
107SYSCALL(sys_getpriority,sys_getpriority,compat_sys_getpriority) 107SYSCALL(sys_getpriority,sys_getpriority,compat_sys_getpriority)
108SYSCALL(sys_setpriority,sys_setpriority,compat_sys_setpriority) 108SYSCALL(sys_setpriority,sys_setpriority,compat_sys_setpriority)
109NI_SYSCALL /* old profil syscall */ 109NI_SYSCALL /* old profil syscall */
110SYSCALL(sys_statfs,sys_statfs,compat_sys_statfs_wrapper) 110SYSCALL(sys_statfs,sys_statfs,compat_sys_statfs)
111SYSCALL(sys_fstatfs,sys_fstatfs,compat_sys_fstatfs_wrapper) /* 100 */ 111SYSCALL(sys_fstatfs,sys_fstatfs,compat_sys_fstatfs) /* 100 */
112NI_SYSCALL /* ioperm for i386 */ 112NI_SYSCALL /* ioperm for i386 */
113SYSCALL(sys_socketcall,sys_socketcall,compat_sys_socketcall_wrapper) 113SYSCALL(sys_socketcall,sys_socketcall,compat_sys_socketcall)
114SYSCALL(sys_syslog,sys_syslog,compat_sys_syslog) 114SYSCALL(sys_syslog,sys_syslog,compat_sys_syslog)
115SYSCALL(sys_setitimer,sys_setitimer,compat_sys_setitimer) 115SYSCALL(sys_setitimer,sys_setitimer,compat_sys_setitimer)
116SYSCALL(sys_getitimer,sys_getitimer,compat_sys_getitimer) /* 105 */ 116SYSCALL(sys_getitimer,sys_getitimer,compat_sys_getitimer) /* 105 */
117SYSCALL(sys_newstat,sys_newstat,compat_sys_newstat_wrapper) 117SYSCALL(sys_newstat,sys_newstat,compat_sys_newstat)
118SYSCALL(sys_newlstat,sys_newlstat,compat_sys_newlstat_wrapper) 118SYSCALL(sys_newlstat,sys_newlstat,compat_sys_newlstat)
119SYSCALL(sys_newfstat,sys_newfstat,compat_sys_newfstat_wrapper) 119SYSCALL(sys_newfstat,sys_newfstat,compat_sys_newfstat)
120NI_SYSCALL /* old uname syscall */ 120NI_SYSCALL /* old uname syscall */
121SYSCALL(sys_lookup_dcookie,sys_lookup_dcookie,compat_sys_lookup_dcookie) /* 110 */ 121SYSCALL(sys_lookup_dcookie,sys_lookup_dcookie,compat_sys_lookup_dcookie) /* 110 */
122SYSCALL(sys_vhangup,sys_vhangup,sys_vhangup) 122SYSCALL(sys_vhangup,sys_vhangup,sys_vhangup)
@@ -124,15 +124,15 @@ NI_SYSCALL /* old "idle" system call */
124NI_SYSCALL /* vm86old for i386 */ 124NI_SYSCALL /* vm86old for i386 */
125SYSCALL(sys_wait4,sys_wait4,compat_sys_wait4) 125SYSCALL(sys_wait4,sys_wait4,compat_sys_wait4)
126SYSCALL(sys_swapoff,sys_swapoff,compat_sys_swapoff) /* 115 */ 126SYSCALL(sys_swapoff,sys_swapoff,compat_sys_swapoff) /* 115 */
127SYSCALL(sys_sysinfo,sys_sysinfo,compat_sys_sysinfo_wrapper) 127SYSCALL(sys_sysinfo,sys_sysinfo,compat_sys_sysinfo)
128SYSCALL(sys_s390_ipc,sys_s390_ipc,compat_sys_s390_ipc) 128SYSCALL(sys_s390_ipc,sys_s390_ipc,compat_sys_s390_ipc)
129SYSCALL(sys_fsync,sys_fsync,compat_sys_fsync) 129SYSCALL(sys_fsync,sys_fsync,compat_sys_fsync)
130SYSCALL(sys_sigreturn,sys_sigreturn,sys32_sigreturn) 130SYSCALL(sys_sigreturn,sys_sigreturn,compat_sys_sigreturn)
131SYSCALL(sys_clone,sys_clone,compat_sys_clone) /* 120 */ 131SYSCALL(sys_clone,sys_clone,compat_sys_clone) /* 120 */
132SYSCALL(sys_setdomainname,sys_setdomainname,compat_sys_setdomainname) 132SYSCALL(sys_setdomainname,sys_setdomainname,compat_sys_setdomainname)
133SYSCALL(sys_newuname,sys_newuname,compat_sys_newuname) 133SYSCALL(sys_newuname,sys_newuname,compat_sys_newuname)
134NI_SYSCALL /* modify_ldt for i386 */ 134NI_SYSCALL /* modify_ldt for i386 */
135SYSCALL(sys_adjtimex,sys_adjtimex,compat_sys_adjtimex_wrapper) 135SYSCALL(sys_adjtimex,sys_adjtimex,compat_sys_adjtimex)
136SYSCALL(sys_mprotect,sys_mprotect,compat_sys_mprotect) /* 125 */ 136SYSCALL(sys_mprotect,sys_mprotect,compat_sys_mprotect) /* 125 */
137SYSCALL(sys_sigprocmask,sys_sigprocmask,compat_sys_sigprocmask) 137SYSCALL(sys_sigprocmask,sys_sigprocmask,compat_sys_sigprocmask)
138NI_SYSCALL /* old "create module" */ 138NI_SYSCALL /* old "create module" */
@@ -149,12 +149,12 @@ NI_SYSCALL /* for afs_syscall */
149SYSCALL(sys_setfsuid16,sys_ni_syscall,compat_sys_s390_setfsuid16) /* old setfsuid16 syscall */ 149SYSCALL(sys_setfsuid16,sys_ni_syscall,compat_sys_s390_setfsuid16) /* old setfsuid16 syscall */
150SYSCALL(sys_setfsgid16,sys_ni_syscall,compat_sys_s390_setfsgid16) /* old setfsgid16 syscall */ 150SYSCALL(sys_setfsgid16,sys_ni_syscall,compat_sys_s390_setfsgid16) /* old setfsgid16 syscall */
151SYSCALL(sys_llseek,sys_llseek,compat_sys_llseek) /* 140 */ 151SYSCALL(sys_llseek,sys_llseek,compat_sys_llseek) /* 140 */
152SYSCALL(sys_getdents,sys_getdents,sys32_getdents_wrapper) 152SYSCALL(sys_getdents,sys_getdents,compat_sys_getdents)
153SYSCALL(sys_select,sys_select,compat_sys_select_wrapper) 153SYSCALL(sys_select,sys_select,compat_sys_select)
154SYSCALL(sys_flock,sys_flock,compat_sys_flock) 154SYSCALL(sys_flock,sys_flock,compat_sys_flock)
155SYSCALL(sys_msync,sys_msync,compat_sys_msync) 155SYSCALL(sys_msync,sys_msync,compat_sys_msync)
156SYSCALL(sys_readv,sys_readv,compat_sys_readv_wrapper) /* 145 */ 156SYSCALL(sys_readv,sys_readv,compat_sys_readv) /* 145 */
157SYSCALL(sys_writev,sys_writev,compat_sys_writev_wrapper) 157SYSCALL(sys_writev,sys_writev,compat_sys_writev)
158SYSCALL(sys_getsid,sys_getsid,compat_sys_getsid) 158SYSCALL(sys_getsid,sys_getsid,compat_sys_getsid)
159SYSCALL(sys_fdatasync,sys_fdatasync,compat_sys_fdatasync) 159SYSCALL(sys_fdatasync,sys_fdatasync,compat_sys_fdatasync)
160SYSCALL(sys_sysctl,sys_sysctl,compat_sys_sysctl) 160SYSCALL(sys_sysctl,sys_sysctl,compat_sys_sysctl)
@@ -170,7 +170,7 @@ SYSCALL(sys_sched_yield,sys_sched_yield,sys_sched_yield)
170SYSCALL(sys_sched_get_priority_max,sys_sched_get_priority_max,compat_sys_sched_get_priority_max) 170SYSCALL(sys_sched_get_priority_max,sys_sched_get_priority_max,compat_sys_sched_get_priority_max)
171SYSCALL(sys_sched_get_priority_min,sys_sched_get_priority_min,compat_sys_sched_get_priority_min) /* 160 */ 171SYSCALL(sys_sched_get_priority_min,sys_sched_get_priority_min,compat_sys_sched_get_priority_min) /* 160 */
172SYSCALL(sys_sched_rr_get_interval,sys_sched_rr_get_interval,compat_sys_sched_rr_get_interval) 172SYSCALL(sys_sched_rr_get_interval,sys_sched_rr_get_interval,compat_sys_sched_rr_get_interval)
173SYSCALL(sys_nanosleep,sys_nanosleep,compat_sys_nanosleep_wrapper) 173SYSCALL(sys_nanosleep,sys_nanosleep,compat_sys_nanosleep)
174SYSCALL(sys_mremap,sys_mremap,compat_sys_mremap) 174SYSCALL(sys_mremap,sys_mremap,compat_sys_mremap)
175SYSCALL(sys_setresuid16,sys_ni_syscall,compat_sys_s390_setresuid16) /* old setresuid16 syscall */ 175SYSCALL(sys_setresuid16,sys_ni_syscall,compat_sys_s390_setresuid16) /* old setresuid16 syscall */
176SYSCALL(sys_getresuid16,sys_ni_syscall,compat_sys_s390_getresuid16) /* 165 old getresuid16 syscall */ 176SYSCALL(sys_getresuid16,sys_ni_syscall,compat_sys_s390_getresuid16) /* 165 old getresuid16 syscall */
@@ -181,7 +181,7 @@ NI_SYSCALL /* old nfsservctl */
181SYSCALL(sys_setresgid16,sys_ni_syscall,compat_sys_s390_setresgid16) /* 170 old setresgid16 syscall */ 181SYSCALL(sys_setresgid16,sys_ni_syscall,compat_sys_s390_setresgid16) /* 170 old setresgid16 syscall */
182SYSCALL(sys_getresgid16,sys_ni_syscall,compat_sys_s390_getresgid16) /* old getresgid16 syscall */ 182SYSCALL(sys_getresgid16,sys_ni_syscall,compat_sys_s390_getresgid16) /* old getresgid16 syscall */
183SYSCALL(sys_prctl,sys_prctl,compat_sys_prctl) 183SYSCALL(sys_prctl,sys_prctl,compat_sys_prctl)
184SYSCALL(sys_rt_sigreturn,sys_rt_sigreturn,sys32_rt_sigreturn) 184SYSCALL(sys_rt_sigreturn,sys_rt_sigreturn,compat_sys_rt_sigreturn)
185SYSCALL(sys_rt_sigaction,sys_rt_sigaction,compat_sys_rt_sigaction) 185SYSCALL(sys_rt_sigaction,sys_rt_sigaction,compat_sys_rt_sigaction)
186SYSCALL(sys_rt_sigprocmask,sys_rt_sigprocmask,compat_sys_rt_sigprocmask) /* 175 */ 186SYSCALL(sys_rt_sigprocmask,sys_rt_sigprocmask,compat_sys_rt_sigprocmask) /* 175 */
187SYSCALL(sys_rt_sigpending,sys_rt_sigpending,compat_sys_rt_sigpending) 187SYSCALL(sys_rt_sigpending,sys_rt_sigpending,compat_sys_rt_sigpending)
@@ -199,7 +199,7 @@ SYSCALL(sys_sendfile,sys_sendfile64,compat_sys_sendfile)
199NI_SYSCALL /* streams1 */ 199NI_SYSCALL /* streams1 */
200NI_SYSCALL /* streams2 */ 200NI_SYSCALL /* streams2 */
201SYSCALL(sys_vfork,sys_vfork,sys_vfork) /* 190 */ 201SYSCALL(sys_vfork,sys_vfork,sys_vfork) /* 190 */
202SYSCALL(sys_getrlimit,sys_getrlimit,compat_sys_getrlimit_wrapper) 202SYSCALL(sys_getrlimit,sys_getrlimit,compat_sys_getrlimit)
203SYSCALL(sys_mmap2,sys_mmap2,compat_sys_s390_mmap2) 203SYSCALL(sys_mmap2,sys_mmap2,compat_sys_s390_mmap2)
204SYSCALL(sys_truncate64,sys_ni_syscall,compat_sys_s390_truncate64) 204SYSCALL(sys_truncate64,sys_ni_syscall,compat_sys_s390_truncate64)
205SYSCALL(sys_ftruncate64,sys_ni_syscall,compat_sys_s390_ftruncate64) 205SYSCALL(sys_ftruncate64,sys_ni_syscall,compat_sys_s390_ftruncate64)
@@ -229,7 +229,7 @@ SYSCALL(sys_pivot_root,sys_pivot_root,compat_sys_pivot_root)
229SYSCALL(sys_mincore,sys_mincore,compat_sys_mincore) 229SYSCALL(sys_mincore,sys_mincore,compat_sys_mincore)
230SYSCALL(sys_madvise,sys_madvise,compat_sys_madvise) 230SYSCALL(sys_madvise,sys_madvise,compat_sys_madvise)
231SYSCALL(sys_getdents64,sys_getdents64,compat_sys_getdents64) /* 220 */ 231SYSCALL(sys_getdents64,sys_getdents64,compat_sys_getdents64) /* 220 */
232SYSCALL(sys_fcntl64,sys_ni_syscall,compat_sys_fcntl64_wrapper) 232SYSCALL(sys_fcntl64,sys_ni_syscall,compat_sys_fcntl64)
233SYSCALL(sys_readahead,sys_readahead,compat_sys_s390_readahead) 233SYSCALL(sys_readahead,sys_readahead,compat_sys_s390_readahead)
234SYSCALL(sys_sendfile64,sys_ni_syscall,compat_sys_sendfile64) 234SYSCALL(sys_sendfile64,sys_ni_syscall,compat_sys_sendfile64)
235SYSCALL(sys_setxattr,sys_setxattr,compat_sys_setxattr) 235SYSCALL(sys_setxattr,sys_setxattr,compat_sys_setxattr)
@@ -247,14 +247,14 @@ SYSCALL(sys_fremovexattr,sys_fremovexattr,compat_sys_fremovexattr) /* 235 */
247SYSCALL(sys_gettid,sys_gettid,sys_gettid) 247SYSCALL(sys_gettid,sys_gettid,sys_gettid)
248SYSCALL(sys_tkill,sys_tkill,compat_sys_tkill) 248SYSCALL(sys_tkill,sys_tkill,compat_sys_tkill)
249SYSCALL(sys_futex,sys_futex,compat_sys_futex) 249SYSCALL(sys_futex,sys_futex,compat_sys_futex)
250SYSCALL(sys_sched_setaffinity,sys_sched_setaffinity,sys32_sched_setaffinity_wrapper) 250SYSCALL(sys_sched_setaffinity,sys_sched_setaffinity,compat_sys_sched_setaffinity)
251SYSCALL(sys_sched_getaffinity,sys_sched_getaffinity,sys32_sched_getaffinity_wrapper) /* 240 */ 251SYSCALL(sys_sched_getaffinity,sys_sched_getaffinity,compat_sys_sched_getaffinity) /* 240 */
252SYSCALL(sys_tgkill,sys_tgkill,compat_sys_tgkill) 252SYSCALL(sys_tgkill,sys_tgkill,compat_sys_tgkill)
253NI_SYSCALL /* reserved for TUX */ 253NI_SYSCALL /* reserved for TUX */
254SYSCALL(sys_io_setup,sys_io_setup,sys32_io_setup_wrapper) 254SYSCALL(sys_io_setup,sys_io_setup,compat_sys_io_setup)
255SYSCALL(sys_io_destroy,sys_io_destroy,compat_sys_io_destroy) 255SYSCALL(sys_io_destroy,sys_io_destroy,compat_sys_io_destroy)
256SYSCALL(sys_io_getevents,sys_io_getevents,sys32_io_getevents_wrapper) /* 245 */ 256SYSCALL(sys_io_getevents,sys_io_getevents,compat_sys_io_getevents) /* 245 */
257SYSCALL(sys_io_submit,sys_io_submit,sys32_io_submit_wrapper) 257SYSCALL(sys_io_submit,sys_io_submit,compat_sys_io_submit)
258SYSCALL(sys_io_cancel,sys_io_cancel,compat_sys_io_cancel) 258SYSCALL(sys_io_cancel,sys_io_cancel,compat_sys_io_cancel)
259SYSCALL(sys_exit_group,sys_exit_group,compat_sys_exit_group) 259SYSCALL(sys_exit_group,sys_exit_group,compat_sys_exit_group)
260SYSCALL(sys_epoll_create,sys_epoll_create,compat_sys_epoll_create) 260SYSCALL(sys_epoll_create,sys_epoll_create,compat_sys_epoll_create)
@@ -262,33 +262,33 @@ SYSCALL(sys_epoll_ctl,sys_epoll_ctl,compat_sys_epoll_ctl) /* 250 */
262SYSCALL(sys_epoll_wait,sys_epoll_wait,compat_sys_epoll_wait) 262SYSCALL(sys_epoll_wait,sys_epoll_wait,compat_sys_epoll_wait)
263SYSCALL(sys_set_tid_address,sys_set_tid_address,compat_sys_set_tid_address) 263SYSCALL(sys_set_tid_address,sys_set_tid_address,compat_sys_set_tid_address)
264SYSCALL(sys_s390_fadvise64,sys_fadvise64_64,compat_sys_s390_fadvise64) 264SYSCALL(sys_s390_fadvise64,sys_fadvise64_64,compat_sys_s390_fadvise64)
265SYSCALL(sys_timer_create,sys_timer_create,sys32_timer_create_wrapper) 265SYSCALL(sys_timer_create,sys_timer_create,compat_sys_timer_create)
266SYSCALL(sys_timer_settime,sys_timer_settime,sys32_timer_settime_wrapper) /* 255 */ 266SYSCALL(sys_timer_settime,sys_timer_settime,compat_sys_timer_settime) /* 255 */
267SYSCALL(sys_timer_gettime,sys_timer_gettime,sys32_timer_gettime_wrapper) 267SYSCALL(sys_timer_gettime,sys_timer_gettime,compat_sys_timer_gettime)
268SYSCALL(sys_timer_getoverrun,sys_timer_getoverrun,compat_sys_timer_getoverrun) 268SYSCALL(sys_timer_getoverrun,sys_timer_getoverrun,compat_sys_timer_getoverrun)
269SYSCALL(sys_timer_delete,sys_timer_delete,compat_sys_timer_delete) 269SYSCALL(sys_timer_delete,sys_timer_delete,compat_sys_timer_delete)
270SYSCALL(sys_clock_settime,sys_clock_settime,sys32_clock_settime_wrapper) 270SYSCALL(sys_clock_settime,sys_clock_settime,compat_sys_clock_settime)
271SYSCALL(sys_clock_gettime,sys_clock_gettime,sys32_clock_gettime_wrapper) /* 260 */ 271SYSCALL(sys_clock_gettime,sys_clock_gettime,compat_sys_clock_gettime) /* 260 */
272SYSCALL(sys_clock_getres,sys_clock_getres,sys32_clock_getres_wrapper) 272SYSCALL(sys_clock_getres,sys_clock_getres,compat_sys_clock_getres)
273SYSCALL(sys_clock_nanosleep,sys_clock_nanosleep,sys32_clock_nanosleep_wrapper) 273SYSCALL(sys_clock_nanosleep,sys_clock_nanosleep,compat_sys_clock_nanosleep)
274NI_SYSCALL /* reserved for vserver */ 274NI_SYSCALL /* reserved for vserver */
275SYSCALL(sys_s390_fadvise64_64,sys_ni_syscall,compat_sys_s390_fadvise64_64) 275SYSCALL(sys_s390_fadvise64_64,sys_ni_syscall,compat_sys_s390_fadvise64_64)
276SYSCALL(sys_statfs64,sys_statfs64,compat_sys_statfs64_wrapper) 276SYSCALL(sys_statfs64,sys_statfs64,compat_sys_statfs64)
277SYSCALL(sys_fstatfs64,sys_fstatfs64,compat_sys_fstatfs64_wrapper) 277SYSCALL(sys_fstatfs64,sys_fstatfs64,compat_sys_fstatfs64)
278SYSCALL(sys_remap_file_pages,sys_remap_file_pages,compat_sys_remap_file_pages) 278SYSCALL(sys_remap_file_pages,sys_remap_file_pages,compat_sys_remap_file_pages)
279NI_SYSCALL /* 268 sys_mbind */ 279NI_SYSCALL /* 268 sys_mbind */
280NI_SYSCALL /* 269 sys_get_mempolicy */ 280NI_SYSCALL /* 269 sys_get_mempolicy */
281NI_SYSCALL /* 270 sys_set_mempolicy */ 281NI_SYSCALL /* 270 sys_set_mempolicy */
282SYSCALL(sys_mq_open,sys_mq_open,compat_sys_mq_open_wrapper) 282SYSCALL(sys_mq_open,sys_mq_open,compat_sys_mq_open)
283SYSCALL(sys_mq_unlink,sys_mq_unlink,compat_sys_mq_unlink) 283SYSCALL(sys_mq_unlink,sys_mq_unlink,compat_sys_mq_unlink)
284SYSCALL(sys_mq_timedsend,sys_mq_timedsend,compat_sys_mq_timedsend_wrapper) 284SYSCALL(sys_mq_timedsend,sys_mq_timedsend,compat_sys_mq_timedsend)
285SYSCALL(sys_mq_timedreceive,sys_mq_timedreceive,compat_sys_mq_timedreceive_wrapper) 285SYSCALL(sys_mq_timedreceive,sys_mq_timedreceive,compat_sys_mq_timedreceive)
286SYSCALL(sys_mq_notify,sys_mq_notify,compat_sys_mq_notify_wrapper) /* 275 */ 286SYSCALL(sys_mq_notify,sys_mq_notify,compat_sys_mq_notify) /* 275 */
287SYSCALL(sys_mq_getsetattr,sys_mq_getsetattr,compat_sys_mq_getsetattr_wrapper) 287SYSCALL(sys_mq_getsetattr,sys_mq_getsetattr,compat_sys_mq_getsetattr)
288SYSCALL(sys_kexec_load,sys_kexec_load,compat_sys_kexec_load_wrapper) 288SYSCALL(sys_kexec_load,sys_kexec_load,compat_sys_kexec_load)
289SYSCALL(sys_add_key,sys_add_key,compat_sys_add_key) 289SYSCALL(sys_add_key,sys_add_key,compat_sys_add_key)
290SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key) 290SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key)
291SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl_wrapper) /* 280 */ 291SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl) /* 280 */
292SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid) 292SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid)
293SYSCALL(sys_ioprio_set,sys_ioprio_set,compat_sys_ioprio_set) 293SYSCALL(sys_ioprio_set,sys_ioprio_set,compat_sys_ioprio_set)
294SYSCALL(sys_ioprio_get,sys_ioprio_get,compat_sys_ioprio_get) 294SYSCALL(sys_ioprio_get,sys_ioprio_get,compat_sys_ioprio_get)
@@ -300,7 +300,7 @@ SYSCALL(sys_openat,sys_openat,compat_sys_openat)
300SYSCALL(sys_mkdirat,sys_mkdirat,compat_sys_mkdirat) 300SYSCALL(sys_mkdirat,sys_mkdirat,compat_sys_mkdirat)
301SYSCALL(sys_mknodat,sys_mknodat,compat_sys_mknodat) /* 290 */ 301SYSCALL(sys_mknodat,sys_mknodat,compat_sys_mknodat) /* 290 */
302SYSCALL(sys_fchownat,sys_fchownat,compat_sys_fchownat) 302SYSCALL(sys_fchownat,sys_fchownat,compat_sys_fchownat)
303SYSCALL(sys_futimesat,sys_futimesat,compat_sys_futimesat_wrapper) 303SYSCALL(sys_futimesat,sys_futimesat,compat_sys_futimesat)
304SYSCALL(sys_fstatat64,sys_newfstatat,compat_sys_s390_fstatat64) 304SYSCALL(sys_fstatat64,sys_newfstatat,compat_sys_s390_fstatat64)
305SYSCALL(sys_unlinkat,sys_unlinkat,compat_sys_unlinkat) 305SYSCALL(sys_unlinkat,sys_unlinkat,compat_sys_unlinkat)
306SYSCALL(sys_renameat,sys_renameat,compat_sys_renameat) /* 295 */ 306SYSCALL(sys_renameat,sys_renameat,compat_sys_renameat) /* 295 */
@@ -309,8 +309,8 @@ SYSCALL(sys_symlinkat,sys_symlinkat,compat_sys_symlinkat)
309SYSCALL(sys_readlinkat,sys_readlinkat,compat_sys_readlinkat) 309SYSCALL(sys_readlinkat,sys_readlinkat,compat_sys_readlinkat)
310SYSCALL(sys_fchmodat,sys_fchmodat,compat_sys_fchmodat) 310SYSCALL(sys_fchmodat,sys_fchmodat,compat_sys_fchmodat)
311SYSCALL(sys_faccessat,sys_faccessat,compat_sys_faccessat) /* 300 */ 311SYSCALL(sys_faccessat,sys_faccessat,compat_sys_faccessat) /* 300 */
312SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6_wrapper) 312SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6)
313SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll_wrapper) 313SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll)
314SYSCALL(sys_unshare,sys_unshare,compat_sys_unshare) 314SYSCALL(sys_unshare,sys_unshare,compat_sys_unshare)
315SYSCALL(sys_set_robust_list,sys_set_robust_list,compat_sys_set_robust_list) 315SYSCALL(sys_set_robust_list,sys_set_robust_list,compat_sys_set_robust_list)
316SYSCALL(sys_get_robust_list,sys_get_robust_list,compat_sys_get_robust_list) 316SYSCALL(sys_get_robust_list,sys_get_robust_list,compat_sys_get_robust_list)
@@ -321,9 +321,9 @@ SYSCALL(sys_vmsplice,sys_vmsplice,compat_sys_vmsplice)
321NI_SYSCALL /* 310 sys_move_pages */ 321NI_SYSCALL /* 310 sys_move_pages */
322SYSCALL(sys_getcpu,sys_getcpu,compat_sys_getcpu) 322SYSCALL(sys_getcpu,sys_getcpu,compat_sys_getcpu)
323SYSCALL(sys_epoll_pwait,sys_epoll_pwait,compat_sys_epoll_pwait) 323SYSCALL(sys_epoll_pwait,sys_epoll_pwait,compat_sys_epoll_pwait)
324SYSCALL(sys_utimes,sys_utimes,compat_sys_utimes_wrapper) 324SYSCALL(sys_utimes,sys_utimes,compat_sys_utimes)
325SYSCALL(sys_s390_fallocate,sys_fallocate,compat_sys_s390_fallocate) 325SYSCALL(sys_s390_fallocate,sys_fallocate,compat_sys_s390_fallocate)
326SYSCALL(sys_utimensat,sys_utimensat,compat_sys_utimensat_wrapper) /* 315 */ 326SYSCALL(sys_utimensat,sys_utimensat,compat_sys_utimensat) /* 315 */
327SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd) 327SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd)
328NI_SYSCALL /* 317 old sys_timer_fd */ 328NI_SYSCALL /* 317 old sys_timer_fd */
329SYSCALL(sys_eventfd,sys_eventfd,compat_sys_eventfd) 329SYSCALL(sys_eventfd,sys_eventfd,compat_sys_eventfd)
@@ -345,11 +345,11 @@ SYSCALL(sys_fanotify_mark,sys_fanotify_mark,compat_sys_fanotify_mark)
345SYSCALL(sys_prlimit64,sys_prlimit64,compat_sys_prlimit64) 345SYSCALL(sys_prlimit64,sys_prlimit64,compat_sys_prlimit64)
346SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,compat_sys_name_to_handle_at) /* 335 */ 346SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,compat_sys_name_to_handle_at) /* 335 */
347SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at) 347SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at)
348SYSCALL(sys_clock_adjtime,sys_clock_adjtime,compat_sys_clock_adjtime_wrapper) 348SYSCALL(sys_clock_adjtime,sys_clock_adjtime,compat_sys_clock_adjtime)
349SYSCALL(sys_syncfs,sys_syncfs,compat_sys_syncfs) 349SYSCALL(sys_syncfs,sys_syncfs,compat_sys_syncfs)
350SYSCALL(sys_setns,sys_setns,compat_sys_setns) 350SYSCALL(sys_setns,sys_setns,compat_sys_setns)
351SYSCALL(sys_process_vm_readv,sys_process_vm_readv,compat_sys_process_vm_readv_wrapper) /* 340 */ 351SYSCALL(sys_process_vm_readv,sys_process_vm_readv,compat_sys_process_vm_readv) /* 340 */
352SYSCALL(sys_process_vm_writev,sys_process_vm_writev,compat_sys_process_vm_writev_wrapper) 352SYSCALL(sys_process_vm_writev,sys_process_vm_writev,compat_sys_process_vm_writev)
353SYSCALL(sys_ni_syscall,sys_s390_runtime_instr,compat_sys_s390_runtime_instr) 353SYSCALL(sys_ni_syscall,sys_s390_runtime_instr,compat_sys_s390_runtime_instr)
354SYSCALL(sys_kcmp,sys_kcmp,compat_sys_kcmp) 354SYSCALL(sys_kcmp,sys_kcmp,compat_sys_kcmp)
355SYSCALL(sys_finit_module,sys_finit_module,compat_sys_finit_module) 355SYSCALL(sys_finit_module,sys_finit_module,compat_sys_finit_module)