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 .section .entry.text, "ax"
30 #define IA32_NR_syscalls ((ia32_syscall_end - ia32_sys_call_table)/8)
32 .macro IA32_ARG_FIXUP noebp=0
40 movl %edx,%edx /* zero extension */
44 .macro CLEAR_RREGS offset=0, _r9=rax
46 movq %rax,\offset+R11(%rsp)
47 movq %rax,\offset+R10(%rsp)
48 movq %\_r9,\offset+R9(%rsp)
49 movq %rax,\offset+R8(%rsp)
53 * Reload arg registers from stack in case ptrace changed them.
54 * We don't reload %eax because syscall_trace_enter() returned
55 * the %rax value we should see. Instead, we just truncate that
56 * value to 32 bits again as we did on entry from user mode.
57 * If it's a new value set by user_regset during entry tracing,
58 * this matches the normal truncation of the user-mode value.
59 * If it's -1 to make us punt the syscall, then (u32)-1 is still
60 * an appropriately invalid value.
62 .macro LOAD_ARGS32 offset, _r9=0
64 movl \offset+16(%rsp),%r9d
66 movl \offset+40(%rsp),%ecx
67 movl \offset+48(%rsp),%edx
68 movl \offset+56(%rsp),%esi
69 movl \offset+64(%rsp),%edi
70 movl %eax,%eax /* zero extension */
73 .macro CFI_STARTPROC32 simple
85 #ifdef CONFIG_PARAVIRT
86 ENTRY(native_usergs_sysret32)
89 ENDPROC(native_usergs_sysret32)
91 ENTRY(native_irq_enable_sysexit)
95 ENDPROC(native_irq_enable_sysexit)
99 * 32bit SYSENTER instruction entry.
102 * %eax System call number.
113 * This is purely a fast path. For anything complicated we use the int 0x80
114 * path below. Set up a complete hardware stack frame to share code
115 * with the int 0x80 path.
117 ENTRY(ia32_sysenter_target)
118 CFI_STARTPROC32 simple
123 movq PER_CPU_VAR(kernel_stack), %rsp
124 addq $(KERNEL_STACK_OFFSET),%rsp
126 * No need to follow this irqs on/off section: the syscall
127 * disabled irqs, here we enable it straight after entry:
129 ENABLE_INTERRUPTS(CLBR_NONE)
130 movl %ebp,%ebp /* zero extension */
131 pushq_cfi $__USER32_DS
132 /*CFI_REL_OFFSET ss,0*/
136 /*CFI_REL_OFFSET rflags,0*/
137 movl 8*3-THREAD_SIZE+TI_sysenter_return(%rsp), %r10d
139 pushq_cfi $__USER32_CS
140 /*CFI_REL_OFFSET cs,0*/
147 /* no need to do an access_ok check here because rbp has been
148 32bit zero extended */
150 .section __ex_table,"a"
153 GET_THREAD_INFO(%r10)
154 orl $TS_COMPAT,TI_status(%r10)
155 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
157 jnz sysenter_tracesys
158 cmpq $(IA32_NR_syscalls-1),%rax
163 call *ia32_sys_call_table(,%rax,8)
164 movq %rax,RAX-ARGOFFSET(%rsp)
165 GET_THREAD_INFO(%r10)
166 DISABLE_INTERRUPTS(CLBR_NONE)
168 testl $_TIF_ALLWORK_MASK,TI_flags(%r10)
170 sysexit_from_sys_call:
171 andl $~TS_COMPAT,TI_status(%r10)
172 /* clear IF, that popfq doesn't enable interrupts early */
173 andl $~0x200,EFLAGS-R11(%rsp)
174 movl RIP-R11(%rsp),%edx /* User %eip */
176 RESTORE_ARGS 1,24,1,1,1,1
182 /*CFI_RESTORE rflags*/
183 popq_cfi %rcx /* User %esp */
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 cmpq $(IA32_NR_syscalls-1),%rax
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
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 $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),%edi
223 testl %edi,TI_flags(%r10)
225 CLEAR_RREGS -ARGOFFSET
231 auditsys_entry_common
232 movl %ebp,%r9d /* reload 6th syscall arg */
233 jmp sysenter_dispatch
236 auditsys_exit sysexit_from_sys_call
240 #ifdef CONFIG_AUDITSYSCALL
241 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
246 movq $-ENOSYS,RAX(%rsp)/* ptrace can change this for a bad syscall */
247 movq %rsp,%rdi /* &pt_regs -> arg1 */
248 call syscall_trace_enter
249 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
251 cmpq $(IA32_NR_syscalls-1),%rax
252 ja int_ret_from_sys_call /* sysenter_tracesys has set RAX(%rsp) */
255 ENDPROC(ia32_sysenter_target)
258 * 32bit SYSCALL instruction entry.
261 * %eax System call number.
267 * %ebp Arg2 [note: not saved in the stack frame, should not be touched]
273 * This is purely a fast path. For anything complicated we use the int 0x80
274 * path below. Set up a complete hardware stack frame to share code
275 * with the int 0x80 path.
277 ENTRY(ia32_cstar_target)
278 CFI_STARTPROC32 simple
280 CFI_DEF_CFA rsp,KERNEL_STACK_OFFSET
282 /*CFI_REGISTER rflags,r11*/
286 movq PER_CPU_VAR(kernel_stack),%rsp
288 * No need to follow this irqs on/off section: the syscall
289 * disabled irqs and here we enable it straight after entry:
291 ENABLE_INTERRUPTS(CLBR_NONE)
293 movl %eax,%eax /* zero extension */
294 movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
295 movq %rcx,RIP-ARGOFFSET(%rsp)
296 CFI_REL_OFFSET rip,RIP-ARGOFFSET
297 movq %rbp,RCX-ARGOFFSET(%rsp) /* this lies slightly to ptrace */
299 movq $__USER32_CS,CS-ARGOFFSET(%rsp)
300 movq $__USER32_DS,SS-ARGOFFSET(%rsp)
301 movq %r11,EFLAGS-ARGOFFSET(%rsp)
302 /*CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
303 movq %r8,RSP-ARGOFFSET(%rsp)
304 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
305 /* no need to do an access_ok check here because r8 has been
306 32bit zero extended */
307 /* hardware stack frame is complete now */
309 .section __ex_table,"a"
312 GET_THREAD_INFO(%r10)
313 orl $TS_COMPAT,TI_status(%r10)
314 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
317 cmpq $IA32_NR_syscalls-1,%rax
322 call *ia32_sys_call_table(,%rax,8)
323 movq %rax,RAX-ARGOFFSET(%rsp)
324 GET_THREAD_INFO(%r10)
325 DISABLE_INTERRUPTS(CLBR_NONE)
327 testl $_TIF_ALLWORK_MASK,TI_flags(%r10)
329 sysretl_from_sys_call:
330 andl $~TS_COMPAT,TI_status(%r10)
331 RESTORE_ARGS 1,-ARG_SKIP,1,1,1
332 movl RIP-ARGOFFSET(%rsp),%ecx
334 movl EFLAGS-ARGOFFSET(%rsp),%r11d
335 /*CFI_REGISTER rflags,r11*/
340 movl RSP-ARGOFFSET(%rsp),%esp
344 #ifdef CONFIG_AUDITSYSCALL
347 movl %r9d,R9-ARGOFFSET(%rsp) /* register to be clobbered by call */
348 auditsys_entry_common
349 movl R9-ARGOFFSET(%rsp),%r9d /* reload 6th syscall arg */
353 auditsys_exit sysretl_from_sys_call
357 #ifdef CONFIG_AUDITSYSCALL
358 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
364 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
365 movq %rsp,%rdi /* &pt_regs -> arg1 */
366 call syscall_trace_enter
367 LOAD_ARGS32 ARGOFFSET, 1 /* reload args from stack in case ptrace changed it */
370 cmpq $(IA32_NR_syscalls-1),%rax
371 ja int_ret_from_sys_call /* cstar_tracesys has set RAX(%rsp) */
373 END(ia32_cstar_target)
381 * Emulated IA32 system calls via int 0x80.
384 * %eax System call number.
390 * %ebp Arg6 [note: not saved in the stack frame, should not be touched]
393 * Uses the same stack frame as the x86-64 version.
394 * All registers except %eax must be saved (but ptrace may violate that)
395 * Arguments are zero extended. For system calls that want sign extension and
396 * take long arguments a wrapper is needed. Most calls can just be called
398 * Assumes it is only called from user space and entered with interrupts off.
402 CFI_STARTPROC32 simple
404 CFI_DEF_CFA rsp,SS+8-RIP
405 /*CFI_REL_OFFSET ss,SS-RIP*/
406 CFI_REL_OFFSET rsp,RSP-RIP
407 /*CFI_REL_OFFSET rflags,EFLAGS-RIP*/
408 /*CFI_REL_OFFSET cs,CS-RIP*/
409 CFI_REL_OFFSET rip,RIP-RIP
410 PARAVIRT_ADJUST_EXCEPTION_FRAME
413 * No need to follow this irqs on/off section: the syscall
414 * disabled irqs and here we enable it straight after entry:
416 ENABLE_INTERRUPTS(CLBR_NONE)
420 /* note the registers are not zero extended to the sf.
421 this could be a problem. */
423 GET_THREAD_INFO(%r10)
424 orl $TS_COMPAT,TI_status(%r10)
425 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
427 cmpq $(IA32_NR_syscalls-1),%rax
431 call *ia32_sys_call_table(,%rax,8) # xxx: rip relative
433 movq %rax,RAX-ARGOFFSET(%rsp)
434 ia32_ret_from_sys_call:
435 CLEAR_RREGS -ARGOFFSET
436 jmp int_ret_from_sys_call
441 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
442 movq %rsp,%rdi /* &pt_regs -> arg1 */
443 call syscall_trace_enter
444 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
446 cmpq $(IA32_NR_syscalls-1),%rax
447 ja int_ret_from_sys_call /* ia32_tracesys has set RAX(%rsp) */
452 movq $0,ORIG_RAX-ARGOFFSET(%rsp)
461 .macro PTREGSCALL label, func, arg
464 leaq \func(%rip),%rax
465 leaq -ARGOFFSET+8(%rsp),\arg /* 8 for return address */
466 jmp ia32_ptregs_common
471 PTREGSCALL stub32_rt_sigreturn, sys32_rt_sigreturn, %rdi
472 PTREGSCALL stub32_sigreturn, sys32_sigreturn, %rdi
473 PTREGSCALL stub32_sigaltstack, sys32_sigaltstack, %rdx
474 PTREGSCALL stub32_execve, sys32_execve, %rcx
475 PTREGSCALL stub32_fork, sys_fork, %rdi
476 PTREGSCALL stub32_clone, sys32_clone, %rdx
477 PTREGSCALL stub32_vfork, sys_vfork, %rdi
478 PTREGSCALL stub32_iopl, sys_iopl, %rsi
480 ENTRY(ia32_ptregs_common)
483 CFI_STARTPROC32 simple
485 CFI_DEF_CFA rsp,SS+8-ARGOFFSET
486 CFI_REL_OFFSET rax,RAX-ARGOFFSET
487 CFI_REL_OFFSET rcx,RCX-ARGOFFSET
488 CFI_REL_OFFSET rdx,RDX-ARGOFFSET
489 CFI_REL_OFFSET rsi,RSI-ARGOFFSET
490 CFI_REL_OFFSET rdi,RDI-ARGOFFSET
491 CFI_REL_OFFSET rip,RIP-ARGOFFSET
492 /* CFI_REL_OFFSET cs,CS-ARGOFFSET*/
493 /* CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
494 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
495 /* CFI_REL_OFFSET ss,SS-ARGOFFSET*/
499 jmp ia32_sysret /* misbalances the return cache */
501 END(ia32_ptregs_common)
506 .quad sys_restart_syscall
511 .quad compat_sys_open /* 5 */
516 .quad sys_unlink /* 10 */
519 .quad compat_sys_time
521 .quad sys_chmod /* 15 */
523 .quad quiet_ni_syscall /* old break syscall holder */
526 .quad sys_getpid /* 20 */
527 .quad compat_sys_mount /* mount */
528 .quad sys_oldumount /* old_umount */
531 .quad compat_sys_stime /* stime */ /* 25 */
532 .quad compat_sys_ptrace /* ptrace */
534 .quad sys_fstat /* (old)fstat */
536 .quad compat_sys_utime /* 30 */
537 .quad quiet_ni_syscall /* old stty syscall holder */
538 .quad quiet_ni_syscall /* old gtty syscall holder */
541 .quad quiet_ni_syscall /* 35 */ /* old ftime syscall holder */
546 .quad sys_rmdir /* 40 */
549 .quad compat_sys_times
550 .quad quiet_ni_syscall /* old prof syscall holder */
551 .quad sys_brk /* 45 */
556 .quad sys_getegid16 /* 50 */
558 .quad sys_umount /* new_umount */
559 .quad quiet_ni_syscall /* old lock syscall holder */
560 .quad compat_sys_ioctl
561 .quad compat_sys_fcntl64 /* 55 */
562 .quad quiet_ni_syscall /* old mpx syscall holder */
564 .quad quiet_ni_syscall /* old ulimit syscall holder */
566 .quad sys_umask /* 60 */
568 .quad compat_sys_ustat
571 .quad sys_getpgrp /* 65 */
573 .quad sys32_sigaction
576 .quad sys_setreuid16 /* 70 */
578 .quad sys32_sigsuspend
579 .quad compat_sys_sigpending
580 .quad sys_sethostname
581 .quad compat_sys_setrlimit /* 75 */
582 .quad compat_sys_old_getrlimit /* old_getrlimit */
583 .quad compat_sys_getrusage
584 .quad compat_sys_gettimeofday
585 .quad compat_sys_settimeofday
586 .quad sys_getgroups16 /* 80 */
587 .quad sys_setgroups16
588 .quad compat_sys_old_select
591 .quad sys_readlink /* 85 */
595 .quad compat_sys_old_readdir
596 .quad sys32_mmap /* 90 */
601 .quad sys_fchown16 /* 95 */
602 .quad sys_getpriority
603 .quad sys_setpriority
604 .quad quiet_ni_syscall /* old profil syscall holder */
605 .quad compat_sys_statfs
606 .quad compat_sys_fstatfs /* 100 */
608 .quad compat_sys_socketcall
610 .quad compat_sys_setitimer
611 .quad compat_sys_getitimer /* 105 */
612 .quad compat_sys_newstat
613 .quad compat_sys_newlstat
614 .quad compat_sys_newfstat
616 .quad stub32_iopl /* 110 */
618 .quad quiet_ni_syscall /* old "idle" system call */
619 .quad sys32_vm86_warning /* vm86old */
620 .quad compat_sys_wait4
621 .quad sys_swapoff /* 115 */
622 .quad compat_sys_sysinfo
625 .quad stub32_sigreturn
626 .quad stub32_clone /* 120 */
627 .quad sys_setdomainname
630 .quad compat_sys_adjtimex
631 .quad sys32_mprotect /* 125 */
632 .quad compat_sys_sigprocmask
633 .quad quiet_ni_syscall /* create_module */
634 .quad sys_init_module
635 .quad sys_delete_module
636 .quad quiet_ni_syscall /* 130 get_kernel_syms */
640 .quad quiet_ni_syscall /* bdflush */
641 .quad sys_sysfs /* 135 */
642 .quad sys_personality
643 .quad quiet_ni_syscall /* for afs_syscall */
646 .quad sys_llseek /* 140 */
647 .quad compat_sys_getdents
648 .quad compat_sys_select
651 .quad compat_sys_readv /* 145 */
652 .quad compat_sys_writev
655 .quad compat_sys_sysctl /* sysctl */
656 .quad sys_mlock /* 150 */
660 .quad sys_sched_setparam
661 .quad sys_sched_getparam /* 155 */
662 .quad sys_sched_setscheduler
663 .quad sys_sched_getscheduler
664 .quad sys_sched_yield
665 .quad sys_sched_get_priority_max
666 .quad sys_sched_get_priority_min /* 160 */
667 .quad sys32_sched_rr_get_interval
668 .quad compat_sys_nanosleep
670 .quad sys_setresuid16
671 .quad sys_getresuid16 /* 165 */
672 .quad sys32_vm86_warning /* vm86 */
673 .quad quiet_ni_syscall /* query_module */
675 .quad compat_sys_nfsservctl
676 .quad sys_setresgid16 /* 170 */
677 .quad sys_getresgid16
679 .quad stub32_rt_sigreturn
680 .quad sys32_rt_sigaction
681 .quad sys32_rt_sigprocmask /* 175 */
682 .quad sys32_rt_sigpending
683 .quad compat_sys_rt_sigtimedwait
684 .quad sys32_rt_sigqueueinfo
685 .quad sys_rt_sigsuspend
686 .quad sys32_pread /* 180 */
692 .quad stub32_sigaltstack
694 .quad quiet_ni_syscall /* streams1 */
695 .quad quiet_ni_syscall /* streams2 */
696 .quad stub32_vfork /* 190 */
697 .quad compat_sys_getrlimit
699 .quad sys32_truncate64
700 .quad sys32_ftruncate64
701 .quad sys32_stat64 /* 195 */
706 .quad sys_getgid /* 200 */
711 .quad sys_getgroups /* 205 */
716 .quad sys_setresgid /* 210 */
721 .quad sys_setfsuid /* 215 */
726 .quad compat_sys_getdents64 /* 220 getdents64 */
727 .quad compat_sys_fcntl64
728 .quad quiet_ni_syscall /* tux */
729 .quad quiet_ni_syscall /* security */
731 .quad sys32_readahead /* 225 */
736 .quad sys_lgetxattr /* 230 */
741 .quad sys_removexattr /* 235 */
742 .quad sys_lremovexattr
743 .quad sys_fremovexattr
746 .quad compat_sys_futex /* 240 */
747 .quad compat_sys_sched_setaffinity
748 .quad compat_sys_sched_getaffinity
749 .quad sys_set_thread_area
750 .quad sys_get_thread_area
751 .quad compat_sys_io_setup /* 245 */
753 .quad compat_sys_io_getevents
754 .quad compat_sys_io_submit
756 .quad sys32_fadvise64 /* 250 */
757 .quad quiet_ni_syscall /* free_huge_pages */
759 .quad sys32_lookup_dcookie
760 .quad sys_epoll_create
761 .quad sys_epoll_ctl /* 255 */
763 .quad sys_remap_file_pages
764 .quad sys_set_tid_address
765 .quad compat_sys_timer_create
766 .quad compat_sys_timer_settime /* 260 */
767 .quad compat_sys_timer_gettime
768 .quad sys_timer_getoverrun
769 .quad sys_timer_delete
770 .quad compat_sys_clock_settime
771 .quad compat_sys_clock_gettime /* 265 */
772 .quad compat_sys_clock_getres
773 .quad compat_sys_clock_nanosleep
774 .quad compat_sys_statfs64
775 .quad compat_sys_fstatfs64
776 .quad sys_tgkill /* 270 */
777 .quad compat_sys_utimes
778 .quad sys32_fadvise64_64
779 .quad quiet_ni_syscall /* sys_vserver */
781 .quad compat_sys_get_mempolicy /* 275 */
782 .quad sys_set_mempolicy
783 .quad compat_sys_mq_open
785 .quad compat_sys_mq_timedsend
786 .quad compat_sys_mq_timedreceive /* 280 */
787 .quad compat_sys_mq_notify
788 .quad compat_sys_mq_getsetattr
789 .quad compat_sys_kexec_load /* reserved for kexec */
790 .quad compat_sys_waitid
791 .quad quiet_ni_syscall /* 285: sys_altroot */
793 .quad sys_request_key
796 .quad sys_ioprio_get /* 290 */
797 .quad sys_inotify_init
798 .quad sys_inotify_add_watch
799 .quad sys_inotify_rm_watch
800 .quad sys_migrate_pages
801 .quad compat_sys_openat /* 295 */
805 .quad compat_sys_futimesat
806 .quad sys32_fstatat /* 300 */
811 .quad sys_readlinkat /* 305 */
814 .quad compat_sys_pselect6
815 .quad compat_sys_ppoll
816 .quad sys_unshare /* 310 */
817 .quad compat_sys_set_robust_list
818 .quad compat_sys_get_robust_list
820 .quad sys32_sync_file_range
821 .quad sys_tee /* 315 */
822 .quad compat_sys_vmsplice
823 .quad compat_sys_move_pages
825 .quad sys_epoll_pwait
826 .quad compat_sys_utimensat /* 320 */
827 .quad compat_sys_signalfd
828 .quad sys_timerfd_create
830 .quad sys32_fallocate
831 .quad compat_sys_timerfd_settime /* 325 */
832 .quad compat_sys_timerfd_gettime
833 .quad compat_sys_signalfd4
835 .quad sys_epoll_create1
836 .quad sys_dup3 /* 330 */
838 .quad sys_inotify_init1
839 .quad compat_sys_preadv
840 .quad compat_sys_pwritev
841 .quad compat_sys_rt_tgsigqueueinfo /* 335 */
842 .quad sys_perf_event_open
843 .quad compat_sys_recvmmsg
844 .quad sys_fanotify_init
845 .quad sys32_fanotify_mark
846 .quad sys_prlimit64 /* 340 */
847 .quad sys_name_to_handle_at
848 .quad compat_sys_open_by_handle_at
849 .quad compat_sys_clock_adjtime
851 .quad compat_sys_sendmmsg /* 345 */