2 * Compatibility mode system call entry point for x86-64.
4 * Copyright 2000-2002 Andi Kleen, SuSE Labs.
7 #include <asm/dwarf2.h>
8 #include <asm/calling.h>
9 #include <asm/asm-offsets.h>
10 #include <asm/current.h>
11 #include <asm/errno.h>
12 #include <asm/ia32_unistd.h>
13 #include <asm/thread_info.h>
14 #include <asm/segment.h>
15 #include <asm/irqflags.h>
16 #include <linux/linkage.h>
18 /* Avoid __ASSEMBLER__'ifying <linux/audit.h> just for this. */
19 #include <linux/elf-em.h>
20 #define AUDIT_ARCH_I386 (EM_386|__AUDIT_ARCH_LE)
21 #define __AUDIT_ARCH_LE 0x40000000
23 #ifndef CONFIG_AUDITSYSCALL
24 #define sysexit_audit ia32_ret_from_sys_call
25 #define sysretl_audit ia32_ret_from_sys_call
28 #define IA32_NR_syscalls ((ia32_syscall_end - ia32_sys_call_table)/8)
30 .macro IA32_ARG_FIXUP noebp=0
38 movl %edx,%edx /* zero extension */
42 .macro CLEAR_RREGS offset=0, _r9=rax
44 movq %rax,\offset+R11(%rsp)
45 movq %rax,\offset+R10(%rsp)
46 movq %\_r9,\offset+R9(%rsp)
47 movq %rax,\offset+R8(%rsp)
51 * Reload arg registers from stack in case ptrace changed them.
52 * We don't reload %eax because syscall_trace_enter() returned
53 * the %rax value we should see. Instead, we just truncate that
54 * value to 32 bits again as we did on entry from user mode.
55 * If it's a new value set by user_regset during entry tracing,
56 * this matches the normal truncation of the user-mode value.
57 * If it's -1 to make us punt the syscall, then (u32)-1 is still
58 * an appropriately invalid value.
60 .macro LOAD_ARGS32 offset, _r9=0
62 movl \offset+16(%rsp),%r9d
64 movl \offset+40(%rsp),%ecx
65 movl \offset+48(%rsp),%edx
66 movl \offset+56(%rsp),%esi
67 movl \offset+64(%rsp),%edi
68 movl %eax,%eax /* zero extension */
71 .macro CFI_STARTPROC32 simple
83 #ifdef CONFIG_PARAVIRT
84 ENTRY(native_usergs_sysret32)
87 ENDPROC(native_usergs_sysret32)
89 ENTRY(native_irq_enable_sysexit)
93 ENDPROC(native_irq_enable_sysexit)
97 * 32bit SYSENTER instruction entry.
100 * %eax System call number.
111 * This is purely a fast path. For anything complicated we use the int 0x80
112 * path below. Set up a complete hardware stack frame to share code
113 * with the int 0x80 path.
115 ENTRY(ia32_sysenter_target)
116 CFI_STARTPROC32 simple
121 movq PER_CPU_VAR(kernel_stack), %rsp
122 addq $(KERNEL_STACK_OFFSET),%rsp
124 * No need to follow this irqs on/off section: the syscall
125 * disabled irqs, here we enable it straight after entry:
127 ENABLE_INTERRUPTS(CLBR_NONE)
128 movl %ebp,%ebp /* zero extension */
130 CFI_ADJUST_CFA_OFFSET 8
131 /*CFI_REL_OFFSET ss,0*/
133 CFI_ADJUST_CFA_OFFSET 8
136 CFI_ADJUST_CFA_OFFSET 8
137 /*CFI_REL_OFFSET rflags,0*/
138 movl 8*3-THREAD_SIZE+TI_sysenter_return(%rsp), %r10d
141 CFI_ADJUST_CFA_OFFSET 8
142 /*CFI_REL_OFFSET cs,0*/
145 CFI_ADJUST_CFA_OFFSET 8
148 CFI_ADJUST_CFA_OFFSET 8
151 /* no need to do an access_ok check here because rbp has been
152 32bit zero extended */
154 .section __ex_table,"a"
157 GET_THREAD_INFO(%r10)
158 orl $TS_COMPAT,TI_status(%r10)
159 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
161 jnz sysenter_tracesys
162 cmpq $(IA32_NR_syscalls-1),%rax
167 call *ia32_sys_call_table(,%rax,8)
168 movq %rax,RAX-ARGOFFSET(%rsp)
169 GET_THREAD_INFO(%r10)
170 DISABLE_INTERRUPTS(CLBR_NONE)
172 testl $_TIF_ALLWORK_MASK,TI_flags(%r10)
174 sysexit_from_sys_call:
175 andl $~TS_COMPAT,TI_status(%r10)
176 /* clear IF, that popfq doesn't enable interrupts early */
177 andl $~0x200,EFLAGS-R11(%rsp)
178 movl RIP-R11(%rsp),%edx /* User %eip */
180 RESTORE_ARGS 1,24,1,1,1,1
186 CFI_ADJUST_CFA_OFFSET -8
187 /*CFI_RESTORE rflags*/
188 popq %rcx /* User %esp */
189 CFI_ADJUST_CFA_OFFSET -8
192 ENABLE_INTERRUPTS_SYSEXIT32
194 #ifdef CONFIG_AUDITSYSCALL
195 .macro auditsys_entry_common
196 movl %esi,%r9d /* 6th arg: 4th syscall arg */
197 movl %edx,%r8d /* 5th arg: 3rd syscall arg */
198 /* (already in %ecx) 4th arg: 2nd syscall arg */
199 movl %ebx,%edx /* 3rd arg: 1st syscall arg */
200 movl %eax,%esi /* 2nd arg: syscall number */
201 movl $AUDIT_ARCH_I386,%edi /* 1st arg: audit arch */
202 call audit_syscall_entry
203 movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall number */
204 cmpq $(IA32_NR_syscalls-1),%rax
206 movl %ebx,%edi /* reload 1st syscall arg */
207 movl RCX-ARGOFFSET(%rsp),%esi /* reload 2nd syscall arg */
208 movl RDX-ARGOFFSET(%rsp),%edx /* reload 3rd syscall arg */
209 movl RSI-ARGOFFSET(%rsp),%ecx /* reload 4th syscall arg */
210 movl RDI-ARGOFFSET(%rsp),%r8d /* reload 5th syscall arg */
213 .macro auditsys_exit exit
214 testl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
215 jnz ia32_ret_from_sys_call
218 movl %eax,%esi /* second arg, syscall return value */
219 cmpl $0,%eax /* is it < 0? */
220 setl %al /* 1 if so, 0 if not */
221 movzbl %al,%edi /* zero-extend that into %edi */
222 inc %edi /* first arg, 0->1(AUDITSC_SUCCESS), 1->2(AUDITSC_FAILURE) */
223 call audit_syscall_exit
224 GET_THREAD_INFO(%r10)
225 movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall return value */
226 movl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),%edi
229 testl %edi,TI_flags(%r10)
231 CLEAR_RREGS -ARGOFFSET
237 auditsys_entry_common
238 movl %ebp,%r9d /* reload 6th syscall arg */
239 jmp sysenter_dispatch
242 auditsys_exit sysexit_from_sys_call
246 #ifdef CONFIG_AUDITSYSCALL
247 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
252 movq $-ENOSYS,RAX(%rsp)/* ptrace can change this for a bad syscall */
253 movq %rsp,%rdi /* &pt_regs -> arg1 */
254 call syscall_trace_enter
255 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
257 cmpq $(IA32_NR_syscalls-1),%rax
258 ja int_ret_from_sys_call /* sysenter_tracesys has set RAX(%rsp) */
261 ENDPROC(ia32_sysenter_target)
264 * 32bit SYSCALL instruction entry.
267 * %eax System call number.
273 * %ebp Arg2 [note: not saved in the stack frame, should not be touched]
279 * This is purely a fast path. For anything complicated we use the int 0x80
280 * path below. Set up a complete hardware stack frame to share code
281 * with the int 0x80 path.
283 ENTRY(ia32_cstar_target)
284 CFI_STARTPROC32 simple
286 CFI_DEF_CFA rsp,KERNEL_STACK_OFFSET
288 /*CFI_REGISTER rflags,r11*/
292 movq PER_CPU_VAR(kernel_stack),%rsp
294 * No need to follow this irqs on/off section: the syscall
295 * disabled irqs and here we enable it straight after entry:
297 ENABLE_INTERRUPTS(CLBR_NONE)
299 movl %eax,%eax /* zero extension */
300 movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
301 movq %rcx,RIP-ARGOFFSET(%rsp)
302 CFI_REL_OFFSET rip,RIP-ARGOFFSET
303 movq %rbp,RCX-ARGOFFSET(%rsp) /* this lies slightly to ptrace */
305 movq $__USER32_CS,CS-ARGOFFSET(%rsp)
306 movq $__USER32_DS,SS-ARGOFFSET(%rsp)
307 movq %r11,EFLAGS-ARGOFFSET(%rsp)
308 /*CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
309 movq %r8,RSP-ARGOFFSET(%rsp)
310 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
311 /* no need to do an access_ok check here because r8 has been
312 32bit zero extended */
313 /* hardware stack frame is complete now */
315 .section __ex_table,"a"
318 GET_THREAD_INFO(%r10)
319 orl $TS_COMPAT,TI_status(%r10)
320 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
323 cmpq $IA32_NR_syscalls-1,%rax
328 call *ia32_sys_call_table(,%rax,8)
329 movq %rax,RAX-ARGOFFSET(%rsp)
330 GET_THREAD_INFO(%r10)
331 DISABLE_INTERRUPTS(CLBR_NONE)
333 testl $_TIF_ALLWORK_MASK,TI_flags(%r10)
335 sysretl_from_sys_call:
336 andl $~TS_COMPAT,TI_status(%r10)
337 RESTORE_ARGS 1,-ARG_SKIP,1,1,1
338 movl RIP-ARGOFFSET(%rsp),%ecx
340 movl EFLAGS-ARGOFFSET(%rsp),%r11d
341 /*CFI_REGISTER rflags,r11*/
346 movl RSP-ARGOFFSET(%rsp),%esp
350 #ifdef CONFIG_AUDITSYSCALL
353 movl %r9d,R9-ARGOFFSET(%rsp) /* register to be clobbered by call */
354 auditsys_entry_common
355 movl R9-ARGOFFSET(%rsp),%r9d /* reload 6th syscall arg */
359 auditsys_exit sysretl_from_sys_call
363 #ifdef CONFIG_AUDITSYSCALL
364 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
370 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
371 movq %rsp,%rdi /* &pt_regs -> arg1 */
372 call syscall_trace_enter
373 LOAD_ARGS32 ARGOFFSET, 1 /* reload args from stack in case ptrace changed it */
376 cmpq $(IA32_NR_syscalls-1),%rax
377 ja int_ret_from_sys_call /* cstar_tracesys has set RAX(%rsp) */
379 END(ia32_cstar_target)
387 * Emulated IA32 system calls via int 0x80.
390 * %eax System call number.
396 * %ebp Arg6 [note: not saved in the stack frame, should not be touched]
399 * Uses the same stack frame as the x86-64 version.
400 * All registers except %eax must be saved (but ptrace may violate that)
401 * Arguments are zero extended. For system calls that want sign extension and
402 * take long arguments a wrapper is needed. Most calls can just be called
404 * Assumes it is only called from user space and entered with interrupts off.
408 CFI_STARTPROC32 simple
410 CFI_DEF_CFA rsp,SS+8-RIP
411 /*CFI_REL_OFFSET ss,SS-RIP*/
412 CFI_REL_OFFSET rsp,RSP-RIP
413 /*CFI_REL_OFFSET rflags,EFLAGS-RIP*/
414 /*CFI_REL_OFFSET cs,CS-RIP*/
415 CFI_REL_OFFSET rip,RIP-RIP
416 PARAVIRT_ADJUST_EXCEPTION_FRAME
419 * No need to follow this irqs on/off section: the syscall
420 * disabled irqs and here we enable it straight after entry:
422 ENABLE_INTERRUPTS(CLBR_NONE)
425 CFI_ADJUST_CFA_OFFSET 8
427 /* note the registers are not zero extended to the sf.
428 this could be a problem. */
430 GET_THREAD_INFO(%r10)
431 orl $TS_COMPAT,TI_status(%r10)
432 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
434 cmpq $(IA32_NR_syscalls-1),%rax
438 call *ia32_sys_call_table(,%rax,8) # xxx: rip relative
440 movq %rax,RAX-ARGOFFSET(%rsp)
441 ia32_ret_from_sys_call:
442 CLEAR_RREGS -ARGOFFSET
443 jmp int_ret_from_sys_call
448 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
449 movq %rsp,%rdi /* &pt_regs -> arg1 */
450 call syscall_trace_enter
451 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
453 cmpq $(IA32_NR_syscalls-1),%rax
454 ja int_ret_from_sys_call /* ia32_tracesys has set RAX(%rsp) */
459 movq $0,ORIG_RAX-ARGOFFSET(%rsp)
468 .macro PTREGSCALL label, func, arg
471 leaq \func(%rip),%rax
472 leaq -ARGOFFSET+8(%rsp),\arg /* 8 for return address */
473 jmp ia32_ptregs_common
478 PTREGSCALL stub32_rt_sigreturn, sys32_rt_sigreturn, %rdi
479 PTREGSCALL stub32_sigreturn, sys32_sigreturn, %rdi
480 PTREGSCALL stub32_sigaltstack, sys32_sigaltstack, %rdx
481 PTREGSCALL stub32_execve, sys32_execve, %rcx
482 PTREGSCALL stub32_fork, sys_fork, %rdi
483 PTREGSCALL stub32_clone, sys32_clone, %rdx
484 PTREGSCALL stub32_vfork, sys_vfork, %rdi
485 PTREGSCALL stub32_iopl, sys_iopl, %rsi
487 ENTRY(ia32_ptregs_common)
490 CFI_STARTPROC32 simple
492 CFI_DEF_CFA rsp,SS+8-ARGOFFSET
493 CFI_REL_OFFSET rax,RAX-ARGOFFSET
494 CFI_REL_OFFSET rcx,RCX-ARGOFFSET
495 CFI_REL_OFFSET rdx,RDX-ARGOFFSET
496 CFI_REL_OFFSET rsi,RSI-ARGOFFSET
497 CFI_REL_OFFSET rdi,RDI-ARGOFFSET
498 CFI_REL_OFFSET rip,RIP-ARGOFFSET
499 /* CFI_REL_OFFSET cs,CS-ARGOFFSET*/
500 /* CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
501 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
502 /* CFI_REL_OFFSET ss,SS-ARGOFFSET*/
506 jmp ia32_sysret /* misbalances the return cache */
508 END(ia32_ptregs_common)
513 .quad sys_restart_syscall
518 .quad compat_sys_open /* 5 */
523 .quad sys_unlink /* 10 */
526 .quad compat_sys_time
528 .quad sys_chmod /* 15 */
530 .quad quiet_ni_syscall /* old break syscall holder */
533 .quad sys_getpid /* 20 */
534 .quad compat_sys_mount /* mount */
535 .quad sys_oldumount /* old_umount */
538 .quad compat_sys_stime /* stime */ /* 25 */
539 .quad compat_sys_ptrace /* ptrace */
541 .quad sys_fstat /* (old)fstat */
543 .quad compat_sys_utime /* 30 */
544 .quad quiet_ni_syscall /* old stty syscall holder */
545 .quad quiet_ni_syscall /* old gtty syscall holder */
548 .quad quiet_ni_syscall /* 35 */ /* old ftime syscall holder */
553 .quad sys_rmdir /* 40 */
556 .quad compat_sys_times
557 .quad quiet_ni_syscall /* old prof syscall holder */
558 .quad sys_brk /* 45 */
563 .quad sys_getegid16 /* 50 */
565 .quad sys_umount /* new_umount */
566 .quad quiet_ni_syscall /* old lock syscall holder */
567 .quad compat_sys_ioctl
568 .quad compat_sys_fcntl64 /* 55 */
569 .quad quiet_ni_syscall /* old mpx syscall holder */
571 .quad quiet_ni_syscall /* old ulimit syscall holder */
573 .quad sys_umask /* 60 */
575 .quad compat_sys_ustat
578 .quad sys_getpgrp /* 65 */
580 .quad sys32_sigaction
583 .quad sys_setreuid16 /* 70 */
585 .quad sys32_sigsuspend
586 .quad compat_sys_sigpending
587 .quad sys_sethostname
588 .quad compat_sys_setrlimit /* 75 */
589 .quad compat_sys_old_getrlimit /* old_getrlimit */
590 .quad compat_sys_getrusage
591 .quad compat_sys_gettimeofday
592 .quad compat_sys_settimeofday
593 .quad sys_getgroups16 /* 80 */
594 .quad sys_setgroups16
595 .quad compat_sys_old_select
598 .quad sys_readlink /* 85 */
602 .quad compat_sys_old_readdir
603 .quad sys32_mmap /* 90 */
608 .quad sys_fchown16 /* 95 */
609 .quad sys_getpriority
610 .quad sys_setpriority
611 .quad quiet_ni_syscall /* old profil syscall holder */
612 .quad compat_sys_statfs
613 .quad compat_sys_fstatfs /* 100 */
615 .quad compat_sys_socketcall
617 .quad compat_sys_setitimer
618 .quad compat_sys_getitimer /* 105 */
619 .quad compat_sys_newstat
620 .quad compat_sys_newlstat
621 .quad compat_sys_newfstat
623 .quad stub32_iopl /* 110 */
625 .quad quiet_ni_syscall /* old "idle" system call */
626 .quad sys32_vm86_warning /* vm86old */
627 .quad compat_sys_wait4
628 .quad sys_swapoff /* 115 */
629 .quad compat_sys_sysinfo
632 .quad stub32_sigreturn
633 .quad stub32_clone /* 120 */
634 .quad sys_setdomainname
637 .quad compat_sys_adjtimex
638 .quad sys32_mprotect /* 125 */
639 .quad compat_sys_sigprocmask
640 .quad quiet_ni_syscall /* create_module */
641 .quad sys_init_module
642 .quad sys_delete_module
643 .quad quiet_ni_syscall /* 130 get_kernel_syms */
647 .quad quiet_ni_syscall /* bdflush */
648 .quad sys_sysfs /* 135 */
649 .quad sys_personality
650 .quad quiet_ni_syscall /* for afs_syscall */
653 .quad sys_llseek /* 140 */
654 .quad compat_sys_getdents
655 .quad compat_sys_select
658 .quad compat_sys_readv /* 145 */
659 .quad compat_sys_writev
662 .quad compat_sys_sysctl /* sysctl */
663 .quad sys_mlock /* 150 */
667 .quad sys_sched_setparam
668 .quad sys_sched_getparam /* 155 */
669 .quad sys_sched_setscheduler
670 .quad sys_sched_getscheduler
671 .quad sys_sched_yield
672 .quad sys_sched_get_priority_max
673 .quad sys_sched_get_priority_min /* 160 */
674 .quad sys32_sched_rr_get_interval
675 .quad compat_sys_nanosleep
677 .quad sys_setresuid16
678 .quad sys_getresuid16 /* 165 */
679 .quad sys32_vm86_warning /* vm86 */
680 .quad quiet_ni_syscall /* query_module */
682 .quad compat_sys_nfsservctl
683 .quad sys_setresgid16 /* 170 */
684 .quad sys_getresgid16
686 .quad stub32_rt_sigreturn
687 .quad sys32_rt_sigaction
688 .quad sys32_rt_sigprocmask /* 175 */
689 .quad sys32_rt_sigpending
690 .quad compat_sys_rt_sigtimedwait
691 .quad sys32_rt_sigqueueinfo
692 .quad sys_rt_sigsuspend
693 .quad sys32_pread /* 180 */
699 .quad stub32_sigaltstack
701 .quad quiet_ni_syscall /* streams1 */
702 .quad quiet_ni_syscall /* streams2 */
703 .quad stub32_vfork /* 190 */
704 .quad compat_sys_getrlimit
706 .quad sys32_truncate64
707 .quad sys32_ftruncate64
708 .quad sys32_stat64 /* 195 */
713 .quad sys_getgid /* 200 */
718 .quad sys_getgroups /* 205 */
723 .quad sys_setresgid /* 210 */
728 .quad sys_setfsuid /* 215 */
733 .quad compat_sys_getdents64 /* 220 getdents64 */
734 .quad compat_sys_fcntl64
735 .quad quiet_ni_syscall /* tux */
736 .quad quiet_ni_syscall /* security */
738 .quad sys32_readahead /* 225 */
743 .quad sys_lgetxattr /* 230 */
748 .quad sys_removexattr /* 235 */
749 .quad sys_lremovexattr
750 .quad sys_fremovexattr
753 .quad compat_sys_futex /* 240 */
754 .quad compat_sys_sched_setaffinity
755 .quad compat_sys_sched_getaffinity
756 .quad sys_set_thread_area
757 .quad sys_get_thread_area
758 .quad compat_sys_io_setup /* 245 */
760 .quad compat_sys_io_getevents
761 .quad compat_sys_io_submit
763 .quad sys32_fadvise64 /* 250 */
764 .quad quiet_ni_syscall /* free_huge_pages */
766 .quad sys32_lookup_dcookie
767 .quad sys_epoll_create
768 .quad sys_epoll_ctl /* 255 */
770 .quad sys_remap_file_pages
771 .quad sys_set_tid_address
772 .quad compat_sys_timer_create
773 .quad compat_sys_timer_settime /* 260 */
774 .quad compat_sys_timer_gettime
775 .quad sys_timer_getoverrun
776 .quad sys_timer_delete
777 .quad compat_sys_clock_settime
778 .quad compat_sys_clock_gettime /* 265 */
779 .quad compat_sys_clock_getres
780 .quad compat_sys_clock_nanosleep
781 .quad compat_sys_statfs64
782 .quad compat_sys_fstatfs64
783 .quad sys_tgkill /* 270 */
784 .quad compat_sys_utimes
785 .quad sys32_fadvise64_64
786 .quad quiet_ni_syscall /* sys_vserver */
788 .quad compat_sys_get_mempolicy /* 275 */
789 .quad sys_set_mempolicy
790 .quad compat_sys_mq_open
792 .quad compat_sys_mq_timedsend
793 .quad compat_sys_mq_timedreceive /* 280 */
794 .quad compat_sys_mq_notify
795 .quad compat_sys_mq_getsetattr
796 .quad compat_sys_kexec_load /* reserved for kexec */
797 .quad compat_sys_waitid
798 .quad quiet_ni_syscall /* 285: sys_altroot */
800 .quad sys_request_key
803 .quad sys_ioprio_get /* 290 */
804 .quad sys_inotify_init
805 .quad sys_inotify_add_watch
806 .quad sys_inotify_rm_watch
807 .quad sys_migrate_pages
808 .quad compat_sys_openat /* 295 */
812 .quad compat_sys_futimesat
813 .quad sys32_fstatat /* 300 */
818 .quad sys_readlinkat /* 305 */
821 .quad compat_sys_pselect6
822 .quad compat_sys_ppoll
823 .quad sys_unshare /* 310 */
824 .quad compat_sys_set_robust_list
825 .quad compat_sys_get_robust_list
827 .quad sys32_sync_file_range
828 .quad sys_tee /* 315 */
829 .quad compat_sys_vmsplice
830 .quad compat_sys_move_pages
832 .quad sys_epoll_pwait
833 .quad compat_sys_utimensat /* 320 */
834 .quad compat_sys_signalfd
835 .quad sys_timerfd_create
837 .quad sys32_fallocate
838 .quad compat_sys_timerfd_settime /* 325 */
839 .quad compat_sys_timerfd_gettime
840 .quad compat_sys_signalfd4
842 .quad sys_epoll_create1
843 .quad sys_dup3 /* 330 */
845 .quad sys_inotify_init1
846 .quad compat_sys_preadv
847 .quad compat_sys_pwritev
848 .quad compat_sys_rt_tgsigqueueinfo /* 335 */
849 .quad sys_perf_event_open
850 .quad compat_sys_recvmmsg
851 .quad sys_fanotify_init
852 .quad sys32_fanotify_mark
853 .quad sys_prlimit64 /* 340 */