Source file
src/syscall/zsysnum_linux_amd64.go
1
2
3
4 package syscall
5
6 const (
7 SYS_READ = 0
8 SYS_WRITE = 1
9 SYS_OPEN = 2
10 SYS_CLOSE = 3
11 SYS_STAT = 4
12 SYS_FSTAT = 5
13 SYS_LSTAT = 6
14 SYS_POLL = 7
15 SYS_LSEEK = 8
16 SYS_MMAP = 9
17 SYS_MPROTECT = 10
18 SYS_MUNMAP = 11
19 SYS_BRK = 12
20 SYS_RT_SIGACTION = 13
21 SYS_RT_SIGPROCMASK = 14
22 SYS_RT_SIGRETURN = 15
23 SYS_IOCTL = 16
24 SYS_PREAD64 = 17
25 SYS_PWRITE64 = 18
26 SYS_READV = 19
27 SYS_WRITEV = 20
28 SYS_ACCESS = 21
29 SYS_PIPE = 22
30 SYS_SELECT = 23
31 SYS_SCHED_YIELD = 24
32 SYS_MREMAP = 25
33 SYS_MSYNC = 26
34 SYS_MINCORE = 27
35 SYS_MADVISE = 28
36 SYS_SHMGET = 29
37 SYS_SHMAT = 30
38 SYS_SHMCTL = 31
39 SYS_DUP = 32
40 SYS_DUP2 = 33
41 SYS_PAUSE = 34
42 SYS_NANOSLEEP = 35
43 SYS_GETITIMER = 36
44 SYS_ALARM = 37
45 SYS_SETITIMER = 38
46 SYS_GETPID = 39
47 SYS_SENDFILE = 40
48 SYS_SOCKET = 41
49 SYS_CONNECT = 42
50 SYS_ACCEPT = 43
51 SYS_SENDTO = 44
52 SYS_RECVFROM = 45
53 SYS_SENDMSG = 46
54 SYS_RECVMSG = 47
55 SYS_SHUTDOWN = 48
56 SYS_BIND = 49
57 SYS_LISTEN = 50
58 SYS_GETSOCKNAME = 51
59 SYS_GETPEERNAME = 52
60 SYS_SOCKETPAIR = 53
61 SYS_SETSOCKOPT = 54
62 SYS_GETSOCKOPT = 55
63 SYS_CLONE = 56
64 SYS_FORK = 57
65 SYS_VFORK = 58
66 SYS_EXECVE = 59
67 SYS_EXIT = 60
68 SYS_WAIT4 = 61
69 SYS_KILL = 62
70 SYS_UNAME = 63
71 SYS_SEMGET = 64
72 SYS_SEMOP = 65
73 SYS_SEMCTL = 66
74 SYS_SHMDT = 67
75 SYS_MSGGET = 68
76 SYS_MSGSND = 69
77 SYS_MSGRCV = 70
78 SYS_MSGCTL = 71
79 SYS_FCNTL = 72
80 SYS_FLOCK = 73
81 SYS_FSYNC = 74
82 SYS_FDATASYNC = 75
83 SYS_TRUNCATE = 76
84 SYS_FTRUNCATE = 77
85 SYS_GETDENTS = 78
86 SYS_GETCWD = 79
87 SYS_CHDIR = 80
88 SYS_FCHDIR = 81
89 SYS_RENAME = 82
90 SYS_MKDIR = 83
91 SYS_RMDIR = 84
92 SYS_CREAT = 85
93 SYS_LINK = 86
94 SYS_UNLINK = 87
95 SYS_SYMLINK = 88
96 SYS_READLINK = 89
97 SYS_CHMOD = 90
98 SYS_FCHMOD = 91
99 SYS_CHOWN = 92
100 SYS_FCHOWN = 93
101 SYS_LCHOWN = 94
102 SYS_UMASK = 95
103 SYS_GETTIMEOFDAY = 96
104 SYS_GETRLIMIT = 97
105 SYS_GETRUSAGE = 98
106 SYS_SYSINFO = 99
107 SYS_TIMES = 100
108 SYS_PTRACE = 101
109 SYS_GETUID = 102
110 SYS_SYSLOG = 103
111 SYS_GETGID = 104
112 SYS_SETUID = 105
113 SYS_SETGID = 106
114 SYS_GETEUID = 107
115 SYS_GETEGID = 108
116 SYS_SETPGID = 109
117 SYS_GETPPID = 110
118 SYS_GETPGRP = 111
119 SYS_SETSID = 112
120 SYS_SETREUID = 113
121 SYS_SETREGID = 114
122 SYS_GETGROUPS = 115
123 SYS_SETGROUPS = 116
124 SYS_SETRESUID = 117
125 SYS_GETRESUID = 118
126 SYS_SETRESGID = 119
127 SYS_GETRESGID = 120
128 SYS_GETPGID = 121
129 SYS_SETFSUID = 122
130 SYS_SETFSGID = 123
131 SYS_GETSID = 124
132 SYS_CAPGET = 125
133 SYS_CAPSET = 126
134 SYS_RT_SIGPENDING = 127
135 SYS_RT_SIGTIMEDWAIT = 128
136 SYS_RT_SIGQUEUEINFO = 129
137 SYS_RT_SIGSUSPEND = 130
138 SYS_SIGALTSTACK = 131
139 SYS_UTIME = 132
140 SYS_MKNOD = 133
141 SYS_USELIB = 134
142 SYS_PERSONALITY = 135
143 SYS_USTAT = 136
144 SYS_STATFS = 137
145 SYS_FSTATFS = 138
146 SYS_SYSFS = 139
147 SYS_GETPRIORITY = 140
148 SYS_SETPRIORITY = 141
149 SYS_SCHED_SETPARAM = 142
150 SYS_SCHED_GETPARAM = 143
151 SYS_SCHED_SETSCHEDULER = 144
152 SYS_SCHED_GETSCHEDULER = 145
153 SYS_SCHED_GET_PRIORITY_MAX = 146
154 SYS_SCHED_GET_PRIORITY_MIN = 147
155 SYS_SCHED_RR_GET_INTERVAL = 148
156 SYS_MLOCK = 149
157 SYS_MUNLOCK = 150
158 SYS_MLOCKALL = 151
159 SYS_MUNLOCKALL = 152
160 SYS_VHANGUP = 153
161 SYS_MODIFY_LDT = 154
162 SYS_PIVOT_ROOT = 155
163 SYS__SYSCTL = 156
164 SYS_PRCTL = 157
165 SYS_ARCH_PRCTL = 158
166 SYS_ADJTIMEX = 159
167 SYS_SETRLIMIT = 160
168 SYS_CHROOT = 161
169 SYS_SYNC = 162
170 SYS_ACCT = 163
171 SYS_SETTIMEOFDAY = 164
172 SYS_MOUNT = 165
173 SYS_UMOUNT2 = 166
174 SYS_SWAPON = 167
175 SYS_SWAPOFF = 168
176 SYS_REBOOT = 169
177 SYS_SETHOSTNAME = 170
178 SYS_SETDOMAINNAME = 171
179 SYS_IOPL = 172
180 SYS_IOPERM = 173
181 SYS_CREATE_MODULE = 174
182 SYS_INIT_MODULE = 175
183 SYS_DELETE_MODULE = 176
184 SYS_GET_KERNEL_SYMS = 177
185 SYS_QUERY_MODULE = 178
186 SYS_QUOTACTL = 179
187 SYS_NFSSERVCTL = 180
188 SYS_GETPMSG = 181
189 SYS_PUTPMSG = 182
190 SYS_AFS_SYSCALL = 183
191 SYS_TUXCALL = 184
192 SYS_SECURITY = 185
193 SYS_GETTID = 186
194 SYS_READAHEAD = 187
195 SYS_SETXATTR = 188
196 SYS_LSETXATTR = 189
197 SYS_FSETXATTR = 190
198 SYS_GETXATTR = 191
199 SYS_LGETXATTR = 192
200 SYS_FGETXATTR = 193
201 SYS_LISTXATTR = 194
202 SYS_LLISTXATTR = 195
203 SYS_FLISTXATTR = 196
204 SYS_REMOVEXATTR = 197
205 SYS_LREMOVEXATTR = 198
206 SYS_FREMOVEXATTR = 199
207 SYS_TKILL = 200
208 SYS_TIME = 201
209 SYS_FUTEX = 202
210 SYS_SCHED_SETAFFINITY = 203
211 SYS_SCHED_GETAFFINITY = 204
212 SYS_SET_THREAD_AREA = 205
213 SYS_IO_SETUP = 206
214 SYS_IO_DESTROY = 207
215 SYS_IO_GETEVENTS = 208
216 SYS_IO_SUBMIT = 209
217 SYS_IO_CANCEL = 210
218 SYS_GET_THREAD_AREA = 211
219 SYS_LOOKUP_DCOOKIE = 212
220 SYS_EPOLL_CREATE = 213
221 SYS_EPOLL_CTL_OLD = 214
222 SYS_EPOLL_WAIT_OLD = 215
223 SYS_REMAP_FILE_PAGES = 216
224 SYS_GETDENTS64 = 217
225 SYS_SET_TID_ADDRESS = 218
226 SYS_RESTART_SYSCALL = 219
227 SYS_SEMTIMEDOP = 220
228 SYS_FADVISE64 = 221
229 SYS_TIMER_CREATE = 222
230 SYS_TIMER_SETTIME = 223
231 SYS_TIMER_GETTIME = 224
232 SYS_TIMER_GETOVERRUN = 225
233 SYS_TIMER_DELETE = 226
234 SYS_CLOCK_SETTIME = 227
235 SYS_CLOCK_GETTIME = 228
236 SYS_CLOCK_GETRES = 229
237 SYS_CLOCK_NANOSLEEP = 230
238 SYS_EXIT_GROUP = 231
239 SYS_EPOLL_WAIT = 232
240 SYS_EPOLL_CTL = 233
241 SYS_TGKILL = 234
242 SYS_UTIMES = 235
243 SYS_VSERVER = 236
244 SYS_MBIND = 237
245 SYS_SET_MEMPOLICY = 238
246 SYS_GET_MEMPOLICY = 239
247 SYS_MQ_OPEN = 240
248 SYS_MQ_UNLINK = 241
249 SYS_MQ_TIMEDSEND = 242
250 SYS_MQ_TIMEDRECEIVE = 243
251 SYS_MQ_NOTIFY = 244
252 SYS_MQ_GETSETATTR = 245
253 SYS_KEXEC_LOAD = 246
254 SYS_WAITID = 247
255 SYS_ADD_KEY = 248
256 SYS_REQUEST_KEY = 249
257 SYS_KEYCTL = 250
258 SYS_IOPRIO_SET = 251
259 SYS_IOPRIO_GET = 252
260 SYS_INOTIFY_INIT = 253
261 SYS_INOTIFY_ADD_WATCH = 254
262 SYS_INOTIFY_RM_WATCH = 255
263 SYS_MIGRATE_PAGES = 256
264 SYS_OPENAT = 257
265 SYS_MKDIRAT = 258
266 SYS_MKNODAT = 259
267 SYS_FCHOWNAT = 260
268 SYS_FUTIMESAT = 261
269 SYS_NEWFSTATAT = 262
270 SYS_UNLINKAT = 263
271 SYS_RENAMEAT = 264
272 SYS_LINKAT = 265
273 SYS_SYMLINKAT = 266
274 SYS_READLINKAT = 267
275 SYS_FCHMODAT = 268
276 SYS_FACCESSAT = 269
277 SYS_PSELECT6 = 270
278 SYS_PPOLL = 271
279 SYS_UNSHARE = 272
280 SYS_SET_ROBUST_LIST = 273
281 SYS_GET_ROBUST_LIST = 274
282 SYS_SPLICE = 275
283 SYS_TEE = 276
284 SYS_SYNC_FILE_RANGE = 277
285 SYS_VMSPLICE = 278
286 SYS_MOVE_PAGES = 279
287 SYS_UTIMENSAT = 280
288 SYS_EPOLL_PWAIT = 281
289 SYS_SIGNALFD = 282
290 SYS_TIMERFD_CREATE = 283
291 SYS_EVENTFD = 284
292 SYS_FALLOCATE = 285
293 SYS_TIMERFD_SETTIME = 286
294 SYS_TIMERFD_GETTIME = 287
295 SYS_ACCEPT4 = 288
296 SYS_SIGNALFD4 = 289
297 SYS_EVENTFD2 = 290
298 SYS_EPOLL_CREATE1 = 291
299 SYS_DUP3 = 292
300 SYS_PIPE2 = 293
301 SYS_INOTIFY_INIT1 = 294
302 SYS_PREADV = 295
303 SYS_PWRITEV = 296
304 SYS_RT_TGSIGQUEUEINFO = 297
305 SYS_PERF_EVENT_OPEN = 298
306 SYS_RECVMMSG = 299
307 SYS_FANOTIFY_INIT = 300
308 SYS_FANOTIFY_MARK = 301
309 SYS_PRLIMIT64 = 302
310 )
311
View as plain text