xref: /freebsd/sys/amd64/linux/linux_syscall.h (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 /*
2  * System call numbers.
3  *
4  * DO NOT EDIT-- this file is automatically @generated.
5  */
6 
7 #define	LINUX_SYS_read	0
8 #define	LINUX_SYS_linux_write	1
9 #define	LINUX_SYS_linux_open	2
10 #define	LINUX_SYS_close	3
11 #define	LINUX_SYS_linux_newstat	4
12 #define	LINUX_SYS_linux_newfstat	5
13 #define	LINUX_SYS_linux_newlstat	6
14 #define	LINUX_SYS_linux_poll	7
15 #define	LINUX_SYS_linux_lseek	8
16 #define	LINUX_SYS_linux_mmap2	9
17 #define	LINUX_SYS_linux_mprotect	10
18 #define	LINUX_SYS_munmap	11
19 #define	LINUX_SYS_linux_brk	12
20 #define	LINUX_SYS_linux_rt_sigaction	13
21 #define	LINUX_SYS_linux_rt_sigprocmask	14
22 #define	LINUX_SYS_linux_rt_sigreturn	15
23 #define	LINUX_SYS_linux_ioctl	16
24 #define	LINUX_SYS_linux_pread	17
25 #define	LINUX_SYS_linux_pwrite	18
26 #define	LINUX_SYS_readv	19
27 #define	LINUX_SYS_linux_writev	20
28 #define	LINUX_SYS_linux_access	21
29 #define	LINUX_SYS_linux_pipe	22
30 #define	LINUX_SYS_linux_select	23
31 #define	LINUX_SYS_sched_yield	24
32 #define	LINUX_SYS_linux_mremap	25
33 #define	LINUX_SYS_linux_msync	26
34 #define	LINUX_SYS_linux_mincore	27
35 #define	LINUX_SYS_linux_madvise	28
36 #define	LINUX_SYS_linux_shmget	29
37 #define	LINUX_SYS_linux_shmat	30
38 #define	LINUX_SYS_linux_shmctl	31
39 #define	LINUX_SYS_dup	32
40 #define	LINUX_SYS_dup2	33
41 #define	LINUX_SYS_linux_pause	34
42 #define	LINUX_SYS_linux_nanosleep	35
43 #define	LINUX_SYS_linux_getitimer	36
44 #define	LINUX_SYS_linux_alarm	37
45 #define	LINUX_SYS_linux_setitimer	38
46 #define	LINUX_SYS_linux_getpid	39
47 #define	LINUX_SYS_linux_sendfile	40
48 #define	LINUX_SYS_linux_socket	41
49 #define	LINUX_SYS_linux_connect	42
50 #define	LINUX_SYS_linux_accept	43
51 #define	LINUX_SYS_linux_sendto	44
52 #define	LINUX_SYS_linux_recvfrom	45
53 #define	LINUX_SYS_linux_sendmsg	46
54 #define	LINUX_SYS_linux_recvmsg	47
55 #define	LINUX_SYS_linux_shutdown	48
56 #define	LINUX_SYS_linux_bind	49
57 #define	LINUX_SYS_linux_listen	50
58 #define	LINUX_SYS_linux_getsockname	51
59 #define	LINUX_SYS_linux_getpeername	52
60 #define	LINUX_SYS_linux_socketpair	53
61 #define	LINUX_SYS_linux_setsockopt	54
62 #define	LINUX_SYS_linux_getsockopt	55
63 #define	LINUX_SYS_linux_clone	56
64 #define	LINUX_SYS_linux_fork	57
65 #define	LINUX_SYS_linux_vfork	58
66 #define	LINUX_SYS_linux_execve	59
67 #define	LINUX_SYS_linux_exit	60
68 #define	LINUX_SYS_linux_wait4	61
69 #define	LINUX_SYS_linux_kill	62
70 #define	LINUX_SYS_linux_newuname	63
71 #define	LINUX_SYS_linux_semget	64
72 #define	LINUX_SYS_semop	65
73 #define	LINUX_SYS_linux_semctl	66
74 #define	LINUX_SYS_linux_shmdt	67
75 #define	LINUX_SYS_linux_msgget	68
76 #define	LINUX_SYS_linux_msgsnd	69
77 #define	LINUX_SYS_linux_msgrcv	70
78 #define	LINUX_SYS_linux_msgctl	71
79 #define	LINUX_SYS_linux_fcntl	72
80 #define	LINUX_SYS_flock	73
81 #define	LINUX_SYS_fsync	74
82 #define	LINUX_SYS_linux_fdatasync	75
83 #define	LINUX_SYS_linux_truncate	76
84 #define	LINUX_SYS_linux_ftruncate	77
85 #define	LINUX_SYS_linux_getdents	78
86 #define	LINUX_SYS_linux_getcwd	79
87 #define	LINUX_SYS_linux_chdir	80
88 #define	LINUX_SYS_fchdir	81
89 #define	LINUX_SYS_linux_rename	82
90 #define	LINUX_SYS_linux_mkdir	83
91 #define	LINUX_SYS_linux_rmdir	84
92 #define	LINUX_SYS_linux_creat	85
93 #define	LINUX_SYS_linux_link	86
94 #define	LINUX_SYS_linux_unlink	87
95 #define	LINUX_SYS_linux_symlink	88
96 #define	LINUX_SYS_linux_readlink	89
97 #define	LINUX_SYS_linux_chmod	90
98 #define	LINUX_SYS_fchmod	91
99 #define	LINUX_SYS_linux_chown	92
100 #define	LINUX_SYS_fchown	93
101 #define	LINUX_SYS_linux_lchown	94
102 #define	LINUX_SYS_umask	95
103 #define	LINUX_SYS_gettimeofday	96
104 #define	LINUX_SYS_linux_getrlimit	97
105 #define	LINUX_SYS_getrusage	98
106 #define	LINUX_SYS_linux_sysinfo	99
107 #define	LINUX_SYS_linux_times	100
108 #define	LINUX_SYS_linux_ptrace	101
109 #define	LINUX_SYS_linux_getuid	102
110 #define	LINUX_SYS_linux_syslog	103
111 #define	LINUX_SYS_linux_getgid	104
112 #define	LINUX_SYS_setuid	105
113 #define	LINUX_SYS_setgid	106
114 #define	LINUX_SYS_geteuid	107
115 #define	LINUX_SYS_getegid	108
116 #define	LINUX_SYS_setpgid	109
117 #define	LINUX_SYS_linux_getppid	110
118 #define	LINUX_SYS_getpgrp	111
119 #define	LINUX_SYS_setsid	112
120 #define	LINUX_SYS_setreuid	113
121 #define	LINUX_SYS_setregid	114
122 #define	LINUX_SYS_linux_getgroups	115
123 #define	LINUX_SYS_linux_setgroups	116
124 #define	LINUX_SYS_setresuid	117
125 #define	LINUX_SYS_getresuid	118
126 #define	LINUX_SYS_setresgid	119
127 #define	LINUX_SYS_getresgid	120
128 #define	LINUX_SYS_getpgid	121
129 #define	LINUX_SYS_linux_setfsuid	122
130 #define	LINUX_SYS_linux_setfsgid	123
131 #define	LINUX_SYS_linux_getsid	124
132 #define	LINUX_SYS_linux_capget	125
133 #define	LINUX_SYS_linux_capset	126
134 #define	LINUX_SYS_linux_rt_sigpending	127
135 #define	LINUX_SYS_linux_rt_sigtimedwait	128
136 #define	LINUX_SYS_linux_rt_sigqueueinfo	129
137 #define	LINUX_SYS_linux_rt_sigsuspend	130
138 #define	LINUX_SYS_linux_sigaltstack	131
139 #define	LINUX_SYS_linux_utime	132
140 #define	LINUX_SYS_linux_mknod	133
141 #define	LINUX_SYS_linux_personality	135
142 #define	LINUX_SYS_linux_ustat	136
143 #define	LINUX_SYS_linux_statfs	137
144 #define	LINUX_SYS_linux_fstatfs	138
145 #define	LINUX_SYS_linux_sysfs	139
146 #define	LINUX_SYS_linux_getpriority	140
147 #define	LINUX_SYS_setpriority	141
148 #define	LINUX_SYS_linux_sched_setparam	142
149 #define	LINUX_SYS_linux_sched_getparam	143
150 #define	LINUX_SYS_linux_sched_setscheduler	144
151 #define	LINUX_SYS_linux_sched_getscheduler	145
152 #define	LINUX_SYS_linux_sched_get_priority_max	146
153 #define	LINUX_SYS_linux_sched_get_priority_min	147
154 #define	LINUX_SYS_linux_sched_rr_get_interval	148
155 #define	LINUX_SYS_mlock	149
156 #define	LINUX_SYS_munlock	150
157 #define	LINUX_SYS_mlockall	151
158 #define	LINUX_SYS_munlockall	152
159 #define	LINUX_SYS_linux_vhangup	153
160 #define	LINUX_SYS_linux_modify_ldt	154
161 #define	LINUX_SYS_linux_pivot_root	155
162 #define	LINUX_SYS_linux_sysctl	156
163 #define	LINUX_SYS_linux_prctl	157
164 #define	LINUX_SYS_linux_arch_prctl	158
165 #define	LINUX_SYS_linux_adjtimex	159
166 #define	LINUX_SYS_linux_setrlimit	160
167 #define	LINUX_SYS_chroot	161
168 #define	LINUX_SYS_sync	162
169 #define	LINUX_SYS_acct	163
170 #define	LINUX_SYS_settimeofday	164
171 #define	LINUX_SYS_linux_mount	165
172 #define	LINUX_SYS_linux_umount	166
173 #define	LINUX_SYS_swapon	167
174 #define	LINUX_SYS_linux_swapoff	168
175 #define	LINUX_SYS_linux_reboot	169
176 #define	LINUX_SYS_linux_sethostname	170
177 #define	LINUX_SYS_linux_setdomainname	171
178 #define	LINUX_SYS_linux_iopl	172
179 #define	LINUX_SYS_linux_ioperm	173
180 #define	LINUX_SYS_linux_init_module	175
181 #define	LINUX_SYS_linux_delete_module	176
182 #define	LINUX_SYS_linux_quotactl	179
183 #define	LINUX_SYS_linux_gettid	186
184 #define	LINUX_SYS_linux_readahead	187
185 #define	LINUX_SYS_linux_setxattr	188
186 #define	LINUX_SYS_linux_lsetxattr	189
187 #define	LINUX_SYS_linux_fsetxattr	190
188 #define	LINUX_SYS_linux_getxattr	191
189 #define	LINUX_SYS_linux_lgetxattr	192
190 #define	LINUX_SYS_linux_fgetxattr	193
191 #define	LINUX_SYS_linux_listxattr	194
192 #define	LINUX_SYS_linux_llistxattr	195
193 #define	LINUX_SYS_linux_flistxattr	196
194 #define	LINUX_SYS_linux_removexattr	197
195 #define	LINUX_SYS_linux_lremovexattr	198
196 #define	LINUX_SYS_linux_fremovexattr	199
197 #define	LINUX_SYS_linux_tkill	200
198 #define	LINUX_SYS_linux_time	201
199 #define	LINUX_SYS_linux_sys_futex	202
200 #define	LINUX_SYS_linux_sched_setaffinity	203
201 #define	LINUX_SYS_linux_sched_getaffinity	204
202 #define	LINUX_SYS_linux_io_setup	206
203 #define	LINUX_SYS_linux_io_destroy	207
204 #define	LINUX_SYS_linux_io_getevents	208
205 #define	LINUX_SYS_linux_io_submit	209
206 #define	LINUX_SYS_linux_io_cancel	210
207 #define	LINUX_SYS_linux_lookup_dcookie	212
208 #define	LINUX_SYS_linux_epoll_create	213
209 #define	LINUX_SYS_linux_remap_file_pages	216
210 #define	LINUX_SYS_linux_getdents64	217
211 #define	LINUX_SYS_linux_set_tid_address	218
212 #define	LINUX_SYS_linux_restart_syscall	219
213 #define	LINUX_SYS_linux_semtimedop	220
214 #define	LINUX_SYS_linux_fadvise64	221
215 #define	LINUX_SYS_linux_timer_create	222
216 #define	LINUX_SYS_linux_timer_settime	223
217 #define	LINUX_SYS_linux_timer_gettime	224
218 #define	LINUX_SYS_linux_timer_getoverrun	225
219 #define	LINUX_SYS_linux_timer_delete	226
220 #define	LINUX_SYS_linux_clock_settime	227
221 #define	LINUX_SYS_linux_clock_gettime	228
222 #define	LINUX_SYS_linux_clock_getres	229
223 #define	LINUX_SYS_linux_clock_nanosleep	230
224 #define	LINUX_SYS_linux_exit_group	231
225 #define	LINUX_SYS_linux_epoll_wait	232
226 #define	LINUX_SYS_linux_epoll_ctl	233
227 #define	LINUX_SYS_linux_tgkill	234
228 #define	LINUX_SYS_linux_utimes	235
229 #define	LINUX_SYS_linux_mbind	237
230 #define	LINUX_SYS_linux_set_mempolicy	238
231 #define	LINUX_SYS_linux_get_mempolicy	239
232 #define	LINUX_SYS_linux_mq_open	240
233 #define	LINUX_SYS_linux_mq_unlink	241
234 #define	LINUX_SYS_linux_mq_timedsend	242
235 #define	LINUX_SYS_linux_mq_timedreceive	243
236 #define	LINUX_SYS_linux_mq_notify	244
237 #define	LINUX_SYS_linux_mq_getsetattr	245
238 #define	LINUX_SYS_linux_kexec_load	246
239 #define	LINUX_SYS_linux_waitid	247
240 #define	LINUX_SYS_linux_add_key	248
241 #define	LINUX_SYS_linux_request_key	249
242 #define	LINUX_SYS_linux_keyctl	250
243 #define	LINUX_SYS_linux_ioprio_set	251
244 #define	LINUX_SYS_linux_ioprio_get	252
245 #define	LINUX_SYS_linux_inotify_init	253
246 #define	LINUX_SYS_linux_inotify_add_watch	254
247 #define	LINUX_SYS_linux_inotify_rm_watch	255
248 #define	LINUX_SYS_linux_migrate_pages	256
249 #define	LINUX_SYS_linux_openat	257
250 #define	LINUX_SYS_linux_mkdirat	258
251 #define	LINUX_SYS_linux_mknodat	259
252 #define	LINUX_SYS_linux_fchownat	260
253 #define	LINUX_SYS_linux_futimesat	261
254 #define	LINUX_SYS_linux_newfstatat	262
255 #define	LINUX_SYS_linux_unlinkat	263
256 #define	LINUX_SYS_linux_renameat	264
257 #define	LINUX_SYS_linux_linkat	265
258 #define	LINUX_SYS_linux_symlinkat	266
259 #define	LINUX_SYS_linux_readlinkat	267
260 #define	LINUX_SYS_linux_fchmodat	268
261 #define	LINUX_SYS_linux_faccessat	269
262 #define	LINUX_SYS_linux_pselect6	270
263 #define	LINUX_SYS_linux_ppoll	271
264 #define	LINUX_SYS_linux_unshare	272
265 #define	LINUX_SYS_linux_set_robust_list	273
266 #define	LINUX_SYS_linux_get_robust_list	274
267 #define	LINUX_SYS_linux_splice	275
268 #define	LINUX_SYS_linux_tee	276
269 #define	LINUX_SYS_linux_sync_file_range	277
270 #define	LINUX_SYS_linux_vmsplice	278
271 #define	LINUX_SYS_linux_move_pages	279
272 #define	LINUX_SYS_linux_utimensat	280
273 #define	LINUX_SYS_linux_epoll_pwait	281
274 #define	LINUX_SYS_linux_signalfd	282
275 #define	LINUX_SYS_linux_timerfd_create	283
276 #define	LINUX_SYS_linux_eventfd	284
277 #define	LINUX_SYS_linux_fallocate	285
278 #define	LINUX_SYS_linux_timerfd_settime	286
279 #define	LINUX_SYS_linux_timerfd_gettime	287
280 #define	LINUX_SYS_linux_accept4	288
281 #define	LINUX_SYS_linux_signalfd4	289
282 #define	LINUX_SYS_linux_eventfd2	290
283 #define	LINUX_SYS_linux_epoll_create1	291
284 #define	LINUX_SYS_linux_dup3	292
285 #define	LINUX_SYS_linux_pipe2	293
286 #define	LINUX_SYS_linux_inotify_init1	294
287 #define	LINUX_SYS_linux_preadv	295
288 #define	LINUX_SYS_linux_pwritev	296
289 #define	LINUX_SYS_linux_rt_tgsigqueueinfo	297
290 #define	LINUX_SYS_linux_perf_event_open	298
291 #define	LINUX_SYS_linux_recvmmsg	299
292 #define	LINUX_SYS_linux_fanotify_init	300
293 #define	LINUX_SYS_linux_fanotify_mark	301
294 #define	LINUX_SYS_linux_prlimit64	302
295 #define	LINUX_SYS_linux_name_to_handle_at	303
296 #define	LINUX_SYS_linux_open_by_handle_at	304
297 #define	LINUX_SYS_linux_clock_adjtime	305
298 #define	LINUX_SYS_linux_syncfs	306
299 #define	LINUX_SYS_linux_sendmmsg	307
300 #define	LINUX_SYS_linux_setns	308
301 #define	LINUX_SYS_linux_getcpu	309
302 #define	LINUX_SYS_linux_process_vm_readv	310
303 #define	LINUX_SYS_linux_process_vm_writev	311
304 #define	LINUX_SYS_linux_kcmp	312
305 #define	LINUX_SYS_linux_finit_module	313
306 #define	LINUX_SYS_linux_sched_setattr	314
307 #define	LINUX_SYS_linux_sched_getattr	315
308 #define	LINUX_SYS_linux_renameat2	316
309 #define	LINUX_SYS_linux_seccomp	317
310 #define	LINUX_SYS_linux_getrandom	318
311 #define	LINUX_SYS_linux_memfd_create	319
312 #define	LINUX_SYS_linux_kexec_file_load	320
313 #define	LINUX_SYS_linux_bpf	321
314 #define	LINUX_SYS_linux_execveat	322
315 #define	LINUX_SYS_linux_userfaultfd	323
316 #define	LINUX_SYS_linux_membarrier	324
317 #define	LINUX_SYS_linux_mlock2	325
318 #define	LINUX_SYS_linux_copy_file_range	326
319 #define	LINUX_SYS_linux_preadv2	327
320 #define	LINUX_SYS_linux_pwritev2	328
321 #define	LINUX_SYS_linux_pkey_mprotect	329
322 #define	LINUX_SYS_linux_pkey_alloc	330
323 #define	LINUX_SYS_linux_pkey_free	331
324 #define	LINUX_SYS_linux_statx	332
325 #define	LINUX_SYS_linux_io_pgetevents	333
326 #define	LINUX_SYS_linux_rseq	334
327 #define	LINUX_SYS_linux_pidfd_send_signal	424
328 #define	LINUX_SYS_linux_io_uring_setup	425
329 #define	LINUX_SYS_linux_io_uring_enter	426
330 #define	LINUX_SYS_linux_io_uring_register	427
331 #define	LINUX_SYS_linux_open_tree	428
332 #define	LINUX_SYS_linux_move_mount	429
333 #define	LINUX_SYS_linux_fsopen	430
334 #define	LINUX_SYS_linux_fsconfig	431
335 #define	LINUX_SYS_linux_fsmount	432
336 #define	LINUX_SYS_linux_fspick	433
337 #define	LINUX_SYS_linux_pidfd_open	434
338 #define	LINUX_SYS_linux_clone3	435
339 #define	LINUX_SYS_linux_close_range	436
340 #define	LINUX_SYS_linux_openat2	437
341 #define	LINUX_SYS_linux_pidfd_getfd	438
342 #define	LINUX_SYS_linux_faccessat2	439
343 #define	LINUX_SYS_linux_process_madvise	440
344 #define	LINUX_SYS_linux_epoll_pwait2	441
345 #define	LINUX_SYS_linux_mount_setattr	442
346 #define	LINUX_SYS_linux_quotactl_fd	443
347 #define	LINUX_SYS_linux_landlock_create_ruleset	444
348 #define	LINUX_SYS_linux_landlock_add_rule	445
349 #define	LINUX_SYS_linux_landlock_restrict_self	446
350 #define	LINUX_SYS_linux_memfd_secret	447
351 #define	LINUX_SYS_linux_process_mrelease	448
352 #define	LINUX_SYS_linux_futex_waitv	449
353 #define	LINUX_SYS_linux_set_mempolicy_home_node	450
354 #define	LINUX_SYS_linux_cachestat	451
355 #define	LINUX_SYS_linux_fchmodat2	452
356 #define	LINUX_SYS_linux_map_shadow_stack	453
357 #define	LINUX_SYS_MAXSYSCALL	454
358