Home | History | Annotate | Download | only in x86
      1 /*
      2  * This file is part of ltrace.
      3  * Copyright (C) 2012 Petr Machata, Red Hat Inc.
      4  *
      5  * This program is free software; you can redistribute it and/or
      6  * modify it under the terms of the GNU General Public License as
      7  * published by the Free Software Foundation; either version 2 of the
      8  * License, or (at your option) any later version.
      9  *
     10  * This program is distributed in the hope that it will be useful, but
     11  * WITHOUT ANY WARRANTY; without even the implied warranty of
     12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13  * General Public License for more details.
     14  *
     15  * You should have received a copy of the GNU General Public License
     16  * along with this program; if not, write to the Free Software
     17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
     18  * 02110-1301 USA
     19  */
     20 
     21 /* This file is for i386 system call names.  */
     22 	"restart_syscall",		/* 0 */
     23 	"exit",				/* 1 */
     24 	"fork",				/* 2 */
     25 	"read",				/* 3 */
     26 	"write",			/* 4 */
     27 	"open",				/* 5 */
     28 	"close",			/* 6 */
     29 	"waitpid",			/* 7 */
     30 	"creat",			/* 8 */
     31 	"link",				/* 9 */
     32 	"unlink",			/* 10 */
     33 	"execve",			/* 11 */
     34 	"chdir",			/* 12 */
     35 	"time",				/* 13 */
     36 	"mknod",			/* 14 */
     37 	"chmod",			/* 15 */
     38 	"lchown",			/* 16 */
     39 	"break",			/* 17 */
     40 	"oldstat",			/* 18 */
     41 	"lseek",			/* 19 */
     42 	"getpid",			/* 20 */
     43 	"mount",			/* 21 */
     44 	"umount",			/* 22 */
     45 	"setuid",			/* 23 */
     46 	"getuid",			/* 24 */
     47 	"stime",			/* 25 */
     48 	"ptrace",			/* 26 */
     49 	"alarm",			/* 27 */
     50 	"oldfstat",			/* 28 */
     51 	"pause",			/* 29 */
     52 	"utime",			/* 30 */
     53 	"stty",				/* 31 */
     54 	"gtty",				/* 32 */
     55 	"access",			/* 33 */
     56 	"nice",				/* 34 */
     57 	"ftime",			/* 35 */
     58 	"sync",				/* 36 */
     59 	"kill",				/* 37 */
     60 	"rename",			/* 38 */
     61 	"mkdir",			/* 39 */
     62 	"rmdir",			/* 40 */
     63 	"dup",				/* 41 */
     64 	"pipe",				/* 42 */
     65 	"times",			/* 43 */
     66 	"prof",				/* 44 */
     67 	"brk",				/* 45 */
     68 	"setgid",			/* 46 */
     69 	"getgid",			/* 47 */
     70 	"signal",			/* 48 */
     71 	"geteuid",			/* 49 */
     72 	"getegid",			/* 50 */
     73 	"acct",				/* 51 */
     74 	"umount2",			/* 52 */
     75 	"lock",				/* 53 */
     76 	"ioctl",			/* 54 */
     77 	"fcntl",			/* 55 */
     78 	"mpx",				/* 56 */
     79 	"setpgid",			/* 57 */
     80 	"ulimit",			/* 58 */
     81 	"oldolduname",			/* 59 */
     82 	"umask",			/* 60 */
     83 	"chroot",			/* 61 */
     84 	"ustat",			/* 62 */
     85 	"dup2",				/* 63 */
     86 	"getppid",			/* 64 */
     87 	"getpgrp",			/* 65 */
     88 	"setsid",			/* 66 */
     89 	"sigaction",			/* 67 */
     90 	"sgetmask",			/* 68 */
     91 	"ssetmask",			/* 69 */
     92 	"setreuid",			/* 70 */
     93 	"setregid",			/* 71 */
     94 	"sigsuspend",			/* 72 */
     95 	"sigpending",			/* 73 */
     96 	"sethostname",			/* 74 */
     97 	"setrlimit",			/* 75 */
     98 	"getrlimit",			/* 76 */
     99 	"getrusage",			/* 77 */
    100 	"gettimeofday",			/* 78 */
    101 	"settimeofday",			/* 79 */
    102 	"getgroups",			/* 80 */
    103 	"setgroups",			/* 81 */
    104 	"select",			/* 82 */
    105 	"symlink",			/* 83 */
    106 	"oldlstat",			/* 84 */
    107 	"readlink",			/* 85 */
    108 	"uselib",			/* 86 */
    109 	"swapon",			/* 87 */
    110 	"reboot",			/* 88 */
    111 	"readdir",			/* 89 */
    112 	"mmap",				/* 90 */
    113 	"munmap",			/* 91 */
    114 	"truncate",			/* 92 */
    115 	"ftruncate",			/* 93 */
    116 	"fchmod",			/* 94 */
    117 	"fchown",			/* 95 */
    118 	"getpriority",			/* 96 */
    119 	"setpriority",			/* 97 */
    120 	"profil",			/* 98 */
    121 	"statfs",			/* 99 */
    122 	"fstatfs",			/* 100 */
    123 	"ioperm",			/* 101 */
    124 	"socketcall",			/* 102 */
    125 	"syslog",			/* 103 */
    126 	"setitimer",			/* 104 */
    127 	"getitimer",			/* 105 */
    128 	"stat",				/* 106 */
    129 	"lstat",			/* 107 */
    130 	"fstat",			/* 108 */
    131 	"olduname",			/* 109 */
    132 	"iopl",				/* 110 */
    133 	"vhangup",			/* 111 */
    134 	"idle",				/* 112 */
    135 	"vm86old",			/* 113 */
    136 	"wait4",			/* 114 */
    137 	"swapoff",			/* 115 */
    138 	"sysinfo",			/* 116 */
    139 	"ipc",				/* 117 */
    140 	"fsync",			/* 118 */
    141 	"sigreturn",			/* 119 */
    142 	"clone",			/* 120 */
    143 	"setdomainname",		/* 121 */
    144 	"uname",			/* 122 */
    145 	"modify_ldt",			/* 123 */
    146 	"adjtimex",			/* 124 */
    147 	"mprotect",			/* 125 */
    148 	"sigprocmask",			/* 126 */
    149 	"create_module",		/* 127 */
    150 	"init_module",			/* 128 */
    151 	"delete_module",		/* 129 */
    152 	"get_kernel_syms",		/* 130 */
    153 	"quotactl",			/* 131 */
    154 	"getpgid",			/* 132 */
    155 	"fchdir",			/* 133 */
    156 	"bdflush",			/* 134 */
    157 	"sysfs",			/* 135 */
    158 	"personality",			/* 136 */
    159 	"afs_syscall",			/* 137 */
    160 	"setfsuid",			/* 138 */
    161 	"setfsgid",			/* 139 */
    162 	"_llseek",			/* 140 */
    163 	"getdents",			/* 141 */
    164 	"_newselect",			/* 142 */
    165 	"flock",			/* 143 */
    166 	"msync",			/* 144 */
    167 	"readv",			/* 145 */
    168 	"writev",			/* 146 */
    169 	"getsid",			/* 147 */
    170 	"fdatasync",			/* 148 */
    171 	"_sysctl",			/* 149 */
    172 	"mlock",			/* 150 */
    173 	"munlock",			/* 151 */
    174 	"mlockall",			/* 152 */
    175 	"munlockall",			/* 153 */
    176 	"sched_setparam",		/* 154 */
    177 	"sched_getparam",		/* 155 */
    178 	"sched_setscheduler",		/* 156 */
    179 	"sched_getscheduler",		/* 157 */
    180 	"sched_yield",			/* 158 */
    181 	"sched_get_priority_max",	/* 159 */
    182 	"sched_get_priority_min",	/* 160 */
    183 	"sched_rr_get_interval",	/* 161 */
    184 	"nanosleep",			/* 162 */
    185 	"mremap",			/* 163 */
    186 	"setresuid",			/* 164 */
    187 	"getresuid",			/* 165 */
    188 	"vm86",				/* 166 */
    189 	"query_module",			/* 167 */
    190 	"poll",				/* 168 */
    191 	"nfsservctl",			/* 169 */
    192 	"setresgid",			/* 170 */
    193 	"getresgid",			/* 171 */
    194 	"prctl",			/* 172 */
    195 	"rt_sigreturn",			/* 173 */
    196 	"rt_sigaction",			/* 174 */
    197 	"rt_sigprocmask",		/* 175 */
    198 	"rt_sigpending",		/* 176 */
    199 	"rt_sigtimedwait",		/* 177 */
    200 	"rt_sigqueueinfo",		/* 178 */
    201 	"rt_sigsuspend",		/* 179 */
    202 	"pread64",			/* 180 */
    203 	"pwrite64",			/* 181 */
    204 	"chown",			/* 182 */
    205 	"getcwd",			/* 183 */
    206 	"capget",			/* 184 */
    207 	"capset",			/* 185 */
    208 	"sigaltstack",			/* 186 */
    209 	"sendfile",			/* 187 */
    210 	"getpmsg",			/* 188 */
    211 	"putpmsg",			/* 189 */
    212 	"vfork",			/* 190 */
    213 	"ugetrlimit",			/* 191 */
    214 	"mmap2",			/* 192 */
    215 	"truncate64",			/* 193 */
    216 	"ftruncate64",			/* 194 */
    217 	"stat64",			/* 195 */
    218 	"lstat64",			/* 196 */
    219 	"fstat64",			/* 197 */
    220 	"lchown32",			/* 198 */
    221 	"getuid32",			/* 199 */
    222 	"getgid32",			/* 200 */
    223 	"geteuid32",			/* 201 */
    224 	"getegid32",			/* 202 */
    225 	"setreuid32",			/* 203 */
    226 	"setregid32",			/* 204 */
    227 	"getgroups32",			/* 205 */
    228 	"setgroups32",			/* 206 */
    229 	"fchown32",			/* 207 */
    230 	"setresuid32",			/* 208 */
    231 	"getresuid32",			/* 209 */
    232 	"setresgid32",			/* 210 */
    233 	"getresgid32",			/* 211 */
    234 	"chown32",			/* 212 */
    235 	"setuid32",			/* 213 */
    236 	"setgid32",			/* 214 */
    237 	"setfsuid32",			/* 215 */
    238 	"setfsgid32",			/* 216 */
    239 	"pivot_root",			/* 217 */
    240 	"mincore",			/* 218 */
    241 	"madvise1",			/* 219 */
    242 	"getdents64",			/* 220 */
    243 	"fcntl64",			/* 221 */
    244 	"222",				/* 222 */
    245 	"223",				/* 223 */
    246 	"gettid",			/* 224 */
    247 	"readahead",			/* 225 */
    248 	"setxattr",			/* 226 */
    249 	"lsetxattr",			/* 227 */
    250 	"fsetxattr",			/* 228 */
    251 	"getxattr",			/* 229 */
    252 	"lgetxattr",			/* 230 */
    253 	"fgetxattr",			/* 231 */
    254 	"listxattr",			/* 232 */
    255 	"llistxattr",			/* 233 */
    256 	"flistxattr",			/* 234 */
    257 	"removexattr",			/* 235 */
    258 	"lremovexattr",			/* 236 */
    259 	"fremovexattr",			/* 237 */
    260 	"tkill",			/* 238 */
    261 	"sendfile64",			/* 239 */
    262 	"futex",			/* 240 */
    263 	"sched_setaffinity",		/* 241 */
    264 	"sched_getaffinity",		/* 242 */
    265 	"set_thread_area",		/* 243 */
    266 	"get_thread_area",		/* 244 */
    267 	"io_setup",			/* 245 */
    268 	"io_destroy",			/* 246 */
    269 	"io_getevents",			/* 247 */
    270 	"io_submit",			/* 248 */
    271 	"io_cancel",			/* 249 */
    272 	"fadvise64",			/* 250 */
    273 	"251",				/* 251 */
    274 	"exit_group",			/* 252 */
    275 	"lookup_dcookie",		/* 253 */
    276 	"epoll_create",			/* 254 */
    277 	"epoll_ctl",			/* 255 */
    278 	"epoll_wait",			/* 256 */
    279 	"remap_file_pages",		/* 257 */
    280 	"set_tid_address",		/* 258 */
    281 	"timer_create",			/* 259 */
    282 	"260",				/* 260 */
    283 	"261",				/* 261 */
    284 	"262",				/* 262 */
    285 	"263",				/* 263 */
    286 	"264",				/* 264 */
    287 	"265",				/* 265 */
    288 	"266",				/* 266 */
    289 	"267",				/* 267 */
    290 	"statfs64",			/* 268 */
    291 	"fstatfs64",			/* 269 */
    292 	"tgkill",			/* 270 */
    293 	"utimes",			/* 271 */
    294 	"fadvise64_64",			/* 272 */
    295 	"vserver",			/* 273 */
    296 	"mbind",			/* 274 */
    297 	"get_mempolicy",		/* 275 */
    298 	"set_mempolicy",		/* 276 */
    299 	"mq_open",			/* 277 */
    300 	"278",				/* 278 */
    301 	"279",				/* 279 */
    302 	"280",				/* 280 */
    303 	"281",				/* 281 */
    304 	"282",				/* 282 */
    305 	"kexec_load",			/* 283 */
    306 	"waitid",			/* 284 */
    307 	"285",				/* 285 */
    308 	"add_key",			/* 286 */
    309 	"request_key",			/* 287 */
    310 	"keyctl",			/* 288 */
    311 	"ioprio_set",			/* 289 */
    312 	"ioprio_get",			/* 290 */
    313 	"inotify_init",			/* 291 */
    314 	"inotify_add_watch",		/* 292 */
    315 	"inotify_rm_watch",		/* 293 */
    316 	"migrate_pages",		/* 294 */
    317 	"openat",			/* 295 */
    318 	"mkdirat",			/* 296 */
    319 	"mknodat",			/* 297 */
    320 	"fchownat",			/* 298 */
    321 	"futimesat",			/* 299 */
    322 	"fstatat64",			/* 300 */
    323 	"unlinkat",			/* 301 */
    324 	"renameat",			/* 302 */
    325 	"linkat",			/* 303 */
    326 	"symlinkat",			/* 304 */
    327 	"readlinkat",			/* 305 */
    328 	"fchmodat",			/* 306 */
    329 	"faccessat",			/* 307 */
    330 	"pselect6",			/* 308 */
    331 	"ppoll",			/* 309 */
    332 	"unshare",			/* 310 */
    333 	"set_robust_list",		/* 311 */
    334 	"get_robust_list",		/* 312 */
    335 	"splice",			/* 313 */
    336 	"sync_file_range",		/* 314 */
    337 	"tee",				/* 315 */
    338 	"vmsplice",			/* 316 */
    339 	"move_pages",			/* 317 */
    340 	"getcpu",			/* 318 */
    341 	"epoll_pwait",			/* 319 */
    342 	"utimensat",			/* 320 */
    343 	"signalfd",			/* 321 */
    344 	"timerfd_create",		/* 322 */
    345 	"eventfd",			/* 323 */
    346 	"fallocate",			/* 324 */
    347 	"timerfd_settime",		/* 325 */
    348 	"timerfd_gettime",		/* 326 */
    349 	"signalfd4",			/* 327 */
    350 	"eventfd2",			/* 328 */
    351 	"epoll_create1",		/* 329 */
    352 	"dup3",				/* 330 */
    353 	"pipe2",			/* 331 */
    354 	"inotify_init1",		/* 332 */
    355 	"preadv",			/* 333 */
    356 	"pwritev",			/* 334 */
    357 	"rt_tgsigqueueinfo",		/* 335 */
    358 	"perf_event_open",		/* 336 */
    359 	"recvmmsg",			/* 337 */
    360 	"fanotify_init",		/* 338 */
    361 	"fanotify_mark",		/* 339 */
    362 	"prlimit64",			/* 340 */
    363 	"name_to_handle_at",		/* 341 */
    364 	"open_by_handle_at",		/* 342 */
    365 	"clock_adjtime",		/* 343 */
    366 	"syncfs",			/* 344 */
    367 	"sendmmsg",			/* 345 */
    368 	"setns",			/* 346 */
    369 	"process_vm_readv",		/* 347 */
    370 	"process_vm_writev",		/* 348 */
    371