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