xref: /freebsd/sys/amd64/linux32/linux32_syscall.h (revision 3c5ba95ad12285ad37c182a4bfc1b240ec6d18a7)
1 /*
2  * System call numbers.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  */
7 
8 #define	LINUX32_SYS_linux_exit	1
9 #define	LINUX32_SYS_linux_fork	2
10 #define	LINUX32_SYS_read	3
11 #define	LINUX32_SYS_write	4
12 #define	LINUX32_SYS_linux_open	5
13 #define	LINUX32_SYS_close	6
14 #define	LINUX32_SYS_linux_waitpid	7
15 #define	LINUX32_SYS_linux_creat	8
16 #define	LINUX32_SYS_linux_link	9
17 #define	LINUX32_SYS_linux_unlink	10
18 #define	LINUX32_SYS_linux_execve	11
19 #define	LINUX32_SYS_linux_chdir	12
20 #define	LINUX32_SYS_linux_time	13
21 #define	LINUX32_SYS_linux_mknod	14
22 #define	LINUX32_SYS_linux_chmod	15
23 #define	LINUX32_SYS_linux_lchown16	16
24 #define	LINUX32_SYS_linux_stat	18
25 #define	LINUX32_SYS_linux_lseek	19
26 #define	LINUX32_SYS_linux_getpid	20
27 #define	LINUX32_SYS_linux_mount	21
28 #define	LINUX32_SYS_linux_oldumount	22
29 #define	LINUX32_SYS_linux_setuid16	23
30 #define	LINUX32_SYS_linux_getuid16	24
31 #define	LINUX32_SYS_linux_stime	25
32 #define	LINUX32_SYS_linux_ptrace	26
33 #define	LINUX32_SYS_linux_alarm	27
34 #define	LINUX32_SYS_linux_pause	29
35 #define	LINUX32_SYS_linux_utime	30
36 #define	LINUX32_SYS_linux_access	33
37 #define	LINUX32_SYS_linux_nice	34
38 #define	LINUX32_SYS_sync	36
39 #define	LINUX32_SYS_linux_kill	37
40 #define	LINUX32_SYS_linux_rename	38
41 #define	LINUX32_SYS_linux_mkdir	39
42 #define	LINUX32_SYS_linux_rmdir	40
43 #define	LINUX32_SYS_dup	41
44 #define	LINUX32_SYS_linux_pipe	42
45 #define	LINUX32_SYS_linux_times	43
46 #define	LINUX32_SYS_linux_brk	45
47 #define	LINUX32_SYS_linux_setgid16	46
48 #define	LINUX32_SYS_linux_getgid16	47
49 #define	LINUX32_SYS_linux_signal	48
50 #define	LINUX32_SYS_linux_geteuid16	49
51 #define	LINUX32_SYS_linux_getegid16	50
52 #define	LINUX32_SYS_acct	51
53 #define	LINUX32_SYS_linux_umount	52
54 #define	LINUX32_SYS_linux_ioctl	54
55 #define	LINUX32_SYS_linux_fcntl	55
56 #define	LINUX32_SYS_setpgid	57
57 #define	LINUX32_SYS_linux_olduname	59
58 #define	LINUX32_SYS_umask	60
59 #define	LINUX32_SYS_chroot	61
60 #define	LINUX32_SYS_linux_ustat	62
61 #define	LINUX32_SYS_dup2	63
62 #define	LINUX32_SYS_linux_getppid	64
63 #define	LINUX32_SYS_getpgrp	65
64 #define	LINUX32_SYS_setsid	66
65 #define	LINUX32_SYS_linux_sigaction	67
66 #define	LINUX32_SYS_linux_sgetmask	68
67 #define	LINUX32_SYS_linux_ssetmask	69
68 #define	LINUX32_SYS_linux_setreuid16	70
69 #define	LINUX32_SYS_linux_setregid16	71
70 #define	LINUX32_SYS_linux_sigsuspend	72
71 #define	LINUX32_SYS_linux_sigpending	73
72 #define	LINUX32_SYS_linux_sethostname	74
73 #define	LINUX32_SYS_linux_setrlimit	75
74 #define	LINUX32_SYS_linux_old_getrlimit	76
75 #define	LINUX32_SYS_linux_getrusage	77
76 #define	LINUX32_SYS_linux_gettimeofday	78
77 #define	LINUX32_SYS_linux_settimeofday	79
78 #define	LINUX32_SYS_linux_getgroups16	80
79 #define	LINUX32_SYS_linux_setgroups16	81
80 #define	LINUX32_SYS_linux_old_select	82
81 #define	LINUX32_SYS_linux_symlink	83
82 #define	LINUX32_SYS_linux_lstat	84
83 #define	LINUX32_SYS_linux_readlink	85
84 #define	LINUX32_SYS_swapon	87
85 #define	LINUX32_SYS_linux_reboot	88
86 #define	LINUX32_SYS_linux_readdir	89
87 #define	LINUX32_SYS_linux_mmap	90
88 #define	LINUX32_SYS_munmap	91
89 #define	LINUX32_SYS_linux_truncate	92
90 #define	LINUX32_SYS_linux_ftruncate	93
91 #define	LINUX32_SYS_fchmod	94
92 #define	LINUX32_SYS_fchown	95
93 #define	LINUX32_SYS_linux_getpriority	96
94 #define	LINUX32_SYS_setpriority	97
95 #define	LINUX32_SYS_linux_statfs	99
96 #define	LINUX32_SYS_linux_fstatfs	100
97 #define	LINUX32_SYS_linux_socketcall	102
98 #define	LINUX32_SYS_linux_syslog	103
99 #define	LINUX32_SYS_linux_setitimer	104
100 #define	LINUX32_SYS_linux_getitimer	105
101 #define	LINUX32_SYS_linux_newstat	106
102 #define	LINUX32_SYS_linux_newlstat	107
103 #define	LINUX32_SYS_linux_newfstat	108
104 #define	LINUX32_SYS_linux_uname	109
105 #define	LINUX32_SYS_linux_iopl	110
106 #define	LINUX32_SYS_linux_vhangup	111
107 #define	LINUX32_SYS_linux_wait4	114
108 #define	LINUX32_SYS_linux_swapoff	115
109 #define	LINUX32_SYS_linux_sysinfo	116
110 #define	LINUX32_SYS_linux_ipc	117
111 #define	LINUX32_SYS_fsync	118
112 #define	LINUX32_SYS_linux_sigreturn	119
113 #define	LINUX32_SYS_linux_clone	120
114 #define	LINUX32_SYS_linux_setdomainname	121
115 #define	LINUX32_SYS_linux_newuname	122
116 #define	LINUX32_SYS_linux_adjtimex	124
117 #define	LINUX32_SYS_linux_mprotect	125
118 #define	LINUX32_SYS_linux_sigprocmask	126
119 #define	LINUX32_SYS_linux_init_module	128
120 #define	LINUX32_SYS_linux_delete_module	129
121 #define	LINUX32_SYS_linux_quotactl	131
122 #define	LINUX32_SYS_getpgid	132
123 #define	LINUX32_SYS_fchdir	133
124 #define	LINUX32_SYS_linux_bdflush	134
125 #define	LINUX32_SYS_linux_sysfs	135
126 #define	LINUX32_SYS_linux_personality	136
127 #define	LINUX32_SYS_linux_setfsuid16	138
128 #define	LINUX32_SYS_linux_setfsgid16	139
129 #define	LINUX32_SYS_linux_llseek	140
130 #define	LINUX32_SYS_linux_getdents	141
131 #define	LINUX32_SYS_linux_select	142
132 #define	LINUX32_SYS_flock	143
133 #define	LINUX32_SYS_linux_msync	144
134 #define	LINUX32_SYS_linux_readv	145
135 #define	LINUX32_SYS_linux_writev	146
136 #define	LINUX32_SYS_linux_getsid	147
137 #define	LINUX32_SYS_linux_fdatasync	148
138 #define	LINUX32_SYS_linux_sysctl	149
139 #define	LINUX32_SYS_mlock	150
140 #define	LINUX32_SYS_munlock	151
141 #define	LINUX32_SYS_mlockall	152
142 #define	LINUX32_SYS_munlockall	153
143 #define	LINUX32_SYS_linux_sched_setparam	154
144 #define	LINUX32_SYS_linux_sched_getparam	155
145 #define	LINUX32_SYS_linux_sched_setscheduler	156
146 #define	LINUX32_SYS_linux_sched_getscheduler	157
147 #define	LINUX32_SYS_sched_yield	158
148 #define	LINUX32_SYS_linux_sched_get_priority_max	159
149 #define	LINUX32_SYS_linux_sched_get_priority_min	160
150 #define	LINUX32_SYS_linux_sched_rr_get_interval	161
151 #define	LINUX32_SYS_linux_nanosleep	162
152 #define	LINUX32_SYS_linux_mremap	163
153 #define	LINUX32_SYS_linux_setresuid16	164
154 #define	LINUX32_SYS_linux_getresuid16	165
155 #define	LINUX32_SYS_poll	168
156 #define	LINUX32_SYS_linux_setresgid16	170
157 #define	LINUX32_SYS_linux_getresgid16	171
158 #define	LINUX32_SYS_linux_prctl	172
159 #define	LINUX32_SYS_linux_rt_sigreturn	173
160 #define	LINUX32_SYS_linux_rt_sigaction	174
161 #define	LINUX32_SYS_linux_rt_sigprocmask	175
162 #define	LINUX32_SYS_linux_rt_sigpending	176
163 #define	LINUX32_SYS_linux_rt_sigtimedwait	177
164 #define	LINUX32_SYS_linux_rt_sigqueueinfo	178
165 #define	LINUX32_SYS_linux_rt_sigsuspend	179
166 #define	LINUX32_SYS_linux_pread	180
167 #define	LINUX32_SYS_linux_pwrite	181
168 #define	LINUX32_SYS_linux_chown16	182
169 #define	LINUX32_SYS_linux_getcwd	183
170 #define	LINUX32_SYS_linux_capget	184
171 #define	LINUX32_SYS_linux_capset	185
172 #define	LINUX32_SYS_linux_sigaltstack	186
173 #define	LINUX32_SYS_linux_sendfile	187
174 #define	LINUX32_SYS_linux_vfork	190
175 #define	LINUX32_SYS_linux_getrlimit	191
176 #define	LINUX32_SYS_linux_mmap2	192
177 #define	LINUX32_SYS_linux_truncate64	193
178 #define	LINUX32_SYS_linux_ftruncate64	194
179 #define	LINUX32_SYS_linux_stat64	195
180 #define	LINUX32_SYS_linux_lstat64	196
181 #define	LINUX32_SYS_linux_fstat64	197
182 #define	LINUX32_SYS_linux_lchown	198
183 #define	LINUX32_SYS_linux_getuid	199
184 #define	LINUX32_SYS_linux_getgid	200
185 #define	LINUX32_SYS_geteuid	201
186 #define	LINUX32_SYS_getegid	202
187 #define	LINUX32_SYS_setreuid	203
188 #define	LINUX32_SYS_setregid	204
189 #define	LINUX32_SYS_linux_getgroups	205
190 #define	LINUX32_SYS_linux_setgroups	206
191 #define	LINUX32_SYS_setresuid	208
192 #define	LINUX32_SYS_getresuid	209
193 #define	LINUX32_SYS_setresgid	210
194 #define	LINUX32_SYS_getresgid	211
195 #define	LINUX32_SYS_linux_chown	212
196 #define	LINUX32_SYS_setuid	213
197 #define	LINUX32_SYS_setgid	214
198 #define	LINUX32_SYS_linux_setfsuid	215
199 #define	LINUX32_SYS_linux_setfsgid	216
200 #define	LINUX32_SYS_linux_pivot_root	217
201 #define	LINUX32_SYS_linux_mincore	218
202 #define	LINUX32_SYS_madvise	219
203 #define	LINUX32_SYS_linux_getdents64	220
204 #define	LINUX32_SYS_linux_fcntl64	221
205 #define	LINUX32_SYS_linux_gettid	224
206 #define	LINUX32_SYS_linux_setxattr	226
207 #define	LINUX32_SYS_linux_lsetxattr	227
208 #define	LINUX32_SYS_linux_fsetxattr	228
209 #define	LINUX32_SYS_linux_getxattr	229
210 #define	LINUX32_SYS_linux_lgetxattr	230
211 #define	LINUX32_SYS_linux_fgetxattr	231
212 #define	LINUX32_SYS_linux_listxattr	232
213 #define	LINUX32_SYS_linux_llistxattr	233
214 #define	LINUX32_SYS_linux_flistxattr	234
215 #define	LINUX32_SYS_linux_removexattr	235
216 #define	LINUX32_SYS_linux_lremovexattr	236
217 #define	LINUX32_SYS_linux_fremovexattr	237
218 #define	LINUX32_SYS_linux_tkill	238
219 #define	LINUX32_SYS_linux_sys_futex	240
220 #define	LINUX32_SYS_linux_sched_setaffinity	241
221 #define	LINUX32_SYS_linux_sched_getaffinity	242
222 #define	LINUX32_SYS_linux_set_thread_area	243
223 #define	LINUX32_SYS_linux_fadvise64	250
224 #define	LINUX32_SYS_linux_exit_group	252
225 #define	LINUX32_SYS_linux_lookup_dcookie	253
226 #define	LINUX32_SYS_linux_epoll_create	254
227 #define	LINUX32_SYS_linux_epoll_ctl	255
228 #define	LINUX32_SYS_linux_epoll_wait	256
229 #define	LINUX32_SYS_linux_remap_file_pages	257
230 #define	LINUX32_SYS_linux_set_tid_address	258
231 #define	LINUX32_SYS_linux_timer_create	259
232 #define	LINUX32_SYS_linux_timer_settime	260
233 #define	LINUX32_SYS_linux_timer_gettime	261
234 #define	LINUX32_SYS_linux_timer_getoverrun	262
235 #define	LINUX32_SYS_linux_timer_delete	263
236 #define	LINUX32_SYS_linux_clock_settime	264
237 #define	LINUX32_SYS_linux_clock_gettime	265
238 #define	LINUX32_SYS_linux_clock_getres	266
239 #define	LINUX32_SYS_linux_clock_nanosleep	267
240 #define	LINUX32_SYS_linux_statfs64	268
241 #define	LINUX32_SYS_linux_fstatfs64	269
242 #define	LINUX32_SYS_linux_tgkill	270
243 #define	LINUX32_SYS_linux_utimes	271
244 #define	LINUX32_SYS_linux_fadvise64_64	272
245 #define	LINUX32_SYS_linux_mbind	274
246 #define	LINUX32_SYS_linux_get_mempolicy	275
247 #define	LINUX32_SYS_linux_set_mempolicy	276
248 #define	LINUX32_SYS_linux_mq_open	277
249 #define	LINUX32_SYS_linux_mq_unlink	278
250 #define	LINUX32_SYS_linux_mq_timedsend	279
251 #define	LINUX32_SYS_linux_mq_timedreceive	280
252 #define	LINUX32_SYS_linux_mq_notify	281
253 #define	LINUX32_SYS_linux_mq_getsetattr	282
254 #define	LINUX32_SYS_linux_kexec_load	283
255 #define	LINUX32_SYS_linux_waitid	284
256 #define	LINUX32_SYS_linux_add_key	286
257 #define	LINUX32_SYS_linux_request_key	287
258 #define	LINUX32_SYS_linux_keyctl	288
259 #define	LINUX32_SYS_linux_ioprio_set	289
260 #define	LINUX32_SYS_linux_ioprio_get	290
261 #define	LINUX32_SYS_linux_inotify_init	291
262 #define	LINUX32_SYS_linux_inotify_add_watch	292
263 #define	LINUX32_SYS_linux_inotify_rm_watch	293
264 #define	LINUX32_SYS_linux_migrate_pages	294
265 #define	LINUX32_SYS_linux_openat	295
266 #define	LINUX32_SYS_linux_mkdirat	296
267 #define	LINUX32_SYS_linux_mknodat	297
268 #define	LINUX32_SYS_linux_fchownat	298
269 #define	LINUX32_SYS_linux_futimesat	299
270 #define	LINUX32_SYS_linux_fstatat64	300
271 #define	LINUX32_SYS_linux_unlinkat	301
272 #define	LINUX32_SYS_linux_renameat	302
273 #define	LINUX32_SYS_linux_linkat	303
274 #define	LINUX32_SYS_linux_symlinkat	304
275 #define	LINUX32_SYS_linux_readlinkat	305
276 #define	LINUX32_SYS_linux_fchmodat	306
277 #define	LINUX32_SYS_linux_faccessat	307
278 #define	LINUX32_SYS_linux_pselect6	308
279 #define	LINUX32_SYS_linux_ppoll	309
280 #define	LINUX32_SYS_linux_unshare	310
281 #define	LINUX32_SYS_linux_set_robust_list	311
282 #define	LINUX32_SYS_linux_get_robust_list	312
283 #define	LINUX32_SYS_linux_splice	313
284 #define	LINUX32_SYS_linux_sync_file_range	314
285 #define	LINUX32_SYS_linux_tee	315
286 #define	LINUX32_SYS_linux_vmsplice	316
287 #define	LINUX32_SYS_linux_move_pages	317
288 #define	LINUX32_SYS_linux_getcpu	318
289 #define	LINUX32_SYS_linux_epoll_pwait	319
290 #define	LINUX32_SYS_linux_utimensat	320
291 #define	LINUX32_SYS_linux_signalfd	321
292 #define	LINUX32_SYS_linux_timerfd_create	322
293 #define	LINUX32_SYS_linux_eventfd	323
294 #define	LINUX32_SYS_linux_fallocate	324
295 #define	LINUX32_SYS_linux_timerfd_settime	325
296 #define	LINUX32_SYS_linux_timerfd_gettime	326
297 #define	LINUX32_SYS_linux_signalfd4	327
298 #define	LINUX32_SYS_linux_eventfd2	328
299 #define	LINUX32_SYS_linux_epoll_create1	329
300 #define	LINUX32_SYS_linux_dup3	330
301 #define	LINUX32_SYS_linux_pipe2	331
302 #define	LINUX32_SYS_linux_inotify_init1	332
303 #define	LINUX32_SYS_linux_preadv	333
304 #define	LINUX32_SYS_linux_pwritev	334
305 #define	LINUX32_SYS_linux_rt_tgsigqueueinfo	335
306 #define	LINUX32_SYS_linux_perf_event_open	336
307 #define	LINUX32_SYS_linux_recvmmsg	337
308 #define	LINUX32_SYS_linux_fanotify_init	338
309 #define	LINUX32_SYS_linux_fanotify_mark	339
310 #define	LINUX32_SYS_linux_prlimit64	340
311 #define	LINUX32_SYS_linux_name_to_handle_at	341
312 #define	LINUX32_SYS_linux_open_by_handle_at	342
313 #define	LINUX32_SYS_linux_clock_adjtime	343
314 #define	LINUX32_SYS_linux_syncfs	344
315 #define	LINUX32_SYS_linux_sendmmsg	345
316 #define	LINUX32_SYS_linux_setns	346
317 #define	LINUX32_SYS_linux_process_vm_readv	347
318 #define	LINUX32_SYS_linux_process_vm_writev	348
319 #define	LINUX32_SYS_linux_kcmp	349
320 #define	LINUX32_SYS_linux_finit_module	350
321 #define	LINUX32_SYS_linux_sched_setattr	351
322 #define	LINUX32_SYS_linux_sched_getattr	352
323 #define	LINUX32_SYS_linux_renameat2	353
324 #define	LINUX32_SYS_linux_seccomp	354
325 #define	LINUX32_SYS_linux_getrandom	355
326 #define	LINUX32_SYS_linux_memfd_create	356
327 #define	LINUX32_SYS_linux_bpf	357
328 #define	LINUX32_SYS_linux_execveat	358
329 #define	LINUX32_SYS_linux_socket	359
330 #define	LINUX32_SYS_linux_socketpair	360
331 #define	LINUX32_SYS_linux_bind	361
332 #define	LINUX32_SYS_linux_connect	362
333 #define	LINUX32_SYS_linux_listen	363
334 #define	LINUX32_SYS_linux_accept4	364
335 #define	LINUX32_SYS_linux_getsockopt	365
336 #define	LINUX32_SYS_linux_setsockopt	366
337 #define	LINUX32_SYS_linux_getsockname	367
338 #define	LINUX32_SYS_linux_getpeername	368
339 #define	LINUX32_SYS_linux_sendto	369
340 #define	LINUX32_SYS_linux_sendmsg	370
341 #define	LINUX32_SYS_linux_recvfrom	371
342 #define	LINUX32_SYS_linux_recvmsg	372
343 #define	LINUX32_SYS_linux_shutdown	373
344 #define	LINUX32_SYS_linux_userfaultfd	374
345 #define	LINUX32_SYS_linux_membarrier	375
346 #define	LINUX32_SYS_linux_mlock2	376
347 #define	LINUX32_SYS_linux_copy_file_range	377
348 #define	LINUX32_SYS_linux_preadv2	378
349 #define	LINUX32_SYS_linux_pwritev2	379
350 #define	LINUX32_SYS_linux_pkey_mprotect	380
351 #define	LINUX32_SYS_linux_pkey_alloc	381
352 #define	LINUX32_SYS_linux_pkey_free	382
353 #define	LINUX32_SYS_MAXSYSCALL	384
354