zsysnum_linux_386.go 17 KB

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