diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-23 15:02:12 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:14 -0500 |
commit | 1cb44eb837eafadb7c91c7c8b2aba81cc3e9fe44 (patch) | |
tree | d28717e99211610270c1cff674e438c1b482004d /arch | |
parent | 7eddd99c289a443d76391d740c7c62d542174f27 (diff) |
s390: kill useless wrappers
COMPAT_SYSCALL_DEFINEx already does everything we need
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 139 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 44 |
2 files changed, 22 insertions, 161 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 559e04fe4071..c14faf39ae36 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -24,12 +24,6 @@ ENTRY(sys32_write_wrapper) | |||
24 | llgfr %r4,%r4 # size_t | 24 | llgfr %r4,%r4 # size_t |
25 | jg sys32_write # branch to system call | 25 | jg sys32_write # branch to system call |
26 | 26 | ||
27 | ENTRY(sys32_open_wrapper) | ||
28 | llgtr %r2,%r2 # const char * | ||
29 | lgfr %r3,%r3 # int | ||
30 | lgfr %r4,%r4 # int | ||
31 | jg compat_sys_open # branch to system call | ||
32 | |||
33 | ENTRY(sys32_close_wrapper) | 27 | ENTRY(sys32_close_wrapper) |
34 | llgfr %r2,%r2 # unsigned int | 28 | llgfr %r2,%r2 # unsigned int |
35 | jg sys_close # branch to system call | 29 | jg sys_close # branch to system call |
@@ -226,12 +220,6 @@ ENTRY(sys32_dup2_wrapper) | |||
226 | 220 | ||
227 | #sys32_setsid_wrapper # void | 221 | #sys32_setsid_wrapper # void |
228 | 222 | ||
229 | ENTRY(sys32_sigaction_wrapper) | ||
230 | lgfr %r2,%r2 # int | ||
231 | llgtr %r3,%r3 # const struct old_sigaction * | ||
232 | llgtr %r4,%r4 # struct old_sigaction32 * | ||
233 | jg compat_sys_sigaction # branch to system call | ||
234 | |||
235 | ENTRY(sys32_setreuid16_wrapper) | 223 | ENTRY(sys32_setreuid16_wrapper) |
236 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t | 224 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t |
237 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t | 225 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t |
@@ -396,17 +384,6 @@ ENTRY(sys32_syslog_wrapper) | |||
396 | lgfr %r4,%r4 # int | 384 | lgfr %r4,%r4 # int |
397 | jg sys_syslog # branch to system call | 385 | jg sys_syslog # branch to system call |
398 | 386 | ||
399 | ENTRY(compat_sys_setitimer_wrapper) | ||
400 | lgfr %r2,%r2 # int | ||
401 | llgtr %r3,%r3 # struct itimerval_emu31 * | ||
402 | llgtr %r4,%r4 # struct itimerval_emu31 * | ||
403 | jg compat_sys_setitimer # branch to system call | ||
404 | |||
405 | ENTRY(compat_sys_getitimer_wrapper) | ||
406 | lgfr %r2,%r2 # int | ||
407 | llgtr %r3,%r3 # struct itimerval_emu31 * | ||
408 | jg compat_sys_getitimer # branch to system call | ||
409 | |||
410 | ENTRY(compat_sys_newstat_wrapper) | 387 | ENTRY(compat_sys_newstat_wrapper) |
411 | llgtr %r2,%r2 # char * | 388 | llgtr %r2,%r2 # char * |
412 | llgtr %r3,%r3 # struct stat_emu31 * | 389 | llgtr %r3,%r3 # struct stat_emu31 * |
@@ -424,13 +401,6 @@ ENTRY(compat_sys_newfstat_wrapper) | |||
424 | 401 | ||
425 | #sys32_vhangup_wrapper # void | 402 | #sys32_vhangup_wrapper # void |
426 | 403 | ||
427 | ENTRY(compat_sys_wait4_wrapper) | ||
428 | lgfr %r2,%r2 # pid_t | ||
429 | llgtr %r3,%r3 # unsigned int * | ||
430 | lgfr %r4,%r4 # int | ||
431 | llgtr %r5,%r5 # struct rusage * | ||
432 | jg compat_sys_wait4 # branch to system call | ||
433 | |||
434 | ENTRY(sys32_swapoff_wrapper) | 404 | ENTRY(sys32_swapoff_wrapper) |
435 | llgtr %r2,%r2 # const char * | 405 | llgtr %r2,%r2 # const char * |
436 | jg sys_swapoff # branch to system call | 406 | jg sys_swapoff # branch to system call |
@@ -474,12 +444,6 @@ ENTRY(sys32_mprotect_wrapper) | |||
474 | llgfr %r4,%r4 # unsigned long | 444 | llgfr %r4,%r4 # unsigned long |
475 | jg sys_mprotect # branch to system call | 445 | jg sys_mprotect # branch to system call |
476 | 446 | ||
477 | ENTRY(compat_sys_sigprocmask_wrapper) | ||
478 | lgfr %r2,%r2 # int | ||
479 | llgtr %r3,%r3 # compat_old_sigset_t * | ||
480 | llgtr %r4,%r4 # compat_old_sigset_t * | ||
481 | jg compat_sys_sigprocmask # branch to system call | ||
482 | |||
483 | ENTRY(sys_init_module_wrapper) | 447 | ENTRY(sys_init_module_wrapper) |
484 | llgtr %r2,%r2 # void * | 448 | llgtr %r2,%r2 # void * |
485 | llgfr %r3,%r3 # unsigned long | 449 | llgfr %r3,%r3 # unsigned long |
@@ -628,11 +592,6 @@ ENTRY(sys32_sched_get_priority_min_wrapper) | |||
628 | lgfr %r2,%r2 # int | 592 | lgfr %r2,%r2 # int |
629 | jg sys_sched_get_priority_min # branch to system call | 593 | jg sys_sched_get_priority_min # branch to system call |
630 | 594 | ||
631 | ENTRY(sys32_sched_rr_get_interval_wrapper) | ||
632 | lgfr %r2,%r2 # pid_t | ||
633 | llgtr %r3,%r3 # struct compat_timespec * | ||
634 | jg compat_sys_sched_rr_get_interval # branch to system call | ||
635 | |||
636 | ENTRY(compat_sys_nanosleep_wrapper) | 595 | ENTRY(compat_sys_nanosleep_wrapper) |
637 | llgtr %r2,%r2 # struct compat_timespec * | 596 | llgtr %r2,%r2 # struct compat_timespec * |
638 | llgtr %r3,%r3 # struct compat_timespec * | 597 | llgtr %r3,%r3 # struct compat_timespec * |
@@ -686,43 +645,6 @@ ENTRY(sys32_prctl_wrapper) | |||
686 | 645 | ||
687 | #sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue | 646 | #sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue |
688 | 647 | ||
689 | ENTRY(sys32_rt_sigaction_wrapper) | ||
690 | lgfr %r2,%r2 # int | ||
691 | llgtr %r3,%r3 # const struct sigaction_emu31 * | ||
692 | llgtr %r4,%r4 # const struct sigaction_emu31 * | ||
693 | llgfr %r5,%r5 # size_t | ||
694 | jg compat_sys_rt_sigaction # branch to system call | ||
695 | |||
696 | ENTRY(sys32_rt_sigprocmask_wrapper) | ||
697 | lgfr %r2,%r2 # int | ||
698 | llgtr %r3,%r3 # old_sigset_emu31 * | ||
699 | llgtr %r4,%r4 # old_sigset_emu31 * | ||
700 | llgfr %r5,%r5 # size_t | ||
701 | jg compat_sys_rt_sigprocmask # branch to system call | ||
702 | |||
703 | ENTRY(sys32_rt_sigpending_wrapper) | ||
704 | llgtr %r2,%r2 # sigset_emu31 * | ||
705 | llgfr %r3,%r3 # size_t | ||
706 | jg compat_sys_rt_sigpending # branch to system call | ||
707 | |||
708 | ENTRY(compat_sys_rt_sigtimedwait_wrapper) | ||
709 | llgtr %r2,%r2 # const sigset_emu31_t * | ||
710 | llgtr %r3,%r3 # siginfo_emu31_t * | ||
711 | llgtr %r4,%r4 # const struct compat_timespec * | ||
712 | llgfr %r5,%r5 # size_t | ||
713 | jg compat_sys_rt_sigtimedwait # branch to system call | ||
714 | |||
715 | ENTRY(sys32_rt_sigqueueinfo_wrapper) | ||
716 | lgfr %r2,%r2 # int | ||
717 | lgfr %r3,%r3 # int | ||
718 | llgtr %r4,%r4 # siginfo_emu31_t * | ||
719 | jg compat_sys_rt_sigqueueinfo # branch to system call | ||
720 | |||
721 | ENTRY(compat_sys_rt_sigsuspend_wrapper) | ||
722 | llgtr %r2,%r2 # compat_sigset_t * | ||
723 | llgfr %r3,%r3 # compat_size_t | ||
724 | jg compat_sys_rt_sigsuspend | ||
725 | |||
726 | ENTRY(sys32_pread64_wrapper) | 648 | ENTRY(sys32_pread64_wrapper) |
727 | llgfr %r2,%r2 # unsigned int | 649 | llgfr %r2,%r2 # unsigned int |
728 | llgtr %r3,%r3 # char * | 650 | llgtr %r3,%r3 # char * |
@@ -916,16 +838,6 @@ ENTRY(sys32_fstat64_wrapper) | |||
916 | llgtr %r3,%r3 # struct stat64 * | 838 | llgtr %r3,%r3 # struct stat64 * |
917 | jg sys32_fstat64 # branch to system call | 839 | jg sys32_fstat64 # branch to system call |
918 | 840 | ||
919 | ENTRY(compat_sys_futex_wrapper) | ||
920 | llgtr %r2,%r2 # u32 * | ||
921 | lgfr %r3,%r3 # int | ||
922 | lgfr %r4,%r4 # int | ||
923 | llgtr %r5,%r5 # struct compat_timespec * | ||
924 | llgtr %r6,%r6 # u32 * | ||
925 | lgf %r0,164(%r15) # int | ||
926 | stg %r0,160(%r15) | ||
927 | jg compat_sys_futex # branch to system call | ||
928 | |||
929 | ENTRY(sys32_setxattr_wrapper) | 841 | ENTRY(sys32_setxattr_wrapper) |
930 | llgtr %r2,%r2 # char * | 842 | llgtr %r2,%r2 # char * |
931 | llgtr %r3,%r3 # char * | 843 | llgtr %r3,%r3 # char * |
@@ -1211,14 +1123,6 @@ ENTRY(sys32_remap_file_pages_wrapper) | |||
1211 | llgfr %r6,%r6 # unsigned long | 1123 | llgfr %r6,%r6 # unsigned long |
1212 | jg sys_remap_file_pages | 1124 | jg sys_remap_file_pages |
1213 | 1125 | ||
1214 | ENTRY(compat_sys_waitid_wrapper) | ||
1215 | lgfr %r2,%r2 # int | ||
1216 | lgfr %r3,%r3 # pid_t | ||
1217 | llgtr %r4,%r4 # siginfo_emu31_t * | ||
1218 | lgfr %r5,%r5 # int | ||
1219 | llgtr %r6,%r6 # struct rusage_emu31 * | ||
1220 | jg compat_sys_waitid | ||
1221 | |||
1222 | ENTRY(compat_sys_kexec_load_wrapper) | 1126 | ENTRY(compat_sys_kexec_load_wrapper) |
1223 | llgfr %r2,%r2 # unsigned long | 1127 | llgfr %r2,%r2 # unsigned long |
1224 | llgfr %r3,%r3 # unsigned long | 1128 | llgfr %r3,%r3 # unsigned long |
@@ -1248,13 +1152,6 @@ ENTRY(sys_inotify_rm_watch_wrapper) | |||
1248 | llgfr %r3,%r3 # u32 | 1152 | llgfr %r3,%r3 # u32 |
1249 | jg sys_inotify_rm_watch | 1153 | jg sys_inotify_rm_watch |
1250 | 1154 | ||
1251 | ENTRY(compat_sys_openat_wrapper) | ||
1252 | llgfr %r2,%r2 # unsigned int | ||
1253 | llgtr %r3,%r3 # const char * | ||
1254 | lgfr %r4,%r4 # int | ||
1255 | lgfr %r5,%r5 # int | ||
1256 | jg compat_sys_openat | ||
1257 | |||
1258 | ENTRY(sys_mkdirat_wrapper) | 1155 | ENTRY(sys_mkdirat_wrapper) |
1259 | lgfr %r2,%r2 # int | 1156 | lgfr %r2,%r2 # int |
1260 | llgtr %r3,%r3 # const char * | 1157 | llgtr %r3,%r3 # const char * |
@@ -1357,17 +1254,6 @@ ENTRY(sys_unshare_wrapper) | |||
1357 | llgfr %r2,%r2 # unsigned long | 1254 | llgfr %r2,%r2 # unsigned long |
1358 | jg sys_unshare | 1255 | jg sys_unshare |
1359 | 1256 | ||
1360 | ENTRY(compat_sys_set_robust_list_wrapper) | ||
1361 | llgtr %r2,%r2 # struct compat_robust_list_head * | ||
1362 | llgfr %r3,%r3 # size_t | ||
1363 | jg compat_sys_set_robust_list | ||
1364 | |||
1365 | ENTRY(compat_sys_get_robust_list_wrapper) | ||
1366 | lgfr %r2,%r2 # int | ||
1367 | llgtr %r3,%r3 # compat_uptr_t_t * | ||
1368 | llgtr %r4,%r4 # compat_size_t * | ||
1369 | jg compat_sys_get_robust_list | ||
1370 | |||
1371 | ENTRY(sys_splice_wrapper) | 1257 | ENTRY(sys_splice_wrapper) |
1372 | lgfr %r2,%r2 # int | 1258 | lgfr %r2,%r2 # int |
1373 | llgtr %r3,%r3 # loff_t * | 1259 | llgtr %r3,%r3 # loff_t * |
@@ -1453,18 +1339,6 @@ ENTRY(sys_timerfd_create_wrapper) | |||
1453 | lgfr %r3,%r3 # int | 1339 | lgfr %r3,%r3 # int |
1454 | jg sys_timerfd_create | 1340 | jg sys_timerfd_create |
1455 | 1341 | ||
1456 | ENTRY(compat_sys_timerfd_settime_wrapper) | ||
1457 | lgfr %r2,%r2 # int | ||
1458 | lgfr %r3,%r3 # int | ||
1459 | llgtr %r4,%r4 # struct compat_itimerspec * | ||
1460 | llgtr %r5,%r5 # struct compat_itimerspec * | ||
1461 | jg compat_sys_timerfd_settime | ||
1462 | |||
1463 | ENTRY(compat_sys_timerfd_gettime_wrapper) | ||
1464 | lgfr %r2,%r2 # int | ||
1465 | llgtr %r3,%r3 # struct compat_itimerspec * | ||
1466 | jg compat_sys_timerfd_gettime | ||
1467 | |||
1468 | ENTRY(compat_sys_signalfd4_wrapper) | 1342 | ENTRY(compat_sys_signalfd4_wrapper) |
1469 | lgfr %r2,%r2 # int | 1343 | lgfr %r2,%r2 # int |
1470 | llgtr %r3,%r3 # compat_sigset_t * | 1344 | llgtr %r3,%r3 # compat_sigset_t * |
@@ -1545,13 +1419,6 @@ ENTRY(compat_sys_pwritev_wrapper) | |||
1545 | llgfr %r6,%r6 # u32 | 1419 | llgfr %r6,%r6 # u32 |
1546 | jg compat_sys_pwritev # branch to system call | 1420 | jg compat_sys_pwritev # branch to system call |
1547 | 1421 | ||
1548 | ENTRY(compat_sys_rt_tgsigqueueinfo_wrapper) | ||
1549 | lgfr %r2,%r2 # compat_pid_t | ||
1550 | lgfr %r3,%r3 # compat_pid_t | ||
1551 | lgfr %r4,%r4 # int | ||
1552 | llgtr %r5,%r5 # struct compat_siginfo * | ||
1553 | jg compat_sys_rt_tgsigqueueinfo_wrapper # branch to system call | ||
1554 | |||
1555 | ENTRY(sys_perf_event_open_wrapper) | 1422 | ENTRY(sys_perf_event_open_wrapper) |
1556 | llgtr %r2,%r2 # const struct perf_event_attr * | 1423 | llgtr %r2,%r2 # const struct perf_event_attr * |
1557 | lgfr %r3,%r3 # pid_t | 1424 | lgfr %r3,%r3 # pid_t |
@@ -1602,12 +1469,6 @@ ENTRY(sys_name_to_handle_at_wrapper) | |||
1602 | lgfr %r6,%r6 # int | 1469 | lgfr %r6,%r6 # int |
1603 | jg sys_name_to_handle_at | 1470 | jg sys_name_to_handle_at |
1604 | 1471 | ||
1605 | ENTRY(compat_sys_open_by_handle_at_wrapper) | ||
1606 | lgfr %r2,%r2 # int | ||
1607 | llgtr %r3,%r3 # struct file_handle __user * | ||
1608 | lgfr %r4,%r4 # int | ||
1609 | jg compat_sys_open_by_handle_at | ||
1610 | |||
1611 | ENTRY(compat_sys_clock_adjtime_wrapper) | 1472 | ENTRY(compat_sys_clock_adjtime_wrapper) |
1612 | lgfr %r2,%r2 # clockid_t (int) | 1473 | lgfr %r2,%r2 # clockid_t (int) |
1613 | llgtr %r3,%r3 # struct compat_timex __user * | 1474 | llgtr %r3,%r3 # struct compat_timex __user * |
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index 65547cb9ac7b..aaac708aa110 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -13,7 +13,7 @@ SYSCALL(sys_exit,sys_exit,sys32_exit_wrapper) | |||
13 | SYSCALL(sys_fork,sys_fork,sys_fork) | 13 | SYSCALL(sys_fork,sys_fork,sys_fork) |
14 | SYSCALL(sys_read,sys_read,sys32_read_wrapper) | 14 | SYSCALL(sys_read,sys_read,sys32_read_wrapper) |
15 | SYSCALL(sys_write,sys_write,sys32_write_wrapper) | 15 | SYSCALL(sys_write,sys_write,sys32_write_wrapper) |
16 | SYSCALL(sys_open,sys_open,sys32_open_wrapper) /* 5 */ | 16 | SYSCALL(sys_open,sys_open,compat_sys_open) /* 5 */ |
17 | SYSCALL(sys_close,sys_close,sys32_close_wrapper) | 17 | SYSCALL(sys_close,sys_close,sys32_close_wrapper) |
18 | SYSCALL(sys_restart_syscall,sys_restart_syscall,sys_restart_syscall) | 18 | SYSCALL(sys_restart_syscall,sys_restart_syscall,sys_restart_syscall) |
19 | SYSCALL(sys_creat,sys_creat,sys32_creat_wrapper) | 19 | SYSCALL(sys_creat,sys_creat,sys32_creat_wrapper) |
@@ -75,7 +75,7 @@ SYSCALL(sys_dup2,sys_dup2,sys32_dup2_wrapper) | |||
75 | SYSCALL(sys_getppid,sys_getppid,sys_getppid) | 75 | SYSCALL(sys_getppid,sys_getppid,sys_getppid) |
76 | SYSCALL(sys_getpgrp,sys_getpgrp,sys_getpgrp) /* 65 */ | 76 | SYSCALL(sys_getpgrp,sys_getpgrp,sys_getpgrp) /* 65 */ |
77 | SYSCALL(sys_setsid,sys_setsid,sys_setsid) | 77 | SYSCALL(sys_setsid,sys_setsid,sys_setsid) |
78 | SYSCALL(sys_sigaction,sys_sigaction,sys32_sigaction_wrapper) | 78 | SYSCALL(sys_sigaction,sys_sigaction,compat_sys_sigaction) |
79 | NI_SYSCALL /* old sgetmask syscall*/ | 79 | NI_SYSCALL /* old sgetmask syscall*/ |
80 | NI_SYSCALL /* old ssetmask syscall*/ | 80 | NI_SYSCALL /* old ssetmask syscall*/ |
81 | SYSCALL(sys_setreuid16,sys_ni_syscall,sys32_setreuid16_wrapper) /* old setreuid16 syscall */ | 81 | SYSCALL(sys_setreuid16,sys_ni_syscall,sys32_setreuid16_wrapper) /* old setreuid16 syscall */ |
@@ -112,8 +112,8 @@ SYSCALL(sys_fstatfs,sys_fstatfs,compat_sys_fstatfs_wrapper) /* 100 */ | |||
112 | NI_SYSCALL /* ioperm for i386 */ | 112 | NI_SYSCALL /* ioperm for i386 */ |
113 | SYSCALL(sys_socketcall,sys_socketcall,compat_sys_socketcall_wrapper) | 113 | SYSCALL(sys_socketcall,sys_socketcall,compat_sys_socketcall_wrapper) |
114 | SYSCALL(sys_syslog,sys_syslog,sys32_syslog_wrapper) | 114 | SYSCALL(sys_syslog,sys_syslog,sys32_syslog_wrapper) |
115 | SYSCALL(sys_setitimer,sys_setitimer,compat_sys_setitimer_wrapper) | 115 | SYSCALL(sys_setitimer,sys_setitimer,compat_sys_setitimer) |
116 | SYSCALL(sys_getitimer,sys_getitimer,compat_sys_getitimer_wrapper) /* 105 */ | 116 | SYSCALL(sys_getitimer,sys_getitimer,compat_sys_getitimer) /* 105 */ |
117 | SYSCALL(sys_newstat,sys_newstat,compat_sys_newstat_wrapper) | 117 | SYSCALL(sys_newstat,sys_newstat,compat_sys_newstat_wrapper) |
118 | SYSCALL(sys_newlstat,sys_newlstat,compat_sys_newlstat_wrapper) | 118 | SYSCALL(sys_newlstat,sys_newlstat,compat_sys_newlstat_wrapper) |
119 | SYSCALL(sys_newfstat,sys_newfstat,compat_sys_newfstat_wrapper) | 119 | SYSCALL(sys_newfstat,sys_newfstat,compat_sys_newfstat_wrapper) |
@@ -122,7 +122,7 @@ SYSCALL(sys_lookup_dcookie,sys_lookup_dcookie,sys32_lookup_dcookie_wrapper) /* 1 | |||
122 | SYSCALL(sys_vhangup,sys_vhangup,sys_vhangup) | 122 | SYSCALL(sys_vhangup,sys_vhangup,sys_vhangup) |
123 | NI_SYSCALL /* old "idle" system call */ | 123 | NI_SYSCALL /* old "idle" system call */ |
124 | NI_SYSCALL /* vm86old for i386 */ | 124 | NI_SYSCALL /* vm86old for i386 */ |
125 | SYSCALL(sys_wait4,sys_wait4,compat_sys_wait4_wrapper) | 125 | SYSCALL(sys_wait4,sys_wait4,compat_sys_wait4) |
126 | SYSCALL(sys_swapoff,sys_swapoff,sys32_swapoff_wrapper) /* 115 */ | 126 | SYSCALL(sys_swapoff,sys_swapoff,sys32_swapoff_wrapper) /* 115 */ |
127 | SYSCALL(sys_sysinfo,sys_sysinfo,compat_sys_sysinfo_wrapper) | 127 | SYSCALL(sys_sysinfo,sys_sysinfo,compat_sys_sysinfo_wrapper) |
128 | SYSCALL(sys_s390_ipc,sys_s390_ipc,sys32_ipc_wrapper) | 128 | SYSCALL(sys_s390_ipc,sys_s390_ipc,sys32_ipc_wrapper) |
@@ -134,7 +134,7 @@ SYSCALL(sys_newuname,sys_newuname,sys32_newuname_wrapper) | |||
134 | NI_SYSCALL /* modify_ldt for i386 */ | 134 | NI_SYSCALL /* modify_ldt for i386 */ |
135 | SYSCALL(sys_adjtimex,sys_adjtimex,compat_sys_adjtimex_wrapper) | 135 | SYSCALL(sys_adjtimex,sys_adjtimex,compat_sys_adjtimex_wrapper) |
136 | SYSCALL(sys_mprotect,sys_mprotect,sys32_mprotect_wrapper) /* 125 */ | 136 | SYSCALL(sys_mprotect,sys_mprotect,sys32_mprotect_wrapper) /* 125 */ |
137 | SYSCALL(sys_sigprocmask,sys_sigprocmask,compat_sys_sigprocmask_wrapper) | 137 | SYSCALL(sys_sigprocmask,sys_sigprocmask,compat_sys_sigprocmask) |
138 | NI_SYSCALL /* old "create module" */ | 138 | NI_SYSCALL /* old "create module" */ |
139 | SYSCALL(sys_init_module,sys_init_module,sys_init_module_wrapper) | 139 | SYSCALL(sys_init_module,sys_init_module,sys_init_module_wrapper) |
140 | SYSCALL(sys_delete_module,sys_delete_module,sys_delete_module_wrapper) | 140 | SYSCALL(sys_delete_module,sys_delete_module,sys_delete_module_wrapper) |
@@ -169,7 +169,7 @@ SYSCALL(sys_sched_getscheduler,sys_sched_getscheduler,sys32_sched_getscheduler_w | |||
169 | SYSCALL(sys_sched_yield,sys_sched_yield,sys_sched_yield) | 169 | SYSCALL(sys_sched_yield,sys_sched_yield,sys_sched_yield) |
170 | SYSCALL(sys_sched_get_priority_max,sys_sched_get_priority_max,sys32_sched_get_priority_max_wrapper) | 170 | SYSCALL(sys_sched_get_priority_max,sys_sched_get_priority_max,sys32_sched_get_priority_max_wrapper) |
171 | SYSCALL(sys_sched_get_priority_min,sys_sched_get_priority_min,sys32_sched_get_priority_min_wrapper) /* 160 */ | 171 | SYSCALL(sys_sched_get_priority_min,sys_sched_get_priority_min,sys32_sched_get_priority_min_wrapper) /* 160 */ |
172 | SYSCALL(sys_sched_rr_get_interval,sys_sched_rr_get_interval,sys32_sched_rr_get_interval_wrapper) | 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_wrapper) | 173 | SYSCALL(sys_nanosleep,sys_nanosleep,compat_sys_nanosleep_wrapper) |
174 | SYSCALL(sys_mremap,sys_mremap,sys32_mremap_wrapper) | 174 | SYSCALL(sys_mremap,sys_mremap,sys32_mremap_wrapper) |
175 | SYSCALL(sys_setresuid16,sys_ni_syscall,sys32_setresuid16_wrapper) /* old setresuid16 syscall */ | 175 | SYSCALL(sys_setresuid16,sys_ni_syscall,sys32_setresuid16_wrapper) /* old setresuid16 syscall */ |
@@ -182,12 +182,12 @@ SYSCALL(sys_setresgid16,sys_ni_syscall,sys32_setresgid16_wrapper) /* 170 old set | |||
182 | SYSCALL(sys_getresgid16,sys_ni_syscall,sys32_getresgid16_wrapper) /* old getresgid16 syscall */ | 182 | SYSCALL(sys_getresgid16,sys_ni_syscall,sys32_getresgid16_wrapper) /* old getresgid16 syscall */ |
183 | SYSCALL(sys_prctl,sys_prctl,sys32_prctl_wrapper) | 183 | SYSCALL(sys_prctl,sys_prctl,sys32_prctl_wrapper) |
184 | SYSCALL(sys_rt_sigreturn,sys_rt_sigreturn,sys32_rt_sigreturn) | 184 | SYSCALL(sys_rt_sigreturn,sys_rt_sigreturn,sys32_rt_sigreturn) |
185 | SYSCALL(sys_rt_sigaction,sys_rt_sigaction,sys32_rt_sigaction_wrapper) | 185 | SYSCALL(sys_rt_sigaction,sys_rt_sigaction,compat_sys_rt_sigaction) |
186 | SYSCALL(sys_rt_sigprocmask,sys_rt_sigprocmask,sys32_rt_sigprocmask_wrapper) /* 175 */ | 186 | SYSCALL(sys_rt_sigprocmask,sys_rt_sigprocmask,compat_sys_rt_sigprocmask) /* 175 */ |
187 | SYSCALL(sys_rt_sigpending,sys_rt_sigpending,sys32_rt_sigpending_wrapper) | 187 | SYSCALL(sys_rt_sigpending,sys_rt_sigpending,compat_sys_rt_sigpending) |
188 | SYSCALL(sys_rt_sigtimedwait,sys_rt_sigtimedwait,compat_sys_rt_sigtimedwait_wrapper) | 188 | SYSCALL(sys_rt_sigtimedwait,sys_rt_sigtimedwait,compat_sys_rt_sigtimedwait) |
189 | SYSCALL(sys_rt_sigqueueinfo,sys_rt_sigqueueinfo,sys32_rt_sigqueueinfo_wrapper) | 189 | SYSCALL(sys_rt_sigqueueinfo,sys_rt_sigqueueinfo,compat_sys_rt_sigqueueinfo) |
190 | SYSCALL(sys_rt_sigsuspend,sys_rt_sigsuspend,compat_sys_rt_sigsuspend_wrapper) | 190 | SYSCALL(sys_rt_sigsuspend,sys_rt_sigsuspend,compat_sys_rt_sigsuspend) |
191 | SYSCALL(sys_pread64,sys_pread64,sys32_pread64_wrapper) /* 180 */ | 191 | SYSCALL(sys_pread64,sys_pread64,sys32_pread64_wrapper) /* 180 */ |
192 | SYSCALL(sys_pwrite64,sys_pwrite64,sys32_pwrite64_wrapper) | 192 | SYSCALL(sys_pwrite64,sys_pwrite64,sys32_pwrite64_wrapper) |
193 | SYSCALL(sys_chown16,sys_ni_syscall,sys32_chown16_wrapper) /* old chown16 syscall */ | 193 | SYSCALL(sys_chown16,sys_ni_syscall,sys32_chown16_wrapper) /* old chown16 syscall */ |
@@ -246,7 +246,7 @@ SYSCALL(sys_lremovexattr,sys_lremovexattr,sys32_lremovexattr_wrapper) | |||
246 | SYSCALL(sys_fremovexattr,sys_fremovexattr,sys32_fremovexattr_wrapper) /* 235 */ | 246 | SYSCALL(sys_fremovexattr,sys_fremovexattr,sys32_fremovexattr_wrapper) /* 235 */ |
247 | SYSCALL(sys_gettid,sys_gettid,sys_gettid) | 247 | SYSCALL(sys_gettid,sys_gettid,sys_gettid) |
248 | SYSCALL(sys_tkill,sys_tkill,sys_tkill_wrapper) | 248 | SYSCALL(sys_tkill,sys_tkill,sys_tkill_wrapper) |
249 | SYSCALL(sys_futex,sys_futex,compat_sys_futex_wrapper) | 249 | SYSCALL(sys_futex,sys_futex,compat_sys_futex) |
250 | SYSCALL(sys_sched_setaffinity,sys_sched_setaffinity,sys32_sched_setaffinity_wrapper) | 250 | SYSCALL(sys_sched_setaffinity,sys_sched_setaffinity,sys32_sched_setaffinity_wrapper) |
251 | SYSCALL(sys_sched_getaffinity,sys_sched_getaffinity,sys32_sched_getaffinity_wrapper) /* 240 */ | 251 | SYSCALL(sys_sched_getaffinity,sys_sched_getaffinity,sys32_sched_getaffinity_wrapper) /* 240 */ |
252 | SYSCALL(sys_tgkill,sys_tgkill,sys_tgkill_wrapper) | 252 | SYSCALL(sys_tgkill,sys_tgkill,sys_tgkill_wrapper) |
@@ -289,14 +289,14 @@ SYSCALL(sys_kexec_load,sys_kexec_load,compat_sys_kexec_load_wrapper) | |||
289 | SYSCALL(sys_add_key,sys_add_key,compat_sys_add_key_wrapper) | 289 | SYSCALL(sys_add_key,sys_add_key,compat_sys_add_key_wrapper) |
290 | SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key_wrapper) | 290 | SYSCALL(sys_request_key,sys_request_key,compat_sys_request_key_wrapper) |
291 | SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl_wrapper) /* 280 */ | 291 | SYSCALL(sys_keyctl,sys_keyctl,compat_sys_keyctl_wrapper) /* 280 */ |
292 | SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid_wrapper) | 292 | SYSCALL(sys_waitid,sys_waitid,compat_sys_waitid) |
293 | SYSCALL(sys_ioprio_set,sys_ioprio_set,sys_ioprio_set_wrapper) | 293 | SYSCALL(sys_ioprio_set,sys_ioprio_set,sys_ioprio_set_wrapper) |
294 | SYSCALL(sys_ioprio_get,sys_ioprio_get,sys_ioprio_get_wrapper) | 294 | SYSCALL(sys_ioprio_get,sys_ioprio_get,sys_ioprio_get_wrapper) |
295 | SYSCALL(sys_inotify_init,sys_inotify_init,sys_inotify_init) | 295 | SYSCALL(sys_inotify_init,sys_inotify_init,sys_inotify_init) |
296 | SYSCALL(sys_inotify_add_watch,sys_inotify_add_watch,sys_inotify_add_watch_wrapper) /* 285 */ | 296 | SYSCALL(sys_inotify_add_watch,sys_inotify_add_watch,sys_inotify_add_watch_wrapper) /* 285 */ |
297 | SYSCALL(sys_inotify_rm_watch,sys_inotify_rm_watch,sys_inotify_rm_watch_wrapper) | 297 | SYSCALL(sys_inotify_rm_watch,sys_inotify_rm_watch,sys_inotify_rm_watch_wrapper) |
298 | NI_SYSCALL /* 287 sys_migrate_pages */ | 298 | NI_SYSCALL /* 287 sys_migrate_pages */ |
299 | SYSCALL(sys_openat,sys_openat,compat_sys_openat_wrapper) | 299 | SYSCALL(sys_openat,sys_openat,compat_sys_openat) |
300 | SYSCALL(sys_mkdirat,sys_mkdirat,sys_mkdirat_wrapper) | 300 | SYSCALL(sys_mkdirat,sys_mkdirat,sys_mkdirat_wrapper) |
301 | SYSCALL(sys_mknodat,sys_mknodat,sys_mknodat_wrapper) /* 290 */ | 301 | SYSCALL(sys_mknodat,sys_mknodat,sys_mknodat_wrapper) /* 290 */ |
302 | SYSCALL(sys_fchownat,sys_fchownat,sys_fchownat_wrapper) | 302 | SYSCALL(sys_fchownat,sys_fchownat,sys_fchownat_wrapper) |
@@ -312,8 +312,8 @@ SYSCALL(sys_faccessat,sys_faccessat,sys_faccessat_wrapper) /* 300 */ | |||
312 | SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6_wrapper) | 312 | SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6_wrapper) |
313 | SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll_wrapper) | 313 | SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll_wrapper) |
314 | SYSCALL(sys_unshare,sys_unshare,sys_unshare_wrapper) | 314 | SYSCALL(sys_unshare,sys_unshare,sys_unshare_wrapper) |
315 | SYSCALL(sys_set_robust_list,sys_set_robust_list,compat_sys_set_robust_list_wrapper) | 315 | SYSCALL(sys_set_robust_list,sys_set_robust_list,compat_sys_set_robust_list) |
316 | SYSCALL(sys_get_robust_list,sys_get_robust_list,compat_sys_get_robust_list_wrapper) | 316 | SYSCALL(sys_get_robust_list,sys_get_robust_list,compat_sys_get_robust_list) |
317 | SYSCALL(sys_splice,sys_splice,sys_splice_wrapper) | 317 | SYSCALL(sys_splice,sys_splice,sys_splice_wrapper) |
318 | SYSCALL(sys_sync_file_range,sys_sync_file_range,sys_sync_file_range_wrapper) | 318 | SYSCALL(sys_sync_file_range,sys_sync_file_range,sys_sync_file_range_wrapper) |
319 | SYSCALL(sys_tee,sys_tee,sys_tee_wrapper) | 319 | SYSCALL(sys_tee,sys_tee,sys_tee_wrapper) |
@@ -328,8 +328,8 @@ SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd_wrapper) | |||
328 | NI_SYSCALL /* 317 old sys_timer_fd */ | 328 | NI_SYSCALL /* 317 old sys_timer_fd */ |
329 | SYSCALL(sys_eventfd,sys_eventfd,sys_eventfd_wrapper) | 329 | SYSCALL(sys_eventfd,sys_eventfd,sys_eventfd_wrapper) |
330 | SYSCALL(sys_timerfd_create,sys_timerfd_create,sys_timerfd_create_wrapper) | 330 | SYSCALL(sys_timerfd_create,sys_timerfd_create,sys_timerfd_create_wrapper) |
331 | SYSCALL(sys_timerfd_settime,sys_timerfd_settime,compat_sys_timerfd_settime_wrapper) /* 320 */ | 331 | SYSCALL(sys_timerfd_settime,sys_timerfd_settime,compat_sys_timerfd_settime) /* 320 */ |
332 | SYSCALL(sys_timerfd_gettime,sys_timerfd_gettime,compat_sys_timerfd_gettime_wrapper) | 332 | SYSCALL(sys_timerfd_gettime,sys_timerfd_gettime,compat_sys_timerfd_gettime) |
333 | SYSCALL(sys_signalfd4,sys_signalfd4,compat_sys_signalfd4_wrapper) | 333 | SYSCALL(sys_signalfd4,sys_signalfd4,compat_sys_signalfd4_wrapper) |
334 | SYSCALL(sys_eventfd2,sys_eventfd2,sys_eventfd2_wrapper) | 334 | SYSCALL(sys_eventfd2,sys_eventfd2,sys_eventfd2_wrapper) |
335 | SYSCALL(sys_inotify_init1,sys_inotify_init1,sys_inotify_init1_wrapper) | 335 | SYSCALL(sys_inotify_init1,sys_inotify_init1,sys_inotify_init1_wrapper) |
@@ -338,13 +338,13 @@ SYSCALL(sys_dup3,sys_dup3,sys_dup3_wrapper) | |||
338 | SYSCALL(sys_epoll_create1,sys_epoll_create1,sys_epoll_create1_wrapper) | 338 | SYSCALL(sys_epoll_create1,sys_epoll_create1,sys_epoll_create1_wrapper) |
339 | SYSCALL(sys_preadv,sys_preadv,compat_sys_preadv_wrapper) | 339 | SYSCALL(sys_preadv,sys_preadv,compat_sys_preadv_wrapper) |
340 | SYSCALL(sys_pwritev,sys_pwritev,compat_sys_pwritev_wrapper) | 340 | SYSCALL(sys_pwritev,sys_pwritev,compat_sys_pwritev_wrapper) |
341 | SYSCALL(sys_rt_tgsigqueueinfo,sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo_wrapper) /* 330 */ | 341 | SYSCALL(sys_rt_tgsigqueueinfo,sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo) /* 330 */ |
342 | SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper) | 342 | SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper) |
343 | SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper) | 343 | SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper) |
344 | SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper) | 344 | SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper) |
345 | SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper) | 345 | SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper) |
346 | SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */ | 346 | SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */ |
347 | SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at_wrapper) | 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_wrapper) | 348 | SYSCALL(sys_clock_adjtime,sys_clock_adjtime,compat_sys_clock_adjtime_wrapper) |
349 | SYSCALL(sys_syncfs,sys_syncfs,sys_syncfs_wrapper) | 349 | SYSCALL(sys_syncfs,sys_syncfs,sys_syncfs_wrapper) |
350 | SYSCALL(sys_setns,sys_setns,sys_setns_wrapper) | 350 | SYSCALL(sys_setns,sys_setns,sys_setns_wrapper) |