xref: /freebsd/sys/i386/linux/linux_syscall.h (revision 401ab69cff8fa2320a9f8ea4baa114a6da6c952b)
1 /*
2  * System call numbers.
3  *
4  * DO NOT EDIT-- this file is automatically @generated.
5  */
6 
7 #define	LINUX_SYS_linux_exit	1
8 #define	LINUX_SYS_linux_fork	2
9 #define	LINUX_SYS_read	3
10 #define	LINUX_SYS_write	4
11 #define	LINUX_SYS_linux_open	5
12 #define	LINUX_SYS_close	6
13 #define	LINUX_SYS_linux_waitpid	7
14 #define	LINUX_SYS_linux_creat	8
15 #define	LINUX_SYS_linux_link	9
16 #define	LINUX_SYS_linux_unlink	10
17 #define	LINUX_SYS_linux_execve	11
18 #define	LINUX_SYS_linux_chdir	12
19 #define	LINUX_SYS_linux_time	13
20 #define	LINUX_SYS_linux_mknod	14
21 #define	LINUX_SYS_linux_chmod	15
22 #define	LINUX_SYS_linux_lchown16	16
23 #define	LINUX_SYS_linux_stat	18
24 #define	LINUX_SYS_linux_lseek	19
25 #define	LINUX_SYS_linux_getpid	20
26 #define	LINUX_SYS_linux_mount	21
27 #define	LINUX_SYS_linux_oldumount	22
28 #define	LINUX_SYS_linux_setuid16	23
29 #define	LINUX_SYS_linux_getuid16	24
30 #define	LINUX_SYS_linux_stime	25
31 #define	LINUX_SYS_linux_ptrace	26
32 #define	LINUX_SYS_linux_alarm	27
33 #define	LINUX_SYS_linux_pause	29
34 #define	LINUX_SYS_linux_utime	30
35 #define	LINUX_SYS_linux_access	33
36 #define	LINUX_SYS_linux_nice	34
37 #define	LINUX_SYS_sync	36
38 #define	LINUX_SYS_linux_kill	37
39 #define	LINUX_SYS_linux_rename	38
40 #define	LINUX_SYS_linux_mkdir	39
41 #define	LINUX_SYS_linux_rmdir	40
42 #define	LINUX_SYS_dup	41
43 #define	LINUX_SYS_linux_pipe	42
44 #define	LINUX_SYS_linux_times	43
45 #define	LINUX_SYS_linux_brk	45
46 #define	LINUX_SYS_linux_setgid16	46
47 #define	LINUX_SYS_linux_getgid16	47
48 #define	LINUX_SYS_linux_signal	48
49 #define	LINUX_SYS_linux_geteuid16	49
50 #define	LINUX_SYS_linux_getegid16	50
51 #define	LINUX_SYS_acct	51
52 #define	LINUX_SYS_linux_umount	52
53 #define	LINUX_SYS_linux_ioctl	54
54 #define	LINUX_SYS_linux_fcntl	55
55 #define	LINUX_SYS_setpgid	57
56 #define	LINUX_SYS_linux_olduname	59
57 #define	LINUX_SYS_umask	60
58 #define	LINUX_SYS_chroot	61
59 #define	LINUX_SYS_linux_ustat	62
60 #define	LINUX_SYS_dup2	63
61 #define	LINUX_SYS_linux_getppid	64
62 #define	LINUX_SYS_getpgrp	65
63 #define	LINUX_SYS_setsid	66
64 #define	LINUX_SYS_linux_sigaction	67
65 #define	LINUX_SYS_linux_sgetmask	68
66 #define	LINUX_SYS_linux_ssetmask	69
67 #define	LINUX_SYS_linux_setreuid16	70
68 #define	LINUX_SYS_linux_setregid16	71
69 #define	LINUX_SYS_linux_sigsuspend	72
70 #define	LINUX_SYS_linux_sigpending	73
71 #define	LINUX_SYS_linux_sethostname	74
72 #define	LINUX_SYS_linux_setrlimit	75
73 #define	LINUX_SYS_linux_old_getrlimit	76
74 #define	LINUX_SYS_getrusage	77
75 #define	LINUX_SYS_gettimeofday	78
76 #define	LINUX_SYS_settimeofday	79
77 #define	LINUX_SYS_linux_getgroups16	80
78 #define	LINUX_SYS_linux_setgroups16	81
79 #define	LINUX_SYS_linux_old_select	82
80 #define	LINUX_SYS_linux_symlink	83
81 #define	LINUX_SYS_linux_lstat	84
82 #define	LINUX_SYS_linux_readlink	85
83 #define	LINUX_SYS_linux_uselib	86
84 #define	LINUX_SYS_swapon	87
85 #define	LINUX_SYS_linux_reboot	88
86 #define	LINUX_SYS_linux_readdir	89
87 #define	LINUX_SYS_linux_mmap	90
88 #define	LINUX_SYS_munmap	91
89 #define	LINUX_SYS_linux_truncate	92
90 #define	LINUX_SYS_linux_ftruncate	93
91 #define	LINUX_SYS_fchmod	94
92 #define	LINUX_SYS_fchown	95
93 #define	LINUX_SYS_linux_getpriority	96
94 #define	LINUX_SYS_setpriority	97
95 #define	LINUX_SYS_linux_statfs	99
96 #define	LINUX_SYS_linux_fstatfs	100
97 #define	LINUX_SYS_linux_ioperm	101
98 #define	LINUX_SYS_linux_socketcall	102
99 #define	LINUX_SYS_linux_syslog	103
100 #define	LINUX_SYS_linux_setitimer	104
101 #define	LINUX_SYS_linux_getitimer	105
102 #define	LINUX_SYS_linux_newstat	106
103 #define	LINUX_SYS_linux_newlstat	107
104 #define	LINUX_SYS_linux_newfstat	108
105 #define	LINUX_SYS_linux_uname	109
106 #define	LINUX_SYS_linux_iopl	110
107 #define	LINUX_SYS_linux_vhangup	111
108 #define	LINUX_SYS_linux_vm86old	113
109 #define	LINUX_SYS_linux_wait4	114
110 #define	LINUX_SYS_linux_swapoff	115
111 #define	LINUX_SYS_linux_sysinfo	116
112 #define	LINUX_SYS_linux_ipc	117
113 #define	LINUX_SYS_fsync	118
114 #define	LINUX_SYS_linux_sigreturn	119
115 #define	LINUX_SYS_linux_clone	120
116 #define	LINUX_SYS_linux_setdomainname	121
117 #define	LINUX_SYS_linux_newuname	122
118 #define	LINUX_SYS_linux_modify_ldt	123
119 #define	LINUX_SYS_linux_adjtimex	124
120 #define	LINUX_SYS_linux_mprotect	125
121 #define	LINUX_SYS_linux_sigprocmask	126
122 #define	LINUX_SYS_linux_init_module	128
123 #define	LINUX_SYS_linux_delete_module	129
124 #define	LINUX_SYS_linux_quotactl	131
125 #define	LINUX_SYS_getpgid	132
126 #define	LINUX_SYS_fchdir	133
127 #define	LINUX_SYS_linux_bdflush	134
128 #define	LINUX_SYS_linux_sysfs	135
129 #define	LINUX_SYS_linux_personality	136
130 #define	LINUX_SYS_linux_setfsuid16	138
131 #define	LINUX_SYS_linux_setfsgid16	139
132 #define	LINUX_SYS_linux_llseek	140
133 #define	LINUX_SYS_linux_getdents	141
134 #define	LINUX_SYS_linux_select	142
135 #define	LINUX_SYS_flock	143
136 #define	LINUX_SYS_linux_msync	144
137 #define	LINUX_SYS_readv	145
138 #define	LINUX_SYS_writev	146
139 #define	LINUX_SYS_linux_getsid	147
140 #define	LINUX_SYS_linux_fdatasync	148
141 #define	LINUX_SYS_linux_sysctl	149
142 #define	LINUX_SYS_mlock	150
143 #define	LINUX_SYS_munlock	151
144 #define	LINUX_SYS_mlockall	152
145 #define	LINUX_SYS_munlockall	153
146 #define	LINUX_SYS_linux_sched_setparam	154
147 #define	LINUX_SYS_linux_sched_getparam	155
148 #define	LINUX_SYS_linux_sched_setscheduler	156
149 #define	LINUX_SYS_linux_sched_getscheduler	157
150 #define	LINUX_SYS_sched_yield	158
151 #define	LINUX_SYS_linux_sched_get_priority_max	159
152 #define	LINUX_SYS_linux_sched_get_priority_min	160
153 #define	LINUX_SYS_linux_sched_rr_get_interval	161
154 #define	LINUX_SYS_linux_nanosleep	162
155 #define	LINUX_SYS_linux_mremap	163
156 #define	LINUX_SYS_linux_setresuid16	164
157 #define	LINUX_SYS_linux_getresuid16	165
158 #define	LINUX_SYS_linux_vm86	166
159 #define	LINUX_SYS_linux_poll	168
160 #define	LINUX_SYS_linux_setresgid16	170
161 #define	LINUX_SYS_linux_getresgid16	171
162 #define	LINUX_SYS_linux_prctl	172
163 #define	LINUX_SYS_linux_rt_sigreturn	173
164 #define	LINUX_SYS_linux_rt_sigaction	174
165 #define	LINUX_SYS_linux_rt_sigprocmask	175
166 #define	LINUX_SYS_linux_rt_sigpending	176
167 #define	LINUX_SYS_linux_rt_sigtimedwait	177
168 #define	LINUX_SYS_linux_rt_sigqueueinfo	178
169 #define	LINUX_SYS_linux_rt_sigsuspend	179
170 #define	LINUX_SYS_linux_pread	180
171 #define	LINUX_SYS_linux_pwrite	181
172 #define	LINUX_SYS_linux_chown16	182
173 #define	LINUX_SYS_linux_getcwd	183
174 #define	LINUX_SYS_linux_capget	184
175 #define	LINUX_SYS_linux_capset	185
176 #define	LINUX_SYS_linux_sigaltstack	186
177 #define	LINUX_SYS_linux_sendfile	187
178 #define	LINUX_SYS_linux_vfork	190
179 #define	LINUX_SYS_linux_getrlimit	191
180 #define	LINUX_SYS_linux_mmap2	192
181 #define	LINUX_SYS_linux_truncate64	193
182 #define	LINUX_SYS_linux_ftruncate64	194
183 #define	LINUX_SYS_linux_stat64	195
184 #define	LINUX_SYS_linux_lstat64	196
185 #define	LINUX_SYS_linux_fstat64	197
186 #define	LINUX_SYS_linux_lchown	198
187 #define	LINUX_SYS_linux_getuid	199
188 #define	LINUX_SYS_linux_getgid	200
189 #define	LINUX_SYS_geteuid	201
190 #define	LINUX_SYS_getegid	202
191 #define	LINUX_SYS_setreuid	203
192 #define	LINUX_SYS_setregid	204
193 #define	LINUX_SYS_linux_getgroups	205
194 #define	LINUX_SYS_linux_setgroups	206
195 #define	LINUX_SYS_setresuid	208
196 #define	LINUX_SYS_getresuid	209
197 #define	LINUX_SYS_setresgid	210
198 #define	LINUX_SYS_getresgid	211
199 #define	LINUX_SYS_linux_chown	212
200 #define	LINUX_SYS_setuid	213
201 #define	LINUX_SYS_setgid	214
202 #define	LINUX_SYS_linux_setfsuid	215
203 #define	LINUX_SYS_linux_setfsgid	216
204 #define	LINUX_SYS_linux_pivot_root	217
205 #define	LINUX_SYS_linux_mincore	218
206 #define	LINUX_SYS_linux_madvise	219
207 #define	LINUX_SYS_linux_getdents64	220
208 #define	LINUX_SYS_linux_fcntl64	221
209 #define	LINUX_SYS_linux_gettid	224
210 #define	LINUX_SYS_linux_setxattr	226
211 #define	LINUX_SYS_linux_lsetxattr	227
212 #define	LINUX_SYS_linux_fsetxattr	228
213 #define	LINUX_SYS_linux_getxattr	229
214 #define	LINUX_SYS_linux_lgetxattr	230
215 #define	LINUX_SYS_linux_fgetxattr	231
216 #define	LINUX_SYS_linux_listxattr	232
217 #define	LINUX_SYS_linux_llistxattr	233
218 #define	LINUX_SYS_linux_flistxattr	234
219 #define	LINUX_SYS_linux_removexattr	235
220 #define	LINUX_SYS_linux_lremovexattr	236
221 #define	LINUX_SYS_linux_fremovexattr	237
222 #define	LINUX_SYS_linux_tkill	238
223 #define	LINUX_SYS_linux_sendfile64	239
224 #define	LINUX_SYS_linux_sys_futex	240
225 #define	LINUX_SYS_linux_sched_setaffinity	241
226 #define	LINUX_SYS_linux_sched_getaffinity	242
227 #define	LINUX_SYS_linux_set_thread_area	243
228 #define	LINUX_SYS_linux_get_thread_area	244
229 #define	LINUX_SYS_linux_fadvise64	250
230 #define	LINUX_SYS_linux_exit_group	252
231 #define	LINUX_SYS_linux_lookup_dcookie	253
232 #define	LINUX_SYS_linux_epoll_create	254
233 #define	LINUX_SYS_linux_epoll_ctl	255
234 #define	LINUX_SYS_linux_epoll_wait	256
235 #define	LINUX_SYS_linux_remap_file_pages	257
236 #define	LINUX_SYS_linux_set_tid_address	258
237 #define	LINUX_SYS_linux_timer_create	259
238 #define	LINUX_SYS_linux_timer_settime	260
239 #define	LINUX_SYS_linux_timer_gettime	261
240 #define	LINUX_SYS_linux_timer_getoverrun	262
241 #define	LINUX_SYS_linux_timer_delete	263
242 #define	LINUX_SYS_linux_clock_settime	264
243 #define	LINUX_SYS_linux_clock_gettime	265
244 #define	LINUX_SYS_linux_clock_getres	266
245 #define	LINUX_SYS_linux_clock_nanosleep	267
246 #define	LINUX_SYS_linux_statfs64	268
247 #define	LINUX_SYS_linux_fstatfs64	269
248 #define	LINUX_SYS_linux_tgkill	270
249 #define	LINUX_SYS_linux_utimes	271
250 #define	LINUX_SYS_linux_fadvise64_64	272
251 #define	LINUX_SYS_linux_mbind	274
252 #define	LINUX_SYS_linux_get_mempolicy	275
253 #define	LINUX_SYS_linux_set_mempolicy	276
254 #define	LINUX_SYS_linux_mq_open	277
255 #define	LINUX_SYS_linux_mq_unlink	278
256 #define	LINUX_SYS_linux_mq_timedsend	279
257 #define	LINUX_SYS_linux_mq_timedreceive	280
258 #define	LINUX_SYS_linux_mq_notify	281
259 #define	LINUX_SYS_linux_mq_getsetattr	282
260 #define	LINUX_SYS_linux_kexec_load	283
261 #define	LINUX_SYS_linux_waitid	284
262 #define	LINUX_SYS_linux_add_key	286
263 #define	LINUX_SYS_linux_request_key	287
264 #define	LINUX_SYS_linux_keyctl	288
265 #define	LINUX_SYS_linux_ioprio_set	289
266 #define	LINUX_SYS_linux_ioprio_get	290
267 #define	LINUX_SYS_linux_inotify_init	291
268 #define	LINUX_SYS_linux_inotify_add_watch	292
269 #define	LINUX_SYS_linux_inotify_rm_watch	293
270 #define	LINUX_SYS_linux_migrate_pages	294
271 #define	LINUX_SYS_linux_openat	295
272 #define	LINUX_SYS_linux_mkdirat	296
273 #define	LINUX_SYS_linux_mknodat	297
274 #define	LINUX_SYS_linux_fchownat	298
275 #define	LINUX_SYS_linux_futimesat	299
276 #define	LINUX_SYS_linux_fstatat64	300
277 #define	LINUX_SYS_linux_unlinkat	301
278 #define	LINUX_SYS_linux_renameat	302
279 #define	LINUX_SYS_linux_linkat	303
280 #define	LINUX_SYS_linux_symlinkat	304
281 #define	LINUX_SYS_linux_readlinkat	305
282 #define	LINUX_SYS_linux_fchmodat	306
283 #define	LINUX_SYS_linux_faccessat	307
284 #define	LINUX_SYS_linux_pselect6	308
285 #define	LINUX_SYS_linux_ppoll	309
286 #define	LINUX_SYS_linux_unshare	310
287 #define	LINUX_SYS_linux_set_robust_list	311
288 #define	LINUX_SYS_linux_get_robust_list	312
289 #define	LINUX_SYS_linux_splice	313
290 #define	LINUX_SYS_linux_sync_file_range	314
291 #define	LINUX_SYS_linux_tee	315
292 #define	LINUX_SYS_linux_vmsplice	316
293 #define	LINUX_SYS_linux_move_pages	317
294 #define	LINUX_SYS_linux_getcpu	318
295 #define	LINUX_SYS_linux_epoll_pwait	319
296 #define	LINUX_SYS_linux_utimensat	320
297 #define	LINUX_SYS_linux_signalfd	321
298 #define	LINUX_SYS_linux_timerfd_create	322
299 #define	LINUX_SYS_linux_eventfd	323
300 #define	LINUX_SYS_linux_fallocate	324
301 #define	LINUX_SYS_linux_timerfd_settime	325
302 #define	LINUX_SYS_linux_timerfd_gettime	326
303 #define	LINUX_SYS_linux_signalfd4	327
304 #define	LINUX_SYS_linux_eventfd2	328
305 #define	LINUX_SYS_linux_epoll_create1	329
306 #define	LINUX_SYS_linux_dup3	330
307 #define	LINUX_SYS_linux_pipe2	331
308 #define	LINUX_SYS_linux_inotify_init1	332
309 #define	LINUX_SYS_linux_preadv	333
310 #define	LINUX_SYS_linux_pwritev	334
311 #define	LINUX_SYS_linux_rt_tgsigqueueinfo	335
312 #define	LINUX_SYS_linux_perf_event_open	336
313 #define	LINUX_SYS_linux_recvmmsg	337
314 #define	LINUX_SYS_linux_fanotify_init	338
315 #define	LINUX_SYS_linux_fanotify_mark	339
316 #define	LINUX_SYS_linux_prlimit64	340
317 #define	LINUX_SYS_linux_name_to_handle_at	341
318 #define	LINUX_SYS_linux_open_by_handle_at	342
319 #define	LINUX_SYS_linux_clock_adjtime	343
320 #define	LINUX_SYS_linux_syncfs	344
321 #define	LINUX_SYS_linux_sendmmsg	345
322 #define	LINUX_SYS_linux_setns	346
323 #define	LINUX_SYS_linux_process_vm_readv	347
324 #define	LINUX_SYS_linux_process_vm_writev	348
325 #define	LINUX_SYS_linux_kcmp	349
326 #define	LINUX_SYS_linux_finit_module	350
327 #define	LINUX_SYS_linux_sched_setattr	351
328 #define	LINUX_SYS_linux_sched_getattr	352
329 #define	LINUX_SYS_linux_renameat2	353
330 #define	LINUX_SYS_linux_seccomp	354
331 #define	LINUX_SYS_linux_getrandom	355
332 #define	LINUX_SYS_linux_memfd_create	356
333 #define	LINUX_SYS_linux_bpf	357
334 #define	LINUX_SYS_linux_execveat	358
335 #define	LINUX_SYS_linux_socket	359
336 #define	LINUX_SYS_linux_socketpair	360
337 #define	LINUX_SYS_linux_bind	361
338 #define	LINUX_SYS_linux_connect	362
339 #define	LINUX_SYS_linux_listen	363
340 #define	LINUX_SYS_linux_accept4	364
341 #define	LINUX_SYS_linux_getsockopt	365
342 #define	LINUX_SYS_linux_setsockopt	366
343 #define	LINUX_SYS_linux_getsockname	367
344 #define	LINUX_SYS_linux_getpeername	368
345 #define	LINUX_SYS_linux_sendto	369
346 #define	LINUX_SYS_linux_sendmsg	370
347 #define	LINUX_SYS_linux_recvfrom	371
348 #define	LINUX_SYS_linux_recvmsg	372
349 #define	LINUX_SYS_linux_shutdown	373
350 #define	LINUX_SYS_linux_userfaultfd	374
351 #define	LINUX_SYS_linux_membarrier	375
352 #define	LINUX_SYS_linux_mlock2	376
353 #define	LINUX_SYS_linux_copy_file_range	377
354 #define	LINUX_SYS_linux_preadv2	378
355 #define	LINUX_SYS_linux_pwritev2	379
356 #define	LINUX_SYS_linux_pkey_mprotect	380
357 #define	LINUX_SYS_linux_pkey_alloc	381
358 #define	LINUX_SYS_linux_pkey_free	382
359 #define	LINUX_SYS_linux_statx	383
360 #define	LINUX_SYS_linux_arch_prctl	384
361 #define	LINUX_SYS_linux_io_pgetevents	385
362 #define	LINUX_SYS_linux_rseq	386
363 #define	LINUX_SYS_linux_semget	393
364 #define	LINUX_SYS_linux_semctl	394
365 #define	LINUX_SYS_linux_shmget	395
366 #define	LINUX_SYS_linux_shmctl	396
367 #define	LINUX_SYS_linux_shmat	397
368 #define	LINUX_SYS_linux_shmdt	398
369 #define	LINUX_SYS_linux_msgget	399
370 #define	LINUX_SYS_linux_msgsnd	400
371 #define	LINUX_SYS_linux_msgrcv	401
372 #define	LINUX_SYS_linux_msgctl	402
373 #define	LINUX_SYS_linux_clock_gettime64	403
374 #define	LINUX_SYS_linux_clock_settime64	404
375 #define	LINUX_SYS_linux_clock_adjtime64	405
376 #define	LINUX_SYS_linux_clock_getres_time64	406
377 #define	LINUX_SYS_linux_clock_nanosleep_time64	407
378 #define	LINUX_SYS_linux_timer_gettime64	408
379 #define	LINUX_SYS_linux_timer_settime64	409
380 #define	LINUX_SYS_linux_timerfd_gettime64	410
381 #define	LINUX_SYS_linux_timerfd_settime64	411
382 #define	LINUX_SYS_linux_utimensat_time64	412
383 #define	LINUX_SYS_linux_pselect6_time64	413
384 #define	LINUX_SYS_linux_ppoll_time64	414
385 #define	LINUX_SYS_linux_io_pgetevents_time64	416
386 #define	LINUX_SYS_linux_recvmmsg_time64	417
387 #define	LINUX_SYS_linux_mq_timedsend_time64	418
388 #define	LINUX_SYS_linux_mq_timedreceive_time64	419
389 #define	LINUX_SYS_linux_semtimedop_time64	420
390 #define	LINUX_SYS_linux_rt_sigtimedwait_time64	421
391 #define	LINUX_SYS_linux_sys_futex_time64	422
392 #define	LINUX_SYS_linux_sched_rr_get_interval_time64	423
393 #define	LINUX_SYS_linux_pidfd_send_signal	424
394 #define	LINUX_SYS_linux_io_uring_setup	425
395 #define	LINUX_SYS_linux_io_uring_enter	426
396 #define	LINUX_SYS_linux_io_uring_register	427
397 #define	LINUX_SYS_linux_open_tree	428
398 #define	LINUX_SYS_linux_move_mount	429
399 #define	LINUX_SYS_linux_fsopen	430
400 #define	LINUX_SYS_linux_fsconfig	431
401 #define	LINUX_SYS_linux_fsmount	432
402 #define	LINUX_SYS_linux_fspick	433
403 #define	LINUX_SYS_linux_pidfd_open	434
404 #define	LINUX_SYS_linux_clone3	435
405 #define	LINUX_SYS_linux_close_range	436
406 #define	LINUX_SYS_linux_openat2	437
407 #define	LINUX_SYS_linux_pidfd_getfd	438
408 #define	LINUX_SYS_linux_faccessat2	439
409 #define	LINUX_SYS_linux_process_madvise	440
410 #define	LINUX_SYS_linux_epoll_pwait2_64	441
411 #define	LINUX_SYS_linux_mount_setattr	442
412 #define	LINUX_SYS_MAXSYSCALL	444
413