1
2
3
4
5
6 package unix
7
8 const (
9 SYS_SYSCALL = 4000
10 SYS_EXIT = 4001
11 SYS_FORK = 4002
12 SYS_READ = 4003
13 SYS_WRITE = 4004
14 SYS_OPEN = 4005
15 SYS_CLOSE = 4006
16 SYS_WAITPID = 4007
17 SYS_CREAT = 4008
18 SYS_LINK = 4009
19 SYS_UNLINK = 4010
20 SYS_EXECVE = 4011
21 SYS_CHDIR = 4012
22 SYS_TIME = 4013
23 SYS_MKNOD = 4014
24 SYS_CHMOD = 4015
25 SYS_LCHOWN = 4016
26 SYS_BREAK = 4017
27 SYS_UNUSED18 = 4018
28 SYS_LSEEK = 4019
29 SYS_GETPID = 4020
30 SYS_MOUNT = 4021
31 SYS_UMOUNT = 4022
32 SYS_SETUID = 4023
33 SYS_GETUID = 4024
34 SYS_STIME = 4025
35 SYS_PTRACE = 4026
36 SYS_ALARM = 4027
37 SYS_UNUSED28 = 4028
38 SYS_PAUSE = 4029
39 SYS_UTIME = 4030
40 SYS_STTY = 4031
41 SYS_GTTY = 4032
42 SYS_ACCESS = 4033
43 SYS_NICE = 4034
44 SYS_FTIME = 4035
45 SYS_SYNC = 4036
46 SYS_KILL = 4037
47 SYS_RENAME = 4038
48 SYS_MKDIR = 4039
49 SYS_RMDIR = 4040
50 SYS_DUP = 4041
51 SYS_PIPE = 4042
52 SYS_TIMES = 4043
53 SYS_PROF = 4044
54 SYS_BRK = 4045
55 SYS_SETGID = 4046
56 SYS_GETGID = 4047
57 SYS_SIGNAL = 4048
58 SYS_GETEUID = 4049
59 SYS_GETEGID = 4050
60 SYS_ACCT = 4051
61 SYS_UMOUNT2 = 4052
62 SYS_LOCK = 4053
63 SYS_IOCTL = 4054
64 SYS_FCNTL = 4055
65 SYS_MPX = 4056
66 SYS_SETPGID = 4057
67 SYS_ULIMIT = 4058
68 SYS_UNUSED59 = 4059
69 SYS_UMASK = 4060
70 SYS_CHROOT = 4061
71 SYS_USTAT = 4062
72 SYS_DUP2 = 4063
73 SYS_GETPPID = 4064
74 SYS_GETPGRP = 4065
75 SYS_SETSID = 4066
76 SYS_SIGACTION = 4067
77 SYS_SGETMASK = 4068
78 SYS_SSETMASK = 4069
79 SYS_SETREUID = 4070
80 SYS_SETREGID = 4071
81 SYS_SIGSUSPEND = 4072
82 SYS_SIGPENDING = 4073
83 SYS_SETHOSTNAME = 4074
84 SYS_SETRLIMIT = 4075
85 SYS_GETRLIMIT = 4076
86 SYS_GETRUSAGE = 4077
87 SYS_GETTIMEOFDAY = 4078
88 SYS_SETTIMEOFDAY = 4079
89 SYS_GETGROUPS = 4080
90 SYS_SETGROUPS = 4081
91 SYS_RESERVED82 = 4082
92 SYS_SYMLINK = 4083
93 SYS_UNUSED84 = 4084
94 SYS_READLINK = 4085
95 SYS_USELIB = 4086
96 SYS_SWAPON = 4087
97 SYS_REBOOT = 4088
98 SYS_READDIR = 4089
99 SYS_MMAP = 4090
100 SYS_MUNMAP = 4091
101 SYS_TRUNCATE = 4092
102 SYS_FTRUNCATE = 4093
103 SYS_FCHMOD = 4094
104 SYS_FCHOWN = 4095
105 SYS_GETPRIORITY = 4096
106 SYS_SETPRIORITY = 4097
107 SYS_PROFIL = 4098
108 SYS_STATFS = 4099
109 SYS_FSTATFS = 4100
110 SYS_IOPERM = 4101
111 SYS_SOCKETCALL = 4102
112 SYS_SYSLOG = 4103
113 SYS_SETITIMER = 4104
114 SYS_GETITIMER = 4105
115 SYS_STAT = 4106
116 SYS_LSTAT = 4107
117 SYS_FSTAT = 4108
118 SYS_UNUSED109 = 4109
119 SYS_IOPL = 4110
120 SYS_VHANGUP = 4111
121 SYS_IDLE = 4112
122 SYS_VM86 = 4113
123 SYS_WAIT4 = 4114
124 SYS_SWAPOFF = 4115
125 SYS_SYSINFO = 4116
126 SYS_IPC = 4117
127 SYS_FSYNC = 4118
128 SYS_SIGRETURN = 4119
129 SYS_CLONE = 4120
130 SYS_SETDOMAINNAME = 4121
131 SYS_UNAME = 4122
132 SYS_MODIFY_LDT = 4123
133 SYS_ADJTIMEX = 4124
134 SYS_MPROTECT = 4125
135 SYS_SIGPROCMASK = 4126
136 SYS_CREATE_MODULE = 4127
137 SYS_INIT_MODULE = 4128
138 SYS_DELETE_MODULE = 4129
139 SYS_GET_KERNEL_SYMS = 4130
140 SYS_QUOTACTL = 4131
141 SYS_GETPGID = 4132
142 SYS_FCHDIR = 4133
143 SYS_BDFLUSH = 4134
144 SYS_SYSFS = 4135
145 SYS_PERSONALITY = 4136
146 SYS_AFS_SYSCALL = 4137
147 SYS_SETFSUID = 4138
148 SYS_SETFSGID = 4139
149 SYS__LLSEEK = 4140
150 SYS_GETDENTS = 4141
151 SYS__NEWSELECT = 4142
152 SYS_FLOCK = 4143
153 SYS_MSYNC = 4144
154 SYS_READV = 4145
155 SYS_WRITEV = 4146
156 SYS_CACHEFLUSH = 4147
157 SYS_CACHECTL = 4148
158 SYS_SYSMIPS = 4149
159 SYS_UNUSED150 = 4150
160 SYS_GETSID = 4151
161 SYS_FDATASYNC = 4152
162 SYS__SYSCTL = 4153
163 SYS_MLOCK = 4154
164 SYS_MUNLOCK = 4155
165 SYS_MLOCKALL = 4156
166 SYS_MUNLOCKALL = 4157
167 SYS_SCHED_SETPARAM = 4158
168 SYS_SCHED_GETPARAM = 4159
169 SYS_SCHED_SETSCHEDULER = 4160
170 SYS_SCHED_GETSCHEDULER = 4161
171 SYS_SCHED_YIELD = 4162
172 SYS_SCHED_GET_PRIORITY_MAX = 4163
173 SYS_SCHED_GET_PRIORITY_MIN = 4164
174 SYS_SCHED_RR_GET_INTERVAL = 4165
175 SYS_NANOSLEEP = 4166
176 SYS_MREMAP = 4167
177 SYS_ACCEPT = 4168
178 SYS_BIND = 4169
179 SYS_CONNECT = 4170
180 SYS_GETPEERNAME = 4171
181 SYS_GETSOCKNAME = 4172
182 SYS_GETSOCKOPT = 4173
183 SYS_LISTEN = 4174
184 SYS_RECV = 4175
185 SYS_RECVFROM = 4176
186 SYS_RECVMSG = 4177
187 SYS_SEND = 4178
188 SYS_SENDMSG = 4179
189 SYS_SENDTO = 4180
190 SYS_SETSOCKOPT = 4181
191 SYS_SHUTDOWN = 4182
192 SYS_SOCKET = 4183
193 SYS_SOCKETPAIR = 4184
194 SYS_SETRESUID = 4185
195 SYS_GETRESUID = 4186
196 SYS_QUERY_MODULE = 4187
197 SYS_POLL = 4188
198 SYS_NFSSERVCTL = 4189
199 SYS_SETRESGID = 4190
200 SYS_GETRESGID = 4191
201 SYS_PRCTL = 4192
202 SYS_RT_SIGRETURN = 4193
203 SYS_RT_SIGACTION = 4194
204 SYS_RT_SIGPROCMASK = 4195
205 SYS_RT_SIGPENDING = 4196
206 SYS_RT_SIGTIMEDWAIT = 4197
207 SYS_RT_SIGQUEUEINFO = 4198
208 SYS_RT_SIGSUSPEND = 4199
209 SYS_PREAD64 = 4200
210 SYS_PWRITE64 = 4201
211 SYS_CHOWN = 4202
212 SYS_GETCWD = 4203
213 SYS_CAPGET = 4204
214 SYS_CAPSET = 4205
215 SYS_SIGALTSTACK = 4206
216 SYS_SENDFILE = 4207
217 SYS_GETPMSG = 4208
218 SYS_PUTPMSG = 4209
219 SYS_MMAP2 = 4210
220 SYS_TRUNCATE64 = 4211
221 SYS_FTRUNCATE64 = 4212
222 SYS_STAT64 = 4213
223 SYS_LSTAT64 = 4214
224 SYS_FSTAT64 = 4215
225 SYS_PIVOT_ROOT = 4216
226 SYS_MINCORE = 4217
227 SYS_MADVISE = 4218
228 SYS_GETDENTS64 = 4219
229 SYS_FCNTL64 = 4220
230 SYS_RESERVED221 = 4221
231 SYS_GETTID = 4222
232 SYS_READAHEAD = 4223
233 SYS_SETXATTR = 4224
234 SYS_LSETXATTR = 4225
235 SYS_FSETXATTR = 4226
236 SYS_GETXATTR = 4227
237 SYS_LGETXATTR = 4228
238 SYS_FGETXATTR = 4229
239 SYS_LISTXATTR = 4230
240 SYS_LLISTXATTR = 4231
241 SYS_FLISTXATTR = 4232
242 SYS_REMOVEXATTR = 4233
243 SYS_LREMOVEXATTR = 4234
244 SYS_FREMOVEXATTR = 4235
245 SYS_TKILL = 4236
246 SYS_SENDFILE64 = 4237
247 SYS_FUTEX = 4238
248 SYS_SCHED_SETAFFINITY = 4239
249 SYS_SCHED_GETAFFINITY = 4240
250 SYS_IO_SETUP = 4241
251 SYS_IO_DESTROY = 4242
252 SYS_IO_GETEVENTS = 4243
253 SYS_IO_SUBMIT = 4244
254 SYS_IO_CANCEL = 4245
255 SYS_EXIT_GROUP = 4246
256 SYS_LOOKUP_DCOOKIE = 4247
257 SYS_EPOLL_CREATE = 4248
258 SYS_EPOLL_CTL = 4249
259 SYS_EPOLL_WAIT = 4250
260 SYS_REMAP_FILE_PAGES = 4251
261 SYS_SET_TID_ADDRESS = 4252
262 SYS_RESTART_SYSCALL = 4253
263 SYS_FADVISE64 = 4254
264 SYS_STATFS64 = 4255
265 SYS_FSTATFS64 = 4256
266 SYS_TIMER_CREATE = 4257
267 SYS_TIMER_SETTIME = 4258
268 SYS_TIMER_GETTIME = 4259
269 SYS_TIMER_GETOVERRUN = 4260
270 SYS_TIMER_DELETE = 4261
271 SYS_CLOCK_SETTIME = 4262
272 SYS_CLOCK_GETTIME = 4263
273 SYS_CLOCK_GETRES = 4264
274 SYS_CLOCK_NANOSLEEP = 4265
275 SYS_TGKILL = 4266
276 SYS_UTIMES = 4267
277 SYS_MBIND = 4268
278 SYS_GET_MEMPOLICY = 4269
279 SYS_SET_MEMPOLICY = 4270
280 SYS_MQ_OPEN = 4271
281 SYS_MQ_UNLINK = 4272
282 SYS_MQ_TIMEDSEND = 4273
283 SYS_MQ_TIMEDRECEIVE = 4274
284 SYS_MQ_NOTIFY = 4275
285 SYS_MQ_GETSETATTR = 4276
286 SYS_VSERVER = 4277
287 SYS_WAITID = 4278
288 SYS_ADD_KEY = 4280
289 SYS_REQUEST_KEY = 4281
290 SYS_KEYCTL = 4282
291 SYS_SET_THREAD_AREA = 4283
292 SYS_INOTIFY_INIT = 4284
293 SYS_INOTIFY_ADD_WATCH = 4285
294 SYS_INOTIFY_RM_WATCH = 4286
295 SYS_MIGRATE_PAGES = 4287
296 SYS_OPENAT = 4288
297 SYS_MKDIRAT = 4289
298 SYS_MKNODAT = 4290
299 SYS_FCHOWNAT = 4291
300 SYS_FUTIMESAT = 4292
301 SYS_FSTATAT64 = 4293
302 SYS_UNLINKAT = 4294
303 SYS_RENAMEAT = 4295
304 SYS_LINKAT = 4296
305 SYS_SYMLINKAT = 4297
306 SYS_READLINKAT = 4298
307 SYS_FCHMODAT = 4299
308 SYS_FACCESSAT = 4300
309 SYS_PSELECT6 = 4301
310 SYS_PPOLL = 4302
311 SYS_UNSHARE = 4303
312 SYS_SPLICE = 4304
313 SYS_SYNC_FILE_RANGE = 4305
314 SYS_TEE = 4306
315 SYS_VMSPLICE = 4307
316 SYS_MOVE_PAGES = 4308
317 SYS_SET_ROBUST_LIST = 4309
318 SYS_GET_ROBUST_LIST = 4310
319 SYS_KEXEC_LOAD = 4311
320 SYS_GETCPU = 4312
321 SYS_EPOLL_PWAIT = 4313
322 SYS_IOPRIO_SET = 4314
323 SYS_IOPRIO_GET = 4315
324 SYS_UTIMENSAT = 4316
325 SYS_SIGNALFD = 4317
326 SYS_TIMERFD = 4318
327 SYS_EVENTFD = 4319
328 SYS_FALLOCATE = 4320
329 SYS_TIMERFD_CREATE = 4321
330 SYS_TIMERFD_GETTIME = 4322
331 SYS_TIMERFD_SETTIME = 4323
332 SYS_SIGNALFD4 = 4324
333 SYS_EVENTFD2 = 4325
334 SYS_EPOLL_CREATE1 = 4326
335 SYS_DUP3 = 4327
336 SYS_PIPE2 = 4328
337 SYS_INOTIFY_INIT1 = 4329
338 SYS_PREADV = 4330
339 SYS_PWRITEV = 4331
340 SYS_RT_TGSIGQUEUEINFO = 4332
341 SYS_PERF_EVENT_OPEN = 4333
342 SYS_ACCEPT4 = 4334
343 SYS_RECVMMSG = 4335
344 SYS_FANOTIFY_INIT = 4336
345 SYS_FANOTIFY_MARK = 4337
346 SYS_PRLIMIT64 = 4338
347 SYS_NAME_TO_HANDLE_AT = 4339
348 SYS_OPEN_BY_HANDLE_AT = 4340
349 SYS_CLOCK_ADJTIME = 4341
350 SYS_SYNCFS = 4342
351 SYS_SENDMMSG = 4343
352 SYS_SETNS = 4344
353 SYS_PROCESS_VM_READV = 4345
354 SYS_PROCESS_VM_WRITEV = 4346
355 SYS_KCMP = 4347
356 SYS_FINIT_MODULE = 4348
357 SYS_SCHED_SETATTR = 4349
358 SYS_SCHED_GETATTR = 4350
359 SYS_RENAMEAT2 = 4351
360 SYS_SECCOMP = 4352
361 SYS_GETRANDOM = 4353
362 SYS_MEMFD_CREATE = 4354
363 SYS_BPF = 4355
364 SYS_EXECVEAT = 4356
365 SYS_USERFAULTFD = 4357
366 SYS_MEMBARRIER = 4358
367 SYS_MLOCK2 = 4359
368 SYS_COPY_FILE_RANGE = 4360
369 SYS_PREADV2 = 4361
370 SYS_PWRITEV2 = 4362
371 SYS_PKEY_MPROTECT = 4363
372 SYS_PKEY_ALLOC = 4364
373 SYS_PKEY_FREE = 4365
374 SYS_STATX = 4366
375 SYS_RSEQ = 4367
376 SYS_IO_PGETEVENTS = 4368
377 SYS_SEMGET = 4393
378 SYS_SEMCTL = 4394
379 SYS_SHMGET = 4395
380 SYS_SHMCTL = 4396
381 SYS_SHMAT = 4397
382 SYS_SHMDT = 4398
383 SYS_MSGGET = 4399
384 SYS_MSGSND = 4400
385 SYS_MSGRCV = 4401
386 SYS_MSGCTL = 4402
387 SYS_CLOCK_GETTIME64 = 4403
388 SYS_CLOCK_SETTIME64 = 4404
389 SYS_CLOCK_ADJTIME64 = 4405
390 SYS_CLOCK_GETRES_TIME64 = 4406
391 SYS_CLOCK_NANOSLEEP_TIME64 = 4407
392 SYS_TIMER_GETTIME64 = 4408
393 SYS_TIMER_SETTIME64 = 4409
394 SYS_TIMERFD_GETTIME64 = 4410
395 SYS_TIMERFD_SETTIME64 = 4411
396 SYS_UTIMENSAT_TIME64 = 4412
397 SYS_PSELECT6_TIME64 = 4413
398 SYS_PPOLL_TIME64 = 4414
399 SYS_IO_PGETEVENTS_TIME64 = 4416
400 SYS_RECVMMSG_TIME64 = 4417
401 SYS_MQ_TIMEDSEND_TIME64 = 4418
402 SYS_MQ_TIMEDRECEIVE_TIME64 = 4419
403 SYS_SEMTIMEDOP_TIME64 = 4420
404 SYS_RT_SIGTIMEDWAIT_TIME64 = 4421
405 SYS_FUTEX_TIME64 = 4422
406 SYS_SCHED_RR_GET_INTERVAL_TIME64 = 4423
407 SYS_PIDFD_SEND_SIGNAL = 4424
408 SYS_IO_URING_SETUP = 4425
409 SYS_IO_URING_ENTER = 4426
410 SYS_IO_URING_REGISTER = 4427
411 SYS_OPEN_TREE = 4428
412 SYS_MOVE_MOUNT = 4429
413 SYS_FSOPEN = 4430
414 SYS_FSCONFIG = 4431
415 SYS_FSMOUNT = 4432
416 SYS_FSPICK = 4433
417 SYS_PIDFD_OPEN = 4434
418 SYS_CLONE3 = 4435
419 SYS_CLOSE_RANGE = 4436
420 SYS_OPENAT2 = 4437
421 SYS_PIDFD_GETFD = 4438
422 SYS_FACCESSAT2 = 4439
423 SYS_PROCESS_MADVISE = 4440
424 SYS_EPOLL_PWAIT2 = 4441
425 SYS_MOUNT_SETATTR = 4442
426 SYS_QUOTACTL_FD = 4443
427 SYS_LANDLOCK_CREATE_RULESET = 4444
428 SYS_LANDLOCK_ADD_RULE = 4445
429 SYS_LANDLOCK_RESTRICT_SELF = 4446
430 SYS_PROCESS_MRELEASE = 4448
431 SYS_FUTEX_WAITV = 4449
432 SYS_SET_MEMPOLICY_HOME_NODE = 4450
433 SYS_CACHESTAT = 4451
434 SYS_FCHMODAT2 = 4452
435 SYS_MAP_SHADOW_STACK = 4453
436 SYS_FUTEX_WAKE = 4454
437 SYS_FUTEX_WAIT = 4455
438 SYS_FUTEX_REQUEUE = 4456
439 SYS_STATMOUNT = 4457
440 SYS_LISTMOUNT = 4458
441 SYS_LSM_GET_SELF_ATTR = 4459
442 SYS_LSM_SET_SELF_ATTR = 4460
443 SYS_LSM_LIST_MODULES = 4461
444 SYS_MSEAL = 4462
445 )
446
View as plain text