Source file
src/syscall/zsysnum_darwin_arm64.go
1
2
3
4 package syscall
5
6 const (
7 SYS_SYSCALL = 0
8 SYS_EXIT = 1
9 SYS_FORK = 2
10 SYS_READ = 3
11 SYS_WRITE = 4
12 SYS_OPEN = 5
13 SYS_CLOSE = 6
14 SYS_WAIT4 = 7
15 SYS_LINK = 9
16 SYS_UNLINK = 10
17 SYS_CHDIR = 12
18 SYS_FCHDIR = 13
19 SYS_MKNOD = 14
20 SYS_CHMOD = 15
21 SYS_CHOWN = 16
22 SYS_GETFSSTAT = 18
23 SYS_GETPID = 20
24 SYS_SETUID = 23
25 SYS_GETUID = 24
26 SYS_GETEUID = 25
27 SYS_PTRACE = 26
28 SYS_RECVMSG = 27
29 SYS_SENDMSG = 28
30 SYS_RECVFROM = 29
31 SYS_ACCEPT = 30
32 SYS_GETPEERNAME = 31
33 SYS_GETSOCKNAME = 32
34 SYS_ACCESS = 33
35 SYS_CHFLAGS = 34
36 SYS_FCHFLAGS = 35
37 SYS_SYNC = 36
38 SYS_KILL = 37
39 SYS_GETPPID = 39
40 SYS_DUP = 41
41 SYS_PIPE = 42
42 SYS_GETEGID = 43
43 SYS_SIGACTION = 46
44 SYS_GETGID = 47
45 SYS_SIGPROCMASK = 48
46 SYS_GETLOGIN = 49
47 SYS_SETLOGIN = 50
48 SYS_ACCT = 51
49 SYS_SIGPENDING = 52
50 SYS_SIGALTSTACK = 53
51 SYS_IOCTL = 54
52 SYS_REBOOT = 55
53 SYS_REVOKE = 56
54 SYS_SYMLINK = 57
55 SYS_READLINK = 58
56 SYS_EXECVE = 59
57 SYS_UMASK = 60
58 SYS_CHROOT = 61
59 SYS_MSYNC = 65
60 SYS_VFORK = 66
61 SYS_MUNMAP = 73
62 SYS_MPROTECT = 74
63 SYS_MADVISE = 75
64 SYS_MINCORE = 78
65 SYS_GETGROUPS = 79
66 SYS_SETGROUPS = 80
67 SYS_GETPGRP = 81
68 SYS_SETPGID = 82
69 SYS_SETITIMER = 83
70 SYS_SWAPON = 85
71 SYS_GETITIMER = 86
72 SYS_GETDTABLESIZE = 89
73 SYS_DUP2 = 90
74 SYS_FCNTL = 92
75 SYS_SELECT = 93
76 SYS_FSYNC = 95
77 SYS_SETPRIORITY = 96
78 SYS_SOCKET = 97
79 SYS_CONNECT = 98
80 SYS_GETPRIORITY = 100
81 SYS_BIND = 104
82 SYS_SETSOCKOPT = 105
83 SYS_LISTEN = 106
84 SYS_SIGSUSPEND = 111
85 SYS_GETTIMEOFDAY = 116
86 SYS_GETRUSAGE = 117
87 SYS_GETSOCKOPT = 118
88 SYS_READV = 120
89 SYS_WRITEV = 121
90 SYS_SETTIMEOFDAY = 122
91 SYS_FCHOWN = 123
92 SYS_FCHMOD = 124
93 SYS_SETREUID = 126
94 SYS_SETREGID = 127
95 SYS_RENAME = 128
96 SYS_FLOCK = 131
97 SYS_MKFIFO = 132
98 SYS_SENDTO = 133
99 SYS_SHUTDOWN = 134
100 SYS_SOCKETPAIR = 135
101 SYS_MKDIR = 136
102 SYS_RMDIR = 137
103 SYS_UTIMES = 138
104 SYS_FUTIMES = 139
105 SYS_ADJTIME = 140
106 SYS_GETHOSTUUID = 142
107 SYS_SETSID = 147
108 SYS_GETPGID = 151
109 SYS_SETPRIVEXEC = 152
110 SYS_PREAD = 153
111 SYS_PWRITE = 154
112 SYS_NFSSVC = 155
113 SYS_STATFS = 157
114 SYS_FSTATFS = 158
115 SYS_UNMOUNT = 159
116 SYS_GETFH = 161
117 SYS_QUOTACTL = 165
118 SYS_MOUNT = 167
119 SYS_CSOPS = 169
120 SYS_CSOPS_AUDITTOKEN = 170
121 SYS_WAITID = 173
122 SYS_KDEBUG_TRACE = 180
123 SYS_SETGID = 181
124 SYS_SETEGID = 182
125 SYS_SETEUID = 183
126 SYS_SIGRETURN = 184
127 SYS_CHUD = 185
128 SYS_FDATASYNC = 187
129 SYS_STAT = 188
130 SYS_FSTAT = 189
131 SYS_LSTAT = 190
132 SYS_PATHCONF = 191
133 SYS_FPATHCONF = 192
134 SYS_GETRLIMIT = 194
135 SYS_SETRLIMIT = 195
136 SYS_GETDIRENTRIES = 196
137 SYS_MMAP = 197
138 SYS_LSEEK = 199
139 SYS_TRUNCATE = 200
140 SYS_FTRUNCATE = 201
141 SYS___SYSCTL = 202
142 SYS_MLOCK = 203
143 SYS_MUNLOCK = 204
144 SYS_UNDELETE = 205
145 SYS_ATSOCKET = 206
146 SYS_ATGETMSG = 207
147 SYS_ATPUTMSG = 208
148 SYS_ATPSNDREQ = 209
149 SYS_ATPSNDRSP = 210
150 SYS_ATPGETREQ = 211
151 SYS_ATPGETRSP = 212
152 SYS_OPEN_DPROTECTED_NP = 216
153 SYS_GETATTRLIST = 220
154 SYS_SETATTRLIST = 221
155 SYS_GETDIRENTRIESATTR = 222
156 SYS_EXCHANGEDATA = 223
157 SYS_SEARCHFS = 225
158 SYS_DELETE = 226
159 SYS_COPYFILE = 227
160 SYS_FGETATTRLIST = 228
161 SYS_FSETATTRLIST = 229
162 SYS_POLL = 230
163 SYS_WATCHEVENT = 231
164 SYS_WAITEVENT = 232
165 SYS_MODWATCH = 233
166 SYS_GETXATTR = 234
167 SYS_FGETXATTR = 235
168 SYS_SETXATTR = 236
169 SYS_FSETXATTR = 237
170 SYS_REMOVEXATTR = 238
171 SYS_FREMOVEXATTR = 239
172 SYS_LISTXATTR = 240
173 SYS_FLISTXATTR = 241
174 SYS_FSCTL = 242
175 SYS_INITGROUPS = 243
176 SYS_POSIX_SPAWN = 244
177 SYS_FFSCTL = 245
178 SYS_NFSCLNT = 247
179 SYS_FHOPEN = 248
180 SYS_MINHERIT = 250
181 SYS_SEMSYS = 251
182 SYS_MSGSYS = 252
183 SYS_SHMSYS = 253
184 SYS_SEMCTL = 254
185 SYS_SEMGET = 255
186 SYS_SEMOP = 256
187 SYS_MSGCTL = 258
188 SYS_MSGGET = 259
189 SYS_MSGSND = 260
190 SYS_MSGRCV = 261
191 SYS_SHMAT = 262
192 SYS_SHMCTL = 263
193 SYS_SHMDT = 264
194 SYS_SHMGET = 265
195 SYS_SHM_OPEN = 266
196 SYS_SHM_UNLINK = 267
197 SYS_SEM_OPEN = 268
198 SYS_SEM_CLOSE = 269
199 SYS_SEM_UNLINK = 270
200 SYS_SEM_WAIT = 271
201 SYS_SEM_TRYWAIT = 272
202 SYS_SEM_POST = 273
203 SYS_SEM_GETVALUE = 274
204 SYS_SEM_INIT = 275
205 SYS_SEM_DESTROY = 276
206 SYS_OPEN_EXTENDED = 277
207 SYS_UMASK_EXTENDED = 278
208 SYS_STAT_EXTENDED = 279
209 SYS_LSTAT_EXTENDED = 280
210 SYS_FSTAT_EXTENDED = 281
211 SYS_CHMOD_EXTENDED = 282
212 SYS_FCHMOD_EXTENDED = 283
213 SYS_ACCESS_EXTENDED = 284
214 SYS_SETTID = 285
215 SYS_GETTID = 286
216 SYS_SETSGROUPS = 287
217 SYS_GETSGROUPS = 288
218 SYS_SETWGROUPS = 289
219 SYS_GETWGROUPS = 290
220 SYS_MKFIFO_EXTENDED = 291
221 SYS_MKDIR_EXTENDED = 292
222 SYS_IDENTITYSVC = 293
223 SYS_SHARED_REGION_CHECK_NP = 294
224 SYS_VM_PRESSURE_MONITOR = 296
225 SYS_PSYNCH_RW_LONGRDLOCK = 297
226 SYS_PSYNCH_RW_YIELDWRLOCK = 298
227 SYS_PSYNCH_RW_DOWNGRADE = 299
228 SYS_PSYNCH_RW_UPGRADE = 300
229 SYS_PSYNCH_MUTEXWAIT = 301
230 SYS_PSYNCH_MUTEXDROP = 302
231 SYS_PSYNCH_CVBROAD = 303
232 SYS_PSYNCH_CVSIGNAL = 304
233 SYS_PSYNCH_CVWAIT = 305
234 SYS_PSYNCH_RW_RDLOCK = 306
235 SYS_PSYNCH_RW_WRLOCK = 307
236 SYS_PSYNCH_RW_UNLOCK = 308
237 SYS_PSYNCH_RW_UNLOCK2 = 309
238 SYS_GETSID = 310
239 SYS_SETTID_WITH_PID = 311
240 SYS_PSYNCH_CVCLRPREPOST = 312
241 SYS_AIO_FSYNC = 313
242 SYS_AIO_RETURN = 314
243 SYS_AIO_SUSPEND = 315
244 SYS_AIO_CANCEL = 316
245 SYS_AIO_ERROR = 317
246 SYS_AIO_READ = 318
247 SYS_AIO_WRITE = 319
248 SYS_LIO_LISTIO = 320
249 SYS_IOPOLICYSYS = 322
250 SYS_PROCESS_POLICY = 323
251 SYS_MLOCKALL = 324
252 SYS_MUNLOCKALL = 325
253 SYS_ISSETUGID = 327
254 SYS___PTHREAD_KILL = 328
255 SYS___PTHREAD_SIGMASK = 329
256 SYS___SIGWAIT = 330
257 SYS___DISABLE_THREADSIGNAL = 331
258 SYS___PTHREAD_MARKCANCEL = 332
259 SYS___PTHREAD_CANCELED = 333
260 SYS___SEMWAIT_SIGNAL = 334
261 SYS_PROC_INFO = 336
262 SYS_SENDFILE = 337
263 SYS_STAT64 = 338
264 SYS_FSTAT64 = 339
265 SYS_LSTAT64 = 340
266 SYS_STAT64_EXTENDED = 341
267 SYS_LSTAT64_EXTENDED = 342
268 SYS_FSTAT64_EXTENDED = 343
269 SYS_GETDIRENTRIES64 = 344
270 SYS_STATFS64 = 345
271 SYS_FSTATFS64 = 346
272 SYS_GETFSSTAT64 = 347
273 SYS___PTHREAD_CHDIR = 348
274 SYS___PTHREAD_FCHDIR = 349
275 SYS_AUDIT = 350
276 SYS_AUDITON = 351
277 SYS_GETAUID = 353
278 SYS_SETAUID = 354
279 SYS_GETAUDIT_ADDR = 357
280 SYS_SETAUDIT_ADDR = 358
281 SYS_AUDITCTL = 359
282 SYS_BSDTHREAD_CREATE = 360
283 SYS_BSDTHREAD_TERMINATE = 361
284 SYS_KQUEUE = 362
285 SYS_KEVENT = 363
286 SYS_LCHOWN = 364
287 SYS_STACK_SNAPSHOT = 365
288 SYS_BSDTHREAD_REGISTER = 366
289 SYS_WORKQ_OPEN = 367
290 SYS_WORKQ_KERNRETURN = 368
291 SYS_KEVENT64 = 369
292 SYS___OLD_SEMWAIT_SIGNAL = 370
293 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
294 SYS_THREAD_SELFID = 372
295 SYS_LEDGER = 373
296 SYS___MAC_EXECVE = 380
297 SYS___MAC_SYSCALL = 381
298 SYS___MAC_GET_FILE = 382
299 SYS___MAC_SET_FILE = 383
300 SYS___MAC_GET_LINK = 384
301 SYS___MAC_SET_LINK = 385
302 SYS___MAC_GET_PROC = 386
303 SYS___MAC_SET_PROC = 387
304 SYS___MAC_GET_FD = 388
305 SYS___MAC_SET_FD = 389
306 SYS___MAC_GET_PID = 390
307 SYS___MAC_GET_LCID = 391
308 SYS___MAC_GET_LCTX = 392
309 SYS___MAC_SET_LCTX = 393
310 SYS_SETLCID = 394
311 SYS_GETLCID = 395
312 SYS_READ_NOCANCEL = 396
313 SYS_WRITE_NOCANCEL = 397
314 SYS_OPEN_NOCANCEL = 398
315 SYS_CLOSE_NOCANCEL = 399
316 SYS_WAIT4_NOCANCEL = 400
317 SYS_RECVMSG_NOCANCEL = 401
318 SYS_SENDMSG_NOCANCEL = 402
319 SYS_RECVFROM_NOCANCEL = 403
320 SYS_ACCEPT_NOCANCEL = 404
321 SYS_MSYNC_NOCANCEL = 405
322 SYS_FCNTL_NOCANCEL = 406
323 SYS_SELECT_NOCANCEL = 407
324 SYS_FSYNC_NOCANCEL = 408
325 SYS_CONNECT_NOCANCEL = 409
326 SYS_SIGSUSPEND_NOCANCEL = 410
327 SYS_READV_NOCANCEL = 411
328 SYS_WRITEV_NOCANCEL = 412
329 SYS_SENDTO_NOCANCEL = 413
330 SYS_PREAD_NOCANCEL = 414
331 SYS_PWRITE_NOCANCEL = 415
332 SYS_WAITID_NOCANCEL = 416
333 SYS_POLL_NOCANCEL = 417
334 SYS_MSGSND_NOCANCEL = 418
335 SYS_MSGRCV_NOCANCEL = 419
336 SYS_SEM_WAIT_NOCANCEL = 420
337 SYS_AIO_SUSPEND_NOCANCEL = 421
338 SYS___SIGWAIT_NOCANCEL = 422
339 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
340 SYS___MAC_MOUNT = 424
341 SYS___MAC_GET_MOUNT = 425
342 SYS___MAC_GETFSSTAT = 426
343 SYS_FSGETPATH = 427
344 SYS_AUDIT_SESSION_SELF = 428
345 SYS_AUDIT_SESSION_JOIN = 429
346 SYS_FILEPORT_MAKEPORT = 430
347 SYS_FILEPORT_MAKEFD = 431
348 SYS_AUDIT_SESSION_PORT = 432
349 SYS_PID_SUSPEND = 433
350 SYS_PID_RESUME = 434
351 SYS_PID_HIBERNATE = 435
352 SYS_PID_SHUTDOWN_SOCKETS = 436
353 SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
354 SYS_KAS_INFO = 439
355 SYS_MAXSYSCALL = 440
356 )
357
View as plain text