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_PCICONFIG_READ = 198
203 SYS_PCICONFIG_WRITE = 199
204 SYS_PCICONFIG_IOBASE = 200
205 SYS_MULTIPLEXER = 201
206 SYS_GETDENTS64 = 202
207 SYS_PIVOT_ROOT = 203
208 SYS_MADVISE = 205
209 SYS_MINCORE = 206
210 SYS_GETTID = 207
211 SYS_TKILL = 208
212 SYS_SETXATTR = 209
213 SYS_LSETXATTR = 210
214 SYS_FSETXATTR = 211
215 SYS_GETXATTR = 212
216 SYS_LGETXATTR = 213
217 SYS_FGETXATTR = 214
218 SYS_LISTXATTR = 215
219 SYS_LLISTXATTR = 216
220 SYS_FLISTXATTR = 217
221 SYS_REMOVEXATTR = 218
222 SYS_LREMOVEXATTR = 219
223 SYS_FREMOVEXATTR = 220
224 SYS_FUTEX = 221
225 SYS_SCHED_SETAFFINITY = 222
226 SYS_SCHED_GETAFFINITY = 223
227 SYS_TUXCALL = 225
228 SYS_IO_SETUP = 227
229 SYS_IO_DESTROY = 228
230 SYS_IO_GETEVENTS = 229
231 SYS_IO_SUBMIT = 230
232 SYS_IO_CANCEL = 231
233 SYS_SET_TID_ADDRESS = 232
234 SYS_FADVISE64 = 233
235 SYS_EXIT_GROUP = 234
236 SYS_LOOKUP_DCOOKIE = 235
237 SYS_EPOLL_CREATE = 236
238 SYS_EPOLL_CTL = 237
239 SYS_EPOLL_WAIT = 238
240 SYS_REMAP_FILE_PAGES = 239
241 SYS_TIMER_CREATE = 240
242 SYS_TIMER_SETTIME = 241
243 SYS_TIMER_GETTIME = 242
244 SYS_TIMER_GETOVERRUN = 243
245 SYS_TIMER_DELETE = 244
246 SYS_CLOCK_SETTIME = 245
247 SYS_CLOCK_GETTIME = 246
248 SYS_CLOCK_GETRES = 247
249 SYS_CLOCK_NANOSLEEP = 248
250 SYS_SWAPCONTEXT = 249
251 SYS_TGKILL = 250
252 SYS_UTIMES = 251
253 SYS_STATFS64 = 252
254 SYS_FSTATFS64 = 253
255 SYS_RTAS = 255
256 SYS_SYS_DEBUG_SETCONTEXT = 256
257 SYS_MIGRATE_PAGES = 258
258 SYS_MBIND = 259
259 SYS_GET_MEMPOLICY = 260
260 SYS_SET_MEMPOLICY = 261
261 SYS_MQ_OPEN = 262
262 SYS_MQ_UNLINK = 263
263 SYS_MQ_TIMEDSEND = 264
264 SYS_MQ_TIMEDRECEIVE = 265
265 SYS_MQ_NOTIFY = 266
266 SYS_MQ_GETSETATTR = 267
267 SYS_KEXEC_LOAD = 268
268 SYS_ADD_KEY = 269
269 SYS_REQUEST_KEY = 270
270 SYS_KEYCTL = 271
271 SYS_WAITID = 272
272 SYS_IOPRIO_SET = 273
273 SYS_IOPRIO_GET = 274
274 SYS_INOTIFY_INIT = 275
275 SYS_INOTIFY_ADD_WATCH = 276
276 SYS_INOTIFY_RM_WATCH = 277
277 SYS_SPU_RUN = 278
278 SYS_SPU_CREATE = 279
279 SYS_PSELECT6 = 280
280 SYS_PPOLL = 281
281 SYS_UNSHARE = 282
282 SYS_SPLICE = 283
283 SYS_TEE = 284
284 SYS_VMSPLICE = 285
285 SYS_OPENAT = 286
286 SYS_MKDIRAT = 287
287 SYS_MKNODAT = 288
288 SYS_FCHOWNAT = 289
289 SYS_FUTIMESAT = 290
290 SYS_NEWFSTATAT = 291
291 SYS_UNLINKAT = 292
292 SYS_RENAMEAT = 293
293 SYS_LINKAT = 294
294 SYS_SYMLINKAT = 295
295 SYS_READLINKAT = 296
296 SYS_FCHMODAT = 297
297 SYS_FACCESSAT = 298
298 SYS_GET_ROBUST_LIST = 299
299 SYS_SET_ROBUST_LIST = 300
300 SYS_MOVE_PAGES = 301
301 SYS_GETCPU = 302
302 SYS_EPOLL_PWAIT = 303
303 SYS_UTIMENSAT = 304
304 SYS_SIGNALFD = 305
305 SYS_TIMERFD_CREATE = 306
306 SYS_EVENTFD = 307
307 SYS_SYNC_FILE_RANGE2 = 308
308 SYS_FALLOCATE = 309
309 SYS_SUBPAGE_PROT = 310
310 SYS_TIMERFD_SETTIME = 311
311 SYS_TIMERFD_GETTIME = 312
312 SYS_SIGNALFD4 = 313
313 SYS_EVENTFD2 = 314
314 SYS_EPOLL_CREATE1 = 315
315 SYS_DUP3 = 316
316 SYS_PIPE2 = 317
317 SYS_INOTIFY_INIT1 = 318
318 SYS_PERF_EVENT_OPEN = 319
319 SYS_PREADV = 320
320 SYS_PWRITEV = 321
321 SYS_RT_TGSIGQUEUEINFO = 322
322 SYS_FANOTIFY_INIT = 323
323 SYS_FANOTIFY_MARK = 324
324 SYS_PRLIMIT64 = 325
325 SYS_SOCKET = 326
326 SYS_BIND = 327
327 SYS_CONNECT = 328
328 SYS_LISTEN = 329
329 SYS_ACCEPT = 330
330 SYS_GETSOCKNAME = 331
331 SYS_GETPEERNAME = 332
332 SYS_SOCKETPAIR = 333
333 SYS_SEND = 334
334 SYS_SENDTO = 335
335 SYS_RECV = 336
336 SYS_RECVFROM = 337
337 SYS_SHUTDOWN = 338
338 SYS_SETSOCKOPT = 339
339 SYS_GETSOCKOPT = 340
340 SYS_SENDMSG = 341
341 SYS_RECVMSG = 342
342 SYS_RECVMMSG = 343
343 SYS_ACCEPT4 = 344
344 SYS_NAME_TO_HANDLE_AT = 345
345 SYS_OPEN_BY_HANDLE_AT = 346
346 SYS_CLOCK_ADJTIME = 347
347 SYS_SYNCFS = 348
348 SYS_SENDMMSG = 349
349 SYS_SETNS = 350
350 SYS_PROCESS_VM_READV = 351
351 SYS_PROCESS_VM_WRITEV = 352
352 SYS_FINIT_MODULE = 353
353 SYS_KCMP = 354
354 SYS_SCHED_SETATTR = 355
355 SYS_SCHED_GETATTR = 356
356 SYS_RENAMEAT2 = 357
357 SYS_SECCOMP = 358
358 SYS_GETRANDOM = 359
359 SYS_MEMFD_CREATE = 360
360 SYS_BPF = 361
361 SYS_EXECVEAT = 362
362 SYS_SWITCH_ENDIAN = 363
363 SYS_USERFAULTFD = 364
364 SYS_MEMBARRIER = 365
365 SYS_MLOCK2 = 378
366 SYS_COPY_FILE_RANGE = 379
367 SYS_PREADV2 = 380
368 SYS_PWRITEV2 = 381
369 SYS_KEXEC_FILE_LOAD = 382
370 SYS_STATX = 383
371 SYS_PKEY_ALLOC = 384
372 SYS_PKEY_FREE = 385
373 SYS_PKEY_MPROTECT = 386
374 SYS_RSEQ = 387
375 SYS_IO_PGETEVENTS = 388
376 SYS_SEMTIMEDOP = 392
377 SYS_SEMGET = 393
378 SYS_SEMCTL = 394
379 SYS_SHMGET = 395
380 SYS_SHMCTL = 396
381 SYS_SHMAT = 397
382 SYS_SHMDT = 398
383 SYS_MSGGET = 399
384 SYS_MSGSND = 400
385 SYS_MSGRCV = 401
386 SYS_MSGCTL = 402
387 SYS_PIDFD_SEND_SIGNAL = 424
388 SYS_IO_URING_SETUP = 425
389 SYS_IO_URING_ENTER = 426
390 SYS_IO_URING_REGISTER = 427
391 SYS_OPEN_TREE = 428
392 SYS_MOVE_MOUNT = 429
393 SYS_FSOPEN = 430
394 SYS_FSCONFIG = 431
395 SYS_FSMOUNT = 432
396 SYS_FSPICK = 433
397 SYS_PIDFD_OPEN = 434
398 SYS_CLONE3 = 435
399 SYS_CLOSE_RANGE = 436
400 SYS_OPENAT2 = 437
401 SYS_PIDFD_GETFD = 438
402 SYS_FACCESSAT2 = 439
403 SYS_PROCESS_MADVISE = 440
404 SYS_EPOLL_PWAIT2 = 441
405 SYS_MOUNT_SETATTR = 442
406 SYS_QUOTACTL_FD = 443
407 SYS_LANDLOCK_CREATE_RULESET = 444
408 SYS_LANDLOCK_ADD_RULE = 445
409 SYS_LANDLOCK_RESTRICT_SELF = 446
410 SYS_PROCESS_MRELEASE = 448
411 )
412
View as plain text