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, 02 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> |
Sam Ravnborg | 048eb58 | 2005-09-09 22:32:31 +0200 | [diff] [blame] | 17 | #include <asm/asm-offsets.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #include <asm/sysmips.h> |
| 19 | #include <asm/thread_info.h> |
| 20 | #include <asm/unistd.h> |
| 21 | #include <asm/war.h> |
| 22 | |
| 23 | #ifndef CONFIG_BINFMT_ELF32 |
| 24 | /* Neither O32 nor N32, so define handle_sys here */ |
| 25 | #define handle_sys64 handle_sys |
| 26 | #endif |
| 27 | |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 28 | .align 5 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | NESTED(handle_sys64, PT_SIZE, sp) |
| 30 | #if !defined(CONFIG_MIPS32_O32) && !defined(CONFIG_MIPS32_N32) |
| 31 | /* |
| 32 | * When 32-bit compatibility is configured scall_o32.S |
| 33 | * already did this. |
| 34 | */ |
| 35 | .set noat |
| 36 | SAVE_SOME |
Atsushi Nemoto | eae6c0d | 2006-09-26 23:43:40 +0900 | [diff] [blame] | 37 | TRACE_IRQS_ON_RELOAD |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | STI |
| 39 | .set at |
| 40 | #endif |
| 41 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | #if !defined(CONFIG_MIPS32_O32) && !defined(CONFIG_MIPS32_N32) |
| 43 | ld t1, PT_EPC(sp) # skip syscall on return |
| 44 | daddiu t1, 4 # skip to next instruction |
| 45 | sd t1, PT_EPC(sp) |
| 46 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | |
| 48 | sd a3, PT_R26(sp) # save a3 for syscall restarting |
| 49 | |
Ralf Baechle | e7f3b48 | 2013-05-29 01:02:18 +0200 | [diff] [blame] | 50 | li t1, _TIF_WORK_SYSCALL_ENTRY |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? |
| 52 | and t0, t1, t0 |
| 53 | bnez t0, syscall_trace_entry |
| 54 | |
Markos Chandras | d218af7 | 2015-09-25 08:17:42 +0100 | [diff] [blame] | 55 | syscall_common: |
| 56 | dsubu t2, v0, __NR_64_Linux |
| 57 | sltiu t0, t2, __NR_64_Linux_syscalls + 1 |
| 58 | beqz t0, illegal_syscall |
| 59 | |
| 60 | dsll t0, t2, 3 # offset into table |
| 61 | dla t2, sys_call_table |
| 62 | daddu t0, t2, t0 |
| 63 | ld t2, (t0) # syscall routine |
| 64 | beqz t2, illegal_syscall |
| 65 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 66 | jalr t2 # Do The Real Thing (TM) |
| 67 | |
| 68 | li t0, -EMAXERRNO - 1 # error? |
| 69 | sltu t0, t0, v0 |
| 70 | sd t0, PT_R7(sp) # set error flag |
| 71 | beqz t0, 1f |
| 72 | |
Al Viro | 8f5a00eb | 2010-09-28 18:50:37 +0100 | [diff] [blame] | 73 | ld t1, PT_R2(sp) # syscall number |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | dnegu v0 # error |
Al Viro | 8f5a00eb | 2010-09-28 18:50:37 +0100 | [diff] [blame] | 75 | sd t1, PT_R0(sp) # save it for syscall restarting |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | 1: sd v0, PT_R2(sp) # result |
| 77 | |
| 78 | n64_syscall_exit: |
Al Viro | 02f884e | 2012-05-05 16:11:35 -0400 | [diff] [blame] | 79 | j syscall_exit_partial |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | |
| 81 | /* ------------------------------------------------------------------------ */ |
| 82 | |
| 83 | syscall_trace_entry: |
| 84 | SAVE_STATIC |
Markos Chandras | d218af7 | 2015-09-25 08:17:42 +0100 | [diff] [blame] | 85 | move s0, v0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | move a0, sp |
Markos Chandras | 9f16143 | 2015-08-13 08:47:59 +0100 | [diff] [blame] | 87 | move a1, v0 |
Ralf Baechle | 8b659a3 | 2011-05-19 09:21:29 +0100 | [diff] [blame] | 88 | jal syscall_trace_enter |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | |
Markos Chandras | d218af7 | 2015-09-25 08:17:42 +0100 | [diff] [blame] | 90 | bltz v0, 1f # seccomp failed? Skip syscall |
Markos Chandras | 9d37c40 | 2014-01-22 14:40:02 +0000 | [diff] [blame] | 91 | |
Markos Chandras | d218af7 | 2015-09-25 08:17:42 +0100 | [diff] [blame] | 92 | move v0, s0 |
Ralf Baechle | 04a7052 | 2005-11-30 16:24:57 +0000 | [diff] [blame] | 93 | RESTORE_STATIC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 94 | ld a0, PT_R4(sp) # Restore argument registers |
| 95 | ld a1, PT_R5(sp) |
| 96 | ld a2, PT_R6(sp) |
| 97 | ld a3, PT_R7(sp) |
| 98 | ld a4, PT_R8(sp) |
| 99 | ld a5, PT_R9(sp) |
Markos Chandras | d218af7 | 2015-09-25 08:17:42 +0100 | [diff] [blame] | 100 | j syscall_common |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | |
Markos Chandras | d218af7 | 2015-09-25 08:17:42 +0100 | [diff] [blame] | 102 | 1: j syscall_exit |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | |
| 104 | illegal_syscall: |
| 105 | /* This also isn't a 64-bit syscall, throw an error. */ |
Atsushi Nemoto | bda8229 | 2008-10-25 01:17:22 +0900 | [diff] [blame] | 106 | li v0, ENOSYS # error |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | sd v0, PT_R2(sp) |
| 108 | li t0, 1 # set error flag |
| 109 | sd t0, PT_R7(sp) |
| 110 | j n64_syscall_exit |
| 111 | END(handle_sys64) |
| 112 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | .align 3 |
Ralf Baechle | 03b94e2 | 2012-07-12 14:06:46 +0200 | [diff] [blame] | 114 | .type sys_call_table, @object |
| 115 | EXPORT(sys_call_table) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 | PTR sys_read /* 5000 */ |
| 117 | PTR sys_write |
| 118 | PTR sys_open |
| 119 | PTR sys_close |
| 120 | PTR sys_newstat |
| 121 | PTR sys_newfstat /* 5005 */ |
| 122 | PTR sys_newlstat |
| 123 | PTR sys_poll |
| 124 | PTR sys_lseek |
Ralf Baechle | dbda6ac | 2009-02-08 16:00:26 +0000 | [diff] [blame] | 125 | PTR sys_mips_mmap |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 126 | PTR sys_mprotect /* 5010 */ |
| 127 | PTR sys_munmap |
| 128 | PTR sys_brk |
| 129 | PTR sys_rt_sigaction |
| 130 | PTR sys_rt_sigprocmask |
| 131 | PTR sys_ioctl /* 5015 */ |
| 132 | PTR sys_pread64 |
| 133 | PTR sys_pwrite64 |
| 134 | PTR sys_readv |
| 135 | PTR sys_writev |
| 136 | PTR sys_access /* 5020 */ |
Ralf Baechle | 8213bbf | 2008-07-20 13:16:46 +0100 | [diff] [blame] | 137 | PTR sysm_pipe |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 138 | PTR sys_select |
| 139 | PTR sys_sched_yield |
| 140 | PTR sys_mremap |
| 141 | PTR sys_msync /* 5025 */ |
| 142 | PTR sys_mincore |
| 143 | PTR sys_madvise |
| 144 | PTR sys_shmget |
| 145 | PTR sys_shmat |
| 146 | PTR sys_shmctl /* 5030 */ |
| 147 | PTR sys_dup |
| 148 | PTR sys_dup2 |
| 149 | PTR sys_pause |
| 150 | PTR sys_nanosleep |
| 151 | PTR sys_getitimer /* 5035 */ |
| 152 | PTR sys_setitimer |
| 153 | PTR sys_alarm |
| 154 | PTR sys_getpid |
| 155 | PTR sys_sendfile64 |
| 156 | PTR sys_socket /* 5040 */ |
| 157 | PTR sys_connect |
| 158 | PTR sys_accept |
| 159 | PTR sys_sendto |
| 160 | PTR sys_recvfrom |
| 161 | PTR sys_sendmsg /* 5045 */ |
| 162 | PTR sys_recvmsg |
| 163 | PTR sys_shutdown |
| 164 | PTR sys_bind |
| 165 | PTR sys_listen |
| 166 | PTR sys_getsockname /* 5050 */ |
| 167 | PTR sys_getpeername |
| 168 | PTR sys_socketpair |
| 169 | PTR sys_setsockopt |
| 170 | PTR sys_getsockopt |
Al Viro | 50150d2 | 2012-12-27 12:11:46 -0500 | [diff] [blame] | 171 | PTR __sys_clone /* 5055 */ |
| 172 | PTR __sys_fork |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 173 | PTR sys_execve |
| 174 | PTR sys_exit |
| 175 | PTR sys_wait4 |
| 176 | PTR sys_kill /* 5060 */ |
| 177 | PTR sys_newuname |
| 178 | PTR sys_semget |
| 179 | PTR sys_semop |
| 180 | PTR sys_semctl |
| 181 | PTR sys_shmdt /* 5065 */ |
| 182 | PTR sys_msgget |
| 183 | PTR sys_msgsnd |
| 184 | PTR sys_msgrcv |
| 185 | PTR sys_msgctl |
| 186 | PTR sys_fcntl /* 5070 */ |
| 187 | PTR sys_flock |
| 188 | PTR sys_fsync |
| 189 | PTR sys_fdatasync |
| 190 | PTR sys_truncate |
| 191 | PTR sys_ftruncate /* 5075 */ |
| 192 | PTR sys_getdents |
| 193 | PTR sys_getcwd |
| 194 | PTR sys_chdir |
| 195 | PTR sys_fchdir |
| 196 | PTR sys_rename /* 5080 */ |
| 197 | PTR sys_mkdir |
| 198 | PTR sys_rmdir |
| 199 | PTR sys_creat |
| 200 | PTR sys_link |
| 201 | PTR sys_unlink /* 5085 */ |
| 202 | PTR sys_symlink |
| 203 | PTR sys_readlink |
| 204 | PTR sys_chmod |
| 205 | PTR sys_fchmod |
| 206 | PTR sys_chown /* 5090 */ |
| 207 | PTR sys_fchown |
| 208 | PTR sys_lchown |
| 209 | PTR sys_umask |
| 210 | PTR sys_gettimeofday |
| 211 | PTR sys_getrlimit /* 5095 */ |
| 212 | PTR sys_getrusage |
| 213 | PTR sys_sysinfo |
| 214 | PTR sys_times |
| 215 | PTR sys_ptrace |
| 216 | PTR sys_getuid /* 5100 */ |
| 217 | PTR sys_syslog |
| 218 | PTR sys_getgid |
| 219 | PTR sys_setuid |
| 220 | PTR sys_setgid |
| 221 | PTR sys_geteuid /* 5105 */ |
| 222 | PTR sys_getegid |
| 223 | PTR sys_setpgid |
| 224 | PTR sys_getppid |
| 225 | PTR sys_getpgrp |
| 226 | PTR sys_setsid /* 5110 */ |
| 227 | PTR sys_setreuid |
| 228 | PTR sys_setregid |
| 229 | PTR sys_getgroups |
| 230 | PTR sys_setgroups |
| 231 | PTR sys_setresuid /* 5115 */ |
| 232 | PTR sys_getresuid |
| 233 | PTR sys_setresgid |
| 234 | PTR sys_getresgid |
| 235 | PTR sys_getpgid |
| 236 | PTR sys_setfsuid /* 5120 */ |
| 237 | PTR sys_setfsgid |
| 238 | PTR sys_getsid |
| 239 | PTR sys_capget |
| 240 | PTR sys_capset |
| 241 | PTR sys_rt_sigpending /* 5125 */ |
| 242 | PTR sys_rt_sigtimedwait |
| 243 | PTR sys_rt_sigqueueinfo |
| 244 | PTR sys_rt_sigsuspend |
| 245 | PTR sys_sigaltstack |
| 246 | PTR sys_utime /* 5130 */ |
| 247 | PTR sys_mknod |
| 248 | PTR sys_personality |
| 249 | PTR sys_ustat |
| 250 | PTR sys_statfs |
| 251 | PTR sys_fstatfs /* 5135 */ |
| 252 | PTR sys_sysfs |
| 253 | PTR sys_getpriority |
| 254 | PTR sys_setpriority |
| 255 | PTR sys_sched_setparam |
| 256 | PTR sys_sched_getparam /* 5140 */ |
| 257 | PTR sys_sched_setscheduler |
| 258 | PTR sys_sched_getscheduler |
| 259 | PTR sys_sched_get_priority_max |
| 260 | PTR sys_sched_get_priority_min |
| 261 | PTR sys_sched_rr_get_interval /* 5145 */ |
| 262 | PTR sys_mlock |
| 263 | PTR sys_munlock |
| 264 | PTR sys_mlockall |
| 265 | PTR sys_munlockall |
| 266 | PTR sys_vhangup /* 5150 */ |
| 267 | PTR sys_pivot_root |
| 268 | PTR sys_sysctl |
| 269 | PTR sys_prctl |
| 270 | PTR sys_adjtimex |
| 271 | PTR sys_setrlimit /* 5155 */ |
| 272 | PTR sys_chroot |
| 273 | PTR sys_sync |
| 274 | PTR sys_acct |
| 275 | PTR sys_settimeofday |
| 276 | PTR sys_mount /* 5160 */ |
| 277 | PTR sys_umount |
| 278 | PTR sys_swapon |
| 279 | PTR sys_swapoff |
| 280 | PTR sys_reboot |
| 281 | PTR sys_sethostname /* 5165 */ |
| 282 | PTR sys_setdomainname |
| 283 | PTR sys_ni_syscall /* was create_module */ |
| 284 | PTR sys_init_module |
| 285 | PTR sys_delete_module |
| 286 | PTR sys_ni_syscall /* 5170, was get_kernel_syms */ |
| 287 | PTR sys_ni_syscall /* was query_module */ |
| 288 | PTR sys_quotactl |
NeilBrown | f5b9409 | 2011-08-26 18:03:11 -0400 | [diff] [blame] | 289 | PTR sys_ni_syscall /* was nfsservctl */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 290 | PTR sys_ni_syscall /* res. for getpmsg */ |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 291 | PTR sys_ni_syscall /* 5175 for putpmsg */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 292 | PTR sys_ni_syscall /* res. for afs_syscall */ |
| 293 | PTR sys_ni_syscall /* res. for security */ |
| 294 | PTR sys_gettid |
| 295 | PTR sys_readahead |
| 296 | PTR sys_setxattr /* 5180 */ |
| 297 | PTR sys_lsetxattr |
| 298 | PTR sys_fsetxattr |
| 299 | PTR sys_getxattr |
| 300 | PTR sys_lgetxattr |
| 301 | PTR sys_fgetxattr /* 5185 */ |
| 302 | PTR sys_listxattr |
| 303 | PTR sys_llistxattr |
| 304 | PTR sys_flistxattr |
| 305 | PTR sys_removexattr |
| 306 | PTR sys_lremovexattr /* 5190 */ |
| 307 | PTR sys_fremovexattr |
| 308 | PTR sys_tkill |
| 309 | PTR sys_ni_syscall |
| 310 | PTR sys_futex |
| 311 | PTR sys_sched_setaffinity /* 5195 */ |
| 312 | PTR sys_sched_getaffinity |
| 313 | PTR sys_cacheflush |
| 314 | PTR sys_cachectl |
| 315 | PTR sys_sysmips |
| 316 | PTR sys_io_setup /* 5200 */ |
| 317 | PTR sys_io_destroy |
| 318 | PTR sys_io_getevents |
| 319 | PTR sys_io_submit |
| 320 | PTR sys_io_cancel |
| 321 | PTR sys_exit_group /* 5205 */ |
| 322 | PTR sys_lookup_dcookie |
| 323 | PTR sys_epoll_create |
| 324 | PTR sys_epoll_ctl |
| 325 | PTR sys_epoll_wait |
| 326 | PTR sys_remap_file_pages /* 5210 */ |
| 327 | PTR sys_rt_sigreturn |
| 328 | PTR sys_set_tid_address |
| 329 | PTR sys_restart_syscall |
| 330 | PTR sys_semtimedop |
| 331 | PTR sys_fadvise64_64 /* 5215 */ |
| 332 | PTR sys_timer_create |
| 333 | PTR sys_timer_settime |
| 334 | PTR sys_timer_gettime |
| 335 | PTR sys_timer_getoverrun |
| 336 | PTR sys_timer_delete /* 5220 */ |
| 337 | PTR sys_clock_settime |
| 338 | PTR sys_clock_gettime |
| 339 | PTR sys_clock_getres |
| 340 | PTR sys_clock_nanosleep |
| 341 | PTR sys_tgkill /* 5225 */ |
| 342 | PTR sys_utimes |
| 343 | PTR sys_mbind |
Huacai Chen | 1ff1ad6 | 2014-06-26 11:41:29 +0800 | [diff] [blame] | 344 | PTR sys_get_mempolicy |
| 345 | PTR sys_set_mempolicy |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 346 | PTR sys_mq_open /* 5230 */ |
| 347 | PTR sys_mq_unlink |
| 348 | PTR sys_mq_timedsend |
| 349 | PTR sys_mq_timedreceive |
| 350 | PTR sys_mq_notify |
| 351 | PTR sys_mq_getsetattr /* 5235 */ |
| 352 | PTR sys_ni_syscall /* sys_vserver */ |
| 353 | PTR sys_waitid |
| 354 | PTR sys_ni_syscall /* available, was setaltroot */ |
| 355 | PTR sys_add_key |
| 356 | PTR sys_request_key /* 5240 */ |
| 357 | PTR sys_keyctl |
Ralf Baechle | 3c37026 | 2005-04-13 17:43:59 +0000 | [diff] [blame] | 358 | PTR sys_set_thread_area |
Ralf Baechle | 7db36c8 | 2005-07-13 11:48:45 +0000 | [diff] [blame] | 359 | PTR sys_inotify_init |
| 360 | PTR sys_inotify_add_watch |
| 361 | PTR sys_inotify_rm_watch /* 5245 */ |
Ralf Baechle | 72bf891 | 2006-02-08 13:38:50 +0000 | [diff] [blame] | 362 | PTR sys_migrate_pages |
| 363 | PTR sys_openat |
| 364 | PTR sys_mkdirat |
| 365 | PTR sys_mknodat |
| 366 | PTR sys_fchownat /* 5250 */ |
| 367 | PTR sys_futimesat |
| 368 | PTR sys_newfstatat |
| 369 | PTR sys_unlinkat |
| 370 | PTR sys_renameat |
| 371 | PTR sys_linkat /* 5255 */ |
| 372 | PTR sys_symlinkat |
| 373 | PTR sys_readlinkat |
| 374 | PTR sys_fchmodat |
| 375 | PTR sys_faccessat |
| 376 | PTR sys_pselect6 /* 5260 */ |
| 377 | PTR sys_ppoll |
| 378 | PTR sys_unshare |
Ralf Baechle | f115da9 | 2006-03-31 09:27:20 +0100 | [diff] [blame] | 379 | PTR sys_splice |
Ralf Baechle | a8d587a | 2006-04-01 07:49:21 +0100 | [diff] [blame] | 380 | PTR sys_sync_file_range |
Ralf Baechle | 136d47d | 2006-04-15 11:16:19 +0200 | [diff] [blame] | 381 | PTR sys_tee /* 5265 */ |
Ralf Baechle | 722cfd9 | 2006-07-02 16:31:14 +0100 | [diff] [blame] | 382 | PTR sys_vmsplice |
| 383 | PTR sys_move_pages |
Atsushi Nemoto | 7fdeb04 | 2006-09-06 22:42:02 +0900 | [diff] [blame] | 384 | PTR sys_set_robust_list |
| 385 | PTR sys_get_robust_list |
Nicolas Schichan | 583bb86 | 2006-10-18 15:14:55 +0200 | [diff] [blame] | 386 | PTR sys_kexec_load /* 5270 */ |
Ralf Baechle | 991ea26 | 2006-10-29 21:07:40 +0000 | [diff] [blame] | 387 | PTR sys_getcpu |
Ralf Baechle | e016c38 | 2007-02-24 21:15:11 +0000 | [diff] [blame] | 388 | PTR sys_epoll_pwait |
Ralf Baechle | 08253b3 | 2007-03-06 17:04:49 +0000 | [diff] [blame] | 389 | PTR sys_ioprio_set |
| 390 | PTR sys_ioprio_get |
Atsushi Nemoto | 7a6d4f3 | 2007-05-29 23:29:40 +0900 | [diff] [blame] | 391 | PTR sys_utimensat /* 5275 */ |
| 392 | PTR sys_signalfd |
Ralf Baechle | 8bdd514 | 2011-04-13 20:50:46 +0200 | [diff] [blame] | 393 | PTR sys_ni_syscall /* was timerfd */ |
Atsushi Nemoto | 7a6d4f3 | 2007-05-29 23:29:40 +0900 | [diff] [blame] | 394 | PTR sys_eventfd |
Ralf Baechle | 4dc4677 | 2007-07-26 03:38:24 +0100 | [diff] [blame] | 395 | PTR sys_fallocate |
Dmitri Vorobiev | 6783fe6 | 2008-02-19 00:02:37 +0300 | [diff] [blame] | 396 | PTR sys_timerfd_create /* 5280 */ |
| 397 | PTR sys_timerfd_gettime |
| 398 | PTR sys_timerfd_settime |
Ralf Baechle | 3885b71 | 2008-07-31 11:16:43 +0100 | [diff] [blame] | 399 | PTR sys_signalfd4 |
| 400 | PTR sys_eventfd2 |
| 401 | PTR sys_epoll_create1 /* 5285 */ |
| 402 | PTR sys_dup3 |
| 403 | PTR sys_pipe2 |
| 404 | PTR sys_inotify_init1 |
Ralf Baechle | ddd9e91 | 2009-04-02 16:59:24 -0700 | [diff] [blame] | 405 | PTR sys_preadv |
Ralf Baechle | e080e61 | 2010-09-20 15:00:19 +0100 | [diff] [blame] | 406 | PTR sys_pwritev /* 5290 */ |
David Daney | 69f16c9 | 2009-06-26 09:53:57 -0700 | [diff] [blame] | 407 | PTR sys_rt_tgsigqueueinfo |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 408 | PTR sys_perf_event_open |
Ralf Baechle | 54822de | 2009-08-03 17:27:19 +0100 | [diff] [blame] | 409 | PTR sys_accept4 |
David Daney | 5e844b3 | 2010-08-23 14:10:37 -0700 | [diff] [blame] | 410 | PTR sys_recvmmsg |
Ralf Baechle | e080e61 | 2010-09-20 15:00:19 +0100 | [diff] [blame] | 411 | PTR sys_fanotify_init /* 5295 */ |
David Daney | 5e844b3 | 2010-08-23 14:10:37 -0700 | [diff] [blame] | 412 | PTR sys_fanotify_mark |
| 413 | PTR sys_prlimit64 |
David Daney | 84ed943 | 2011-03-18 10:37:23 -0700 | [diff] [blame] | 414 | PTR sys_name_to_handle_at |
| 415 | PTR sys_open_by_handle_at |
| 416 | PTR sys_clock_adjtime /* 5300 */ |
Ralf Baechle | 1bbf287 | 2011-03-25 18:45:20 +0100 | [diff] [blame] | 417 | PTR sys_syncfs |
Ralf Baechle | b12acf1 | 2011-05-28 13:22:58 +0100 | [diff] [blame] | 418 | PTR sys_sendmmsg |
Eric W. Biederman | 7b21fdd | 2011-05-27 19:28:27 -0700 | [diff] [blame] | 419 | PTR sys_setns |
David Daney | 8ff8584 | 2011-11-08 14:54:55 -0800 | [diff] [blame] | 420 | PTR sys_process_vm_readv |
| 421 | PTR sys_process_vm_writev /* 5305 */ |
Ralf Baechle | ce71d24 | 2012-09-14 22:47:15 +0200 | [diff] [blame] | 422 | PTR sys_kcmp |
Ralf Baechle | 6295150 | 2012-12-28 17:02:56 +0100 | [diff] [blame] | 423 | PTR sys_finit_module |
Aron Xu | dec33ab | 2013-05-21 13:37:06 +0000 | [diff] [blame] | 424 | PTR sys_getdents64 |
James Hogan | 6776254 | 2014-02-04 12:29:01 +0000 | [diff] [blame] | 425 | PTR sys_sched_setattr |
| 426 | PTR sys_sched_getattr /* 5310 */ |
Ralf Baechle | 367f0b5 | 2014-05-13 17:56:41 +0200 | [diff] [blame] | 427 | PTR sys_renameat2 |
Kees Cook | 8855d60 | 2014-06-10 15:45:09 -0700 | [diff] [blame] | 428 | PTR sys_seccomp |
Ralf Baechle | 4294452 | 2014-08-26 03:03:40 +0200 | [diff] [blame] | 429 | PTR sys_getrandom |
| 430 | PTR sys_memfd_create |
Ralf Baechle | 5df4c8d | 2014-10-27 03:35:53 +0100 | [diff] [blame] | 431 | PTR sys_bpf /* 5315 */ |
Ralf Baechle | 389cdc5 | 2014-12-17 12:34:04 +0100 | [diff] [blame] | 432 | PTR sys_execveat |
Ralf Baechle | 96fc7a9 | 2015-09-30 14:24:31 +0200 | [diff] [blame] | 433 | PTR sys_userfaultfd |
| 434 | PTR sys_membarrier |
Eric B Munson | 784567f | 2015-11-09 14:58:03 -0800 | [diff] [blame] | 435 | PTR sys_mlock2 |
Ralf Baechle | e6c058f | 2016-02-05 17:15:42 +0100 | [diff] [blame] | 436 | PTR sys_copy_file_range /* 5320 */ |
Ralf Baechle | 08253b3 | 2007-03-06 17:04:49 +0000 | [diff] [blame] | 437 | .size sys_call_table,.-sys_call_table |