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 TI_sysenter_return+THREAD_INFO(%rsp,3*8-KERNEL_STACK_OFFSET),%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 orl $TS_COMPAT,TI_status+THREAD_INFO(%rsp,RIP-ARGOFFSET)
154 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
156 jnz sysenter_tracesys
157 cmpq $(IA32_NR_syscalls-1),%rax
162 call *ia32_sys_call_table(,%rax,8)
163 movq %rax,RAX-ARGOFFSET(%rsp)
164 DISABLE_INTERRUPTS(CLBR_NONE)
166 testl $_TIF_ALLWORK_MASK,TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
168 sysexit_from_sys_call:
169 andl $~TS_COMPAT,TI_status+THREAD_INFO(%rsp,RIP-ARGOFFSET)
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 0,24,0,0,0,0
180 /*CFI_RESTORE rflags*/
181 popq_cfi %rcx /* User %esp */
184 ENABLE_INTERRUPTS_SYSEXIT32
186 #ifdef CONFIG_AUDITSYSCALL
187 .macro auditsys_entry_common
188 movl %esi,%r9d /* 6th arg: 4th syscall arg */
189 movl %edx,%r8d /* 5th arg: 3rd syscall arg */
190 /* (already in %ecx) 4th arg: 2nd syscall arg */
191 movl %ebx,%edx /* 3rd arg: 1st syscall arg */
192 movl %eax,%esi /* 2nd arg: syscall number */
193 movl $AUDIT_ARCH_I386,%edi /* 1st arg: audit arch */
194 call audit_syscall_entry
195 movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall number */
196 cmpq $(IA32_NR_syscalls-1),%rax
198 movl %ebx,%edi /* reload 1st syscall arg */
199 movl RCX-ARGOFFSET(%rsp),%esi /* reload 2nd syscall arg */
200 movl RDX-ARGOFFSET(%rsp),%edx /* reload 3rd syscall arg */
201 movl RSI-ARGOFFSET(%rsp),%ecx /* reload 4th syscall arg */
202 movl RDI-ARGOFFSET(%rsp),%r8d /* reload 5th syscall arg */
205 .macro auditsys_exit exit
206 testl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
207 jnz ia32_ret_from_sys_call
210 movl %eax,%esi /* second arg, syscall return value */
211 cmpl $0,%eax /* is it < 0? */
212 setl %al /* 1 if so, 0 if not */
213 movzbl %al,%edi /* zero-extend that into %edi */
214 inc %edi /* first arg, 0->1(AUDITSC_SUCCESS), 1->2(AUDITSC_FAILURE) */
215 call audit_syscall_exit
216 movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall return value */
217 movl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),%edi
220 testl %edi,TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
222 CLEAR_RREGS -ARGOFFSET
228 auditsys_entry_common
229 movl %ebp,%r9d /* reload 6th syscall arg */
230 jmp sysenter_dispatch
233 auditsys_exit sysexit_from_sys_call
237 #ifdef CONFIG_AUDITSYSCALL
238 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
243 movq $-ENOSYS,RAX(%rsp)/* ptrace can change this for a bad syscall */
244 movq %rsp,%rdi /* &pt_regs -> arg1 */
245 call syscall_trace_enter
246 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
248 cmpq $(IA32_NR_syscalls-1),%rax
249 ja int_ret_from_sys_call /* sysenter_tracesys has set RAX(%rsp) */
252 ENDPROC(ia32_sysenter_target)
255 * 32bit SYSCALL instruction entry.
258 * %eax System call number.
264 * %ebp Arg2 [note: not saved in the stack frame, should not be touched]
270 * This is purely a fast path. For anything complicated we use the int 0x80
271 * path below. Set up a complete hardware stack frame to share code
272 * with the int 0x80 path.
274 ENTRY(ia32_cstar_target)
275 CFI_STARTPROC32 simple
277 CFI_DEF_CFA rsp,KERNEL_STACK_OFFSET
279 /*CFI_REGISTER rflags,r11*/
283 movq PER_CPU_VAR(kernel_stack),%rsp
285 * No need to follow this irqs on/off section: the syscall
286 * disabled irqs and here we enable it straight after entry:
288 ENABLE_INTERRUPTS(CLBR_NONE)
290 movl %eax,%eax /* zero extension */
291 movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
292 movq %rcx,RIP-ARGOFFSET(%rsp)
293 CFI_REL_OFFSET rip,RIP-ARGOFFSET
294 movq %rbp,RCX-ARGOFFSET(%rsp) /* this lies slightly to ptrace */
296 movq $__USER32_CS,CS-ARGOFFSET(%rsp)
297 movq $__USER32_DS,SS-ARGOFFSET(%rsp)
298 movq %r11,EFLAGS-ARGOFFSET(%rsp)
299 /*CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
300 movq %r8,RSP-ARGOFFSET(%rsp)
301 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
302 /* no need to do an access_ok check here because r8 has been
303 32bit zero extended */
304 /* hardware stack frame is complete now */
306 .section __ex_table,"a"
309 orl $TS_COMPAT,TI_status+THREAD_INFO(%rsp,RIP-ARGOFFSET)
310 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
313 cmpq $IA32_NR_syscalls-1,%rax
318 call *ia32_sys_call_table(,%rax,8)
319 movq %rax,RAX-ARGOFFSET(%rsp)
320 DISABLE_INTERRUPTS(CLBR_NONE)
322 testl $_TIF_ALLWORK_MASK,TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
324 sysretl_from_sys_call:
325 andl $~TS_COMPAT,TI_status+THREAD_INFO(%rsp,RIP-ARGOFFSET)
326 RESTORE_ARGS 0,-ARG_SKIP,0,0,0
327 movl RIP-ARGOFFSET(%rsp),%ecx
329 movl EFLAGS-ARGOFFSET(%rsp),%r11d
330 /*CFI_REGISTER rflags,r11*/
335 movl RSP-ARGOFFSET(%rsp),%esp
339 #ifdef CONFIG_AUDITSYSCALL
342 movl %r9d,R9-ARGOFFSET(%rsp) /* register to be clobbered by call */
343 auditsys_entry_common
344 movl R9-ARGOFFSET(%rsp),%r9d /* reload 6th syscall arg */
348 auditsys_exit sysretl_from_sys_call
352 #ifdef CONFIG_AUDITSYSCALL
353 testl $(_TIF_WORK_SYSCALL_ENTRY & ~_TIF_SYSCALL_AUDIT),TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
359 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
360 movq %rsp,%rdi /* &pt_regs -> arg1 */
361 call syscall_trace_enter
362 LOAD_ARGS32 ARGOFFSET, 1 /* reload args from stack in case ptrace changed it */
365 cmpq $(IA32_NR_syscalls-1),%rax
366 ja int_ret_from_sys_call /* cstar_tracesys has set RAX(%rsp) */
368 END(ia32_cstar_target)
376 * Emulated IA32 system calls via int 0x80.
379 * %eax System call number.
385 * %ebp Arg6 [note: not saved in the stack frame, should not be touched]
388 * Uses the same stack frame as the x86-64 version.
389 * All registers except %eax must be saved (but ptrace may violate that)
390 * Arguments are zero extended. For system calls that want sign extension and
391 * take long arguments a wrapper is needed. Most calls can just be called
393 * Assumes it is only called from user space and entered with interrupts off.
397 CFI_STARTPROC32 simple
399 CFI_DEF_CFA rsp,SS+8-RIP
400 /*CFI_REL_OFFSET ss,SS-RIP*/
401 CFI_REL_OFFSET rsp,RSP-RIP
402 /*CFI_REL_OFFSET rflags,EFLAGS-RIP*/
403 /*CFI_REL_OFFSET cs,CS-RIP*/
404 CFI_REL_OFFSET rip,RIP-RIP
405 PARAVIRT_ADJUST_EXCEPTION_FRAME
408 * No need to follow this irqs on/off section: the syscall
409 * disabled irqs and here we enable it straight after entry:
411 ENABLE_INTERRUPTS(CLBR_NONE)
415 /* note the registers are not zero extended to the sf.
416 this could be a problem. */
418 orl $TS_COMPAT,TI_status+THREAD_INFO(%rsp,RIP-ARGOFFSET)
419 testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags+THREAD_INFO(%rsp,RIP-ARGOFFSET)
421 cmpq $(IA32_NR_syscalls-1),%rax
425 call *ia32_sys_call_table(,%rax,8) # xxx: rip relative
427 movq %rax,RAX-ARGOFFSET(%rsp)
428 ia32_ret_from_sys_call:
429 CLEAR_RREGS -ARGOFFSET
430 jmp int_ret_from_sys_call
435 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
436 movq %rsp,%rdi /* &pt_regs -> arg1 */
437 call syscall_trace_enter
438 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */
440 cmpq $(IA32_NR_syscalls-1),%rax
441 ja int_ret_from_sys_call /* ia32_tracesys has set RAX(%rsp) */
446 movq $0,ORIG_RAX-ARGOFFSET(%rsp)
455 .macro PTREGSCALL label, func, arg
458 leaq \func(%rip),%rax
459 leaq -ARGOFFSET+8(%rsp),\arg /* 8 for return address */
460 jmp ia32_ptregs_common
465 PTREGSCALL stub32_rt_sigreturn, sys32_rt_sigreturn, %rdi
466 PTREGSCALL stub32_sigreturn, sys32_sigreturn, %rdi
467 PTREGSCALL stub32_sigaltstack, sys32_sigaltstack, %rdx
468 PTREGSCALL stub32_execve, sys32_execve, %rcx
469 PTREGSCALL stub32_fork, sys_fork, %rdi
470 PTREGSCALL stub32_clone, sys32_clone, %rdx
471 PTREGSCALL stub32_vfork, sys_vfork, %rdi
472 PTREGSCALL stub32_iopl, sys_iopl, %rsi
478 CFI_STARTPROC32 simple
480 CFI_DEF_CFA rsp,SS+8-ARGOFFSET
481 CFI_REL_OFFSET rax,RAX-ARGOFFSET
482 CFI_REL_OFFSET rcx,RCX-ARGOFFSET
483 CFI_REL_OFFSET rdx,RDX-ARGOFFSET
484 CFI_REL_OFFSET rsi,RSI-ARGOFFSET
485 CFI_REL_OFFSET rdi,RDI-ARGOFFSET
486 CFI_REL_OFFSET rip,RIP-ARGOFFSET
487 /* CFI_REL_OFFSET cs,CS-ARGOFFSET*/
488 /* CFI_REL_OFFSET rflags,EFLAGS-ARGOFFSET*/
489 CFI_REL_OFFSET rsp,RSP-ARGOFFSET
490 /* CFI_REL_OFFSET ss,SS-ARGOFFSET*/
494 jmp ia32_sysret /* misbalances the return cache */
496 END(ia32_ptregs_common)
501 .quad sys_restart_syscall
506 .quad compat_sys_open /* 5 */
511 .quad sys_unlink /* 10 */
514 .quad compat_sys_time
516 .quad sys_chmod /* 15 */
518 .quad quiet_ni_syscall /* old break syscall holder */
521 .quad sys_getpid /* 20 */
522 .quad compat_sys_mount /* mount */
523 .quad sys_oldumount /* old_umount */
526 .quad compat_sys_stime /* stime */ /* 25 */
527 .quad compat_sys_ptrace /* ptrace */
529 .quad sys_fstat /* (old)fstat */
531 .quad compat_sys_utime /* 30 */
532 .quad quiet_ni_syscall /* old stty syscall holder */
533 .quad quiet_ni_syscall /* old gtty syscall holder */
536 .quad quiet_ni_syscall /* 35 */ /* old ftime syscall holder */
541 .quad sys_rmdir /* 40 */
544 .quad compat_sys_times
545 .quad quiet_ni_syscall /* old prof syscall holder */
546 .quad sys_brk /* 45 */
551 .quad sys_getegid16 /* 50 */
553 .quad sys_umount /* new_umount */
554 .quad quiet_ni_syscall /* old lock syscall holder */
555 .quad compat_sys_ioctl
556 .quad compat_sys_fcntl64 /* 55 */
557 .quad quiet_ni_syscall /* old mpx syscall holder */
559 .quad quiet_ni_syscall /* old ulimit syscall holder */
561 .quad sys_umask /* 60 */
563 .quad compat_sys_ustat
566 .quad sys_getpgrp /* 65 */
568 .quad sys32_sigaction
571 .quad sys_setreuid16 /* 70 */
573 .quad sys32_sigsuspend
574 .quad compat_sys_sigpending
575 .quad sys_sethostname
576 .quad compat_sys_setrlimit /* 75 */
577 .quad compat_sys_old_getrlimit /* old_getrlimit */
578 .quad compat_sys_getrusage
579 .quad compat_sys_gettimeofday
580 .quad compat_sys_settimeofday
581 .quad sys_getgroups16 /* 80 */
582 .quad sys_setgroups16
583 .quad compat_sys_old_select
586 .quad sys_readlink /* 85 */
590 .quad compat_sys_old_readdir
591 .quad sys32_mmap /* 90 */
596 .quad sys_fchown16 /* 95 */
597 .quad sys_getpriority
598 .quad sys_setpriority
599 .quad quiet_ni_syscall /* old profil syscall holder */
600 .quad compat_sys_statfs
601 .quad compat_sys_fstatfs /* 100 */
603 .quad compat_sys_socketcall
605 .quad compat_sys_setitimer
606 .quad compat_sys_getitimer /* 105 */
607 .quad compat_sys_newstat
608 .quad compat_sys_newlstat
609 .quad compat_sys_newfstat
611 .quad stub32_iopl /* 110 */
613 .quad quiet_ni_syscall /* old "idle" system call */
614 .quad sys32_vm86_warning /* vm86old */
615 .quad compat_sys_wait4
616 .quad sys_swapoff /* 115 */
617 .quad compat_sys_sysinfo
620 .quad stub32_sigreturn
621 .quad stub32_clone /* 120 */
622 .quad sys_setdomainname
625 .quad compat_sys_adjtimex
626 .quad sys32_mprotect /* 125 */
627 .quad compat_sys_sigprocmask
628 .quad quiet_ni_syscall /* create_module */
629 .quad sys_init_module
630 .quad sys_delete_module
631 .quad quiet_ni_syscall /* 130 get_kernel_syms */
635 .quad quiet_ni_syscall /* bdflush */
636 .quad sys_sysfs /* 135 */
637 .quad sys_personality
638 .quad quiet_ni_syscall /* for afs_syscall */
641 .quad sys_llseek /* 140 */
642 .quad compat_sys_getdents
643 .quad compat_sys_select
646 .quad compat_sys_readv /* 145 */
647 .quad compat_sys_writev
650 .quad compat_sys_sysctl /* sysctl */
651 .quad sys_mlock /* 150 */
655 .quad sys_sched_setparam
656 .quad sys_sched_getparam /* 155 */
657 .quad sys_sched_setscheduler
658 .quad sys_sched_getscheduler
659 .quad sys_sched_yield
660 .quad sys_sched_get_priority_max
661 .quad sys_sched_get_priority_min /* 160 */
662 .quad sys32_sched_rr_get_interval
663 .quad compat_sys_nanosleep
665 .quad sys_setresuid16
666 .quad sys_getresuid16 /* 165 */
667 .quad sys32_vm86_warning /* vm86 */
668 .quad quiet_ni_syscall /* query_module */
670 .quad quiet_ni_syscall /* old nfsservctl */
671 .quad sys_setresgid16 /* 170 */
672 .quad sys_getresgid16
674 .quad stub32_rt_sigreturn
675 .quad sys32_rt_sigaction
676 .quad sys32_rt_sigprocmask /* 175 */
677 .quad sys32_rt_sigpending
678 .quad compat_sys_rt_sigtimedwait
679 .quad sys32_rt_sigqueueinfo
680 .quad sys_rt_sigsuspend
681 .quad sys32_pread /* 180 */
687 .quad stub32_sigaltstack
689 .quad quiet_ni_syscall /* streams1 */
690 .quad quiet_ni_syscall /* streams2 */
691 .quad stub32_vfork /* 190 */
692 .quad compat_sys_getrlimit
694 .quad sys32_truncate64
695 .quad sys32_ftruncate64
696 .quad sys32_stat64 /* 195 */
701 .quad sys_getgid /* 200 */
706 .quad sys_getgroups /* 205 */
711 .quad sys_setresgid /* 210 */
716 .quad sys_setfsuid /* 215 */
721 .quad compat_sys_getdents64 /* 220 getdents64 */
722 .quad compat_sys_fcntl64
723 .quad quiet_ni_syscall /* tux */
724 .quad quiet_ni_syscall /* security */
726 .quad sys32_readahead /* 225 */
731 .quad sys_lgetxattr /* 230 */
736 .quad sys_removexattr /* 235 */
737 .quad sys_lremovexattr
738 .quad sys_fremovexattr
741 .quad compat_sys_futex /* 240 */
742 .quad compat_sys_sched_setaffinity
743 .quad compat_sys_sched_getaffinity
744 .quad sys_set_thread_area
745 .quad sys_get_thread_area
746 .quad compat_sys_io_setup /* 245 */
748 .quad compat_sys_io_getevents
749 .quad compat_sys_io_submit
751 .quad sys32_fadvise64 /* 250 */
752 .quad quiet_ni_syscall /* free_huge_pages */
754 .quad sys32_lookup_dcookie
755 .quad sys_epoll_create
756 .quad sys_epoll_ctl /* 255 */
758 .quad sys_remap_file_pages
759 .quad sys_set_tid_address
760 .quad compat_sys_timer_create
761 .quad compat_sys_timer_settime /* 260 */
762 .quad compat_sys_timer_gettime
763 .quad sys_timer_getoverrun
764 .quad sys_timer_delete
765 .quad compat_sys_clock_settime
766 .quad compat_sys_clock_gettime /* 265 */
767 .quad compat_sys_clock_getres
768 .quad compat_sys_clock_nanosleep
769 .quad compat_sys_statfs64
770 .quad compat_sys_fstatfs64
771 .quad sys_tgkill /* 270 */
772 .quad compat_sys_utimes
773 .quad sys32_fadvise64_64
774 .quad quiet_ni_syscall /* sys_vserver */
776 .quad compat_sys_get_mempolicy /* 275 */
777 .quad sys_set_mempolicy
778 .quad compat_sys_mq_open
780 .quad compat_sys_mq_timedsend
781 .quad compat_sys_mq_timedreceive /* 280 */
782 .quad compat_sys_mq_notify
783 .quad compat_sys_mq_getsetattr
784 .quad compat_sys_kexec_load /* reserved for kexec */
785 .quad compat_sys_waitid
786 .quad quiet_ni_syscall /* 285: sys_altroot */
788 .quad sys_request_key
791 .quad sys_ioprio_get /* 290 */
792 .quad sys_inotify_init
793 .quad sys_inotify_add_watch
794 .quad sys_inotify_rm_watch
795 .quad sys_migrate_pages
796 .quad compat_sys_openat /* 295 */
800 .quad compat_sys_futimesat
801 .quad sys32_fstatat /* 300 */
806 .quad sys_readlinkat /* 305 */
809 .quad compat_sys_pselect6
810 .quad compat_sys_ppoll
811 .quad sys_unshare /* 310 */
812 .quad compat_sys_set_robust_list
813 .quad compat_sys_get_robust_list
815 .quad sys32_sync_file_range
816 .quad sys_tee /* 315 */
817 .quad compat_sys_vmsplice
818 .quad compat_sys_move_pages
820 .quad sys_epoll_pwait
821 .quad compat_sys_utimensat /* 320 */
822 .quad compat_sys_signalfd
823 .quad sys_timerfd_create
825 .quad sys32_fallocate
826 .quad compat_sys_timerfd_settime /* 325 */
827 .quad compat_sys_timerfd_gettime
828 .quad compat_sys_signalfd4
830 .quad sys_epoll_create1
831 .quad sys_dup3 /* 330 */
833 .quad sys_inotify_init1
834 .quad compat_sys_preadv
835 .quad compat_sys_pwritev
836 .quad compat_sys_rt_tgsigqueueinfo /* 335 */
837 .quad sys_perf_event_open
838 .quad compat_sys_recvmmsg
839 .quad sys_fanotify_init
840 .quad sys32_fanotify_mark
841 .quad sys_prlimit64 /* 340 */
842 .quad sys_name_to_handle_at
843 .quad compat_sys_open_by_handle_at
844 .quad compat_sys_clock_adjtime
846 .quad compat_sys_sendmmsg /* 345 */
848 .quad compat_sys_process_vm_readv
849 .quad compat_sys_process_vm_writev