Roland McGrath | 75a99b7 | 2003-03-31 01:04:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> |
| 3 | * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com> |
| 4 | * Copyright (c) 2000 PocketPenguins Inc. Linux for Hitachi SuperH |
| 5 | * port by Greg Banks <gbanks@pocketpenguins.com> |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 6 | * Copyright (c) 2000-2017 The strace developers. |
Roland McGrath | 75a99b7 | 2003-03-31 01:04:27 +0000 | [diff] [blame] | 7 | * All rights reserved. |
| 8 | * |
| 9 | * Redistribution and use in source and binary forms, with or without |
| 10 | * modification, are permitted provided that the following conditions |
| 11 | * are met: |
| 12 | * 1. Redistributions of source code must retain the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer. |
| 14 | * 2. Redistributions in binary form must reproduce the above copyright |
| 15 | * notice, this list of conditions and the following disclaimer in the |
| 16 | * documentation and/or other materials provided with the distribution. |
| 17 | * 3. The name of the author may not be used to endorse or promote products |
| 18 | * derived from this software without specific prior written permission. |
| 19 | * |
| 20 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 21 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 22 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 23 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 24 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 25 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 29 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Roland McGrath | 75a99b7 | 2003-03-31 01:04:27 +0000 | [diff] [blame] | 30 | */ |
| 31 | |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 32 | [ 0] = { 0, 0, SEN(restart_syscall), "restart_syscall" }, |
Dmitry V. Levin | dd36092 | 2015-12-08 17:27:40 +0000 | [diff] [blame] | 33 | [ 1] = { 1, TP|SE, SEN(exit), "exit" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 34 | [ 2] = { 0, TP, SEN(fork), "fork" }, |
| 35 | [ 3] = { 3, TD, SEN(read), "read" }, |
| 36 | [ 4] = { 3, TD, SEN(write), "write" }, |
| 37 | [ 5] = { 3, TD|TF, SEN(open), "open" }, |
| 38 | [ 6] = { 1, TD, SEN(close), "close" }, |
| 39 | [ 7] = { 3, TP, SEN(waitpid), "waitpid" }, |
| 40 | [ 8] = { 2, TD|TF, SEN(creat), "creat" }, |
| 41 | [ 9] = { 2, TF, SEN(link), "link" }, |
| 42 | [ 10] = { 1, TF, SEN(unlink), "unlink" }, |
| 43 | [ 11] = { 3, TF|TP|SE|SI, SEN(execve), "execve" }, |
| 44 | [ 12] = { 1, TF, SEN(chdir), "chdir" }, |
| 45 | [ 13] = { 1, 0, SEN(time), "time" }, |
| 46 | [ 14] = { 3, TF, SEN(mknod), "mknod" }, |
| 47 | [ 15] = { 2, TF, SEN(chmod), "chmod" }, |
| 48 | [ 16] = { 3, TF, SEN(chown16), "lchown" }, |
| 49 | [ 17] = { 0, TM, SEN(break), "break" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 50 | [ 18] = { 2, TF|TST|TSTA, SEN(oldstat), "oldstat" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 51 | [ 19] = { 3, TD, SEN(lseek), "lseek" }, |
Dmitry V. Levin | aef5e14 | 2015-12-29 01:06:39 +0000 | [diff] [blame] | 52 | [ 20] = { 0, NF, SEN(getpid), "getpid" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 53 | [ 21] = { 5, TF, SEN(mount), "mount" }, |
| 54 | [ 22] = { 1, TF, SEN(umount), "umount" }, |
| 55 | [ 23] = { 1, 0, SEN(setuid16), "setuid" }, |
| 56 | [ 24] = { 0, NF, SEN(getuid16), "getuid" }, |
| 57 | [ 25] = { 1, 0, SEN(stime), "stime" }, |
| 58 | [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, |
| 59 | [ 27] = { 1, 0, SEN(alarm), "alarm" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 60 | [ 28] = { 2, TD|TFST|TSTA, SEN(oldfstat), "oldfstat" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 61 | [ 29] = { 0, TS, SEN(pause), "pause" }, |
| 62 | [ 30] = { 2, TF, SEN(utime), "utime" }, |
| 63 | [ 31] = { 2, 0, SEN(stty), "stty" }, |
| 64 | [ 32] = { 2, 0, SEN(gtty), "gtty" }, |
| 65 | [ 33] = { 2, TF, SEN(access), "access" }, |
| 66 | [ 34] = { 1, 0, SEN(nice), "nice" }, |
| 67 | [ 35] = { 0, 0, SEN(ftime), "ftime" }, |
| 68 | [ 36] = { 0, 0, SEN(sync), "sync" }, |
| 69 | [ 37] = { 2, TS, SEN(kill), "kill" }, |
| 70 | [ 38] = { 2, TF, SEN(rename), "rename" }, |
| 71 | [ 39] = { 2, TF, SEN(mkdir), "mkdir" }, |
| 72 | [ 40] = { 1, TF, SEN(rmdir), "rmdir" }, |
| 73 | [ 41] = { 1, TD, SEN(dup), "dup" }, |
Dmitry V. Levin | a1e8228 | 2016-02-12 19:44:29 +0000 | [diff] [blame] | 74 | [ 42] = { 0, TD, SEN(pipe), "pipe" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 75 | [ 43] = { 1, 0, SEN(times), "times" }, |
| 76 | [ 44] = { 0, 0, SEN(prof), "prof" }, |
| 77 | [ 45] = { 1, TM|SI, SEN(brk), "brk" }, |
| 78 | [ 46] = { 1, 0, SEN(setgid16), "setgid" }, |
| 79 | [ 47] = { 0, NF, SEN(getgid16), "getgid" }, |
Dmitry V. Levin | 4ab2040 | 2016-02-12 19:50:38 +0000 | [diff] [blame] | 80 | [ 48] = { 2, TS, SEN(signal), "signal" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 81 | [ 49] = { 0, NF, SEN(geteuid16), "geteuid" }, |
| 82 | [ 50] = { 0, NF, SEN(getegid16), "getegid" }, |
| 83 | [ 51] = { 1, TF, SEN(acct), "acct" }, |
| 84 | [ 52] = { 2, TF, SEN(umount2), "umount2" }, |
| 85 | [ 53] = { 0, 0, SEN(lock), "lock" }, |
| 86 | [ 54] = { 3, TD, SEN(ioctl), "ioctl" }, |
| 87 | [ 55] = { 3, TD, SEN(fcntl), "fcntl" }, |
| 88 | [ 56] = { 0, 0, SEN(mpx), "mpx" }, |
| 89 | [ 57] = { 2, 0, SEN(setpgid), "setpgid" }, |
| 90 | [ 58] = { 2, 0, SEN(ulimit), "ulimit" }, |
| 91 | [ 59] = { 1, 0, SEN(oldolduname), "oldolduname" }, |
Dmitry V. Levin | dd039b7 | 2015-12-28 00:44:47 +0000 | [diff] [blame] | 92 | [ 60] = { 1, NF, SEN(umask), "umask" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 93 | [ 61] = { 1, TF, SEN(chroot), "chroot" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 94 | [ 62] = { 2, TSFA, SEN(ustat), "ustat" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 95 | [ 63] = { 2, TD, SEN(dup2), "dup2" }, |
Dmitry V. Levin | aef5e14 | 2015-12-29 01:06:39 +0000 | [diff] [blame] | 96 | [ 64] = { 0, NF, SEN(getppid), "getppid" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 97 | [ 65] = { 0, 0, SEN(getpgrp), "getpgrp" }, |
| 98 | [ 66] = { 0, 0, SEN(setsid), "setsid" }, |
| 99 | [ 67] = { 3, TS, SEN(sigaction), "sigaction" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 100 | [ 68] = { 0, TS, SEN(sgetmask), "sgetmask" }, |
| 101 | [ 69] = { 1, TS, SEN(ssetmask), "ssetmask" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 102 | [ 70] = { 2, 0, SEN(setreuid16), "setreuid" }, |
| 103 | [ 71] = { 2, 0, SEN(setregid16), "setregid" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 104 | [ 72] = { 1, TS, SEN(sigsuspend), "sigsuspend" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 105 | [ 73] = { 1, TS, SEN(sigpending), "sigpending" }, |
| 106 | [ 74] = { 2, 0, SEN(sethostname), "sethostname" }, |
| 107 | [ 75] = { 2, 0, SEN(setrlimit), "setrlimit" }, |
| 108 | [ 76] = { 2, 0, SEN(getrlimit), "getrlimit" }, |
| 109 | [ 77] = { 2, 0, SEN(getrusage), "getrusage" }, |
| 110 | [ 78] = { 2, 0, SEN(gettimeofday), "gettimeofday" }, |
| 111 | [ 79] = { 2, 0, SEN(settimeofday), "settimeofday" }, |
| 112 | [ 80] = { 2, 0, SEN(getgroups16), "getgroups" }, |
| 113 | [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 114 | [ 82] = { 1, TD, SEN(oldselect), "select" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 115 | [ 83] = { 2, TF, SEN(symlink), "symlink" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 116 | [ 84] = { 2, TF|TLST|TSTA, SEN(oldlstat), "oldlstat" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 117 | [ 85] = { 3, TF, SEN(readlink), "readlink" }, |
| 118 | [ 86] = { 1, TF, SEN(uselib), "uselib" }, |
| 119 | [ 87] = { 2, TF, SEN(swapon), "swapon" }, |
| 120 | [ 88] = { 4, 0, SEN(reboot), "reboot" }, |
| 121 | [ 89] = { 3, TD, SEN(readdir), "readdir" }, |
Dmitry V. Levin | 476ec39 | 2015-12-08 18:13:58 +0000 | [diff] [blame] | 122 | [ 90] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 123 | [ 91] = { 2, TM|SI, SEN(munmap), "munmap" }, |
| 124 | [ 92] = { 2, TF, SEN(truncate), "truncate" }, |
| 125 | [ 93] = { 2, TD, SEN(ftruncate), "ftruncate" }, |
| 126 | [ 94] = { 2, TD, SEN(fchmod), "fchmod" }, |
| 127 | [ 95] = { 3, TD, SEN(fchown16), "fchown" }, |
| 128 | [ 96] = { 2, 0, SEN(getpriority), "getpriority" }, |
| 129 | [ 97] = { 3, 0, SEN(setpriority), "setpriority" }, |
| 130 | [ 98] = { 4, 0, SEN(profil), "profil" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 131 | [ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" }, |
| 132 | [100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 133 | [101] = { 3, 0, SEN(ioperm), "ioperm" }, |
| 134 | [102] = { 2, TD, SEN(socketcall), "socketcall" }, |
| 135 | [103] = { 3, 0, SEN(syslog), "syslog" }, |
| 136 | [104] = { 3, 0, SEN(setitimer), "setitimer" }, |
| 137 | [105] = { 2, 0, SEN(getitimer), "getitimer" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 138 | [106] = { 2, TF|TST|TSTA, SEN(stat), "stat" }, |
| 139 | [107] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" }, |
| 140 | [108] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 141 | [109] = { 1, 0, SEN(olduname), "olduname" }, |
| 142 | [110] = { 1, 0, SEN(iopl), "iopl" }, |
| 143 | [111] = { 0, 0, SEN(vhangup), "vhangup" }, |
| 144 | [112] = { 0, 0, SEN(idle), "idle" }, |
| 145 | [113] = { 1, 0, SEN(vm86old), "vm86old" }, |
| 146 | [114] = { 4, TP, SEN(wait4), "wait4" }, |
| 147 | [115] = { 1, TF, SEN(swapoff), "swapoff" }, |
| 148 | [116] = { 1, 0, SEN(sysinfo), "sysinfo" }, |
Dmitry V. Levin | 4ab2040 | 2016-02-12 19:50:38 +0000 | [diff] [blame] | 149 | [117] = { 6, TI, SEN(ipc), "ipc" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 150 | [118] = { 1, TD, SEN(fsync), "fsync" }, |
| 151 | [119] = { 0, TS, SEN(sigreturn), "sigreturn" }, |
| 152 | [120] = { 5, TP, SEN(clone), "clone" }, |
| 153 | [121] = { 2, 0, SEN(setdomainname), "setdomainname" }, |
| 154 | [122] = { 1, 0, SEN(uname), "uname" }, |
| 155 | [123] = { 3, 0, SEN(cacheflush), "cacheflush" }, |
| 156 | [124] = { 1, 0, SEN(adjtimex), "adjtimex" }, |
| 157 | [125] = { 3, TM|SI, SEN(mprotect), "mprotect" }, |
| 158 | [126] = { 3, TS, SEN(sigprocmask), "sigprocmask" }, |
| 159 | [127] = { 2, 0, SEN(create_module), "create_module" }, |
| 160 | [128] = { 3, 0, SEN(init_module), "init_module" }, |
| 161 | [129] = { 2, 0, SEN(delete_module), "delete_module" }, |
| 162 | [130] = { 1, 0, SEN(get_kernel_syms), "get_kernel_syms" }, |
| 163 | [131] = { 4, TF, SEN(quotactl), "quotactl" }, |
| 164 | [132] = { 1, 0, SEN(getpgid), "getpgid" }, |
| 165 | [133] = { 1, TD, SEN(fchdir), "fchdir" }, |
Dmitry V. Levin | a318cc0 | 2015-11-24 02:17:48 +0000 | [diff] [blame] | 166 | [134] = { 2, 0, SEN(bdflush), "bdflush" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 167 | [135] = { 3, 0, SEN(sysfs), "sysfs" }, |
Dmitry V. Levin | ffb6c55 | 2015-12-25 00:34:07 +0000 | [diff] [blame] | 168 | [136] = { 1, NF, SEN(personality), "personality" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 169 | [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, |
| 170 | [138] = { 1, NF, SEN(setfsuid16), "setfsuid" }, |
| 171 | [139] = { 1, NF, SEN(setfsgid16), "setfsgid" }, |
| 172 | [140] = { 5, TD, SEN(llseek), "_llseek" }, |
| 173 | [141] = { 3, TD, SEN(getdents), "getdents" }, |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 174 | [142] = { 5, TD, SEN(select), "_newselect" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 175 | [143] = { 2, TD, SEN(flock), "flock" }, |
| 176 | [144] = { 3, TM, SEN(msync), "msync" }, |
| 177 | [145] = { 3, TD, SEN(readv), "readv" }, |
| 178 | [146] = { 3, TD, SEN(writev), "writev" }, |
| 179 | [147] = { 1, 0, SEN(getsid), "getsid" }, |
| 180 | [148] = { 1, TD, SEN(fdatasync), "fdatasync" }, |
| 181 | [149] = { 1, 0, SEN(sysctl), "_sysctl" }, |
| 182 | [150] = { 2, TM, SEN(mlock), "mlock" }, |
| 183 | [151] = { 2, TM, SEN(munlock), "munlock" }, |
| 184 | [152] = { 1, TM, SEN(mlockall), "mlockall" }, |
Dmitry V. Levin | 4ab2040 | 2016-02-12 19:50:38 +0000 | [diff] [blame] | 185 | [153] = { 0, TM, SEN(munlockall), "munlockall" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 186 | [154] = { 2, 0, SEN(sched_setparam), "sched_setparam" }, |
| 187 | [155] = { 2, 0, SEN(sched_getparam), "sched_getparam" }, |
| 188 | [156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" }, |
| 189 | [157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" }, |
| 190 | [158] = { 0, 0, SEN(sched_yield), "sched_yield" }, |
| 191 | [159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"}, |
| 192 | [160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"}, |
| 193 | [161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" }, |
| 194 | [162] = { 2, 0, SEN(nanosleep), "nanosleep" }, |
| 195 | [163] = { 5, TM|SI, SEN(mremap), "mremap" }, |
| 196 | [164] = { 3, 0, SEN(setresuid16), "setresuid" }, |
| 197 | [165] = { 3, 0, SEN(getresuid16), "getresuid" }, |
| 198 | [166] = { 5, 0, SEN(vm86), "vm86" }, |
| 199 | [167] = { 5, 0, SEN(query_module), "query_module" }, |
| 200 | [168] = { 3, TD, SEN(poll), "poll" }, |
| 201 | [169] = { 3, 0, SEN(nfsservctl), "nfsservctl" }, |
| 202 | [170] = { 3, 0, SEN(setresgid16), "setresgid" }, |
| 203 | [171] = { 3, 0, SEN(getresgid16), "getresgid" }, |
| 204 | [172] = { 5, 0, SEN(prctl), "prctl" }, |
| 205 | [173] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, |
| 206 | [174] = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, |
| 207 | [175] = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, |
| 208 | [176] = { 2, TS, SEN(rt_sigpending), "rt_sigpending" }, |
| 209 | [177] = { 4, TS, SEN(rt_sigtimedwait), "rt_sigtimedwait" }, |
| 210 | [178] = { 3, TS, SEN(rt_sigqueueinfo), "rt_sigqueueinfo" }, |
| 211 | [179] = { 2, TS, SEN(rt_sigsuspend), "rt_sigsuspend" }, |
Dmitry V. Levin | 5090dde | 2015-12-08 16:52:06 +0000 | [diff] [blame] | 212 | [180] = { 6, TD, SEN(pread), "pread64" }, |
| 213 | [181] = { 6, TD, SEN(pwrite), "pwrite64" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 214 | [182] = { 3, TF, SEN(chown16), "chown" }, |
| 215 | [183] = { 2, TF, SEN(getcwd), "getcwd" }, |
| 216 | [184] = { 2, 0, SEN(capget), "capget" }, |
| 217 | [185] = { 2, 0, SEN(capset), "capset" }, |
| 218 | [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, |
| 219 | [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, |
Dmitry V. Levin | 166b0bc | 2015-01-11 02:42:56 +0000 | [diff] [blame] | 220 | [188 ... 189] = { }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 221 | [190] = { 0, TP, SEN(vfork), "vfork" }, |
| 222 | [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, |
| 223 | [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, |
| 224 | [193] = { 3, TF, SEN(truncate64), "truncate64" }, |
| 225 | [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 226 | [195] = { 2, TF|TST|TSTA, SEN(stat64), "stat64" }, |
| 227 | [196] = { 2, TF|TLST|TSTA, SEN(lstat64), "lstat64" }, |
| 228 | [197] = { 2, TD|TFST|TSTA, SEN(fstat64), "fstat64" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 229 | [198] = { 3, TF, SEN(chown), "lchown32" }, |
| 230 | [199] = { 0, NF, SEN(getuid), "getuid32" }, |
| 231 | [200] = { 0, NF, SEN(getgid), "getgid32" }, |
Dmitry V. Levin | a147bf8 | 2015-12-25 21:02:03 +0000 | [diff] [blame] | 232 | [201] = { 0, NF, SEN(geteuid), "geteuid32" }, |
| 233 | [202] = { 0, NF, SEN(getegid), "getegid32" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 234 | [203] = { 2, 0, SEN(setreuid), "setreuid32" }, |
| 235 | [204] = { 2, 0, SEN(setregid), "setregid32" }, |
| 236 | [205] = { 2, 0, SEN(getgroups), "getgroups32" }, |
| 237 | [206] = { 2, 0, SEN(setgroups), "setgroups32" }, |
Dmitry V. Levin | a147bf8 | 2015-12-25 21:02:03 +0000 | [diff] [blame] | 238 | [207] = { 3, TD, SEN(fchown), "fchown32" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 239 | [208] = { 3, 0, SEN(setresuid), "setresuid32" }, |
| 240 | [209] = { 3, 0, SEN(getresuid), "getresuid32" }, |
| 241 | [210] = { 3, 0, SEN(setresgid), "setresgid32" }, |
| 242 | [211] = { 3, 0, SEN(getresgid), "getresgid32" }, |
| 243 | [212] = { 3, TF, SEN(chown), "chown32" }, |
| 244 | [213] = { 1, 0, SEN(setuid), "setuid32" }, |
| 245 | [214] = { 1, 0, SEN(setgid), "setgid32" }, |
Dmitry V. Levin | a147bf8 | 2015-12-25 21:02:03 +0000 | [diff] [blame] | 246 | [215] = { 1, NF, SEN(setfsuid), "setfsuid32" }, |
| 247 | [216] = { 1, NF, SEN(setfsgid), "setfsgid32" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 248 | [217] = { 2, TF, SEN(pivotroot), "pivot_root" }, |
| 249 | [218] = { 3, TM, SEN(mincore), "mincore" }, |
| 250 | [219] = { 3, TM, SEN(madvise), "madvise" }, |
| 251 | [220] = { 3, TD, SEN(getdents64), "getdents64" }, |
Elvira Khabirova | 211d6ef | 2015-12-05 00:42:58 +0300 | [diff] [blame] | 252 | [221] = { 3, TD, SEN(fcntl64), "fcntl64" }, |
Dmitry V. Levin | 166b0bc | 2015-01-11 02:42:56 +0000 | [diff] [blame] | 253 | [222 ... 223] = { }, |
Dmitry V. Levin | aef5e14 | 2015-12-29 01:06:39 +0000 | [diff] [blame] | 254 | [224] = { 0, NF, SEN(gettid), "gettid" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 255 | [225] = { 4, TD, SEN(readahead), "readahead" }, |
| 256 | [226] = { 5, TF, SEN(setxattr), "setxattr" }, |
| 257 | [227] = { 5, TF, SEN(setxattr), "lsetxattr" }, |
| 258 | [228] = { 5, TD, SEN(fsetxattr), "fsetxattr" }, |
| 259 | [229] = { 4, TF, SEN(getxattr), "getxattr" }, |
| 260 | [230] = { 4, TF, SEN(getxattr), "lgetxattr" }, |
| 261 | [231] = { 4, TD, SEN(fgetxattr), "fgetxattr" }, |
| 262 | [232] = { 3, TF, SEN(listxattr), "listxattr" }, |
| 263 | [233] = { 3, TF, SEN(listxattr), "llistxattr" }, |
| 264 | [234] = { 3, TD, SEN(flistxattr), "flistxattr" }, |
| 265 | [235] = { 2, TF, SEN(removexattr), "removexattr" }, |
| 266 | [236] = { 2, TF, SEN(removexattr), "lremovexattr" }, |
| 267 | [237] = { 2, TD, SEN(fremovexattr), "fremovexattr" }, |
| 268 | [238] = { 2, TS, SEN(kill), "tkill" }, |
| 269 | [239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" }, |
| 270 | [240] = { 6, 0, SEN(futex), "futex" }, |
| 271 | [241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, |
| 272 | [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, |
Dmitry V. Levin | 166b0bc | 2015-01-11 02:42:56 +0000 | [diff] [blame] | 273 | [243 ... 244] = { }, |
Dmitry V. Levin | a92ba46 | 2016-09-09 02:38:32 +0000 | [diff] [blame] | 274 | [245] = { 2, TM, SEN(io_setup), "io_setup" }, |
| 275 | [246] = { 1, TM, SEN(io_destroy), "io_destroy" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 276 | [247] = { 5, 0, SEN(io_getevents), "io_getevents" }, |
| 277 | [248] = { 3, 0, SEN(io_submit), "io_submit" }, |
| 278 | [249] = { 3, 0, SEN(io_cancel), "io_cancel" }, |
| 279 | [250] = { 5, TD, SEN(fadvise64), "fadvise64" }, |
Dmitry V. Levin | 166b0bc | 2015-01-11 02:42:56 +0000 | [diff] [blame] | 280 | [251] = { }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 281 | [252] = { 1, TP|SE, SEN(exit), "exit_group" }, |
| 282 | [253] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" }, |
| 283 | [254] = { 1, TD, SEN(epoll_create), "epoll_create" }, |
| 284 | [255] = { 4, TD, SEN(epoll_ctl), "epoll_ctl" }, |
| 285 | [256] = { 4, TD, SEN(epoll_wait), "epoll_wait" }, |
| 286 | [257] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" }, |
| 287 | [258] = { 1, 0, SEN(set_tid_address), "set_tid_address" }, |
| 288 | [259] = { 3, 0, SEN(timer_create), "timer_create" }, |
| 289 | [260] = { 4, 0, SEN(timer_settime), "timer_settime" }, |
| 290 | [261] = { 2, 0, SEN(timer_gettime), "timer_gettime" }, |
| 291 | [262] = { 1, 0, SEN(timer_getoverrun), "timer_getoverrun" }, |
| 292 | [263] = { 1, 0, SEN(timer_delete), "timer_delete" }, |
| 293 | [264] = { 2, 0, SEN(clock_settime), "clock_settime" }, |
| 294 | [265] = { 2, 0, SEN(clock_gettime), "clock_gettime" }, |
| 295 | [266] = { 2, 0, SEN(clock_getres), "clock_getres" }, |
| 296 | [267] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 297 | [268] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" }, |
| 298 | [269] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 299 | [270] = { 3, TS, SEN(tgkill), "tgkill" }, |
| 300 | [271] = { 2, TF, SEN(utimes), "utimes" }, |
| 301 | [272] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" }, |
Dmitry V. Levin | 166b0bc | 2015-01-11 02:42:56 +0000 | [diff] [blame] | 302 | [273] = { }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 303 | [274] = { 6, TM, SEN(mbind), "mbind" }, |
| 304 | [275] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" }, |
| 305 | [276] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" }, |
| 306 | [277] = { 4, 0, SEN(mq_open), "mq_open" }, |
| 307 | [278] = { 1, 0, SEN(mq_unlink), "mq_unlink" }, |
| 308 | [279] = { 5, 0, SEN(mq_timedsend), "mq_timedsend" }, |
| 309 | [280] = { 5, 0, SEN(mq_timedreceive), "mq_timedreceive" }, |
| 310 | [281] = { 2, 0, SEN(mq_notify), "mq_notify" }, |
| 311 | [282] = { 3, 0, SEN(mq_getsetattr), "mq_getsetattr" }, |
| 312 | [283] = { 4, 0, SEN(kexec_load), "kexec_load" }, |
| 313 | [284] = { 5, TP, SEN(waitid), "waitid" }, |
| 314 | [285] = { 5, 0, SEN(add_key), "add_key" }, |
| 315 | [286] = { 4, 0, SEN(request_key), "request_key" }, |
| 316 | [287] = { 5, 0, SEN(keyctl), "keyctl" }, |
| 317 | [288] = { 3, 0, SEN(ioprio_set), "ioprio_set" }, |
| 318 | [289] = { 2, 0, SEN(ioprio_get), "ioprio_get" }, |
| 319 | [290] = { 0, TD, SEN(inotify_init), "inotify_init" }, |
| 320 | [291] = { 3, TD, SEN(inotify_add_watch), "inotify_add_watch" }, |
| 321 | [292] = { 2, TD, SEN(inotify_rm_watch), "inotify_rm_watch" }, |
Dmitry V. Levin | 166b0bc | 2015-01-11 02:42:56 +0000 | [diff] [blame] | 322 | [293] = { }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 323 | [294] = { 4, TM, SEN(migrate_pages), "migrate_pages" }, |
| 324 | [295] = { 4, TD|TF, SEN(openat), "openat" }, |
| 325 | [296] = { 3, TD|TF, SEN(mkdirat), "mkdirat" }, |
| 326 | [297] = { 4, TD|TF, SEN(mknodat), "mknodat" }, |
| 327 | [298] = { 5, TD|TF, SEN(fchownat), "fchownat" }, |
| 328 | [299] = { 3, TD|TF, SEN(futimesat), "futimesat" }, |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [diff] [blame^] | 329 | [300] = { 4, TD|TF|TFST|TSTA,SEN(fstatat64), "fstatat64" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 330 | [301] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, |
| 331 | [302] = { 4, TD|TF, SEN(renameat), "renameat" }, |
| 332 | [303] = { 5, TD|TF, SEN(linkat), "linkat" }, |
| 333 | [304] = { 3, TD|TF, SEN(symlinkat), "symlinkat" }, |
| 334 | [305] = { 4, TD|TF, SEN(readlinkat), "readlinkat" }, |
| 335 | [306] = { 3, TD|TF, SEN(fchmodat), "fchmodat" }, |
| 336 | [307] = { 3, TD|TF, SEN(faccessat), "faccessat" }, |
| 337 | [308] = { 6, TD, SEN(pselect6), "pselect6" }, |
| 338 | [309] = { 5, TD, SEN(ppoll), "ppoll" }, |
| 339 | [310] = { 1, TP, SEN(unshare), "unshare" }, |
| 340 | [311] = { 2, 0, SEN(set_robust_list), "set_robust_list" }, |
| 341 | [312] = { 3, 0, SEN(get_robust_list), "get_robust_list" }, |
| 342 | [313] = { 6, TD, SEN(splice), "splice" }, |
| 343 | [314] = { 6, TD, SEN(sync_file_range), "sync_file_range" }, |
| 344 | [315] = { 4, TD, SEN(tee), "tee" }, |
Dmitry V. Levin | 4ab2040 | 2016-02-12 19:50:38 +0000 | [diff] [blame] | 345 | [316] = { 4, TD, SEN(vmsplice), "vmsplice" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 346 | [317] = { 6, TM, SEN(move_pages), "move_pages" }, |
| 347 | [318] = { 3, 0, SEN(getcpu), "getcpu" }, |
| 348 | [319] = { 6, TD, SEN(epoll_pwait), "epoll_pwait" }, |
| 349 | [320] = { 4, TD|TF, SEN(utimensat), "utimensat" }, |
| 350 | [321] = { 3, TD|TS, SEN(signalfd), "signalfd" }, |
Dmitry V. Levin | 2b722e2 | 2015-12-08 20:58:38 +0000 | [diff] [blame] | 351 | [322] = { 2, TD, SEN(timerfd_create), "timerfd_create" }, |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 352 | [323] = { 1, TD, SEN(eventfd), "eventfd" }, |
| 353 | [324] = { 6, TD, SEN(fallocate), "fallocate" }, |
| 354 | [325] = { 4, TD, SEN(timerfd_settime), "timerfd_settime" }, |
| 355 | [326] = { 2, TD, SEN(timerfd_gettime), "timerfd_gettime" }, |
| 356 | [327] = { 4, TD|TS, SEN(signalfd4), "signalfd4" }, |
| 357 | [328] = { 2, TD, SEN(eventfd2), "eventfd2" }, |
| 358 | [329] = { 1, TD, SEN(epoll_create1), "epoll_create1" }, |
| 359 | [330] = { 3, TD, SEN(dup3), "dup3" }, |
| 360 | [331] = { 2, TD, SEN(pipe2), "pipe2" }, |
| 361 | [332] = { 1, TD, SEN(inotify_init1), "inotify_init1" }, |
| 362 | [333] = { 5, TD, SEN(preadv), "preadv" }, |
| 363 | [334] = { 5, TD, SEN(pwritev), "pwritev" }, |
| 364 | [335] = { 4, TP|TS, SEN(rt_tgsigqueueinfo), "rt_tgsigqueueinfo" }, |
| 365 | [336] = { 5, TD, SEN(perf_event_open), "perf_event_open" }, |
| 366 | [337] = { 2, TD, SEN(fanotify_init), "fanotify_init" }, |
| 367 | [338] = { 6, TD|TF, SEN(fanotify_mark), "fanotify_mark" }, |
| 368 | [339] = { 4, 0, SEN(prlimit64), "prlimit64" }, |
| 369 | [340] = { 3, TN, SEN(socket), "socket" }, |
| 370 | [341] = { 3, TN, SEN(bind), "bind" }, |
| 371 | [342] = { 3, TN, SEN(connect), "connect" }, |
| 372 | [343] = { 2, TN, SEN(listen), "listen" }, |
| 373 | [344] = { 3, TN, SEN(accept), "accept" }, |
| 374 | [345] = { 3, TN, SEN(getsockname), "getsockname" }, |
| 375 | [346] = { 3, TN, SEN(getpeername), "getpeername" }, |
| 376 | [347] = { 4, TN, SEN(socketpair), "socketpair" }, |
| 377 | [348] = { 4, TN, SEN(send), "send" }, |
| 378 | [349] = { 6, TN, SEN(sendto), "sendto" }, |
| 379 | [350] = { 4, TN, SEN(recv), "recv" }, |
| 380 | [351] = { 6, TN, SEN(recvfrom), "recvfrom" }, |
| 381 | [352] = { 2, TN, SEN(shutdown), "shutdown" }, |
| 382 | [353] = { 5, TN, SEN(setsockopt), "setsockopt" }, |
| 383 | [354] = { 5, TN, SEN(getsockopt), "getsockopt" }, |
| 384 | [355] = { 3, TN, SEN(sendmsg), "sendmsg" }, |
| 385 | [356] = { 3, TN, SEN(recvmsg), "recvmsg" }, |
| 386 | [357] = { 5, TN, SEN(recvmmsg), "recvmmsg" }, |
| 387 | [358] = { 4, TN, SEN(accept4), "accept4" }, |
| 388 | [359] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" }, |
| 389 | [360] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" }, |
| 390 | [361] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" }, |
| 391 | [362] = { 1, TD, SEN(syncfs), "syncfs" }, |
| 392 | [363] = { 4, TN, SEN(sendmmsg), "sendmmsg" }, |
| 393 | [364] = { 2, TD, SEN(setns), "setns" }, |
| 394 | [365] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" }, |
| 395 | [366] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" }, |
| 396 | [367] = { 5, 0, SEN(kcmp), "kcmp" }, |
| 397 | [368] = { 3, TD, SEN(finit_module), "finit_module" }, |
Dmitry V. Levin | 596c63d | 2016-09-02 21:04:49 +0000 | [diff] [blame] | 398 | [369] = { 3, 0, SEN(sched_setattr), "sched_setattr" }, |
| 399 | [370] = { 4, 0, SEN(sched_getattr), "sched_getattr" }, |
| 400 | [371] = { 5, TD|TF, SEN(renameat2), "renameat2" }, |
Elliott Hughes | d35df49 | 2017-02-15 15:19:05 -0800 | [diff] [blame] | 401 | [372] = { 3, 0, SEN(seccomp), "seccomp" }, |
| 402 | [373] = { 3, 0, SEN(getrandom), "getrandom" }, |
| 403 | [374] = { 2, TD, SEN(memfd_create), "memfd_create" }, |
| 404 | [375] = { 3, TD, SEN(bpf), "bpf" }, |
| 405 | [376] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat" }, |
| 406 | [377] = { 1, TD, SEN(userfaultfd), "userfaultfd" }, |
| 407 | [378] = { 2, 0, SEN(membarrier), "membarrier" }, |
Dmitry V. Levin | 596c63d | 2016-09-02 21:04:49 +0000 | [diff] [blame] | 408 | [379] = { 3, TM, SEN(mlock2), "mlock2" }, |
| 409 | [380] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, |
| 410 | [381] = { 6, TD, SEN(preadv2), "preadv2" }, |
| 411 | [382] = { 6, TD, SEN(pwritev2), "pwritev2" }, |
Dmitry V. Levin | 1e9c966 | 2016-04-29 21:31:08 +0000 | [diff] [blame] | 412 | |
Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 413 | #define SYS_socket_subcall 400 |
| 414 | #include "subcall.h" |