zsysnum_linux_amd64.go 10 KB

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