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