blob: 77e74398b828770fa8814ed831c2efd6cb412b40 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1995, 96, 97, 98, 99, 2000, 01 by Ralf Baechle
7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
8 * Copyright (C) 2001 MIPS Technologies, Inc.
9 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#include <linux/errno.h>
11#include <asm/asm.h>
12#include <asm/asmmacro.h>
Ralf Baechle192ef362006-07-07 14:07:18 +010013#include <asm/irqflags.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#include <asm/mipsregs.h>
15#include <asm/regdef.h>
16#include <asm/stackframe.h>
17#include <asm/thread_info.h>
18#include <asm/unistd.h>
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020#ifndef CONFIG_MIPS32_O32
21/* No O32, so define handle_sys here */
22#define handle_sysn32 handle_sys
23#endif
24
Ralf Baechle70342282013-01-22 12:59:30 +010025 .align 5
Linus Torvalds1da177e2005-04-16 15:20:36 -070026NESTED(handle_sysn32, PT_SIZE, sp)
27#ifndef CONFIG_MIPS32_O32
28 .set noat
29 SAVE_SOME
Atsushi Nemotoeae6c0d2006-09-26 23:43:40 +090030 TRACE_IRQS_ON_RELOAD
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 STI
32 .set at
33#endif
34
35 dsubu t0, v0, __NR_N32_Linux # check syscall number
Ralf Baechle70342282013-01-22 12:59:30 +010036 sltiu t0, t0, __NR_N32_Linux_syscalls + 1
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
38#ifndef CONFIG_MIPS32_O32
39 ld t1, PT_EPC(sp) # skip syscall on return
40 daddiu t1, 4 # skip to next instruction
41 sd t1, PT_EPC(sp)
42#endif
43 beqz t0, not_n32_scall
44
45 dsll t0, v0, 3 # offset into table
46 ld t2, (sysn32_call_table - (__NR_N32_Linux * 8))(t0)
47
48 sd a3, PT_R26(sp) # save a3 for syscall restarting
49
Ralf Baechlee7f3b482013-05-29 01:02:18 +020050 li t1, _TIF_WORK_SYSCALL_ENTRY
Linus Torvalds1da177e2005-04-16 15:20:36 -070051 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
52 and t0, t1, t0
53 bnez t0, n32_syscall_trace_entry
54
55 jalr t2 # Do The Real Thing (TM)
56
57 li t0, -EMAXERRNO - 1 # error?
58 sltu t0, t0, v0
59 sd t0, PT_R7(sp) # set error flag
60 beqz t0, 1f
61
Al Viro8f5a00eb2010-09-28 18:50:37 +010062 ld t1, PT_R2(sp) # syscall number
Linus Torvalds1da177e2005-04-16 15:20:36 -070063 dnegu v0 # error
Al Viro8f5a00eb2010-09-28 18:50:37 +010064 sd t1, PT_R0(sp) # save it for syscall restarting
Linus Torvalds1da177e2005-04-16 15:20:36 -0700651: sd v0, PT_R2(sp) # result
66
Al Viro02f884e2012-05-05 16:11:35 -040067 j syscall_exit_partial
Linus Torvalds1da177e2005-04-16 15:20:36 -070068
69/* ------------------------------------------------------------------------ */
70
71n32_syscall_trace_entry:
72 SAVE_STATIC
73 move s0, t2
74 move a0, sp
Markos Chandras4c21b8f2014-01-22 14:40:03 +000075 daddiu a1, v0, __NR_N32_Linux
Ralf Baechle8b659a32011-05-19 09:21:29 +010076 jal syscall_trace_enter
Linus Torvalds1da177e2005-04-16 15:20:36 -070077
Markos Chandras9d37c402014-01-22 14:40:02 +000078 bltz v0, 2f # seccomp failed? Skip syscall
79
Ralf Baechle04a70522005-11-30 16:24:57 +000080 move t0, s0
81 RESTORE_STATIC
Linus Torvalds1da177e2005-04-16 15:20:36 -070082 ld a0, PT_R4(sp) # Restore argument registers
83 ld a1, PT_R5(sp)
84 ld a2, PT_R6(sp)
85 ld a3, PT_R7(sp)
86 ld a4, PT_R8(sp)
87 ld a5, PT_R9(sp)
Ralf Baechle04a70522005-11-30 16:24:57 +000088 jalr t0
Linus Torvalds1da177e2005-04-16 15:20:36 -070089
90 li t0, -EMAXERRNO - 1 # error?
91 sltu t0, t0, v0
92 sd t0, PT_R7(sp) # set error flag
93 beqz t0, 1f
94
Al Viro8f5a00eb2010-09-28 18:50:37 +010095 ld t1, PT_R2(sp) # syscall number
Linus Torvalds1da177e2005-04-16 15:20:36 -070096 dnegu v0 # error
Al Viro8f5a00eb2010-09-28 18:50:37 +010097 sd t1, PT_R0(sp) # save it for syscall restarting
Linus Torvalds1da177e2005-04-16 15:20:36 -0700981: sd v0, PT_R2(sp) # result
99
Markos Chandras9d37c402014-01-22 14:40:02 +00001002: j syscall_exit
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101
102not_n32_scall:
103 /* This is not an n32 compatibility syscall, pass it on to
104 the n64 syscall handlers. */
105 j handle_sys64
106
107 END(handle_sysn32)
108
Ralf Baechle43dec432012-07-12 14:02:41 +0200109 .type sysn32_call_table, @object
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110EXPORT(sysn32_call_table)
111 PTR sys_read /* 6000 */
112 PTR sys_write
113 PTR sys_open
114 PTR sys_close
115 PTR sys_newstat
116 PTR sys_newfstat /* 6005 */
117 PTR sys_newlstat
118 PTR sys_poll
119 PTR sys_lseek
Ralf Baechledbda6ac2009-02-08 16:00:26 +0000120 PTR sys_mips_mmap
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 PTR sys_mprotect /* 6010 */
122 PTR sys_munmap
123 PTR sys_brk
Al Viroaa584802012-12-25 18:55:27 -0500124 PTR compat_sys_rt_sigaction
Al Viro056a0602012-12-25 13:55:50 -0500125 PTR compat_sys_rt_sigprocmask
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126 PTR compat_sys_ioctl /* 6015 */
127 PTR sys_pread64
128 PTR sys_pwrite64
129 PTR compat_sys_readv
130 PTR compat_sys_writev
131 PTR sys_access /* 6020 */
Ralf Baechle8213bbf2008-07-20 13:16:46 +0100132 PTR sysm_pipe
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133 PTR compat_sys_select
134 PTR sys_sched_yield
135 PTR sys_mremap
136 PTR sys_msync /* 6025 */
137 PTR sys_mincore
138 PTR sys_madvise
139 PTR sys_shmget
Atsushi Nemoto05e43962006-11-07 18:02:44 +0900140 PTR sys_shmat
141 PTR compat_sys_shmctl /* 6030 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142 PTR sys_dup
143 PTR sys_dup2
144 PTR sys_pause
145 PTR compat_sys_nanosleep
146 PTR compat_sys_getitimer /* 6035 */
147 PTR compat_sys_setitimer
148 PTR sys_alarm
149 PTR sys_getpid
Al Viro19f4fc32013-02-24 02:17:03 -0500150 PTR compat_sys_sendfile
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151 PTR sys_socket /* 6040 */
152 PTR sys_connect
153 PTR sys_accept
154 PTR sys_sendto
Johannes Berg1dacc762009-07-01 11:26:02 +0000155 PTR compat_sys_recvfrom
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156 PTR compat_sys_sendmsg /* 6045 */
157 PTR compat_sys_recvmsg
158 PTR sys_shutdown
159 PTR sys_bind
160 PTR sys_listen
161 PTR sys_getsockname /* 6050 */
162 PTR sys_getpeername
163 PTR sys_socketpair
164 PTR compat_sys_setsockopt
Sorin Dumitru077d0e62014-06-20 14:23:35 +0300165 PTR compat_sys_getsockopt
Al Viro50150d22012-12-27 12:11:46 -0500166 PTR __sys_clone /* 6055 */
167 PTR __sys_fork
Ralf Baechlebaf9ff72012-10-09 21:16:07 +0200168 PTR compat_sys_execve
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169 PTR sys_exit
Ralf Baechleb6e203d2005-02-16 21:18:52 +0000170 PTR compat_sys_wait4
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 PTR sys_kill /* 6060 */
Christoph Hellwige28cbf22010-03-10 15:21:19 -0800172 PTR sys_newuname
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173 PTR sys_semget
174 PTR sys_semop
Al Viro0e65a812013-02-03 14:36:44 -0500175 PTR compat_sys_semctl
Linus Torvalds1da177e2005-04-16 15:20:36 -0700176 PTR sys_shmdt /* 6065 */
177 PTR sys_msgget
Al Viro0e65a812013-02-03 14:36:44 -0500178 PTR compat_sys_msgsnd
179 PTR compat_sys_msgrcv
Atsushi Nemoto05e43962006-11-07 18:02:44 +0900180 PTR compat_sys_msgctl
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 PTR compat_sys_fcntl /* 6070 */
182 PTR sys_flock
183 PTR sys_fsync
184 PTR sys_fdatasync
185 PTR sys_truncate
186 PTR sys_ftruncate /* 6075 */
Atsushi Nemoto2fd628f2006-02-21 15:59:00 +0900187 PTR compat_sys_getdents
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188 PTR sys_getcwd
189 PTR sys_chdir
190 PTR sys_fchdir
191 PTR sys_rename /* 6080 */
192 PTR sys_mkdir
193 PTR sys_rmdir
194 PTR sys_creat
195 PTR sys_link
196 PTR sys_unlink /* 6085 */
197 PTR sys_symlink
198 PTR sys_readlink
199 PTR sys_chmod
200 PTR sys_fchmod
201 PTR sys_chown /* 6090 */
202 PTR sys_fchown
203 PTR sys_lchown
204 PTR sys_umask
Christoph Hellwigb418da12008-10-15 22:02:06 -0700205 PTR compat_sys_gettimeofday
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206 PTR compat_sys_getrlimit /* 6095 */
207 PTR compat_sys_getrusage
Kyle McMartind4d23ad2007-02-10 01:46:00 -0800208 PTR compat_sys_sysinfo
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 PTR compat_sys_times
Thomas Bogendoerfer5d9a76c2008-08-17 16:49:25 +0200210 PTR compat_sys_ptrace
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211 PTR sys_getuid /* 6100 */
212 PTR sys_syslog
213 PTR sys_getgid
214 PTR sys_setuid
215 PTR sys_setgid
216 PTR sys_geteuid /* 6105 */
217 PTR sys_getegid
218 PTR sys_setpgid
219 PTR sys_getppid
220 PTR sys_getpgrp
221 PTR sys_setsid /* 6110 */
222 PTR sys_setreuid
223 PTR sys_setregid
224 PTR sys_getgroups
225 PTR sys_setgroups
226 PTR sys_setresuid /* 6115 */
227 PTR sys_getresuid
228 PTR sys_setresgid
229 PTR sys_getresgid
230 PTR sys_getpgid
231 PTR sys_setfsuid /* 6120 */
232 PTR sys_setfsgid
233 PTR sys_getsid
234 PTR sys_capget
235 PTR sys_capset
Al Viro45cb66f2012-12-25 15:00:46 -0500236 PTR compat_sys_rt_sigpending /* 6125 */
Ralf Baechle82ad93f2006-02-18 22:47:26 +0000237 PTR compat_sys_rt_sigtimedwait
Al Viroea5d83d2012-12-25 15:49:15 -0500238 PTR compat_sys_rt_sigqueueinfo
Al Virobde208d2012-11-25 01:36:15 -0500239 PTR compat_sys_rt_sigsuspend
Al Viroea536ad2012-12-23 03:13:40 -0500240 PTR compat_sys_sigaltstack
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241 PTR compat_sys_utime /* 6130 */
242 PTR sys_mknod
Ralf Baechledbda6ac2009-02-08 16:00:26 +0000243 PTR sys_32_personality
Christoph Hellwig2b1c6bd2008-11-28 10:09:09 +0100244 PTR compat_sys_ustat
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 PTR compat_sys_statfs
246 PTR compat_sys_fstatfs /* 6135 */
247 PTR sys_sysfs
248 PTR sys_getpriority
249 PTR sys_setpriority
250 PTR sys_sched_setparam
251 PTR sys_sched_getparam /* 6140 */
252 PTR sys_sched_setscheduler
253 PTR sys_sched_getscheduler
254 PTR sys_sched_get_priority_max
255 PTR sys_sched_get_priority_min
Al Viro0450d22f2012-12-25 17:33:40 -0500256 PTR compat_sys_sched_rr_get_interval /* 6145 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257 PTR sys_mlock
258 PTR sys_munlock
259 PTR sys_mlockall
260 PTR sys_munlockall
261 PTR sys_vhangup /* 6150 */
262 PTR sys_pivot_root
Eric W. Biedermanaff639c2009-04-03 00:46:47 -0700263 PTR compat_sys_sysctl
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264 PTR sys_prctl
Stephen Rothwell3158e942006-03-26 01:37:29 -0800265 PTR compat_sys_adjtimex
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266 PTR compat_sys_setrlimit /* 6155 */
267 PTR sys_chroot
268 PTR sys_sync
269 PTR sys_acct
Christoph Hellwigb418da12008-10-15 22:02:06 -0700270 PTR compat_sys_settimeofday
Ralf Baechle089c7e72006-10-16 16:49:37 +0100271 PTR compat_sys_mount /* 6160 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272 PTR sys_umount
273 PTR sys_swapon
274 PTR sys_swapoff
275 PTR sys_reboot
276 PTR sys_sethostname /* 6165 */
277 PTR sys_setdomainname
278 PTR sys_ni_syscall /* was create_module */
279 PTR sys_init_module
280 PTR sys_delete_module
281 PTR sys_ni_syscall /* 6170, was get_kernel_syms */
282 PTR sys_ni_syscall /* was query_module */
283 PTR sys_quotactl
NeilBrownf5b94092011-08-26 18:03:11 -0400284 PTR sys_ni_syscall /* was nfsservctl */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285 PTR sys_ni_syscall /* res. for getpmsg */
Ralf Baechle70342282013-01-22 12:59:30 +0100286 PTR sys_ni_syscall /* 6175 for putpmsg */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287 PTR sys_ni_syscall /* res. for afs_syscall */
288 PTR sys_ni_syscall /* res. for security */
289 PTR sys_gettid
Atsushi Nemoto8676d2e2007-05-18 00:46:13 +0900290 PTR sys_readahead
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291 PTR sys_setxattr /* 6180 */
292 PTR sys_lsetxattr
293 PTR sys_fsetxattr
294 PTR sys_getxattr
295 PTR sys_lgetxattr
296 PTR sys_fgetxattr /* 6185 */
297 PTR sys_listxattr
298 PTR sys_llistxattr
299 PTR sys_flistxattr
300 PTR sys_removexattr
301 PTR sys_lremovexattr /* 6190 */
302 PTR sys_fremovexattr
303 PTR sys_tkill
304 PTR sys_ni_syscall
Al Viro5e392b8d2012-12-25 23:22:15 -0500305 PTR compat_sys_futex
Linus Torvalds1da177e2005-04-16 15:20:36 -0700306 PTR compat_sys_sched_setaffinity /* 6195 */
307 PTR compat_sys_sched_getaffinity
308 PTR sys_cacheflush
309 PTR sys_cachectl
310 PTR sys_sysmips
Michel Thebeaue2cc5022010-09-28 14:15:37 -0400311 PTR compat_sys_io_setup /* 6200 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700312 PTR sys_io_destroy
Michel Thebeaue2cc5022010-09-28 14:15:37 -0400313 PTR compat_sys_io_getevents
314 PTR compat_sys_io_submit
Linus Torvalds1da177e2005-04-16 15:20:36 -0700315 PTR sys_io_cancel
316 PTR sys_exit_group /* 6205 */
317 PTR sys_lookup_dcookie
318 PTR sys_epoll_create
319 PTR sys_epoll_ctl
320 PTR sys_epoll_wait
321 PTR sys_remap_file_pages /* 6210 */
322 PTR sysn32_rt_sigreturn
Thiemo Seufer589391a2005-04-13 09:11:22 +0000323 PTR compat_sys_fcntl64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324 PTR sys_set_tid_address
325 PTR sys_restart_syscall
Atsushi Nemoto05e43962006-11-07 18:02:44 +0900326 PTR compat_sys_semtimedop /* 6215 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327 PTR sys_fadvise64_64
328 PTR compat_sys_statfs64
329 PTR compat_sys_fstatfs64
330 PTR sys_sendfile64
Ralf Baechle821d3132007-02-27 01:21:17 +0000331 PTR compat_sys_timer_create /* 6220 */
Ralf Baechled1abb6a2005-02-16 21:25:03 +0000332 PTR compat_sys_timer_settime
333 PTR compat_sys_timer_gettime
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334 PTR sys_timer_getoverrun
335 PTR sys_timer_delete
Ralf Baechled1abb6a2005-02-16 21:25:03 +0000336 PTR compat_sys_clock_settime /* 6225 */
337 PTR compat_sys_clock_gettime
338 PTR compat_sys_clock_getres
339 PTR compat_sys_clock_nanosleep
Linus Torvalds1da177e2005-04-16 15:20:36 -0700340 PTR sys_tgkill
341 PTR compat_sys_utimes /* 6230 */
Huacai Chen1ff1ad62014-06-26 11:41:29 +0800342 PTR compat_sys_mbind
343 PTR compat_sys_get_mempolicy
344 PTR compat_sys_set_mempolicy
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345 PTR compat_sys_mq_open
346 PTR sys_mq_unlink /* 6235 */
347 PTR compat_sys_mq_timedsend
348 PTR compat_sys_mq_timedreceive
349 PTR compat_sys_mq_notify
350 PTR compat_sys_mq_getsetattr
351 PTR sys_ni_syscall /* 6240, sys_vserver */
Ralf Baechle440537ef2007-02-27 00:56:37 +0000352 PTR compat_sys_waitid
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 PTR sys_ni_syscall /* available, was setaltroot */
354 PTR sys_add_key
355 PTR sys_request_key
356 PTR sys_keyctl /* 6245 */
Ralf Baechle3c370262005-04-13 17:43:59 +0000357 PTR sys_set_thread_area
Ralf Baechle8d9c6262005-08-05 10:31:47 +0000358 PTR sys_inotify_init
359 PTR sys_inotify_add_watch
360 PTR sys_inotify_rm_watch
Huacai Chen1ff1ad62014-06-26 11:41:29 +0800361 PTR compat_sys_migrate_pages /* 6250 */
Ralf Baechle72bf8912006-02-08 13:38:50 +0000362 PTR sys_openat
363 PTR sys_mkdirat
364 PTR sys_mknodat
365 PTR sys_fchownat
Johannes Dickgreber82411392007-09-12 18:22:04 +0200366 PTR compat_sys_futimesat /* 6255 */
Ralf Baechle72bf8912006-02-08 13:38:50 +0000367 PTR sys_newfstatat
368 PTR sys_unlinkat
369 PTR sys_renameat
370 PTR sys_linkat
371 PTR sys_symlinkat /* 6260 */
372 PTR sys_readlinkat
373 PTR sys_fchmodat
374 PTR sys_faccessat
Joseph S. Myers99d233f2007-01-10 12:30:50 +0000375 PTR compat_sys_pselect6
Chandrakala Chavva46afb822010-05-10 17:11:54 -0700376 PTR compat_sys_ppoll /* 6265 */
Ralf Baechle72bf8912006-02-08 13:38:50 +0000377 PTR sys_unshare
Ralf Baechlef115da92006-03-31 09:27:20 +0100378 PTR sys_splice
Ralf Baechlea8d587a2006-04-01 07:49:21 +0100379 PTR sys_sync_file_range
Ralf Baechle136d47d2006-04-15 11:16:19 +0200380 PTR sys_tee
Ralf Baechle8d13cb22008-12-03 17:03:27 +0000381 PTR compat_sys_vmsplice /* 6270 */
Huacai Chen1ff1ad62014-06-26 11:41:29 +0800382 PTR compat_sys_move_pages
Atsushi Nemoto7fdeb042006-09-06 22:42:02 +0900383 PTR compat_sys_set_robust_list
384 PTR compat_sys_get_robust_list
Nicolas Schichan583bb862006-10-18 15:14:55 +0200385 PTR compat_sys_kexec_load
Ralf Baechle08253b32007-03-06 17:04:49 +0000386 PTR sys_getcpu /* 6275 */
Ralf Baechle431dc802007-02-13 00:05:11 +0000387 PTR compat_sys_epoll_pwait
Ralf Baechle08253b32007-03-06 17:04:49 +0000388 PTR sys_ioprio_set
389 PTR sys_ioprio_get
Atsushi Nemoto7a6d4f32007-05-29 23:29:40 +0900390 PTR compat_sys_utimensat
David Daneye10c53a2010-07-29 13:43:04 -0700391 PTR compat_sys_signalfd /* 6280 */
Ralf Baechle8bdd5142011-04-13 20:50:46 +0200392 PTR sys_ni_syscall /* was timerfd */
Atsushi Nemoto7a6d4f32007-05-29 23:29:40 +0900393 PTR sys_eventfd
Ralf Baechle4dc46772007-07-26 03:38:24 +0100394 PTR sys_fallocate
Dmitri Vorobiev6783fe62008-02-19 00:02:37 +0300395 PTR sys_timerfd_create
David Daneye10c53a2010-07-29 13:43:04 -0700396 PTR compat_sys_timerfd_gettime /* 6285 */
David Daneyc7d16732009-04-16 09:20:17 -0700397 PTR compat_sys_timerfd_settime
Ralf Baechle97daa762012-12-04 18:50:48 +0100398 PTR compat_sys_signalfd4
Ralf Baechle3885b712008-07-31 11:16:43 +0100399 PTR sys_eventfd2
400 PTR sys_epoll_create1
David Daneye10c53a2010-07-29 13:43:04 -0700401 PTR sys_dup3 /* 6290 */
Ralf Baechle3885b712008-07-31 11:16:43 +0100402 PTR sys_pipe2
403 PTR sys_inotify_init1
Ralf Baechled5563712012-12-04 17:40:44 +0100404 PTR compat_sys_preadv
405 PTR compat_sys_pwritev
David Daneye10c53a2010-07-29 13:43:04 -0700406 PTR compat_sys_rt_tgsigqueueinfo /* 6295 */
Ingo Molnarcdd6c482009-09-21 12:02:48 +0200407 PTR sys_perf_event_open
Ralf Baechle54822de2009-08-03 17:27:19 +0100408 PTR sys_accept4
Ralf Baechle70342282013-01-22 12:59:30 +0100409 PTR compat_sys_recvmmsg
410 PTR sys_getdents64
David Daney5e844b32010-08-23 14:10:37 -0700411 PTR sys_fanotify_init /* 6300 */
412 PTR sys_fanotify_mark
413 PTR sys_prlimit64
David Daney84ed9432011-03-18 10:37:23 -0700414 PTR sys_name_to_handle_at
415 PTR sys_open_by_handle_at
416 PTR compat_sys_clock_adjtime /* 6305 */
Ralf Baechle1bbf2872011-03-25 18:45:20 +0100417 PTR sys_syncfs
Ralf Baechleb12acf12011-05-28 13:22:58 +0100418 PTR compat_sys_sendmmsg
Eric W. Biederman7b21fdd2011-05-27 19:28:27 -0700419 PTR sys_setns
David Daney8ff85842011-11-08 14:54:55 -0800420 PTR compat_sys_process_vm_readv
421 PTR compat_sys_process_vm_writev /* 6310 */
Ralf Baechlece71d242012-09-14 22:47:15 +0200422 PTR sys_kcmp
Ralf Baechle62951502012-12-28 17:02:56 +0100423 PTR sys_finit_module
James Hogan67762542014-02-04 12:29:01 +0000424 PTR sys_sched_setattr
425 PTR sys_sched_getattr
Ralf Baechle367f0b52014-05-13 17:56:41 +0200426 PTR sys_renameat2 /* 6315 */
Kees Cook8855d602014-06-10 15:45:09 -0700427 PTR sys_seccomp
Ralf Baechle42944522014-08-26 03:03:40 +0200428 PTR sys_getrandom
429 PTR sys_memfd_create
Ralf Baechle5df4c8d2014-10-27 03:35:53 +0100430 PTR sys_bpf
Ralf Baechle08253b32007-03-06 17:04:49 +0000431 .size sysn32_call_table,.-sysn32_call_table