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 value it wants us to use in the table lookup.
55 .macro LOAD_ARGS32 offset, _r9=0
57 movl \offset+16(%rsp),%r9d
59 movl \offset+40(%rsp),%ecx
60 movl \offset+48(%rsp),%edx
61 movl \offset+56(%rsp),%esi
62 movl \offset+64(%rsp),%edi
65 .macro CFI_STARTPROC32 simple
77 #ifdef CONFIG_PARAVIRT
78 ENTRY(native_usergs_sysret32)
81 ENDPROC(native_usergs_sysret32)
83 ENTRY(native_irq_enable_sysexit)
87 ENDPROC(native_irq_enable_sysexit)
91 * 32bit SYSENTER instruction entry.
94 * %eax System call number.
105 * This is purely a fast path. For anything complicated we use the int 0x80
106 * path below. Set up a complete hardware stack frame to share code
107 * with the int 0x80 path.
109 ENTRY(ia32_sysenter_target)
110 CFI_STARTPROC32 simple
115 movq PER_CPU_VAR(kernel_stack), %rsp
116 addq $(KERNEL_STACK_OFFSET),%rsp
118 * No need to follow this irqs on/off section: the syscall
119 * disabled irqs, here we enable it straight after entry:
121 ENABLE_INTERRUPTS(CLBR_NONE)
122 movl %ebp,%ebp /* zero extension */
124 CFI_ADJUST_CFA_OFFSET 8
125 /*CFI_REL_OFFSET ss,0*/
127 CFI_ADJUST_CFA_OFFSET 8
130 CFI_ADJUST_CFA_OFFSET 8
131 /*CFI_REL_OFFSET rflags,0*/
132 movl 8*3-THREAD_SIZE+TI_sysenter_return(%rsp), %r10d
135 CFI_ADJUST_CFA_OFFSET 8
136 /*CFI_REL_OFFSET cs,0*/
139 CFI_ADJUST_CFA_OFFSET 8
142 CFI_ADJUST_CFA_OFFSET 8
145 /* no need to do an access_ok check here because rbp has been
146 32bit zero extended */
148 .section __ex_table,"a"
151 GET_THREAD_INFO(%r10)
152 orl $TS_COMPAT,TI_status(%r10)
153 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
155 jnz sysenter_tracesys
156 cmpl $(IA32_NR_syscalls-1),%eax
161 call *ia32_sys_call_table(,%rax,8)
162 movq %rax,RAX-ARGOFFSET(%rsp)
163 GET_THREAD_INFO(%r10)
164 DISABLE_INTERRUPTS(CLBR_NONE)
166 testl $_TIF_ALLWORK_MASK,TI_flags(%r10)
168 sysexit_from_sys_call:
169 andl $~TS_COMPAT,TI_status(%r10)
170 /* clear IF, that popfq doesn't enable interrupts early */
171 andl $~0x200,EFLAGS-R11(%rsp)
172 movl RIP-R11(%rsp),%edx /* User %eip */
174 RESTORE_ARGS 1,24,1,1,1,1
180 CFI_ADJUST_CFA_OFFSET -8
181 /*CFI_RESTORE rflags*/
182 popq %rcx /* User %esp */
183 CFI_ADJUST_CFA_OFFSET -8
186 ENABLE_INTERRUPTS_SYSEXIT32
188 #ifdef CONFIG_AUDITSYSCALL
189 .macro auditsys_entry_common
190 movl %esi,%r9d /* 6th arg: 4th syscall arg */
191 movl %edx,%r8d /* 5th arg: 3rd syscall arg */
192 /* (already in %ecx) 4th arg: 2nd syscall arg */
193 movl %ebx,%edx /* 3rd arg: 1st syscall arg */
194 movl %eax,%esi /* 2nd arg: syscall number */
195 movl $AUDIT_ARCH_I386,%edi /* 1st arg: audit arch */
196 call audit_syscall_entry
197 movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall number */
198 cmpl $(IA32_NR_syscalls-1),%eax
200 movl %ebx,%edi /* reload 1st syscall arg */
201 movl RCX-ARGOFFSET(%rsp),%esi /* reload 2nd syscall arg */
202 movl RDX-ARGOFFSET(%rsp),%edx /* reload 3rd syscall arg */
203 movl RSI-ARGOFFSET(%rsp),%ecx /* reload 4th syscall arg */
204 movl RDI-ARGOFFSET(%rsp),%r8d /* reload 5th syscall arg */
207 .macro auditsys_exit exit,ebpsave=RBP
208 testl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
209 jnz ia32_ret_from_sys_call
212 movl %eax,%esi /* second arg, syscall return value */
213 cmpl $0,%eax /* is it < 0? */
214 setl %al /* 1 if so, 0 if not */
215 movzbl %al,%edi /* zero-extend that into %edi */
216 inc %edi /* first arg, 0->1(AUDITSC_SUCCESS), 1->2(AUDITSC_FAILURE) */
217 call audit_syscall_exit
218 GET_THREAD_INFO(%r10)
219 movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall return value */
220 movl \ebpsave-ARGOFFSET(%rsp),%ebp /* reload user register value */
221 movl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),%edi
224 testl %edi,TI_flags(%r10)
226 CLEAR_RREGS -ARGOFFSET
232 auditsys_entry_common
233 movl %ebp,%r9d /* reload 6th syscall arg */
234 jmp sysenter_dispatch
237 auditsys_exit sysexit_from_sys_call
241 #ifdef CONFIG_AUDITSYSCALL
242 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
247 movq $-ENOSYS,RAX(%rsp)/* ptrace can change this for a bad syscall */
248 movq %rsp,%rdi /* &pt_regs -> arg1 */
249 call syscall_trace_enter
250 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
252 cmpl $(IA32_NR_syscalls-1),%eax
253 ja int_ret_from_sys_call /* sysenter_tracesys has set RAX(%rsp) */
256 ENDPROC(ia32_sysenter_target)
259 * 32bit SYSCALL instruction entry.
262 * %eax System call number.
268 * %ebp Arg2 [note: not saved in the stack frame, should not be touched]
274 * This is purely a fast path. For anything complicated we use the int 0x80
275 * path below. Set up a complete hardware stack frame to share code
276 * with the int 0x80 path.
278 ENTRY(ia32_cstar_target)
279 CFI_STARTPROC32 simple
281 CFI_DEF_CFA rsp,KERNEL_STACK_OFFSET
283 /*CFI_REGISTER rflags,r11*/
287 movq PER_CPU_VAR(kernel_stack),%rsp
289 * No need to follow this irqs on/off section: the syscall
290 * disabled irqs and here we enable it straight after entry:
292 ENABLE_INTERRUPTS(CLBR_NONE)
294 movl %eax,%eax /* zero extension */
295 movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
296 movq %rcx,RIP-ARGOFFSET(%rsp)
297 CFI_REL_OFFSET rip,RIP-ARGOFFSET
298 movq %rbp,RCX-ARGOFFSET(%rsp) /* this lies slightly to ptrace */
300 movq $__USER32_CS,CS-ARGOFFSET(%rsp)
301 movq $__USER32_DS,SS-ARGOFFSET(%rsp)
302 movq %r11,EFLAGS-ARGOFFSET(%rsp)
303 /*CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
304 movq %r8,RSP-ARGOFFSET(%rsp)
305 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
306 /* no need to do an access_ok check here because r8 has been
307 32bit zero extended */
308 /* hardware stack frame is complete now */
310 .section __ex_table,"a"
313 GET_THREAD_INFO(%r10)
314 orl $TS_COMPAT,TI_status(%r10)
315 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
318 cmpl $IA32_NR_syscalls-1,%eax
323 call *ia32_sys_call_table(,%rax,8)
324 movq %rax,RAX-ARGOFFSET(%rsp)
325 GET_THREAD_INFO(%r10)
326 DISABLE_INTERRUPTS(CLBR_NONE)
328 testl $_TIF_ALLWORK_MASK,TI_flags(%r10)
330 sysretl_from_sys_call:
331 andl $~TS_COMPAT,TI_status(%r10)
332 RESTORE_ARGS 1,-ARG_SKIP,1,1,1
333 movl RIP-ARGOFFSET(%rsp),%ecx
335 movl EFLAGS-ARGOFFSET(%rsp),%r11d
336 /*CFI_REGISTER rflags,r11*/
341 movl RSP-ARGOFFSET(%rsp),%esp
345 #ifdef CONFIG_AUDITSYSCALL
348 movl %r9d,R9-ARGOFFSET(%rsp) /* register to be clobbered by call */
349 auditsys_entry_common
350 movl R9-ARGOFFSET(%rsp),%r9d /* reload 6th syscall arg */
354 auditsys_exit sysretl_from_sys_call, RCX /* user %ebp in RCX slot */
358 #ifdef CONFIG_AUDITSYSCALL
359 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
365 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
366 movq %rsp,%rdi /* &pt_regs -> arg1 */
367 call syscall_trace_enter
368 LOAD_ARGS32 ARGOFFSET, 1 /* reload args from stack in case ptrace changed it */
371 cmpl $(IA32_NR_syscalls-1),%eax
372 ja int_ret_from_sys_call /* cstar_tracesys has set RAX(%rsp) */
374 END(ia32_cstar_target)
382 * Emulated IA32 system calls via int 0x80.
385 * %eax System call number.
391 * %ebp Arg6 [note: not saved in the stack frame, should not be touched]
394 * Uses the same stack frame as the x86-64 version.
395 * All registers except %eax must be saved (but ptrace may violate that)
396 * Arguments are zero extended. For system calls that want sign extension and
397 * take long arguments a wrapper is needed. Most calls can just be called
399 * Assumes it is only called from user space and entered with interrupts off.
403 CFI_STARTPROC32 simple
405 CFI_DEF_CFA rsp,SS+8-RIP
406 /*CFI_REL_OFFSET ss,SS-RIP*/
407 CFI_REL_OFFSET rsp,RSP-RIP
408 /*CFI_REL_OFFSET rflags,EFLAGS-RIP*/
409 /*CFI_REL_OFFSET cs,CS-RIP*/
410 CFI_REL_OFFSET rip,RIP-RIP
411 PARAVIRT_ADJUST_EXCEPTION_FRAME
414 * No need to follow this irqs on/off section: the syscall
415 * disabled irqs and here we enable it straight after entry:
417 ENABLE_INTERRUPTS(CLBR_NONE)
420 CFI_ADJUST_CFA_OFFSET 8
422 /* note the registers are not zero extended to the sf.
423 this could be a problem. */
425 GET_THREAD_INFO(%r10)
426 orl $TS_COMPAT,TI_status(%r10)
427 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
429 cmpl $(IA32_NR_syscalls-1),%eax
433 call *ia32_sys_call_table(,%rax,8) # xxx: rip relative
435 movq %rax,RAX-ARGOFFSET(%rsp)
436 ia32_ret_from_sys_call:
437 CLEAR_RREGS -ARGOFFSET
438 jmp int_ret_from_sys_call
443 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
444 movq %rsp,%rdi /* &pt_regs -> arg1 */
445 call syscall_trace_enter
446 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
448 cmpl $(IA32_NR_syscalls-1),%eax
449 ja int_ret_from_sys_call /* ia32_tracesys has set RAX(%rsp) */
454 movq $0,ORIG_RAX-ARGOFFSET(%rsp)
463 .macro PTREGSCALL label, func, arg
466 leaq \func(%rip),%rax
467 leaq -ARGOFFSET+8(%rsp),\arg /* 8 for return address */
468 jmp ia32_ptregs_common
473 PTREGSCALL stub32_rt_sigreturn, sys32_rt_sigreturn, %rdi
474 PTREGSCALL stub32_sigreturn, sys32_sigreturn, %rdi
475 PTREGSCALL stub32_sigaltstack, sys32_sigaltstack, %rdx
476 PTREGSCALL stub32_execve, sys32_execve, %rcx
477 PTREGSCALL stub32_fork, sys_fork, %rdi
478 PTREGSCALL stub32_clone, sys32_clone, %rdx
479 PTREGSCALL stub32_vfork, sys_vfork, %rdi
480 PTREGSCALL stub32_iopl, sys_iopl, %rsi
482 ENTRY(ia32_ptregs_common)
485 CFI_STARTPROC32 simple
487 CFI_DEF_CFA rsp,SS+8-ARGOFFSET
488 CFI_REL_OFFSET rax,RAX-ARGOFFSET
489 CFI_REL_OFFSET rcx,RCX-ARGOFFSET
490 CFI_REL_OFFSET rdx,RDX-ARGOFFSET
491 CFI_REL_OFFSET rsi,RSI-ARGOFFSET
492 CFI_REL_OFFSET rdi,RDI-ARGOFFSET
493 CFI_REL_OFFSET rip,RIP-ARGOFFSET
494 /* CFI_REL_OFFSET cs,CS-ARGOFFSET*/
495 /* CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
496 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
497 /* CFI_REL_OFFSET ss,SS-ARGOFFSET*/
501 jmp ia32_sysret /* misbalances the return cache */
503 END(ia32_ptregs_common)
508 .quad sys_restart_syscall
513 .quad compat_sys_open /* 5 */
518 .quad sys_unlink /* 10 */
521 .quad compat_sys_time
523 .quad sys_chmod /* 15 */
525 .quad quiet_ni_syscall /* old break syscall holder */
528 .quad sys_getpid /* 20 */
529 .quad compat_sys_mount /* mount */
530 .quad sys_oldumount /* old_umount */
533 .quad compat_sys_stime /* stime */ /* 25 */
534 .quad compat_sys_ptrace /* ptrace */
536 .quad sys_fstat /* (old)fstat */
538 .quad compat_sys_utime /* 30 */
539 .quad quiet_ni_syscall /* old stty syscall holder */
540 .quad quiet_ni_syscall /* old gtty syscall holder */
543 .quad quiet_ni_syscall /* 35 */ /* old ftime syscall holder */
548 .quad sys_rmdir /* 40 */
551 .quad compat_sys_times
552 .quad quiet_ni_syscall /* old prof syscall holder */
553 .quad sys_brk /* 45 */
558 .quad sys_getegid16 /* 50 */
560 .quad sys_umount /* new_umount */
561 .quad quiet_ni_syscall /* old lock syscall holder */
562 .quad compat_sys_ioctl
563 .quad compat_sys_fcntl64 /* 55 */
564 .quad quiet_ni_syscall /* old mpx syscall holder */
566 .quad quiet_ni_syscall /* old ulimit syscall holder */
568 .quad sys_umask /* 60 */
570 .quad compat_sys_ustat
573 .quad sys_getpgrp /* 65 */
575 .quad sys32_sigaction
578 .quad sys_setreuid16 /* 70 */
580 .quad sys32_sigsuspend
581 .quad compat_sys_sigpending
582 .quad sys_sethostname
583 .quad compat_sys_setrlimit /* 75 */
584 .quad compat_sys_old_getrlimit /* old_getrlimit */
585 .quad compat_sys_getrusage
586 .quad compat_sys_gettimeofday
587 .quad compat_sys_settimeofday
588 .quad sys_getgroups16 /* 80 */
589 .quad sys_setgroups16
590 .quad sys32_old_select
593 .quad sys_readlink /* 85 */
597 .quad compat_sys_old_readdir
598 .quad sys32_mmap /* 90 */
603 .quad sys_fchown16 /* 95 */
604 .quad sys_getpriority
605 .quad sys_setpriority
606 .quad quiet_ni_syscall /* old profil syscall holder */
607 .quad compat_sys_statfs
608 .quad compat_sys_fstatfs /* 100 */
610 .quad compat_sys_socketcall
612 .quad compat_sys_setitimer
613 .quad compat_sys_getitimer /* 105 */
614 .quad compat_sys_newstat
615 .quad compat_sys_newlstat
616 .quad compat_sys_newfstat
618 .quad stub32_iopl /* 110 */
620 .quad quiet_ni_syscall /* old "idle" system call */
621 .quad sys32_vm86_warning /* vm86old */
622 .quad compat_sys_wait4
623 .quad sys_swapoff /* 115 */
624 .quad compat_sys_sysinfo
627 .quad stub32_sigreturn
628 .quad stub32_clone /* 120 */
629 .quad sys_setdomainname
632 .quad compat_sys_adjtimex
633 .quad sys32_mprotect /* 125 */
634 .quad compat_sys_sigprocmask
635 .quad quiet_ni_syscall /* create_module */
636 .quad sys_init_module
637 .quad sys_delete_module
638 .quad quiet_ni_syscall /* 130 get_kernel_syms */
642 .quad quiet_ni_syscall /* bdflush */
643 .quad sys_sysfs /* 135 */
644 .quad sys_personality
645 .quad quiet_ni_syscall /* for afs_syscall */
648 .quad sys_llseek /* 140 */
649 .quad compat_sys_getdents
650 .quad compat_sys_select
653 .quad compat_sys_readv /* 145 */
654 .quad compat_sys_writev
657 .quad sys32_sysctl /* sysctl */
658 .quad sys_mlock /* 150 */
662 .quad sys_sched_setparam
663 .quad sys_sched_getparam /* 155 */
664 .quad sys_sched_setscheduler
665 .quad sys_sched_getscheduler
666 .quad sys_sched_yield
667 .quad sys_sched_get_priority_max
668 .quad sys_sched_get_priority_min /* 160 */
669 .quad sys32_sched_rr_get_interval
670 .quad compat_sys_nanosleep
672 .quad sys_setresuid16
673 .quad sys_getresuid16 /* 165 */
674 .quad sys32_vm86_warning /* vm86 */
675 .quad quiet_ni_syscall /* query_module */
677 .quad compat_sys_nfsservctl
678 .quad sys_setresgid16 /* 170 */
679 .quad sys_getresgid16
681 .quad stub32_rt_sigreturn
682 .quad sys32_rt_sigaction
683 .quad sys32_rt_sigprocmask /* 175 */
684 .quad sys32_rt_sigpending
685 .quad compat_sys_rt_sigtimedwait
686 .quad sys32_rt_sigqueueinfo
687 .quad sys_rt_sigsuspend
688 .quad sys32_pread /* 180 */
694 .quad stub32_sigaltstack
696 .quad quiet_ni_syscall /* streams1 */
697 .quad quiet_ni_syscall /* streams2 */
698 .quad stub32_vfork /* 190 */
699 .quad compat_sys_getrlimit
701 .quad sys32_truncate64
702 .quad sys32_ftruncate64
703 .quad sys32_stat64 /* 195 */
708 .quad sys_getgid /* 200 */
713 .quad sys_getgroups /* 205 */
718 .quad sys_setresgid /* 210 */
723 .quad sys_setfsuid /* 215 */
728 .quad compat_sys_getdents64 /* 220 getdents64 */
729 .quad compat_sys_fcntl64
730 .quad quiet_ni_syscall /* tux */
731 .quad quiet_ni_syscall /* security */
733 .quad sys32_readahead /* 225 */
738 .quad sys_lgetxattr /* 230 */
743 .quad sys_removexattr /* 235 */
744 .quad sys_lremovexattr
745 .quad sys_fremovexattr
748 .quad compat_sys_futex /* 240 */
749 .quad compat_sys_sched_setaffinity
750 .quad compat_sys_sched_getaffinity
751 .quad sys_set_thread_area
752 .quad sys_get_thread_area
753 .quad compat_sys_io_setup /* 245 */
755 .quad compat_sys_io_getevents
756 .quad compat_sys_io_submit
758 .quad sys32_fadvise64 /* 250 */
759 .quad quiet_ni_syscall /* free_huge_pages */
761 .quad sys32_lookup_dcookie
762 .quad sys_epoll_create
763 .quad sys_epoll_ctl /* 255 */
765 .quad sys_remap_file_pages
766 .quad sys_set_tid_address
767 .quad compat_sys_timer_create
768 .quad compat_sys_timer_settime /* 260 */
769 .quad compat_sys_timer_gettime
770 .quad sys_timer_getoverrun
771 .quad sys_timer_delete
772 .quad compat_sys_clock_settime
773 .quad compat_sys_clock_gettime /* 265 */
774 .quad compat_sys_clock_getres
775 .quad compat_sys_clock_nanosleep
776 .quad compat_sys_statfs64
777 .quad compat_sys_fstatfs64
778 .quad sys_tgkill /* 270 */
779 .quad compat_sys_utimes
780 .quad sys32_fadvise64_64
781 .quad quiet_ni_syscall /* sys_vserver */
783 .quad compat_sys_get_mempolicy /* 275 */
784 .quad sys_set_mempolicy
785 .quad compat_sys_mq_open
787 .quad compat_sys_mq_timedsend
788 .quad compat_sys_mq_timedreceive /* 280 */
789 .quad compat_sys_mq_notify
790 .quad compat_sys_mq_getsetattr
791 .quad compat_sys_kexec_load /* reserved for kexec */
792 .quad compat_sys_waitid
793 .quad quiet_ni_syscall /* 285: sys_altroot */
795 .quad sys_request_key
798 .quad sys_ioprio_get /* 290 */
799 .quad sys_inotify_init
800 .quad sys_inotify_add_watch
801 .quad sys_inotify_rm_watch
802 .quad sys_migrate_pages
803 .quad compat_sys_openat /* 295 */
807 .quad compat_sys_futimesat
808 .quad sys32_fstatat /* 300 */
813 .quad sys_readlinkat /* 305 */
816 .quad compat_sys_pselect6
817 .quad compat_sys_ppoll
818 .quad sys_unshare /* 310 */
819 .quad compat_sys_set_robust_list
820 .quad compat_sys_get_robust_list
822 .quad sys32_sync_file_range
823 .quad sys_tee /* 315 */
824 .quad compat_sys_vmsplice
825 .quad compat_sys_move_pages
827 .quad sys_epoll_pwait
828 .quad compat_sys_utimensat /* 320 */
829 .quad compat_sys_signalfd
830 .quad sys_timerfd_create
832 .quad sys32_fallocate
833 .quad compat_sys_timerfd_settime /* 325 */
834 .quad compat_sys_timerfd_gettime
835 .quad compat_sys_signalfd4
837 .quad sys_epoll_create1
838 .quad sys_dup3 /* 330 */
840 .quad sys_inotify_init1
841 .quad compat_sys_preadv
842 .quad compat_sys_pwritev
843 .quad compat_sys_rt_tgsigqueueinfo /* 335 */
844 .quad sys_perf_event_open