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