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