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