zsysnum_linux_arm.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build arm,linux
  4. package unix
  5. const (
  6. SYS_RESTART_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_CREAT = 8
  14. SYS_LINK = 9
  15. SYS_UNLINK = 10
  16. SYS_EXECVE = 11
  17. SYS_CHDIR = 12
  18. SYS_MKNOD = 14
  19. SYS_CHMOD = 15
  20. SYS_LCHOWN = 16
  21. SYS_LSEEK = 19
  22. SYS_GETPID = 20
  23. SYS_MOUNT = 21
  24. SYS_SETUID = 23
  25. SYS_GETUID = 24
  26. SYS_PTRACE = 26
  27. SYS_PAUSE = 29
  28. SYS_ACCESS = 33
  29. SYS_NICE = 34
  30. SYS_SYNC = 36
  31. SYS_KILL = 37
  32. SYS_RENAME = 38
  33. SYS_MKDIR = 39
  34. SYS_RMDIR = 40
  35. SYS_DUP = 41
  36. SYS_PIPE = 42
  37. SYS_TIMES = 43
  38. SYS_BRK = 45
  39. SYS_SETGID = 46
  40. SYS_GETGID = 47
  41. SYS_GETEUID = 49
  42. SYS_GETEGID = 50
  43. SYS_ACCT = 51
  44. SYS_UMOUNT2 = 52
  45. SYS_IOCTL = 54
  46. SYS_FCNTL = 55
  47. SYS_SETPGID = 57
  48. SYS_UMASK = 60
  49. SYS_CHROOT = 61
  50. SYS_USTAT = 62
  51. SYS_DUP2 = 63
  52. SYS_GETPPID = 64
  53. SYS_GETPGRP = 65
  54. SYS_SETSID = 66
  55. SYS_SIGACTION = 67
  56. SYS_SETREUID = 70
  57. SYS_SETREGID = 71
  58. SYS_SIGSUSPEND = 72
  59. SYS_SIGPENDING = 73
  60. SYS_SETHOSTNAME = 74
  61. SYS_SETRLIMIT = 75
  62. SYS_GETRUSAGE = 77
  63. SYS_GETTIMEOFDAY = 78
  64. SYS_SETTIMEOFDAY = 79
  65. SYS_GETGROUPS = 80
  66. SYS_SETGROUPS = 81
  67. SYS_SYMLINK = 83
  68. SYS_READLINK = 85
  69. SYS_USELIB = 86
  70. SYS_SWAPON = 87
  71. SYS_REBOOT = 88
  72. SYS_MUNMAP = 91
  73. SYS_TRUNCATE = 92
  74. SYS_FTRUNCATE = 93
  75. SYS_FCHMOD = 94
  76. SYS_FCHOWN = 95
  77. SYS_GETPRIORITY = 96
  78. SYS_SETPRIORITY = 97
  79. SYS_STATFS = 99
  80. SYS_FSTATFS = 100
  81. SYS_SYSLOG = 103
  82. SYS_SETITIMER = 104
  83. SYS_GETITIMER = 105
  84. SYS_STAT = 106
  85. SYS_LSTAT = 107
  86. SYS_FSTAT = 108
  87. SYS_VHANGUP = 111
  88. SYS_WAIT4 = 114
  89. SYS_SWAPOFF = 115
  90. SYS_SYSINFO = 116
  91. SYS_FSYNC = 118
  92. SYS_SIGRETURN = 119
  93. SYS_CLONE = 120
  94. SYS_SETDOMAINNAME = 121
  95. SYS_UNAME = 122
  96. SYS_ADJTIMEX = 124
  97. SYS_MPROTECT = 125
  98. SYS_SIGPROCMASK = 126
  99. SYS_INIT_MODULE = 128
  100. SYS_DELETE_MODULE = 129
  101. SYS_QUOTACTL = 131
  102. SYS_GETPGID = 132
  103. SYS_FCHDIR = 133
  104. SYS_BDFLUSH = 134
  105. SYS_SYSFS = 135
  106. SYS_PERSONALITY = 136
  107. SYS_SETFSUID = 138
  108. SYS_SETFSGID = 139
  109. SYS__LLSEEK = 140
  110. SYS_GETDENTS = 141
  111. SYS__NEWSELECT = 142
  112. SYS_FLOCK = 143
  113. SYS_MSYNC = 144
  114. SYS_READV = 145
  115. SYS_WRITEV = 146
  116. SYS_GETSID = 147
  117. SYS_FDATASYNC = 148
  118. SYS__SYSCTL = 149
  119. SYS_MLOCK = 150
  120. SYS_MUNLOCK = 151
  121. SYS_MLOCKALL = 152
  122. SYS_MUNLOCKALL = 153
  123. SYS_SCHED_SETPARAM = 154
  124. SYS_SCHED_GETPARAM = 155
  125. SYS_SCHED_SETSCHEDULER = 156
  126. SYS_SCHED_GETSCHEDULER = 157
  127. SYS_SCHED_YIELD = 158
  128. SYS_SCHED_GET_PRIORITY_MAX = 159
  129. SYS_SCHED_GET_PRIORITY_MIN = 160
  130. SYS_SCHED_RR_GET_INTERVAL = 161
  131. SYS_NANOSLEEP = 162
  132. SYS_MREMAP = 163
  133. SYS_SETRESUID = 164
  134. SYS_GETRESUID = 165
  135. SYS_POLL = 168
  136. SYS_NFSSERVCTL = 169
  137. SYS_SETRESGID = 170
  138. SYS_GETRESGID = 171
  139. SYS_PRCTL = 172
  140. SYS_RT_SIGRETURN = 173
  141. SYS_RT_SIGACTION = 174
  142. SYS_RT_SIGPROCMASK = 175
  143. SYS_RT_SIGPENDING = 176
  144. SYS_RT_SIGTIMEDWAIT = 177
  145. SYS_RT_SIGQUEUEINFO = 178
  146. SYS_RT_SIGSUSPEND = 179
  147. SYS_PREAD64 = 180
  148. SYS_PWRITE64 = 181
  149. SYS_CHOWN = 182
  150. SYS_GETCWD = 183
  151. SYS_CAPGET = 184
  152. SYS_CAPSET = 185
  153. SYS_SIGALTSTACK = 186
  154. SYS_SENDFILE = 187
  155. SYS_VFORK = 190
  156. SYS_UGETRLIMIT = 191
  157. SYS_MMAP2 = 192
  158. SYS_TRUNCATE64 = 193
  159. SYS_FTRUNCATE64 = 194
  160. SYS_STAT64 = 195
  161. SYS_LSTAT64 = 196
  162. SYS_FSTAT64 = 197
  163. SYS_LCHOWN32 = 198
  164. SYS_GETUID32 = 199
  165. SYS_GETGID32 = 200
  166. SYS_GETEUID32 = 201
  167. SYS_GETEGID32 = 202
  168. SYS_SETREUID32 = 203
  169. SYS_SETREGID32 = 204
  170. SYS_GETGROUPS32 = 205
  171. SYS_SETGROUPS32 = 206
  172. SYS_FCHOWN32 = 207
  173. SYS_SETRESUID32 = 208
  174. SYS_GETRESUID32 = 209
  175. SYS_SETRESGID32 = 210
  176. SYS_GETRESGID32 = 211
  177. SYS_CHOWN32 = 212
  178. SYS_SETUID32 = 213
  179. SYS_SETGID32 = 214
  180. SYS_SETFSUID32 = 215
  181. SYS_SETFSGID32 = 216
  182. SYS_GETDENTS64 = 217
  183. SYS_PIVOT_ROOT = 218
  184. SYS_MINCORE = 219
  185. SYS_MADVISE = 220
  186. SYS_FCNTL64 = 221
  187. SYS_GETTID = 224
  188. SYS_READAHEAD = 225
  189. SYS_SETXATTR = 226
  190. SYS_LSETXATTR = 227
  191. SYS_FSETXATTR = 228
  192. SYS_GETXATTR = 229
  193. SYS_LGETXATTR = 230
  194. SYS_FGETXATTR = 231
  195. SYS_LISTXATTR = 232
  196. SYS_LLISTXATTR = 233
  197. SYS_FLISTXATTR = 234
  198. SYS_REMOVEXATTR = 235
  199. SYS_LREMOVEXATTR = 236
  200. SYS_FREMOVEXATTR = 237
  201. SYS_TKILL = 238
  202. SYS_SENDFILE64 = 239
  203. SYS_FUTEX = 240
  204. SYS_SCHED_SETAFFINITY = 241
  205. SYS_SCHED_GETAFFINITY = 242
  206. SYS_IO_SETUP = 243
  207. SYS_IO_DESTROY = 244
  208. SYS_IO_GETEVENTS = 245
  209. SYS_IO_SUBMIT = 246
  210. SYS_IO_CANCEL = 247
  211. SYS_EXIT_GROUP = 248
  212. SYS_LOOKUP_DCOOKIE = 249
  213. SYS_EPOLL_CREATE = 250
  214. SYS_EPOLL_CTL = 251
  215. SYS_EPOLL_WAIT = 252
  216. SYS_REMAP_FILE_PAGES = 253
  217. SYS_SET_TID_ADDRESS = 256
  218. SYS_TIMER_CREATE = 257
  219. SYS_TIMER_SETTIME = 258
  220. SYS_TIMER_GETTIME = 259
  221. SYS_TIMER_GETOVERRUN = 260
  222. SYS_TIMER_DELETE = 261
  223. SYS_CLOCK_SETTIME = 262
  224. SYS_CLOCK_GETTIME = 263
  225. SYS_CLOCK_GETRES = 264
  226. SYS_CLOCK_NANOSLEEP = 265
  227. SYS_STATFS64 = 266
  228. SYS_FSTATFS64 = 267
  229. SYS_TGKILL = 268
  230. SYS_UTIMES = 269
  231. SYS_ARM_FADVISE64_64 = 270
  232. SYS_PCICONFIG_IOBASE = 271
  233. SYS_PCICONFIG_READ = 272
  234. SYS_PCICONFIG_WRITE = 273
  235. SYS_MQ_OPEN = 274
  236. SYS_MQ_UNLINK = 275
  237. SYS_MQ_TIMEDSEND = 276
  238. SYS_MQ_TIMEDRECEIVE = 277
  239. SYS_MQ_NOTIFY = 278
  240. SYS_MQ_GETSETATTR = 279
  241. SYS_WAITID = 280
  242. SYS_SOCKET = 281
  243. SYS_BIND = 282
  244. SYS_CONNECT = 283
  245. SYS_LISTEN = 284
  246. SYS_ACCEPT = 285
  247. SYS_GETSOCKNAME = 286
  248. SYS_GETPEERNAME = 287
  249. SYS_SOCKETPAIR = 288
  250. SYS_SEND = 289
  251. SYS_SENDTO = 290
  252. SYS_RECV = 291
  253. SYS_RECVFROM = 292
  254. SYS_SHUTDOWN = 293
  255. SYS_SETSOCKOPT = 294
  256. SYS_GETSOCKOPT = 295
  257. SYS_SENDMSG = 296
  258. SYS_RECVMSG = 297
  259. SYS_SEMOP = 298
  260. SYS_SEMGET = 299
  261. SYS_SEMCTL = 300
  262. SYS_MSGSND = 301
  263. SYS_MSGRCV = 302
  264. SYS_MSGGET = 303
  265. SYS_MSGCTL = 304
  266. SYS_SHMAT = 305
  267. SYS_SHMDT = 306
  268. SYS_SHMGET = 307
  269. SYS_SHMCTL = 308
  270. SYS_ADD_KEY = 309
  271. SYS_REQUEST_KEY = 310
  272. SYS_KEYCTL = 311
  273. SYS_SEMTIMEDOP = 312
  274. SYS_VSERVER = 313
  275. SYS_IOPRIO_SET = 314
  276. SYS_IOPRIO_GET = 315
  277. SYS_INOTIFY_INIT = 316
  278. SYS_INOTIFY_ADD_WATCH = 317
  279. SYS_INOTIFY_RM_WATCH = 318
  280. SYS_MBIND = 319
  281. SYS_GET_MEMPOLICY = 320
  282. SYS_SET_MEMPOLICY = 321
  283. SYS_OPENAT = 322
  284. SYS_MKDIRAT = 323
  285. SYS_MKNODAT = 324
  286. SYS_FCHOWNAT = 325
  287. SYS_FUTIMESAT = 326
  288. SYS_FSTATAT64 = 327
  289. SYS_UNLINKAT = 328
  290. SYS_RENAMEAT = 329
  291. SYS_LINKAT = 330
  292. SYS_SYMLINKAT = 331
  293. SYS_READLINKAT = 332
  294. SYS_FCHMODAT = 333
  295. SYS_FACCESSAT = 334
  296. SYS_PSELECT6 = 335
  297. SYS_PPOLL = 336
  298. SYS_UNSHARE = 337
  299. SYS_SET_ROBUST_LIST = 338
  300. SYS_GET_ROBUST_LIST = 339
  301. SYS_SPLICE = 340
  302. SYS_ARM_SYNC_FILE_RANGE = 341
  303. SYS_TEE = 342
  304. SYS_VMSPLICE = 343
  305. SYS_MOVE_PAGES = 344
  306. SYS_GETCPU = 345
  307. SYS_EPOLL_PWAIT = 346
  308. SYS_KEXEC_LOAD = 347
  309. SYS_UTIMENSAT = 348
  310. SYS_SIGNALFD = 349
  311. SYS_TIMERFD_CREATE = 350
  312. SYS_EVENTFD = 351
  313. SYS_FALLOCATE = 352
  314. SYS_TIMERFD_SETTIME = 353
  315. SYS_TIMERFD_GETTIME = 354
  316. SYS_SIGNALFD4 = 355
  317. SYS_EVENTFD2 = 356
  318. SYS_EPOLL_CREATE1 = 357
  319. SYS_DUP3 = 358
  320. SYS_PIPE2 = 359
  321. SYS_INOTIFY_INIT1 = 360
  322. SYS_PREADV = 361
  323. SYS_PWRITEV = 362
  324. SYS_RT_TGSIGQUEUEINFO = 363
  325. SYS_PERF_EVENT_OPEN = 364
  326. SYS_RECVMMSG = 365
  327. SYS_ACCEPT4 = 366
  328. SYS_FANOTIFY_INIT = 367
  329. SYS_FANOTIFY_MARK = 368
  330. SYS_PRLIMIT64 = 369
  331. SYS_NAME_TO_HANDLE_AT = 370
  332. SYS_OPEN_BY_HANDLE_AT = 371
  333. SYS_CLOCK_ADJTIME = 372
  334. SYS_SYNCFS = 373
  335. SYS_SENDMMSG = 374
  336. SYS_SETNS = 375
  337. SYS_PROCESS_VM_READV = 376
  338. SYS_PROCESS_VM_WRITEV = 377
  339. SYS_KCMP = 378
  340. SYS_FINIT_MODULE = 379
  341. SYS_SCHED_SETATTR = 380
  342. SYS_SCHED_GETATTR = 381
  343. SYS_RENAMEAT2 = 382
  344. SYS_SECCOMP = 383
  345. SYS_GETRANDOM = 384
  346. SYS_MEMFD_CREATE = 385
  347. SYS_BPF = 386
  348. SYS_EXECVEAT = 387
  349. SYS_USERFAULTFD = 388
  350. SYS_MEMBARRIER = 389
  351. SYS_MLOCK2 = 390
  352. SYS_COPY_FILE_RANGE = 391
  353. SYS_PREADV2 = 392
  354. SYS_PWRITEV2 = 393
  355. SYS_PKEY_MPROTECT = 394
  356. SYS_PKEY_ALLOC = 395
  357. SYS_PKEY_FREE = 396
  358. SYS_STATX = 397
  359. )