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