...
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_VM86 = 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_QUERY_MODULE = 166
176 SYS_POLL = 167
177 SYS_NFSSERVCTL = 168
178 SYS_SETRESGID = 169
179 SYS_GETRESGID = 170
180 SYS_PRCTL = 171
181 SYS_RT_SIGRETURN = 172
182 SYS_RT_SIGACTION = 173
183 SYS_RT_SIGPROCMASK = 174
184 SYS_RT_SIGPENDING = 175
185 SYS_RT_SIGTIMEDWAIT = 176
186 SYS_RT_SIGQUEUEINFO = 177
187 SYS_RT_SIGSUSPEND = 178
188 SYS_PREAD64 = 179
189 SYS_PWRITE64 = 180
190 SYS_CHOWN = 181
191 SYS_GETCWD = 182
192 SYS_CAPGET = 183
193 SYS_CAPSET = 184
194 SYS_SIGALTSTACK = 185
195 SYS_SENDFILE = 186
196 SYS_GETPMSG = 187
197 SYS_PUTPMSG = 188
198 SYS_VFORK = 189
199 SYS_UGETRLIMIT = 190
200 SYS_READAHEAD = 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_PCICONFIG_READ = 198
208 SYS_PCICONFIG_WRITE = 199
209 SYS_PCICONFIG_IOBASE = 200
210 SYS_MULTIPLEXER = 201
211 SYS_GETDENTS64 = 202
212 SYS_PIVOT_ROOT = 203
213 SYS_FCNTL64 = 204
214 SYS_MADVISE = 205
215 SYS_MINCORE = 206
216 SYS_GETTID = 207
217 SYS_TKILL = 208
218 SYS_SETXATTR = 209
219 SYS_LSETXATTR = 210
220 SYS_FSETXATTR = 211
221 SYS_GETXATTR = 212
222 SYS_LGETXATTR = 213
223 SYS_FGETXATTR = 214
224 SYS_LISTXATTR = 215
225 SYS_LLISTXATTR = 216
226 SYS_FLISTXATTR = 217
227 SYS_REMOVEXATTR = 218
228 SYS_LREMOVEXATTR = 219
229 SYS_FREMOVEXATTR = 220
230 SYS_FUTEX = 221
231 SYS_SCHED_SETAFFINITY = 222
232 SYS_SCHED_GETAFFINITY = 223
233 SYS_TUXCALL = 225
234 SYS_SENDFILE64 = 226
235 SYS_IO_SETUP = 227
236 SYS_IO_DESTROY = 228
237 SYS_IO_GETEVENTS = 229
238 SYS_IO_SUBMIT = 230
239 SYS_IO_CANCEL = 231
240 SYS_SET_TID_ADDRESS = 232
241 SYS_FADVISE64 = 233
242 SYS_EXIT_GROUP = 234
243 SYS_LOOKUP_DCOOKIE = 235
244 SYS_EPOLL_CREATE = 236
245 SYS_EPOLL_CTL = 237
246 SYS_EPOLL_WAIT = 238
247 SYS_REMAP_FILE_PAGES = 239
248 SYS_TIMER_CREATE = 240
249 SYS_TIMER_SETTIME = 241
250 SYS_TIMER_GETTIME = 242
251 SYS_TIMER_GETOVERRUN = 243
252 SYS_TIMER_DELETE = 244
253 SYS_CLOCK_SETTIME = 245
254 SYS_CLOCK_GETTIME = 246
255 SYS_CLOCK_GETRES = 247
256 SYS_CLOCK_NANOSLEEP = 248
257 SYS_SWAPCONTEXT = 249
258 SYS_TGKILL = 250
259 SYS_UTIMES = 251
260 SYS_STATFS64 = 252
261 SYS_FSTATFS64 = 253
262 SYS_FADVISE64_64 = 254
263 SYS_RTAS = 255
264 SYS_SYS_DEBUG_SETCONTEXT = 256
265 SYS_MIGRATE_PAGES = 258
266 SYS_MBIND = 259
267 SYS_GET_MEMPOLICY = 260
268 SYS_SET_MEMPOLICY = 261
269 SYS_MQ_OPEN = 262
270 SYS_MQ_UNLINK = 263
271 SYS_MQ_TIMEDSEND = 264
272 SYS_MQ_TIMEDRECEIVE = 265
273 SYS_MQ_NOTIFY = 266
274 SYS_MQ_GETSETATTR = 267
275 SYS_KEXEC_LOAD = 268
276 SYS_ADD_KEY = 269
277 SYS_REQUEST_KEY = 270
278 SYS_KEYCTL = 271
279 SYS_WAITID = 272
280 SYS_IOPRIO_SET = 273
281 SYS_IOPRIO_GET = 274
282 SYS_INOTIFY_INIT = 275
283 SYS_INOTIFY_ADD_WATCH = 276
284 SYS_INOTIFY_RM_WATCH = 277
285 SYS_SPU_RUN = 278
286 SYS_SPU_CREATE = 279
287 SYS_PSELECT6 = 280
288 SYS_PPOLL = 281
289 SYS_UNSHARE = 282
290 SYS_SPLICE = 283
291 SYS_TEE = 284
292 SYS_VMSPLICE = 285
293 SYS_OPENAT = 286
294 SYS_MKDIRAT = 287
295 SYS_MKNODAT = 288
296 SYS_FCHOWNAT = 289
297 SYS_FUTIMESAT = 290
298 SYS_FSTATAT64 = 291
299 SYS_UNLINKAT = 292
300 SYS_RENAMEAT = 293
301 SYS_LINKAT = 294
302 SYS_SYMLINKAT = 295
303 SYS_READLINKAT = 296
304 SYS_FCHMODAT = 297
305 SYS_FACCESSAT = 298
306 SYS_GET_ROBUST_LIST = 299
307 SYS_SET_ROBUST_LIST = 300
308 SYS_MOVE_PAGES = 301
309 SYS_GETCPU = 302
310 SYS_EPOLL_PWAIT = 303
311 SYS_UTIMENSAT = 304
312 SYS_SIGNALFD = 305
313 SYS_TIMERFD_CREATE = 306
314 SYS_EVENTFD = 307
315 SYS_SYNC_FILE_RANGE2 = 308
316 SYS_FALLOCATE = 309
317 SYS_SUBPAGE_PROT = 310
318 SYS_TIMERFD_SETTIME = 311
319 SYS_TIMERFD_GETTIME = 312
320 SYS_SIGNALFD4 = 313
321 SYS_EVENTFD2 = 314
322 SYS_EPOLL_CREATE1 = 315
323 SYS_DUP3 = 316
324 SYS_PIPE2 = 317
325 SYS_INOTIFY_INIT1 = 318
326 SYS_PERF_EVENT_OPEN = 319
327 SYS_PREADV = 320
328 SYS_PWRITEV = 321
329 SYS_RT_TGSIGQUEUEINFO = 322
330 SYS_FANOTIFY_INIT = 323
331 SYS_FANOTIFY_MARK = 324
332 SYS_PRLIMIT64 = 325
333 SYS_SOCKET = 326
334 SYS_BIND = 327
335 SYS_CONNECT = 328
336 SYS_LISTEN = 329
337 SYS_ACCEPT = 330
338 SYS_GETSOCKNAME = 331
339 SYS_GETPEERNAME = 332
340 SYS_SOCKETPAIR = 333
341 SYS_SEND = 334
342 SYS_SENDTO = 335
343 SYS_RECV = 336
344 SYS_RECVFROM = 337
345 SYS_SHUTDOWN = 338
346 SYS_SETSOCKOPT = 339
347 SYS_GETSOCKOPT = 340
348 SYS_SENDMSG = 341
349 SYS_RECVMSG = 342
350 SYS_RECVMMSG = 343
351 SYS_ACCEPT4 = 344
352 SYS_NAME_TO_HANDLE_AT = 345
353 SYS_OPEN_BY_HANDLE_AT = 346
354 SYS_CLOCK_ADJTIME = 347
355 SYS_SYNCFS = 348
356 SYS_SENDMMSG = 349
357 SYS_SETNS = 350
358 SYS_PROCESS_VM_READV = 351
359 SYS_PROCESS_VM_WRITEV = 352
360 SYS_FINIT_MODULE = 353
361 SYS_KCMP = 354
362 SYS_SCHED_SETATTR = 355
363 SYS_SCHED_GETATTR = 356
364 SYS_RENAMEAT2 = 357
365 SYS_SECCOMP = 358
366 SYS_GETRANDOM = 359
367 SYS_MEMFD_CREATE = 360
368 SYS_BPF = 361
369 SYS_EXECVEAT = 362
370 SYS_SWITCH_ENDIAN = 363
371 SYS_USERFAULTFD = 364
372 SYS_MEMBARRIER = 365
373 SYS_MLOCK2 = 378
374 SYS_COPY_FILE_RANGE = 379
375 SYS_PREADV2 = 380
376 SYS_PWRITEV2 = 381
377 SYS_KEXEC_FILE_LOAD = 382
378 SYS_STATX = 383
379 SYS_PKEY_ALLOC = 384
380 SYS_PKEY_FREE = 385
381 SYS_PKEY_MPROTECT = 386
382 SYS_RSEQ = 387
383 SYS_IO_PGETEVENTS = 388
384 SYS_SEMGET = 393
385 SYS_SEMCTL = 394
386 SYS_SHMGET = 395
387 SYS_SHMCTL = 396
388 SYS_SHMAT = 397
389 SYS_SHMDT = 398
390 SYS_MSGGET = 399
391 SYS_MSGSND = 400
392 SYS_MSGRCV = 401
393 SYS_MSGCTL = 402
394 SYS_CLOCK_GETTIME64 = 403
395 SYS_CLOCK_SETTIME64 = 404
396 SYS_CLOCK_ADJTIME64 = 405
397 SYS_CLOCK_GETRES_TIME64 = 406
398 SYS_CLOCK_NANOSLEEP_TIME64 = 407
399 SYS_TIMER_GETTIME64 = 408
400 SYS_TIMER_SETTIME64 = 409
401 SYS_TIMERFD_GETTIME64 = 410
402 SYS_TIMERFD_SETTIME64 = 411
403 SYS_UTIMENSAT_TIME64 = 412
404 SYS_PSELECT6_TIME64 = 413
405 SYS_PPOLL_TIME64 = 414
406 SYS_IO_PGETEVENTS_TIME64 = 416
407 SYS_RECVMMSG_TIME64 = 417
408 SYS_MQ_TIMEDSEND_TIME64 = 418
409 SYS_MQ_TIMEDRECEIVE_TIME64 = 419
410 SYS_SEMTIMEDOP_TIME64 = 420
411 SYS_RT_SIGTIMEDWAIT_TIME64 = 421
412 SYS_FUTEX_TIME64 = 422
413 SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
414 SYS_PIDFD_SEND_SIGNAL = 424
415 SYS_IO_URING_SETUP = 425
416 SYS_IO_URING_ENTER = 426
417 SYS_IO_URING_REGISTER = 427
418 SYS_OPEN_TREE = 428
419 SYS_MOVE_MOUNT = 429
420 SYS_FSOPEN = 430
421 SYS_FSCONFIG = 431
422 SYS_FSMOUNT = 432
423 SYS_FSPICK = 433
424 SYS_PIDFD_OPEN = 434
425 SYS_CLONE3 = 435
426 SYS_CLOSE_RANGE = 436
427 SYS_OPENAT2 = 437
428 SYS_PIDFD_GETFD = 438
429 SYS_FACCESSAT2 = 439
430 SYS_PROCESS_MADVISE = 440
431 SYS_EPOLL_PWAIT2 = 441
432 SYS_MOUNT_SETATTR = 442
433 SYS_QUOTACTL_FD = 443
434 SYS_LANDLOCK_CREATE_RULESET = 444
435 SYS_LANDLOCK_ADD_RULE = 445
436 SYS_LANDLOCK_RESTRICT_SELF = 446
437 SYS_PROCESS_MRELEASE = 448
438 SYS_FUTEX_WAITV = 449
439 SYS_SET_MEMPOLICY_HOME_NODE = 450
440 SYS_CACHESTAT = 451
441 SYS_FCHMODAT2 = 452
442 SYS_MAP_SHADOW_STACK = 453
443 SYS_FUTEX_WAKE = 454
444 SYS_FUTEX_WAIT = 455
445 SYS_FUTEX_REQUEUE = 456
446 SYS_STATMOUNT = 457
447 SYS_LISTMOUNT = 458
448 SYS_LSM_GET_SELF_ATTR = 459
449 SYS_LSM_SET_SELF_ATTR = 460
450 SYS_LSM_LIST_MODULES = 461
451 )
452
View as plain text