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