syscalls64.h revision e99af270a60891e68d465c4cd97dbe29cd1a05e4
1/*
2 * This file is part of ltrace.
3 * Copyright (C) 2006 Heiko Carstens, IBM Corporation
4 * Copyright (C) 2006 Ian Wienand
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */
21
22    "0",       			 /* 0 */
23    "exit",    			 /* 1 */
24    "fork",    			 /* 2 */
25    "read",    			 /* 3 */
26    "write",   			 /* 4 */
27    "open",    			 /* 5 */
28    "close",   			 /* 6 */
29    "restart_syscall", 		 /* 7 */
30    "creat",   			 /* 8 */
31    "link",    			 /* 9 */
32    "unlink",  			 /* 10 */
33    "execve",  			 /* 11 */
34    "chdir",   			 /* 12 */
35    "13",      			 /* 13 */
36    "mknod",   			 /* 14 */
37    "chmod",   			 /* 15 */
38    "16",      			 /* 16 */
39    "17",      			 /* 17 */
40    "18",      			 /* 18 */
41    "lseek",   			 /* 19 */
42    "getpid",  			 /* 20 */
43    "mount",   			 /* 21 */
44    "oldumount",       		 /* 22 */
45    "23",      			 /* 23 */
46    "24",      			 /* 24 */
47    "25",      			 /* 25 */
48    "ptrace",  			 /* 26 */
49    "alarm",   			 /* 27 */
50    "28",      			 /* 28 */
51    "pause",   			 /* 29 */
52    "utime",   			 /* 30 */
53    "31",      			 /* 31 */
54    "32",      			 /* 32 */
55    "access",  			 /* 33 */
56    "nice",    			 /* 34 */
57    "35",      			 /* 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    "44",      			 /* 44 */
67    "brk",     			 /* 45 */
68    "46",      			 /* 46 */
69    "47",      			 /* 47 */
70    "signal",  			 /* 48 */
71    "49",      			 /* 49 */
72    "50",      			 /* 50 */
73    "acct",    			 /* 51 */
74    "umount",  			 /* 52 */
75    "53",      			 /* 53 */
76    "ioctl",   			 /* 54 */
77    "fcntl",   			 /* 55 */
78    "56",      			 /* 56 */
79    "setpgid", 			 /* 57 */
80    "58",      			 /* 58 */
81    "59",      			 /* 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    "68",      			 /* 68 */
91    "69",      			 /* 69 */
92    "70",      			 /* 70 */
93    "71",      			 /* 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    "80",      			 /* 80 */
103    "81",      			 /* 81 */
104    "82",      			 /* 82 */
105    "symlink", 			 /* 83 */
106    "84",      			 /* 84 */
107    "readlink",			 /* 85 */
108    "uselib",  			 /* 86 */
109    "swapon",  			 /* 87 */
110    "reboot",  			 /* 88 */
111    "89",      			 /* 89 */
112    "old_mmap",			 /* 90 */
113    "munmap",  			 /* 91 */
114    "truncate",			 /* 92 */
115    "ftruncate",       		 /* 93 */
116    "fchmod",  			 /* 94 */
117    "95",      			 /* 95 */
118    "getpriority",     		 /* 96 */
119    "setpriority",     		 /* 97 */
120    "98",      			 /* 98 */
121    "statfs",  			 /* 99 */
122    "fstatfs", 			 /* 100 */
123    "101",     			 /* 101 */
124    "socketcall",      		 /* 102 */
125    "syslog",  			 /* 103 */
126    "setitimer",       		 /* 104 */
127    "getitimer",       		 /* 105 */
128    "newstat", 			 /* 106 */
129    "newlstat",			 /* 107 */
130    "newfstat",			 /* 108 */
131    "109",     			 /* 109 */
132    "lookup_dcookie",  		 /* 110 */
133    "vhangup", 			 /* 111 */
134    "112",     			 /* 112 */
135    "113",     			 /* 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    "newuname",			 /* 122 */
145    "123",     			 /* 123 */
146    "adjtimex",			 /* 124 */
147    "mprotect",			 /* 125 */
148    "sigprocmask",     		 /* 126 */
149    "127",     			 /* 127 */
150    "init_module",     		 /* 128 */
151    "delete_module",   		 /* 129 */
152    "130",     			 /* 130 */
153    "quotactl",			 /* 131 */
154    "getpgid", 			 /* 132 */
155    "fchdir",  			 /* 133 */
156    "bdflush", 			 /* 134 */
157    "sysfs",   			 /* 135 */
158    "personality",     		 /* 136 */
159    "137",     			 /* 137 */
160    "138",     			 /* 138 */
161    "139",     			 /* 139 */
162    "llseek",  			 /* 140 */
163    "getdents",			 /* 141 */
164    "select",  			 /* 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    "164",     			 /* 164 */
187    "165",     			 /* 165 */
188    "166",     			 /* 166 */
189    "167",     			 /* 167 */
190    "poll",    			 /* 168 */
191    "nfsservctl",      		 /* 169 */
192    "170",     			 /* 170 */
193    "171",     			 /* 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    "182",     			 /* 182 */
205    "getcwd",  			 /* 183 */
206    "capget",  			 /* 184 */
207    "capset",  			 /* 185 */
208    "sigaltstack",     		 /* 186 */
209    "sendfile64",      		 /* 187 */
210    "188",     			 /* 188 */
211    "189",     			 /* 189 */
212    "vfork",   			 /* 190 */
213    "getrlimit",       		 /* 191 */
214    "mmap2",   			 /* 192 */
215    "193",     			 /* 193 */
216    "194",     			 /* 194 */
217    "195",     			 /* 195 */
218    "196",     			 /* 196 */
219    "197",     			 /* 197 */
220    "lchown",  			 /* 198 */
221    "getuid",  			 /* 199 */
222    "getgid",  			 /* 200 */
223    "geteuid", 			 /* 201 */
224    "getegid", 			 /* 202 */
225    "setreuid",			 /* 203 */
226    "setregid",			 /* 204 */
227    "getgroups",       		 /* 205 */
228    "setgroups",       		 /* 206 */
229    "fchown",  			 /* 207 */
230    "setresuid",       		 /* 208 */
231    "getresuid",       		 /* 209 */
232    "setresgid",       		 /* 210 */
233    "getresgid",       		 /* 211 */
234    "chown",   			 /* 212 */
235    "setuid",  			 /* 213 */
236    "setgid",  			 /* 214 */
237    "setfsuid",			 /* 215 */
238    "setfsgid",			 /* 216 */
239    "pivot_root",      		 /* 217 */
240    "mincore", 			 /* 218 */
241    "madvise", 			 /* 219 */
242    "getdents64",      		 /* 220 */
243    "221",     			 /* 221 */
244    "readahead",       		 /* 222 */
245    "223",     			 /* 223 */
246    "setxattr",			 /* 224 */
247    "lsetxattr",       		 /* 225 */
248    "fsetxattr",       		 /* 226 */
249    "getxattr",			 /* 227 */
250    "lgetxattr",       		 /* 228 */
251    "fgetxattr",       		 /* 229 */
252    "listxattr",       		 /* 230 */
253    "llistxattr",      		 /* 231 */
254    "flistxattr",      		 /* 232 */
255    "removexattr",     		 /* 233 */
256    "lremovexattr",    		 /* 234 */
257    "fremovexattr",    		 /* 235 */
258    "gettid",  			 /* 236 */
259    "tkill",   			 /* 237 */
260    "futex",   			 /* 238 */
261    "sched_setaffinity",       	 /* 239 */
262    "sched_getaffinity",       	 /* 240 */
263    "tgkill",  			 /* 241 */
264    "242",     			 /* 242 */
265    "io_setup",			 /* 243 */
266    "io_destroy",      		 /* 244 */
267    "io_getevents",    		 /* 245 */
268    "io_submit",       		 /* 246 */
269    "io_cancel",       		 /* 247 */
270    "exit_group",      		 /* 248 */
271    "epoll_create",    		 /* 249 */
272    "epoll_ctl",       		 /* 250 */
273    "epoll_wait",      		 /* 251 */
274    "set_tid_address", 		 /* 252 */
275    "fadvise64_64",    		 /* 253 */
276    "timer_create",    		 /* 254 */
277    "timer_settime",   		 /* 255 */
278    "timer_gettime",   		 /* 256 */
279    "timer_getoverrun",		 /* 257 */
280    "timer_delete",    		 /* 258 */
281    "clock_settime",   		 /* 259 */
282    "clock_gettime",   		 /* 260 */
283    "clock_getres",    		 /* 261 */
284    "clock_nanosleep", 		 /* 262 */
285    "263",     			 /* 263 */
286    "264",     			 /* 264 */
287    "statfs64",			 /* 265 */
288    "fstatfs64",       		 /* 266 */
289    "remap_file_pages",		 /* 267 */
290    "268",     			 /* 268 */
291    "269",     			 /* 269 */
292    "270",     			 /* 270 */
293    "mq_open", 			 /* 271 */
294    "mq_unlink",       		 /* 272 */
295    "mq_timedsend",    		 /* 273 */
296    "mq_timedreceive", 		 /* 274 */
297    "mq_notify",       		 /* 275 */
298    "mq_getsetattr",   		 /* 276 */
299    "kexec_load",      		 /* 277 */
300    "add_key", 			 /* 278 */
301    "request_key",     		 /* 279 */
302    "keyctl",  			 /* 280 */
303    "waitid",  			 /* 281 */
304    "ioprio_set",      		 /* 282 */
305    "ioprio_get",      		 /* 283 */
306    "inotify_init",    		 /* 284 */
307    "inotify_add_watch",       	 /* 285 */
308    "inotify_rm_watch",		 /* 286 */
309    "287",     			 /* 287 */
310    "openat",  			 /* 288 */
311    "mkdirat", 			 /* 289 */
312    "mknodat", 			 /* 290 */
313    "fchownat",			 /* 291 */
314    "futimesat",       		 /* 292 */
315    "newfstatat",      		 /* 293 */
316    "unlinkat",			 /* 294 */
317    "renameat",			 /* 295 */
318    "linkat",  			 /* 296 */
319    "symlinkat",       		 /* 297 */
320    "readlinkat",      		 /* 298 */
321    "fchmodat",			 /* 299 */
322    "faccessat",       		 /* 300 */
323    "pselect6",			 /* 301 */
324    "ppoll",   			 /* 302 */
325    "unshare", 			 /* 303 */
326    "set_robust_list", 		 /* 304 */
327    "get_robust_list", 		 /* 305 */
328    "splice",  			 /* 306 */
329    "sync_file_range", 		 /* 307 */
330    "tee",     			 /* 308 */
331    "vmsplice",			 /* 309 */
332