xref: /freebsd/sys/amd64/linux/linux_syscalls.c (revision a0ee8cc6)
1 /*
2  * System call names.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: head/sys/amd64/linux/syscalls.master 293907 2016-01-14 10:13:58Z glebius
7  */
8 
9 const char *linux_syscallnames[] = {
10 #define	nosys	linux_nosys
11 	"read",			/* 0 = read */
12 	"write",			/* 1 = write */
13 	"linux_open",			/* 2 = linux_open */
14 	"close",			/* 3 = close */
15 	"linux_newstat",			/* 4 = linux_newstat */
16 	"linux_newfstat",			/* 5 = linux_newfstat */
17 	"linux_newlstat",			/* 6 = linux_newlstat */
18 	"poll",			/* 7 = poll */
19 	"linux_lseek",			/* 8 = linux_lseek */
20 	"linux_mmap2",			/* 9 = linux_mmap2 */
21 	"linux_mprotect",			/* 10 = linux_mprotect */
22 	"munmap",			/* 11 = munmap */
23 	"linux_brk",			/* 12 = linux_brk */
24 	"linux_rt_sigaction",			/* 13 = linux_rt_sigaction */
25 	"linux_rt_sigprocmask",			/* 14 = linux_rt_sigprocmask */
26 	"linux_rt_sigreturn",			/* 15 = linux_rt_sigreturn */
27 	"linux_ioctl",			/* 16 = linux_ioctl */
28 	"linux_pread",			/* 17 = linux_pread */
29 	"linux_pwrite",			/* 18 = linux_pwrite */
30 	"readv",			/* 19 = readv */
31 	"writev",			/* 20 = writev */
32 	"linux_access",			/* 21 = linux_access */
33 	"linux_pipe",			/* 22 = linux_pipe */
34 	"linux_select",			/* 23 = linux_select */
35 	"sched_yield",			/* 24 = sched_yield */
36 	"linux_mremap",			/* 25 = linux_mremap */
37 	"linux_msync",			/* 26 = linux_msync */
38 	"linux_mincore",			/* 27 = linux_mincore */
39 	"madvise",			/* 28 = madvise */
40 	"linux_shmget",			/* 29 = linux_shmget */
41 	"linux_shmat",			/* 30 = linux_shmat */
42 	"linux_shmctl",			/* 31 = linux_shmctl */
43 	"dup",			/* 32 = dup */
44 	"dup2",			/* 33 = dup2 */
45 	"linux_pause",			/* 34 = linux_pause */
46 	"linux_nanosleep",			/* 35 = linux_nanosleep */
47 	"linux_getitimer",			/* 36 = linux_getitimer */
48 	"linux_alarm",			/* 37 = linux_alarm */
49 	"linux_setitimer",			/* 38 = linux_setitimer */
50 	"linux_getpid",			/* 39 = linux_getpid */
51 	"linux_sendfile",			/* 40 = linux_sendfile */
52 	"linux_socket",			/* 41 = linux_socket */
53 	"linux_connect",			/* 42 = linux_connect */
54 	"linux_accept",			/* 43 = linux_accept */
55 	"linux_sendto",			/* 44 = linux_sendto */
56 	"linux_recvfrom",			/* 45 = linux_recvfrom */
57 	"linux_sendmsg",			/* 46 = linux_sendmsg */
58 	"linux_recvmsg",			/* 47 = linux_recvmsg */
59 	"linux_shutdown",			/* 48 = linux_shutdown */
60 	"linux_bind",			/* 49 = linux_bind */
61 	"linux_listen",			/* 50 = linux_listen */
62 	"linux_getsockname",			/* 51 = linux_getsockname */
63 	"linux_getpeername",			/* 52 = linux_getpeername */
64 	"linux_socketpair",			/* 53 = linux_socketpair */
65 	"linux_setsockopt",			/* 54 = linux_setsockopt */
66 	"linux_getsockopt",			/* 55 = linux_getsockopt */
67 	"linux_clone",			/* 56 = linux_clone */
68 	"linux_fork",			/* 57 = linux_fork */
69 	"linux_vfork",			/* 58 = linux_vfork */
70 	"linux_execve",			/* 59 = linux_execve */
71 	"linux_exit",			/* 60 = linux_exit */
72 	"linux_wait4",			/* 61 = linux_wait4 */
73 	"linux_kill",			/* 62 = linux_kill */
74 	"linux_newuname",			/* 63 = linux_newuname */
75 	"linux_semget",			/* 64 = linux_semget */
76 	"linux_semop",			/* 65 = linux_semop */
77 	"linux_semctl",			/* 66 = linux_semctl */
78 	"linux_shmdt",			/* 67 = linux_shmdt */
79 	"linux_msgget",			/* 68 = linux_msgget */
80 	"linux_msgsnd",			/* 69 = linux_msgsnd */
81 	"linux_msgrcv",			/* 70 = linux_msgrcv */
82 	"linux_msgctl",			/* 71 = linux_msgctl */
83 	"linux_fcntl",			/* 72 = linux_fcntl */
84 	"flock",			/* 73 = flock */
85 	"fsync",			/* 74 = fsync */
86 	"linux_fdatasync",			/* 75 = linux_fdatasync */
87 	"linux_truncate",			/* 76 = linux_truncate */
88 	"linux_ftruncate",			/* 77 = linux_ftruncate */
89 	"linux_getdents",			/* 78 = linux_getdents */
90 	"linux_getcwd",			/* 79 = linux_getcwd */
91 	"linux_chdir",			/* 80 = linux_chdir */
92 	"fchdir",			/* 81 = fchdir */
93 	"linux_rename",			/* 82 = linux_rename */
94 	"linux_mkdir",			/* 83 = linux_mkdir */
95 	"linux_rmdir",			/* 84 = linux_rmdir */
96 	"linux_creat",			/* 85 = linux_creat */
97 	"linux_link",			/* 86 = linux_link */
98 	"linux_unlink",			/* 87 = linux_unlink */
99 	"linux_symlink",			/* 88 = linux_symlink */
100 	"linux_readlink",			/* 89 = linux_readlink */
101 	"linux_chmod",			/* 90 = linux_chmod */
102 	"fchmod",			/* 91 = fchmod */
103 	"linux_chown",			/* 92 = linux_chown */
104 	"fchown",			/* 93 = fchown */
105 	"linux_lchown",			/* 94 = linux_lchown */
106 	"umask",			/* 95 = umask */
107 	"gettimeofday",			/* 96 = gettimeofday */
108 	"linux_getrlimit",			/* 97 = linux_getrlimit */
109 	"getrusage",			/* 98 = getrusage */
110 	"linux_sysinfo",			/* 99 = linux_sysinfo */
111 	"linux_times",			/* 100 = linux_times */
112 	"linux_ptrace",			/* 101 = linux_ptrace */
113 	"linux_getuid",			/* 102 = linux_getuid */
114 	"linux_syslog",			/* 103 = linux_syslog */
115 	"linux_getgid",			/* 104 = linux_getgid */
116 	"setuid",			/* 105 = setuid */
117 	"setgid",			/* 106 = setgid */
118 	"geteuid",			/* 107 = geteuid */
119 	"getegid",			/* 108 = getegid */
120 	"setpgid",			/* 109 = setpgid */
121 	"linux_getppid",			/* 110 = linux_getppid */
122 	"getpgrp",			/* 111 = getpgrp */
123 	"setsid",			/* 112 = setsid */
124 	"setreuid",			/* 113 = setreuid */
125 	"setregid",			/* 114 = setregid */
126 	"linux_getgroups",			/* 115 = linux_getgroups */
127 	"linux_setgroups",			/* 116 = linux_setgroups */
128 	"setresuid",			/* 117 = setresuid */
129 	"getresuid",			/* 118 = getresuid */
130 	"setresgid",			/* 119 = setresgid */
131 	"getresgid",			/* 120 = getresgid */
132 	"getpgid",			/* 121 = getpgid */
133 	"linux_setfsuid",			/* 122 = linux_setfsuid */
134 	"linux_setfsgid",			/* 123 = linux_setfsgid */
135 	"linux_getsid",			/* 124 = linux_getsid */
136 	"linux_capget",			/* 125 = linux_capget */
137 	"linux_capset",			/* 126 = linux_capset */
138 	"linux_rt_sigpending",			/* 127 = linux_rt_sigpending */
139 	"linux_rt_sigtimedwait",			/* 128 = linux_rt_sigtimedwait */
140 	"linux_rt_sigqueueinfo",			/* 129 = linux_rt_sigqueueinfo */
141 	"linux_rt_sigsuspend",			/* 130 = linux_rt_sigsuspend */
142 	"linux_sigaltstack",			/* 131 = linux_sigaltstack */
143 	"linux_utime",			/* 132 = linux_utime */
144 	"linux_mknod",			/* 133 = linux_mknod */
145 	"#134",			/* 134 = uselib */
146 	"linux_personality",			/* 135 = linux_personality */
147 	"linux_ustat",			/* 136 = linux_ustat */
148 	"linux_statfs",			/* 137 = linux_statfs */
149 	"linux_fstatfs",			/* 138 = linux_fstatfs */
150 	"linux_sysfs",			/* 139 = linux_sysfs */
151 	"linux_getpriority",			/* 140 = linux_getpriority */
152 	"setpriority",			/* 141 = setpriority */
153 	"linux_sched_setparam",			/* 142 = linux_sched_setparam */
154 	"linux_sched_getparam",			/* 143 = linux_sched_getparam */
155 	"linux_sched_setscheduler",			/* 144 = linux_sched_setscheduler */
156 	"linux_sched_getscheduler",			/* 145 = linux_sched_getscheduler */
157 	"linux_sched_get_priority_max",			/* 146 = linux_sched_get_priority_max */
158 	"linux_sched_get_priority_min",			/* 147 = linux_sched_get_priority_min */
159 	"linux_sched_rr_get_interval",			/* 148 = linux_sched_rr_get_interval */
160 	"mlock",			/* 149 = mlock */
161 	"munlock",			/* 150 = munlock */
162 	"mlockall",			/* 151 = mlockall */
163 	"munlockall",			/* 152 = munlockall */
164 	"linux_vhangup",			/* 153 = linux_vhangup */
165 	"#154",			/* 154 = modify_ldt */
166 	"linux_pivot_root",			/* 155 = linux_pivot_root */
167 	"linux_sysctl",			/* 156 = linux_sysctl */
168 	"linux_prctl",			/* 157 = linux_prctl */
169 	"linux_arch_prctl",			/* 158 = linux_arch_prctl */
170 	"linux_adjtimex",			/* 159 = linux_adjtimex */
171 	"linux_setrlimit",			/* 160 = linux_setrlimit */
172 	"chroot",			/* 161 = chroot */
173 	"sync",			/* 162 = sync */
174 	"acct",			/* 163 = acct */
175 	"settimeofday",			/* 164 = settimeofday */
176 	"linux_mount",			/* 165 = linux_mount */
177 	"linux_umount",			/* 166 = linux_umount */
178 	"swapon",			/* 167 = swapon */
179 	"linux_swapoff",			/* 168 = linux_swapoff */
180 	"linux_reboot",			/* 169 = linux_reboot */
181 	"linux_sethostname",			/* 170 = linux_sethostname */
182 	"linux_setdomainname",			/* 171 = linux_setdomainname */
183 	"linux_iopl",			/* 172 = linux_iopl */
184 	"#173",			/* 173 = ioperm */
185 	"linux_create_module",			/* 174 = linux_create_module */
186 	"linux_init_module",			/* 175 = linux_init_module */
187 	"linux_delete_module",			/* 176 = linux_delete_module */
188 	"linux_get_kernel_syms",			/* 177 = linux_get_kernel_syms */
189 	"linux_query_module",			/* 178 = linux_query_module */
190 	"linux_quotactl",			/* 179 = linux_quotactl */
191 	"linux_nfsservctl",			/* 180 = linux_nfsservctl */
192 	"linux_getpmsg",			/* 181 = linux_getpmsg */
193 	"linux_putpmsg",			/* 182 = linux_putpmsg */
194 	"linux_afs_syscall",			/* 183 = linux_afs_syscall */
195 	"linux_tuxcall",			/* 184 = linux_tuxcall */
196 	"linux_security",			/* 185 = linux_security */
197 	"linux_gettid",			/* 186 = linux_gettid */
198 	"#187",			/* 187 = linux_readahead */
199 	"linux_setxattr",			/* 188 = linux_setxattr */
200 	"linux_lsetxattr",			/* 189 = linux_lsetxattr */
201 	"linux_fsetxattr",			/* 190 = linux_fsetxattr */
202 	"linux_getxattr",			/* 191 = linux_getxattr */
203 	"linux_lgetxattr",			/* 192 = linux_lgetxattr */
204 	"linux_fgetxattr",			/* 193 = linux_fgetxattr */
205 	"linux_listxattr",			/* 194 = linux_listxattr */
206 	"linux_llistxattr",			/* 195 = linux_llistxattr */
207 	"linux_flistxattr",			/* 196 = linux_flistxattr */
208 	"linux_removexattr",			/* 197 = linux_removexattr */
209 	"linux_lremovexattr",			/* 198 = linux_lremovexattr */
210 	"linux_fremovexattr",			/* 199 = linux_fremovexattr */
211 	"linux_tkill",			/* 200 = linux_tkill */
212 	"linux_time",			/* 201 = linux_time */
213 	"linux_sys_futex",			/* 202 = linux_sys_futex */
214 	"linux_sched_setaffinity",			/* 203 = linux_sched_setaffinity */
215 	"linux_sched_getaffinity",			/* 204 = linux_sched_getaffinity */
216 	"linux_set_thread_area",			/* 205 = linux_set_thread_area */
217 	"#206",			/* 206 = linux_io_setup */
218 	"#207",			/* 207 = linux_io_destroy */
219 	"#208",			/* 208 = linux_io_getevents */
220 	"#209",			/* 209 = inux_io_submit */
221 	"#210",			/* 210 = linux_io_cancel */
222 	"#211",			/* 211 = linux_get_thread_area */
223 	"linux_lookup_dcookie",			/* 212 = linux_lookup_dcookie */
224 	"linux_epoll_create",			/* 213 = linux_epoll_create */
225 	"linux_epoll_ctl_old",			/* 214 = linux_epoll_ctl_old */
226 	"linux_epoll_wait_old",			/* 215 = linux_epoll_wait_old */
227 	"linux_remap_file_pages",			/* 216 = linux_remap_file_pages */
228 	"linux_getdents64",			/* 217 = linux_getdents64 */
229 	"linux_set_tid_address",			/* 218 = linux_set_tid_address */
230 	"#219",			/* 219 = restart_syscall */
231 	"linux_semtimedop",			/* 220 = linux_semtimedop */
232 	"linux_fadvise64",			/* 221 = linux_fadvise64 */
233 	"linux_timer_create",			/* 222 = linux_timer_create */
234 	"linux_timer_settime",			/* 223 = linux_timer_settime */
235 	"linux_timer_gettime",			/* 224 = linux_timer_gettime */
236 	"linux_timer_getoverrun",			/* 225 = linux_timer_getoverrun */
237 	"linux_timer_delete",			/* 226 = linux_timer_delete */
238 	"linux_clock_settime",			/* 227 = linux_clock_settime */
239 	"linux_clock_gettime",			/* 228 = linux_clock_gettime */
240 	"linux_clock_getres",			/* 229 = linux_clock_getres */
241 	"linux_clock_nanosleep",			/* 230 = linux_clock_nanosleep */
242 	"linux_exit_group",			/* 231 = linux_exit_group */
243 	"linux_epoll_wait",			/* 232 = linux_epoll_wait */
244 	"linux_epoll_ctl",			/* 233 = linux_epoll_ctl */
245 	"linux_tgkill",			/* 234 = linux_tgkill */
246 	"linux_utimes",			/* 235 = linux_utimes */
247 	"#236",			/* 236 = vserver */
248 	"linux_mbind",			/* 237 = linux_mbind */
249 	"linux_set_mempolicy",			/* 238 = linux_set_mempolicy */
250 	"linux_get_mempolicy",			/* 239 = linux_get_mempolicy */
251 	"linux_mq_open",			/* 240 = linux_mq_open */
252 	"linux_mq_unlink",			/* 241 = linux_mq_unlink */
253 	"linux_mq_timedsend",			/* 242 = linux_mq_timedsend */
254 	"linux_mq_timedreceive",			/* 243 = linux_mq_timedreceive */
255 	"linux_mq_notify",			/* 244 = linux_mq_notify */
256 	"linux_mq_getsetattr",			/* 245 = linux_mq_getsetattr */
257 	"linux_kexec_load",			/* 246 = linux_kexec_load */
258 	"linux_waitid",			/* 247 = linux_waitid */
259 	"linux_add_key",			/* 248 = linux_add_key */
260 	"linux_request_key",			/* 249 = linux_request_key */
261 	"linux_keyctl",			/* 250 = linux_keyctl */
262 	"linux_ioprio_set",			/* 251 = linux_ioprio_set */
263 	"linux_ioprio_get",			/* 252 = linux_ioprio_get */
264 	"linux_inotify_init",			/* 253 = linux_inotify_init */
265 	"linux_inotify_add_watch",			/* 254 = linux_inotify_add_watch */
266 	"linux_inotify_rm_watch",			/* 255 = linux_inotify_rm_watch */
267 	"linux_migrate_pages",			/* 256 = linux_migrate_pages */
268 	"linux_openat",			/* 257 = linux_openat */
269 	"linux_mkdirat",			/* 258 = linux_mkdirat */
270 	"linux_mknodat",			/* 259 = linux_mknodat */
271 	"linux_fchownat",			/* 260 = linux_fchownat */
272 	"linux_futimesat",			/* 261 = linux_futimesat */
273 	"linux_newfstatat",			/* 262 = linux_newfstatat */
274 	"linux_unlinkat",			/* 263 = linux_unlinkat */
275 	"linux_renameat",			/* 264 = linux_renameat */
276 	"linux_linkat",			/* 265 = linux_linkat */
277 	"linux_symlinkat",			/* 266 = linux_symlinkat */
278 	"linux_readlinkat",			/* 267 = linux_readlinkat */
279 	"linux_fchmodat",			/* 268 = linux_fchmodat */
280 	"linux_faccessat",			/* 269 = linux_faccessat */
281 	"linux_pselect6",			/* 270 = linux_pselect6 */
282 	"linux_ppoll",			/* 271 = linux_ppoll */
283 	"linux_unshare",			/* 272 = linux_unshare */
284 	"linux_set_robust_list",			/* 273 = linux_set_robust_list */
285 	"linux_get_robust_list",			/* 274 = linux_get_robust_list */
286 	"linux_splice",			/* 275 = linux_splice */
287 	"linux_tee",			/* 276 = linux_tee */
288 	"linux_sync_file_range",			/* 277 = linux_sync_file_range */
289 	"linux_vmsplice",			/* 278 = linux_vmsplice */
290 	"linux_move_pages",			/* 279 = linux_move_pages */
291 	"linux_utimensat",			/* 280 = linux_utimensat */
292 	"linux_epoll_pwait",			/* 281 = linux_epoll_pwait */
293 	"linux_signalfd",			/* 282 = linux_signalfd */
294 	"linux_timerfd",			/* 283 = linux_timerfd */
295 	"linux_eventfd",			/* 284 = linux_eventfd */
296 	"linux_fallocate",			/* 285 = linux_fallocate */
297 	"linux_timerfd_settime",			/* 286 = linux_timerfd_settime */
298 	"linux_timerfd_gettime",			/* 287 = linux_timerfd_gettime */
299 	"linux_accept4",			/* 288 = linux_accept4 */
300 	"linux_signalfd4",			/* 289 = linux_signalfd4 */
301 	"linux_eventfd2",			/* 290 = linux_eventfd2 */
302 	"linux_epoll_create1",			/* 291 = linux_epoll_create1 */
303 	"linux_dup3",			/* 292 = linux_dup3 */
304 	"linux_pipe2",			/* 293 = linux_pipe2 */
305 	"linux_inotify_init1",			/* 294 = linux_inotify_init1 */
306 	"linux_preadv",			/* 295 = linux_preadv */
307 	"linux_pwritev",			/* 296 = linux_pwritev */
308 	"linux_rt_tsigqueueinfo",			/* 297 = linux_rt_tsigqueueinfo */
309 	"linux_perf_event_open",			/* 298 = linux_perf_event_open */
310 	"linux_recvmmsg",			/* 299 = linux_recvmmsg */
311 	"linux_fanotify_init",			/* 300 = linux_fanotify_init */
312 	"linux_fanotify_mark",			/* 301 = linux_fanotify_mark */
313 	"linux_prlimit64",			/* 302 = linux_prlimit64 */
314 	"linux_name_to_handle_at",			/* 303 = linux_name_to_handle_at */
315 	"linux_open_by_handle_at",			/* 304 = linux_open_by_handle_at */
316 	"linux_clock_adjtime",			/* 305 = linux_clock_adjtime */
317 	"linux_syncfs",			/* 306 = linux_syncfs */
318 	"linux_sendmmsg",			/* 307 = linux_sendmmsg */
319 	"linux_setns",			/* 308 = linux_setns */
320 	"linux_process_vm_readv",			/* 309 = linux_process_vm_readv */
321 	"linux_process_vm_writev",			/* 310 = linux_process_vm_writev */
322 	"linux_kcmp",			/* 311 = linux_kcmp */
323 	"linux_finit_module",			/* 312 = linux_finit_module */
324 	"#313",			/* 313 = nosys */
325 };
326