...
1
2
3
4
5
6 package unix
7
8 const (
9 SYS_RESTART_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAITPID = 7
17 SYS_CREAT = 8
18 SYS_LINK = 9
19 SYS_UNLINK = 10
20 SYS_EXECVE = 11
21 SYS_CHDIR = 12
22 SYS_TIME = 13
23 SYS_MKNOD = 14
24 SYS_CHMOD = 15
25 SYS_LCHOWN = 16
26 SYS_BREAK = 17
27 SYS_OLDSTAT = 18
28 SYS_LSEEK = 19
29 SYS_GETPID = 20
30 SYS_MOUNT = 21
31 SYS_UMOUNT = 22
32 SYS_SETUID = 23
33 SYS_GETUID = 24
34 SYS_STIME = 25
35 SYS_PTRACE = 26
36 SYS_ALARM = 27
37 SYS_OLDFSTAT = 28
38 SYS_PAUSE = 29
39 SYS_UTIME = 30
40 SYS_STTY = 31
41 SYS_GTTY = 32
42 SYS_ACCESS = 33
43 SYS_NICE = 34
44 SYS_FTIME = 35
45 SYS_SYNC = 36
46 SYS_KILL = 37
47 SYS_RENAME = 38
48 SYS_MKDIR = 39
49 SYS_RMDIR = 40
50 SYS_DUP = 41
51 SYS_PIPE = 42
52 SYS_TIMES = 43
53 SYS_PROF = 44
54 SYS_BRK = 45
55 SYS_SETGID = 46
56 SYS_GETGID = 47
57 SYS_SIGNAL = 48
58 SYS_GETEUID = 49
59 SYS_GETEGID = 50
60 SYS_ACCT = 51
61 SYS_UMOUNT2 = 52
62 SYS_LOCK = 53
63 SYS_IOCTL = 54
64 SYS_FCNTL = 55
65 SYS_MPX = 56
66 SYS_SETPGID = 57
67 SYS_ULIMIT = 58
68 SYS_OLDOLDUNAME = 59
69 SYS_UMASK = 60
70 SYS_CHROOT = 61
71 SYS_USTAT = 62
72 SYS_DUP2 = 63
73 SYS_GETPPID = 64
74 SYS_GETPGRP = 65
75 SYS_SETSID = 66
76 SYS_SIGACTION = 67
77 SYS_SGETMASK = 68
78 SYS_SSETMASK = 69
79 SYS_SETREUID = 70
80 SYS_SETREGID = 71
81 SYS_SIGSUSPEND = 72
82 SYS_SIGPENDING = 73
83 SYS_SETHOSTNAME = 74
84 SYS_SETRLIMIT = 75
85 SYS_GETRLIMIT = 76
86 SYS_GETRUSAGE = 77
87 SYS_GETTIMEOFDAY = 78
88 SYS_SETTIMEOFDAY = 79
89 SYS_GETGROUPS = 80
90 SYS_SETGROUPS = 81
91 SYS_SELECT = 82
92 SYS_SYMLINK = 83
93 SYS_OLDLSTAT = 84
94 SYS_READLINK = 85
95 SYS_USELIB = 86
96 SYS_SWAPON = 87
97 SYS_REBOOT = 88
98 SYS_READDIR = 89
99 SYS_MMAP = 90
100 SYS_MUNMAP = 91
101 SYS_TRUNCATE = 92
102 SYS_FTRUNCATE = 93
103 SYS_FCHMOD = 94
104 SYS_FCHOWN = 95
105 SYS_GETPRIORITY = 96
106 SYS_SETPRIORITY = 97
107 SYS_PROFIL = 98
108 SYS_STATFS = 99
109 SYS_FSTATFS = 100
110 SYS_IOPERM = 101
111 SYS_SOCKETCALL = 102
112 SYS_SYSLOG = 103
113 SYS_SETITIMER = 104
114 SYS_GETITIMER = 105
115 SYS_STAT = 106
116 SYS_LSTAT = 107
117 SYS_FSTAT = 108
118 SYS_OLDUNAME = 109
119 SYS_IOPL = 110
120 SYS_VHANGUP = 111
121 SYS_IDLE = 112
122 SYS_VM86OLD = 113
123 SYS_WAIT4 = 114
124 SYS_SWAPOFF = 115
125 SYS_SYSINFO = 116
126 SYS_IPC = 117
127 SYS_FSYNC = 118
128 SYS_SIGRETURN = 119
129 SYS_CLONE = 120
130 SYS_SETDOMAINNAME = 121
131 SYS_UNAME = 122
132 SYS_MODIFY_LDT = 123
133 SYS_ADJTIMEX = 124
134 SYS_MPROTECT = 125
135 SYS_SIGPROCMASK = 126
136 SYS_CREATE_MODULE = 127
137 SYS_INIT_MODULE = 128
138 SYS_DELETE_MODULE = 129
139 SYS_GET_KERNEL_SYMS = 130
140 SYS_QUOTACTL = 131
141 SYS_GETPGID = 132
142 SYS_FCHDIR = 133
143 SYS_BDFLUSH = 134
144 SYS_SYSFS = 135
145 SYS_PERSONALITY = 136
146 SYS_AFS_SYSCALL = 137
147 SYS_SETFSUID = 138
148 SYS_SETFSGID = 139
149 SYS__LLSEEK = 140
150 SYS_GETDENTS = 141
151 SYS__NEWSELECT = 142
152 SYS_FLOCK = 143
153 SYS_MSYNC = 144
154 SYS_READV = 145
155 SYS_WRITEV = 146
156 SYS_GETSID = 147
157 SYS_FDATASYNC = 148
158 SYS__SYSCTL = 149
159 SYS_MLOCK = 150
160 SYS_MUNLOCK = 151
161 SYS_MLOCKALL = 152
162 SYS_MUNLOCKALL = 153
163 SYS_SCHED_SETPARAM = 154
164 SYS_SCHED_GETPARAM = 155
165 SYS_SCHED_SETSCHEDULER = 156
166 SYS_SCHED_GETSCHEDULER = 157
167 SYS_SCHED_YIELD = 158
168 SYS_SCHED_GET_PRIORITY_MAX = 159
169 SYS_SCHED_GET_PRIORITY_MIN = 160
170 SYS_SCHED_RR_GET_INTERVAL = 161
171 SYS_NANOSLEEP = 162
172 SYS_MREMAP = 163
173 SYS_SETRESUID = 164
174 SYS_GETRESUID = 165
175 SYS_VM86 = 166
176 SYS_QUERY_MODULE = 167
177 SYS_POLL = 168
178 SYS_NFSSERVCTL = 169
179 SYS_SETRESGID = 170
180 SYS_GETRESGID = 171
181 SYS_PRCTL = 172
182 SYS_RT_SIGRETURN = 173
183 SYS_RT_SIGACTION = 174
184 SYS_RT_SIGPROCMASK = 175
185 SYS_RT_SIGPENDING = 176
186 SYS_RT_SIGTIMEDWAIT = 177
187 SYS_RT_SIGQUEUEINFO = 178
188 SYS_RT_SIGSUSPEND = 179
189 SYS_PREAD64 = 180
190 SYS_PWRITE64 = 181
191 SYS_CHOWN = 182
192 SYS_GETCWD = 183
193 SYS_CAPGET = 184
194 SYS_CAPSET = 185
195 SYS_SIGALTSTACK = 186
196 SYS_SENDFILE = 187
197 SYS_GETPMSG = 188
198 SYS_PUTPMSG = 189
199 SYS_VFORK = 190
200 SYS_UGETRLIMIT = 191
201 SYS_MMAP2 = 192
202 SYS_TRUNCATE64 = 193
203 SYS_FTRUNCATE64 = 194
204 SYS_STAT64 = 195
205 SYS_LSTAT64 = 196
206 SYS_FSTAT64 = 197
207 SYS_LCHOWN32 = 198
208 SYS_GETUID32 = 199
209 SYS_GETGID32 = 200
210 SYS_GETEUID32 = 201
211 SYS_GETEGID32 = 202
212 SYS_SETREUID32 = 203
213 SYS_SETREGID32 = 204
214 SYS_GETGROUPS32 = 205
215 SYS_SETGROUPS32 = 206
216 SYS_FCHOWN32 = 207
217 SYS_SETRESUID32 = 208
218 SYS_GETRESUID32 = 209
219 SYS_SETRESGID32 = 210
220 SYS_GETRESGID32 = 211
221 SYS_CHOWN32 = 212
222 SYS_SETUID32 = 213
223 SYS_SETGID32 = 214
224 SYS_SETFSUID32 = 215
225 SYS_SETFSGID32 = 216
226 SYS_PIVOT_ROOT = 217
227 SYS_MINCORE = 218
228 SYS_MADVISE = 219
229 SYS_GETDENTS64 = 220
230 SYS_FCNTL64 = 221
231 SYS_GETTID = 224
232 SYS_READAHEAD = 225
233 SYS_SETXATTR = 226
234 SYS_LSETXATTR = 227
235 SYS_FSETXATTR = 228
236 SYS_GETXATTR = 229
237 SYS_LGETXATTR = 230
238 SYS_FGETXATTR = 231
239 SYS_LISTXATTR = 232
240 SYS_LLISTXATTR = 233
241 SYS_FLISTXATTR = 234
242 SYS_REMOVEXATTR = 235
243 SYS_LREMOVEXATTR = 236
244 SYS_FREMOVEXATTR = 237
245 SYS_TKILL = 238
246 SYS_SENDFILE64 = 239
247 SYS_FUTEX = 240
248 SYS_SCHED_SETAFFINITY = 241
249 SYS_SCHED_GETAFFINITY = 242
250 SYS_SET_THREAD_AREA = 243
251 SYS_GET_THREAD_AREA = 244
252 SYS_IO_SETUP = 245
253 SYS_IO_DESTROY = 246
254 SYS_IO_GETEVENTS = 247
255 SYS_IO_SUBMIT = 248
256 SYS_IO_CANCEL = 249
257 SYS_FADVISE64 = 250
258 SYS_EXIT_GROUP = 252
259 SYS_LOOKUP_DCOOKIE = 253
260 SYS_EPOLL_CREATE = 254
261 SYS_EPOLL_CTL = 255
262 SYS_EPOLL_WAIT = 256
263 SYS_REMAP_FILE_PAGES = 257
264 SYS_SET_TID_ADDRESS = 258
265 SYS_TIMER_CREATE = 259
266 SYS_TIMER_SETTIME = 260
267 SYS_TIMER_GETTIME = 261
268 SYS_TIMER_GETOVERRUN = 262
269 SYS_TIMER_DELETE = 263
270 SYS_CLOCK_SETTIME = 264
271 SYS_CLOCK_GETTIME = 265
272 SYS_CLOCK_GETRES = 266
273 SYS_CLOCK_NANOSLEEP = 267
274 SYS_STATFS64 = 268
275 SYS_FSTATFS64 = 269
276 SYS_TGKILL = 270
277 SYS_UTIMES = 271
278 SYS_FADVISE64_64 = 272
279 SYS_VSERVER = 273
280 SYS_MBIND = 274
281 SYS_GET_MEMPOLICY = 275
282 SYS_SET_MEMPOLICY = 276
283 SYS_MQ_OPEN = 277
284 SYS_MQ_UNLINK = 278
285 SYS_MQ_TIMEDSEND = 279
286 SYS_MQ_TIMEDRECEIVE = 280
287 SYS_MQ_NOTIFY = 281
288 SYS_MQ_GETSETATTR = 282
289 SYS_KEXEC_LOAD = 283
290 SYS_WAITID = 284
291 SYS_ADD_KEY = 286
292 SYS_REQUEST_KEY = 287
293 SYS_KEYCTL = 288
294 SYS_IOPRIO_SET = 289
295 SYS_IOPRIO_GET = 290
296 SYS_INOTIFY_INIT = 291
297 SYS_INOTIFY_ADD_WATCH = 292
298 SYS_INOTIFY_RM_WATCH = 293
299 SYS_MIGRATE_PAGES = 294
300 SYS_OPENAT = 295
301 SYS_MKDIRAT = 296
302 SYS_MKNODAT = 297
303 SYS_FCHOWNAT = 298
304 SYS_FUTIMESAT = 299
305 SYS_FSTATAT64 = 300
306 SYS_UNLINKAT = 301
307 SYS_RENAMEAT = 302
308 SYS_LINKAT = 303
309 SYS_SYMLINKAT = 304
310 SYS_READLINKAT = 305
311 SYS_FCHMODAT = 306
312 SYS_FACCESSAT = 307
313 SYS_PSELECT6 = 308
314 SYS_PPOLL = 309
315 SYS_UNSHARE = 310
316 SYS_SET_ROBUST_LIST = 311
317 SYS_GET_ROBUST_LIST = 312
318 SYS_SPLICE = 313
319 SYS_SYNC_FILE_RANGE = 314
320 SYS_TEE = 315
321 SYS_VMSPLICE = 316
322 SYS_MOVE_PAGES = 317
323 SYS_GETCPU = 318
324 SYS_EPOLL_PWAIT = 319
325 SYS_UTIMENSAT = 320
326 SYS_SIGNALFD = 321
327 SYS_TIMERFD_CREATE = 322
328 SYS_EVENTFD = 323
329 SYS_FALLOCATE = 324
330 SYS_TIMERFD_SETTIME = 325
331 SYS_TIMERFD_GETTIME = 326
332 SYS_SIGNALFD4 = 327
333 SYS_EVENTFD2 = 328
334 SYS_EPOLL_CREATE1 = 329
335 SYS_DUP3 = 330
336 SYS_PIPE2 = 331
337 SYS_INOTIFY_INIT1 = 332
338 SYS_PREADV = 333
339 SYS_PWRITEV = 334
340 SYS_RT_TGSIGQUEUEINFO = 335
341 SYS_PERF_EVENT_OPEN = 336
342 SYS_RECVMMSG = 337
343 SYS_FANOTIFY_INIT = 338
344 SYS_FANOTIFY_MARK = 339
345 SYS_PRLIMIT64 = 340
346 SYS_NAME_TO_HANDLE_AT = 341
347 SYS_OPEN_BY_HANDLE_AT = 342
348 SYS_CLOCK_ADJTIME = 343
349 SYS_SYNCFS = 344
350 SYS_SENDMMSG = 345
351 SYS_SETNS = 346
352 SYS_PROCESS_VM_READV = 347
353 SYS_PROCESS_VM_WRITEV = 348
354 SYS_KCMP = 349
355 SYS_FINIT_MODULE = 350
356 SYS_SCHED_SETATTR = 351
357 SYS_SCHED_GETATTR = 352
358 SYS_RENAMEAT2 = 353
359 SYS_SECCOMP = 354
360 SYS_GETRANDOM = 355
361 SYS_MEMFD_CREATE = 356
362 SYS_BPF = 357
363 SYS_EXECVEAT = 358
364 SYS_SOCKET = 359
365 SYS_SOCKETPAIR = 360
366 SYS_BIND = 361
367 SYS_CONNECT = 362
368 SYS_LISTEN = 363
369 SYS_ACCEPT4 = 364
370 SYS_GETSOCKOPT = 365
371 SYS_SETSOCKOPT = 366
372 SYS_GETSOCKNAME = 367
373 SYS_GETPEERNAME = 368
374 SYS_SENDTO = 369
375 SYS_SENDMSG = 370
376 SYS_RECVFROM = 371
377 SYS_RECVMSG = 372
378 SYS_SHUTDOWN = 373
379 SYS_USERFAULTFD = 374
380 SYS_MEMBARRIER = 375
381 SYS_MLOCK2 = 376
382 SYS_COPY_FILE_RANGE = 377
383 SYS_PREADV2 = 378
384 SYS_PWRITEV2 = 379
385 SYS_PKEY_MPROTECT = 380
386 SYS_PKEY_ALLOC = 381
387 SYS_PKEY_FREE = 382
388 SYS_STATX = 383
389 SYS_ARCH_PRCTL = 384
390 SYS_IO_PGETEVENTS = 385
391 SYS_RSEQ = 386
392 SYS_SEMGET = 393
393 SYS_SEMCTL = 394
394 SYS_SHMGET = 395
395 SYS_SHMCTL = 396
396 SYS_SHMAT = 397
397 SYS_SHMDT = 398
398 SYS_MSGGET = 399
399 SYS_MSGSND = 400
400 SYS_MSGRCV = 401
401 SYS_MSGCTL = 402
402 SYS_CLOCK_GETTIME64 = 403
403 SYS_CLOCK_SETTIME64 = 404
404 SYS_CLOCK_ADJTIME64 = 405
405 SYS_CLOCK_GETRES_TIME64 = 406
406 SYS_CLOCK_NANOSLEEP_TIME64 = 407
407 SYS_TIMER_GETTIME64 = 408
408 SYS_TIMER_SETTIME64 = 409
409 SYS_TIMERFD_GETTIME64 = 410
410 SYS_TIMERFD_SETTIME64 = 411
411 SYS_UTIMENSAT_TIME64 = 412
412 SYS_PSELECT6_TIME64 = 413
413 SYS_PPOLL_TIME64 = 414
414 SYS_IO_PGETEVENTS_TIME64 = 416
415 SYS_RECVMMSG_TIME64 = 417
416 SYS_MQ_TIMEDSEND_TIME64 = 418
417 SYS_MQ_TIMEDRECEIVE_TIME64 = 419
418 SYS_SEMTIMEDOP_TIME64 = 420
419 SYS_RT_SIGTIMEDWAIT_TIME64 = 421
420 SYS_FUTEX_TIME64 = 422
421 SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
422 SYS_PIDFD_SEND_SIGNAL = 424
423 SYS_IO_URING_SETUP = 425
424 SYS_IO_URING_ENTER = 426
425 SYS_IO_URING_REGISTER = 427
426 SYS_OPEN_TREE = 428
427 SYS_MOVE_MOUNT = 429
428 SYS_FSOPEN = 430
429 SYS_FSCONFIG = 431
430 SYS_FSMOUNT = 432
431 SYS_FSPICK = 433
432 SYS_PIDFD_OPEN = 434
433 SYS_CLONE3 = 435
434 SYS_CLOSE_RANGE = 436
435 SYS_OPENAT2 = 437
436 SYS_PIDFD_GETFD = 438
437 SYS_FACCESSAT2 = 439
438 SYS_PROCESS_MADVISE = 440
439 SYS_EPOLL_PWAIT2 = 441
440 SYS_MOUNT_SETATTR = 442
441 SYS_QUOTACTL_FD = 443
442 SYS_LANDLOCK_CREATE_RULESET = 444
443 SYS_LANDLOCK_ADD_RULE = 445
444 SYS_LANDLOCK_RESTRICT_SELF = 446
445 SYS_MEMFD_SECRET = 447
446 SYS_PROCESS_MRELEASE = 448
447 SYS_FUTEX_WAITV = 449
448 SYS_SET_MEMPOLICY_HOME_NODE = 450
449 SYS_CACHESTAT = 451
450 SYS_FCHMODAT2 = 452
451 SYS_MAP_SHADOW_STACK = 453
452 SYS_FUTEX_WAKE = 454
453 SYS_FUTEX_WAIT = 455
454 SYS_FUTEX_REQUEUE = 456
455 SYS_STATMOUNT = 457
456 SYS_LISTMOUNT = 458
457 SYS_LSM_GET_SELF_ATTR = 459
458 SYS_LSM_SET_SELF_ATTR = 460
459 SYS_LSM_LIST_MODULES = 461
460 )
461
View as plain text