zsysnum_darwin_arm.go 14 KB

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