Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #include <linux/errno.h> |
| 11 | #include <asm/asm.h> |
| 12 | #include <asm/asmmacro.h> |
Ralf Baechle | 192ef36 | 2006-07-07 14:07:18 +0100 | [diff] [blame] | 13 | #include <asm/irqflags.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #ifndef CONFIG_MIPS32_O32 |
| 21 | /* No O32, so define handle_sys here */ |
| 22 | #define handle_sysn32 handle_sys |
| 23 | #endif |
| 24 | |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 25 | .align 5 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | NESTED(handle_sysn32, PT_SIZE, sp) |
| 27 | #ifndef CONFIG_MIPS32_O32 |
| 28 | .set noat |
| 29 | SAVE_SOME |
Atsushi Nemoto | eae6c0d | 2006-09-26 23:43:40 +0900 | [diff] [blame] | 30 | TRACE_IRQS_ON_RELOAD |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | STI |
| 32 | .set at |
| 33 | #endif |
| 34 | |
| 35 | dsubu t0, v0, __NR_N32_Linux # check syscall number |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 36 | sltiu t0, t0, __NR_N32_Linux_syscalls + 1 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
| 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 | |
| 50 | li t1, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT |
| 51 | 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 Viro | 8f5a00eb | 2010-09-28 18:50:37 +0100 | [diff] [blame] | 62 | ld t1, PT_R2(sp) # syscall number |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | dnegu v0 # error |
Al Viro | 8f5a00eb | 2010-09-28 18:50:37 +0100 | [diff] [blame] | 64 | sd t1, PT_R0(sp) # save it for syscall restarting |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | 1: sd v0, PT_R2(sp) # result |
| 66 | |
Al Viro | 02f884e | 2012-05-05 16:11:35 -0400 | [diff] [blame] | 67 | j syscall_exit_partial |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | |
| 69 | /* ------------------------------------------------------------------------ */ |
| 70 | |
| 71 | n32_syscall_trace_entry: |
| 72 | SAVE_STATIC |
| 73 | move s0, t2 |
| 74 | move a0, sp |
Ralf Baechle | 8b659a3 | 2011-05-19 09:21:29 +0100 | [diff] [blame] | 75 | jal syscall_trace_enter |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | |
Ralf Baechle | 04a7052 | 2005-11-30 16:24:57 +0000 | [diff] [blame] | 77 | move t0, s0 |
| 78 | RESTORE_STATIC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 79 | ld a0, PT_R4(sp) # Restore argument registers |
| 80 | ld a1, PT_R5(sp) |
| 81 | ld a2, PT_R6(sp) |
| 82 | ld a3, PT_R7(sp) |
| 83 | ld a4, PT_R8(sp) |
| 84 | ld a5, PT_R9(sp) |
Ralf Baechle | 04a7052 | 2005-11-30 16:24:57 +0000 | [diff] [blame] | 85 | jalr t0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | |
| 87 | li t0, -EMAXERRNO - 1 # error? |
| 88 | sltu t0, t0, v0 |
| 89 | sd t0, PT_R7(sp) # set error flag |
| 90 | beqz t0, 1f |
| 91 | |
Al Viro | 8f5a00eb | 2010-09-28 18:50:37 +0100 | [diff] [blame] | 92 | ld t1, PT_R2(sp) # syscall number |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | dnegu v0 # error |
Al Viro | 8f5a00eb | 2010-09-28 18:50:37 +0100 | [diff] [blame] | 94 | sd t1, PT_R0(sp) # save it for syscall restarting |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | 1: sd v0, PT_R2(sp) # result |
| 96 | |
| 97 | j syscall_exit |
| 98 | |
| 99 | not_n32_scall: |
| 100 | /* This is not an n32 compatibility syscall, pass it on to |
| 101 | the n64 syscall handlers. */ |
| 102 | j handle_sys64 |
| 103 | |
| 104 | END(handle_sysn32) |
| 105 | |
| 106 | EXPORT(sysn32_call_table) |
| 107 | PTR sys_read /* 6000 */ |
| 108 | PTR sys_write |
| 109 | PTR sys_open |
| 110 | PTR sys_close |
| 111 | PTR sys_newstat |
| 112 | PTR sys_newfstat /* 6005 */ |
| 113 | PTR sys_newlstat |
| 114 | PTR sys_poll |
| 115 | PTR sys_lseek |
Ralf Baechle | dbda6ac | 2009-02-08 16:00:26 +0000 | [diff] [blame] | 116 | PTR sys_mips_mmap |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 117 | PTR sys_mprotect /* 6010 */ |
| 118 | PTR sys_munmap |
| 119 | PTR sys_brk |
Al Viro | aa58480 | 2012-12-25 18:55:27 -0500 | [diff] [blame] | 120 | PTR compat_sys_rt_sigaction |
Al Viro | 056a060 | 2012-12-25 13:55:50 -0500 | [diff] [blame] | 121 | PTR compat_sys_rt_sigprocmask |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | PTR compat_sys_ioctl /* 6015 */ |
| 123 | PTR sys_pread64 |
| 124 | PTR sys_pwrite64 |
| 125 | PTR compat_sys_readv |
| 126 | PTR compat_sys_writev |
| 127 | PTR sys_access /* 6020 */ |
Ralf Baechle | 8213bbf | 2008-07-20 13:16:46 +0100 | [diff] [blame] | 128 | PTR sysm_pipe |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | PTR compat_sys_select |
| 130 | PTR sys_sched_yield |
| 131 | PTR sys_mremap |
| 132 | PTR sys_msync /* 6025 */ |
| 133 | PTR sys_mincore |
| 134 | PTR sys_madvise |
| 135 | PTR sys_shmget |
Atsushi Nemoto | 05e4396 | 2006-11-07 18:02:44 +0900 | [diff] [blame] | 136 | PTR sys_shmat |
| 137 | PTR compat_sys_shmctl /* 6030 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 138 | PTR sys_dup |
| 139 | PTR sys_dup2 |
| 140 | PTR sys_pause |
| 141 | PTR compat_sys_nanosleep |
| 142 | PTR compat_sys_getitimer /* 6035 */ |
| 143 | PTR compat_sys_setitimer |
| 144 | PTR sys_alarm |
| 145 | PTR sys_getpid |
Al Viro | 19f4fc3 | 2013-02-24 02:17:03 -0500 | [diff] [blame] | 146 | PTR compat_sys_sendfile |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 147 | PTR sys_socket /* 6040 */ |
| 148 | PTR sys_connect |
| 149 | PTR sys_accept |
| 150 | PTR sys_sendto |
Johannes Berg | 1dacc76 | 2009-07-01 11:26:02 +0000 | [diff] [blame] | 151 | PTR compat_sys_recvfrom |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 152 | PTR compat_sys_sendmsg /* 6045 */ |
| 153 | PTR compat_sys_recvmsg |
| 154 | PTR sys_shutdown |
| 155 | PTR sys_bind |
| 156 | PTR sys_listen |
| 157 | PTR sys_getsockname /* 6050 */ |
| 158 | PTR sys_getpeername |
| 159 | PTR sys_socketpair |
| 160 | PTR compat_sys_setsockopt |
| 161 | PTR sys_getsockopt |
Al Viro | 50150d2 | 2012-12-27 12:11:46 -0500 | [diff] [blame] | 162 | PTR __sys_clone /* 6055 */ |
| 163 | PTR __sys_fork |
Ralf Baechle | baf9ff7 | 2012-10-09 21:16:07 +0200 | [diff] [blame] | 164 | PTR compat_sys_execve |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 165 | PTR sys_exit |
Ralf Baechle | b6e203d | 2005-02-16 21:18:52 +0000 | [diff] [blame] | 166 | PTR compat_sys_wait4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 167 | PTR sys_kill /* 6060 */ |
Christoph Hellwig | e28cbf2 | 2010-03-10 15:21:19 -0800 | [diff] [blame] | 168 | PTR sys_newuname |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 169 | PTR sys_semget |
| 170 | PTR sys_semop |
Al Viro | 0e65a81 | 2013-02-03 14:36:44 -0500 | [diff] [blame] | 171 | PTR compat_sys_semctl |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 172 | PTR sys_shmdt /* 6065 */ |
| 173 | PTR sys_msgget |
Al Viro | 0e65a81 | 2013-02-03 14:36:44 -0500 | [diff] [blame] | 174 | PTR compat_sys_msgsnd |
| 175 | PTR compat_sys_msgrcv |
Atsushi Nemoto | 05e4396 | 2006-11-07 18:02:44 +0900 | [diff] [blame] | 176 | PTR compat_sys_msgctl |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 177 | PTR compat_sys_fcntl /* 6070 */ |
| 178 | PTR sys_flock |
| 179 | PTR sys_fsync |
| 180 | PTR sys_fdatasync |
| 181 | PTR sys_truncate |
| 182 | PTR sys_ftruncate /* 6075 */ |
Atsushi Nemoto | 2fd628f | 2006-02-21 15:59:00 +0900 | [diff] [blame] | 183 | PTR compat_sys_getdents |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 184 | PTR sys_getcwd |
| 185 | PTR sys_chdir |
| 186 | PTR sys_fchdir |
| 187 | PTR sys_rename /* 6080 */ |
| 188 | PTR sys_mkdir |
| 189 | PTR sys_rmdir |
| 190 | PTR sys_creat |
| 191 | PTR sys_link |
| 192 | PTR sys_unlink /* 6085 */ |
| 193 | PTR sys_symlink |
| 194 | PTR sys_readlink |
| 195 | PTR sys_chmod |
| 196 | PTR sys_fchmod |
| 197 | PTR sys_chown /* 6090 */ |
| 198 | PTR sys_fchown |
| 199 | PTR sys_lchown |
| 200 | PTR sys_umask |
Christoph Hellwig | b418da1 | 2008-10-15 22:02:06 -0700 | [diff] [blame] | 201 | PTR compat_sys_gettimeofday |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 202 | PTR compat_sys_getrlimit /* 6095 */ |
| 203 | PTR compat_sys_getrusage |
Kyle McMartin | d4d23ad | 2007-02-10 01:46:00 -0800 | [diff] [blame] | 204 | PTR compat_sys_sysinfo |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 205 | PTR compat_sys_times |
Thomas Bogendoerfer | 5d9a76c | 2008-08-17 16:49:25 +0200 | [diff] [blame] | 206 | PTR compat_sys_ptrace |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 207 | PTR sys_getuid /* 6100 */ |
| 208 | PTR sys_syslog |
| 209 | PTR sys_getgid |
| 210 | PTR sys_setuid |
| 211 | PTR sys_setgid |
| 212 | PTR sys_geteuid /* 6105 */ |
| 213 | PTR sys_getegid |
| 214 | PTR sys_setpgid |
| 215 | PTR sys_getppid |
| 216 | PTR sys_getpgrp |
| 217 | PTR sys_setsid /* 6110 */ |
| 218 | PTR sys_setreuid |
| 219 | PTR sys_setregid |
| 220 | PTR sys_getgroups |
| 221 | PTR sys_setgroups |
| 222 | PTR sys_setresuid /* 6115 */ |
| 223 | PTR sys_getresuid |
| 224 | PTR sys_setresgid |
| 225 | PTR sys_getresgid |
| 226 | PTR sys_getpgid |
| 227 | PTR sys_setfsuid /* 6120 */ |
| 228 | PTR sys_setfsgid |
| 229 | PTR sys_getsid |
| 230 | PTR sys_capget |
| 231 | PTR sys_capset |
Al Viro | 45cb66f | 2012-12-25 15:00:46 -0500 | [diff] [blame] | 232 | PTR compat_sys_rt_sigpending /* 6125 */ |
Ralf Baechle | 82ad93f | 2006-02-18 22:47:26 +0000 | [diff] [blame] | 233 | PTR compat_sys_rt_sigtimedwait |
Al Viro | ea5d83d | 2012-12-25 15:49:15 -0500 | [diff] [blame] | 234 | PTR compat_sys_rt_sigqueueinfo |
Al Viro | bde208d | 2012-11-25 01:36:15 -0500 | [diff] [blame] | 235 | PTR compat_sys_rt_sigsuspend |
Al Viro | ea536ad | 2012-12-23 03:13:40 -0500 | [diff] [blame] | 236 | PTR compat_sys_sigaltstack |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 237 | PTR compat_sys_utime /* 6130 */ |
| 238 | PTR sys_mknod |
Ralf Baechle | dbda6ac | 2009-02-08 16:00:26 +0000 | [diff] [blame] | 239 | PTR sys_32_personality |
Christoph Hellwig | 2b1c6bd | 2008-11-28 10:09:09 +0100 | [diff] [blame] | 240 | PTR compat_sys_ustat |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 241 | PTR compat_sys_statfs |
| 242 | PTR compat_sys_fstatfs /* 6135 */ |
| 243 | PTR sys_sysfs |
| 244 | PTR sys_getpriority |
| 245 | PTR sys_setpriority |
| 246 | PTR sys_sched_setparam |
| 247 | PTR sys_sched_getparam /* 6140 */ |
| 248 | PTR sys_sched_setscheduler |
| 249 | PTR sys_sched_getscheduler |
| 250 | PTR sys_sched_get_priority_max |
| 251 | PTR sys_sched_get_priority_min |
Al Viro | 0450d22f | 2012-12-25 17:33:40 -0500 | [diff] [blame] | 252 | PTR compat_sys_sched_rr_get_interval /* 6145 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 253 | PTR sys_mlock |
| 254 | PTR sys_munlock |
| 255 | PTR sys_mlockall |
| 256 | PTR sys_munlockall |
| 257 | PTR sys_vhangup /* 6150 */ |
| 258 | PTR sys_pivot_root |
Eric W. Biederman | aff639c | 2009-04-03 00:46:47 -0700 | [diff] [blame] | 259 | PTR compat_sys_sysctl |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 260 | PTR sys_prctl |
Stephen Rothwell | 3158e94 | 2006-03-26 01:37:29 -0800 | [diff] [blame] | 261 | PTR compat_sys_adjtimex |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 262 | PTR compat_sys_setrlimit /* 6155 */ |
| 263 | PTR sys_chroot |
| 264 | PTR sys_sync |
| 265 | PTR sys_acct |
Christoph Hellwig | b418da1 | 2008-10-15 22:02:06 -0700 | [diff] [blame] | 266 | PTR compat_sys_settimeofday |
Ralf Baechle | 089c7e7 | 2006-10-16 16:49:37 +0100 | [diff] [blame] | 267 | PTR compat_sys_mount /* 6160 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 268 | PTR sys_umount |
| 269 | PTR sys_swapon |
| 270 | PTR sys_swapoff |
| 271 | PTR sys_reboot |
| 272 | PTR sys_sethostname /* 6165 */ |
| 273 | PTR sys_setdomainname |
| 274 | PTR sys_ni_syscall /* was create_module */ |
| 275 | PTR sys_init_module |
| 276 | PTR sys_delete_module |
| 277 | PTR sys_ni_syscall /* 6170, was get_kernel_syms */ |
| 278 | PTR sys_ni_syscall /* was query_module */ |
| 279 | PTR sys_quotactl |
NeilBrown | f5b9409 | 2011-08-26 18:03:11 -0400 | [diff] [blame] | 280 | PTR sys_ni_syscall /* was nfsservctl */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 281 | PTR sys_ni_syscall /* res. for getpmsg */ |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 282 | PTR sys_ni_syscall /* 6175 for putpmsg */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 283 | PTR sys_ni_syscall /* res. for afs_syscall */ |
| 284 | PTR sys_ni_syscall /* res. for security */ |
| 285 | PTR sys_gettid |
Atsushi Nemoto | 8676d2e | 2007-05-18 00:46:13 +0900 | [diff] [blame] | 286 | PTR sys_readahead |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 287 | PTR sys_setxattr /* 6180 */ |
| 288 | PTR sys_lsetxattr |
| 289 | PTR sys_fsetxattr |
| 290 | PTR sys_getxattr |
| 291 | PTR sys_lgetxattr |
| 292 | PTR sys_fgetxattr /* 6185 */ |
| 293 | PTR sys_listxattr |
| 294 | PTR sys_llistxattr |
| 295 | PTR sys_flistxattr |
| 296 | PTR sys_removexattr |
| 297 | PTR sys_lremovexattr /* 6190 */ |
| 298 | PTR sys_fremovexattr |
| 299 | PTR sys_tkill |
| 300 | PTR sys_ni_syscall |
Al Viro | 5e392b8d | 2012-12-25 23:22:15 -0500 | [diff] [blame] | 301 | PTR compat_sys_futex |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 302 | PTR compat_sys_sched_setaffinity /* 6195 */ |
| 303 | PTR compat_sys_sched_getaffinity |
| 304 | PTR sys_cacheflush |
| 305 | PTR sys_cachectl |
| 306 | PTR sys_sysmips |
Michel Thebeau | e2cc502 | 2010-09-28 14:15:37 -0400 | [diff] [blame] | 307 | PTR compat_sys_io_setup /* 6200 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 308 | PTR sys_io_destroy |
Michel Thebeau | e2cc502 | 2010-09-28 14:15:37 -0400 | [diff] [blame] | 309 | PTR compat_sys_io_getevents |
| 310 | PTR compat_sys_io_submit |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 311 | PTR sys_io_cancel |
| 312 | PTR sys_exit_group /* 6205 */ |
| 313 | PTR sys_lookup_dcookie |
| 314 | PTR sys_epoll_create |
| 315 | PTR sys_epoll_ctl |
| 316 | PTR sys_epoll_wait |
| 317 | PTR sys_remap_file_pages /* 6210 */ |
| 318 | PTR sysn32_rt_sigreturn |
Thiemo Seufer | 589391a | 2005-04-13 09:11:22 +0000 | [diff] [blame] | 319 | PTR compat_sys_fcntl64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 320 | PTR sys_set_tid_address |
| 321 | PTR sys_restart_syscall |
Atsushi Nemoto | 05e4396 | 2006-11-07 18:02:44 +0900 | [diff] [blame] | 322 | PTR compat_sys_semtimedop /* 6215 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 323 | PTR sys_fadvise64_64 |
| 324 | PTR compat_sys_statfs64 |
| 325 | PTR compat_sys_fstatfs64 |
| 326 | PTR sys_sendfile64 |
Ralf Baechle | 821d313 | 2007-02-27 01:21:17 +0000 | [diff] [blame] | 327 | PTR compat_sys_timer_create /* 6220 */ |
Ralf Baechle | d1abb6a | 2005-02-16 21:25:03 +0000 | [diff] [blame] | 328 | PTR compat_sys_timer_settime |
| 329 | PTR compat_sys_timer_gettime |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 330 | PTR sys_timer_getoverrun |
| 331 | PTR sys_timer_delete |
Ralf Baechle | d1abb6a | 2005-02-16 21:25:03 +0000 | [diff] [blame] | 332 | PTR compat_sys_clock_settime /* 6225 */ |
| 333 | PTR compat_sys_clock_gettime |
| 334 | PTR compat_sys_clock_getres |
| 335 | PTR compat_sys_clock_nanosleep |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 336 | PTR sys_tgkill |
| 337 | PTR compat_sys_utimes /* 6230 */ |
| 338 | PTR sys_ni_syscall /* sys_mbind */ |
| 339 | PTR sys_ni_syscall /* sys_get_mempolicy */ |
| 340 | PTR sys_ni_syscall /* sys_set_mempolicy */ |
| 341 | PTR compat_sys_mq_open |
| 342 | PTR sys_mq_unlink /* 6235 */ |
| 343 | PTR compat_sys_mq_timedsend |
| 344 | PTR compat_sys_mq_timedreceive |
| 345 | PTR compat_sys_mq_notify |
| 346 | PTR compat_sys_mq_getsetattr |
| 347 | PTR sys_ni_syscall /* 6240, sys_vserver */ |
Ralf Baechle | 440537ef | 2007-02-27 00:56:37 +0000 | [diff] [blame] | 348 | PTR compat_sys_waitid |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 349 | PTR sys_ni_syscall /* available, was setaltroot */ |
| 350 | PTR sys_add_key |
| 351 | PTR sys_request_key |
| 352 | PTR sys_keyctl /* 6245 */ |
Ralf Baechle | 3c37026 | 2005-04-13 17:43:59 +0000 | [diff] [blame] | 353 | PTR sys_set_thread_area |
Ralf Baechle | 8d9c626 | 2005-08-05 10:31:47 +0000 | [diff] [blame] | 354 | PTR sys_inotify_init |
| 355 | PTR sys_inotify_add_watch |
| 356 | PTR sys_inotify_rm_watch |
Ralf Baechle | 72bf891 | 2006-02-08 13:38:50 +0000 | [diff] [blame] | 357 | PTR sys_migrate_pages /* 6250 */ |
| 358 | PTR sys_openat |
| 359 | PTR sys_mkdirat |
| 360 | PTR sys_mknodat |
| 361 | PTR sys_fchownat |
Johannes Dickgreber | 8241139 | 2007-09-12 18:22:04 +0200 | [diff] [blame] | 362 | PTR compat_sys_futimesat /* 6255 */ |
Ralf Baechle | 72bf891 | 2006-02-08 13:38:50 +0000 | [diff] [blame] | 363 | PTR sys_newfstatat |
| 364 | PTR sys_unlinkat |
| 365 | PTR sys_renameat |
| 366 | PTR sys_linkat |
| 367 | PTR sys_symlinkat /* 6260 */ |
| 368 | PTR sys_readlinkat |
| 369 | PTR sys_fchmodat |
| 370 | PTR sys_faccessat |
Joseph S. Myers | 99d233f | 2007-01-10 12:30:50 +0000 | [diff] [blame] | 371 | PTR compat_sys_pselect6 |
Chandrakala Chavva | 46afb82 | 2010-05-10 17:11:54 -0700 | [diff] [blame] | 372 | PTR compat_sys_ppoll /* 6265 */ |
Ralf Baechle | 72bf891 | 2006-02-08 13:38:50 +0000 | [diff] [blame] | 373 | PTR sys_unshare |
Ralf Baechle | f115da9 | 2006-03-31 09:27:20 +0100 | [diff] [blame] | 374 | PTR sys_splice |
Ralf Baechle | a8d587a | 2006-04-01 07:49:21 +0100 | [diff] [blame] | 375 | PTR sys_sync_file_range |
Ralf Baechle | 136d47d | 2006-04-15 11:16:19 +0200 | [diff] [blame] | 376 | PTR sys_tee |
Ralf Baechle | 8d13cb2 | 2008-12-03 17:03:27 +0000 | [diff] [blame] | 377 | PTR compat_sys_vmsplice /* 6270 */ |
Ralf Baechle | 722cfd9 | 2006-07-02 16:31:14 +0100 | [diff] [blame] | 378 | PTR sys_move_pages |
Atsushi Nemoto | 7fdeb04 | 2006-09-06 22:42:02 +0900 | [diff] [blame] | 379 | PTR compat_sys_set_robust_list |
| 380 | PTR compat_sys_get_robust_list |
Nicolas Schichan | 583bb86 | 2006-10-18 15:14:55 +0200 | [diff] [blame] | 381 | PTR compat_sys_kexec_load |
Ralf Baechle | 08253b3 | 2007-03-06 17:04:49 +0000 | [diff] [blame] | 382 | PTR sys_getcpu /* 6275 */ |
Ralf Baechle | 431dc80 | 2007-02-13 00:05:11 +0000 | [diff] [blame] | 383 | PTR compat_sys_epoll_pwait |
Ralf Baechle | 08253b3 | 2007-03-06 17:04:49 +0000 | [diff] [blame] | 384 | PTR sys_ioprio_set |
| 385 | PTR sys_ioprio_get |
Atsushi Nemoto | 7a6d4f3 | 2007-05-29 23:29:40 +0900 | [diff] [blame] | 386 | PTR compat_sys_utimensat |
David Daney | e10c53a | 2010-07-29 13:43:04 -0700 | [diff] [blame] | 387 | PTR compat_sys_signalfd /* 6280 */ |
Ralf Baechle | 8bdd514 | 2011-04-13 20:50:46 +0200 | [diff] [blame] | 388 | PTR sys_ni_syscall /* was timerfd */ |
Atsushi Nemoto | 7a6d4f3 | 2007-05-29 23:29:40 +0900 | [diff] [blame] | 389 | PTR sys_eventfd |
Ralf Baechle | 4dc4677 | 2007-07-26 03:38:24 +0100 | [diff] [blame] | 390 | PTR sys_fallocate |
Dmitri Vorobiev | 6783fe6 | 2008-02-19 00:02:37 +0300 | [diff] [blame] | 391 | PTR sys_timerfd_create |
David Daney | e10c53a | 2010-07-29 13:43:04 -0700 | [diff] [blame] | 392 | PTR compat_sys_timerfd_gettime /* 6285 */ |
David Daney | c7d1673 | 2009-04-16 09:20:17 -0700 | [diff] [blame] | 393 | PTR compat_sys_timerfd_settime |
Ralf Baechle | 97daa76 | 2012-12-04 18:50:48 +0100 | [diff] [blame] | 394 | PTR compat_sys_signalfd4 |
Ralf Baechle | 3885b71 | 2008-07-31 11:16:43 +0100 | [diff] [blame] | 395 | PTR sys_eventfd2 |
| 396 | PTR sys_epoll_create1 |
David Daney | e10c53a | 2010-07-29 13:43:04 -0700 | [diff] [blame] | 397 | PTR sys_dup3 /* 6290 */ |
Ralf Baechle | 3885b71 | 2008-07-31 11:16:43 +0100 | [diff] [blame] | 398 | PTR sys_pipe2 |
| 399 | PTR sys_inotify_init1 |
Ralf Baechle | d556371 | 2012-12-04 17:40:44 +0100 | [diff] [blame] | 400 | PTR compat_sys_preadv |
| 401 | PTR compat_sys_pwritev |
David Daney | e10c53a | 2010-07-29 13:43:04 -0700 | [diff] [blame] | 402 | PTR compat_sys_rt_tgsigqueueinfo /* 6295 */ |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 403 | PTR sys_perf_event_open |
Ralf Baechle | 54822de | 2009-08-03 17:27:19 +0100 | [diff] [blame] | 404 | PTR sys_accept4 |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 405 | PTR compat_sys_recvmmsg |
| 406 | PTR sys_getdents64 |
David Daney | 5e844b3 | 2010-08-23 14:10:37 -0700 | [diff] [blame] | 407 | PTR sys_fanotify_init /* 6300 */ |
| 408 | PTR sys_fanotify_mark |
| 409 | PTR sys_prlimit64 |
David Daney | 84ed943 | 2011-03-18 10:37:23 -0700 | [diff] [blame] | 410 | PTR sys_name_to_handle_at |
| 411 | PTR sys_open_by_handle_at |
| 412 | PTR compat_sys_clock_adjtime /* 6305 */ |
Ralf Baechle | 1bbf287 | 2011-03-25 18:45:20 +0100 | [diff] [blame] | 413 | PTR sys_syncfs |
Ralf Baechle | b12acf1 | 2011-05-28 13:22:58 +0100 | [diff] [blame] | 414 | PTR compat_sys_sendmmsg |
Eric W. Biederman | 7b21fdd | 2011-05-27 19:28:27 -0700 | [diff] [blame] | 415 | PTR sys_setns |
David Daney | 8ff8584 | 2011-11-08 14:54:55 -0800 | [diff] [blame] | 416 | PTR compat_sys_process_vm_readv |
| 417 | PTR compat_sys_process_vm_writev /* 6310 */ |
Ralf Baechle | ce71d24 | 2012-09-14 22:47:15 +0200 | [diff] [blame] | 418 | PTR sys_kcmp |
Ralf Baechle | 6295150 | 2012-12-28 17:02:56 +0100 | [diff] [blame] | 419 | PTR sys_finit_module |
Ralf Baechle | 08253b3 | 2007-03-06 17:04:49 +0000 | [diff] [blame] | 420 | .size sysn32_call_table,.-sysn32_call_table |