zsysnum_linux_riscv64.go 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. // go run linux/mksysnum.go -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 riscv64,linux
  4. package unix
  5. const (
  6. SYS_IO_SETUP = 0
  7. SYS_IO_DESTROY = 1
  8. SYS_IO_SUBMIT = 2
  9. SYS_IO_CANCEL = 3
  10. SYS_IO_GETEVENTS = 4
  11. SYS_SETXATTR = 5
  12. SYS_LSETXATTR = 6
  13. SYS_FSETXATTR = 7
  14. SYS_GETXATTR = 8
  15. SYS_LGETXATTR = 9
  16. SYS_FGETXATTR = 10
  17. SYS_LISTXATTR = 11
  18. SYS_LLISTXATTR = 12
  19. SYS_FLISTXATTR = 13
  20. SYS_REMOVEXATTR = 14
  21. SYS_LREMOVEXATTR = 15
  22. SYS_FREMOVEXATTR = 16
  23. SYS_GETCWD = 17
  24. SYS_LOOKUP_DCOOKIE = 18
  25. SYS_EVENTFD2 = 19
  26. SYS_EPOLL_CREATE1 = 20
  27. SYS_EPOLL_CTL = 21
  28. SYS_EPOLL_PWAIT = 22
  29. SYS_DUP = 23
  30. SYS_DUP3 = 24
  31. SYS_FCNTL = 25
  32. SYS_INOTIFY_INIT1 = 26
  33. SYS_INOTIFY_ADD_WATCH = 27
  34. SYS_INOTIFY_RM_WATCH = 28
  35. SYS_IOCTL = 29
  36. SYS_IOPRIO_SET = 30
  37. SYS_IOPRIO_GET = 31
  38. SYS_FLOCK = 32
  39. SYS_MKNODAT = 33
  40. SYS_MKDIRAT = 34
  41. SYS_UNLINKAT = 35
  42. SYS_SYMLINKAT = 36
  43. SYS_LINKAT = 37
  44. SYS_UMOUNT2 = 39
  45. SYS_MOUNT = 40
  46. SYS_PIVOT_ROOT = 41
  47. SYS_NFSSERVCTL = 42
  48. SYS_STATFS = 43
  49. SYS_FSTATFS = 44
  50. SYS_TRUNCATE = 45
  51. SYS_FTRUNCATE = 46
  52. SYS_FALLOCATE = 47
  53. SYS_FACCESSAT = 48
  54. SYS_CHDIR = 49
  55. SYS_FCHDIR = 50
  56. SYS_CHROOT = 51
  57. SYS_FCHMOD = 52
  58. SYS_FCHMODAT = 53
  59. SYS_FCHOWNAT = 54
  60. SYS_FCHOWN = 55
  61. SYS_OPENAT = 56
  62. SYS_CLOSE = 57
  63. SYS_VHANGUP = 58
  64. SYS_PIPE2 = 59
  65. SYS_QUOTACTL = 60
  66. SYS_GETDENTS64 = 61
  67. SYS_LSEEK = 62
  68. SYS_READ = 63
  69. SYS_WRITE = 64
  70. SYS_READV = 65
  71. SYS_WRITEV = 66
  72. SYS_PREAD64 = 67
  73. SYS_PWRITE64 = 68
  74. SYS_PREADV = 69
  75. SYS_PWRITEV = 70
  76. SYS_SENDFILE = 71
  77. SYS_PSELECT6 = 72
  78. SYS_PPOLL = 73
  79. SYS_SIGNALFD4 = 74
  80. SYS_VMSPLICE = 75
  81. SYS_SPLICE = 76
  82. SYS_TEE = 77
  83. SYS_READLINKAT = 78
  84. SYS_FSTATAT = 79
  85. SYS_FSTAT = 80
  86. SYS_SYNC = 81
  87. SYS_FSYNC = 82
  88. SYS_FDATASYNC = 83
  89. SYS_SYNC_FILE_RANGE = 84
  90. SYS_TIMERFD_CREATE = 85
  91. SYS_TIMERFD_SETTIME = 86
  92. SYS_TIMERFD_GETTIME = 87
  93. SYS_UTIMENSAT = 88
  94. SYS_ACCT = 89
  95. SYS_CAPGET = 90
  96. SYS_CAPSET = 91
  97. SYS_PERSONALITY = 92
  98. SYS_EXIT = 93
  99. SYS_EXIT_GROUP = 94
  100. SYS_WAITID = 95
  101. SYS_SET_TID_ADDRESS = 96
  102. SYS_UNSHARE = 97
  103. SYS_FUTEX = 98
  104. SYS_SET_ROBUST_LIST = 99
  105. SYS_GET_ROBUST_LIST = 100
  106. SYS_NANOSLEEP = 101
  107. SYS_GETITIMER = 102
  108. SYS_SETITIMER = 103
  109. SYS_KEXEC_LOAD = 104
  110. SYS_INIT_MODULE = 105
  111. SYS_DELETE_MODULE = 106
  112. SYS_TIMER_CREATE = 107
  113. SYS_TIMER_GETTIME = 108
  114. SYS_TIMER_GETOVERRUN = 109
  115. SYS_TIMER_SETTIME = 110
  116. SYS_TIMER_DELETE = 111
  117. SYS_CLOCK_SETTIME = 112
  118. SYS_CLOCK_GETTIME = 113
  119. SYS_CLOCK_GETRES = 114
  120. SYS_CLOCK_NANOSLEEP = 115
  121. SYS_SYSLOG = 116
  122. SYS_PTRACE = 117
  123. SYS_SCHED_SETPARAM = 118
  124. SYS_SCHED_SETSCHEDULER = 119
  125. SYS_SCHED_GETSCHEDULER = 120
  126. SYS_SCHED_GETPARAM = 121
  127. SYS_SCHED_SETAFFINITY = 122
  128. SYS_SCHED_GETAFFINITY = 123
  129. SYS_SCHED_YIELD = 124
  130. SYS_SCHED_GET_PRIORITY_MAX = 125
  131. SYS_SCHED_GET_PRIORITY_MIN = 126
  132. SYS_SCHED_RR_GET_INTERVAL = 127
  133. SYS_RESTART_SYSCALL = 128
  134. SYS_KILL = 129
  135. SYS_TKILL = 130
  136. SYS_TGKILL = 131
  137. SYS_SIGALTSTACK = 132
  138. SYS_RT_SIGSUSPEND = 133
  139. SYS_RT_SIGACTION = 134
  140. SYS_RT_SIGPROCMASK = 135
  141. SYS_RT_SIGPENDING = 136
  142. SYS_RT_SIGTIMEDWAIT = 137
  143. SYS_RT_SIGQUEUEINFO = 138
  144. SYS_RT_SIGRETURN = 139
  145. SYS_SETPRIORITY = 140
  146. SYS_GETPRIORITY = 141
  147. SYS_REBOOT = 142
  148. SYS_SETREGID = 143
  149. SYS_SETGID = 144
  150. SYS_SETREUID = 145
  151. SYS_SETUID = 146
  152. SYS_SETRESUID = 147
  153. SYS_GETRESUID = 148
  154. SYS_SETRESGID = 149
  155. SYS_GETRESGID = 150
  156. SYS_SETFSUID = 151
  157. SYS_SETFSGID = 152
  158. SYS_TIMES = 153
  159. SYS_SETPGID = 154
  160. SYS_GETPGID = 155
  161. SYS_GETSID = 156
  162. SYS_SETSID = 157
  163. SYS_GETGROUPS = 158
  164. SYS_SETGROUPS = 159
  165. SYS_UNAME = 160
  166. SYS_SETHOSTNAME = 161
  167. SYS_SETDOMAINNAME = 162
  168. SYS_GETRLIMIT = 163
  169. SYS_SETRLIMIT = 164
  170. SYS_GETRUSAGE = 165
  171. SYS_UMASK = 166
  172. SYS_PRCTL = 167
  173. SYS_GETCPU = 168
  174. SYS_GETTIMEOFDAY = 169
  175. SYS_SETTIMEOFDAY = 170
  176. SYS_ADJTIMEX = 171
  177. SYS_GETPID = 172
  178. SYS_GETPPID = 173
  179. SYS_GETUID = 174
  180. SYS_GETEUID = 175
  181. SYS_GETGID = 176
  182. SYS_GETEGID = 177
  183. SYS_GETTID = 178
  184. SYS_SYSINFO = 179
  185. SYS_MQ_OPEN = 180
  186. SYS_MQ_UNLINK = 181
  187. SYS_MQ_TIMEDSEND = 182
  188. SYS_MQ_TIMEDRECEIVE = 183
  189. SYS_MQ_NOTIFY = 184
  190. SYS_MQ_GETSETATTR = 185
  191. SYS_MSGGET = 186
  192. SYS_MSGCTL = 187
  193. SYS_MSGRCV = 188
  194. SYS_MSGSND = 189
  195. SYS_SEMGET = 190
  196. SYS_SEMCTL = 191
  197. SYS_SEMTIMEDOP = 192
  198. SYS_SEMOP = 193
  199. SYS_SHMGET = 194
  200. SYS_SHMCTL = 195
  201. SYS_SHMAT = 196
  202. SYS_SHMDT = 197
  203. SYS_SOCKET = 198
  204. SYS_SOCKETPAIR = 199
  205. SYS_BIND = 200
  206. SYS_LISTEN = 201
  207. SYS_ACCEPT = 202
  208. SYS_CONNECT = 203
  209. SYS_GETSOCKNAME = 204
  210. SYS_GETPEERNAME = 205
  211. SYS_SENDTO = 206
  212. SYS_RECVFROM = 207
  213. SYS_SETSOCKOPT = 208
  214. SYS_GETSOCKOPT = 209
  215. SYS_SHUTDOWN = 210
  216. SYS_SENDMSG = 211
  217. SYS_RECVMSG = 212
  218. SYS_READAHEAD = 213
  219. SYS_BRK = 214
  220. SYS_MUNMAP = 215
  221. SYS_MREMAP = 216
  222. SYS_ADD_KEY = 217
  223. SYS_REQUEST_KEY = 218
  224. SYS_KEYCTL = 219
  225. SYS_CLONE = 220
  226. SYS_EXECVE = 221
  227. SYS_MMAP = 222
  228. SYS_FADVISE64 = 223
  229. SYS_SWAPON = 224
  230. SYS_SWAPOFF = 225
  231. SYS_MPROTECT = 226
  232. SYS_MSYNC = 227
  233. SYS_MLOCK = 228
  234. SYS_MUNLOCK = 229
  235. SYS_MLOCKALL = 230
  236. SYS_MUNLOCKALL = 231
  237. SYS_MINCORE = 232
  238. SYS_MADVISE = 233
  239. SYS_REMAP_FILE_PAGES = 234
  240. SYS_MBIND = 235
  241. SYS_GET_MEMPOLICY = 236
  242. SYS_SET_MEMPOLICY = 237
  243. SYS_MIGRATE_PAGES = 238
  244. SYS_MOVE_PAGES = 239
  245. SYS_RT_TGSIGQUEUEINFO = 240
  246. SYS_PERF_EVENT_OPEN = 241
  247. SYS_ACCEPT4 = 242
  248. SYS_RECVMMSG = 243
  249. SYS_ARCH_SPECIFIC_SYSCALL = 244
  250. SYS_WAIT4 = 260
  251. SYS_PRLIMIT64 = 261
  252. SYS_FANOTIFY_INIT = 262
  253. SYS_FANOTIFY_MARK = 263
  254. SYS_NAME_TO_HANDLE_AT = 264
  255. SYS_OPEN_BY_HANDLE_AT = 265
  256. SYS_CLOCK_ADJTIME = 266
  257. SYS_SYNCFS = 267
  258. SYS_SETNS = 268
  259. SYS_SENDMMSG = 269
  260. SYS_PROCESS_VM_READV = 270
  261. SYS_PROCESS_VM_WRITEV = 271
  262. SYS_KCMP = 272
  263. SYS_FINIT_MODULE = 273
  264. SYS_SCHED_SETATTR = 274
  265. SYS_SCHED_GETATTR = 275
  266. SYS_RENAMEAT2 = 276
  267. SYS_SECCOMP = 277
  268. SYS_GETRANDOM = 278
  269. SYS_MEMFD_CREATE = 279
  270. SYS_BPF = 280
  271. SYS_EXECVEAT = 281
  272. SYS_USERFAULTFD = 282
  273. SYS_MEMBARRIER = 283
  274. SYS_MLOCK2 = 284
  275. SYS_COPY_FILE_RANGE = 285
  276. SYS_PREADV2 = 286
  277. SYS_PWRITEV2 = 287
  278. SYS_PKEY_MPROTECT = 288
  279. SYS_PKEY_ALLOC = 289
  280. SYS_PKEY_FREE = 290
  281. SYS_STATX = 291
  282. SYS_IO_PGETEVENTS = 292
  283. SYS_RSEQ = 293
  284. SYS_KEXEC_FILE_LOAD = 294
  285. SYS_PIDFD_SEND_SIGNAL = 424
  286. SYS_IO_URING_SETUP = 425
  287. SYS_IO_URING_ENTER = 426
  288. SYS_IO_URING_REGISTER = 427
  289. SYS_OPEN_TREE = 428
  290. SYS_MOVE_MOUNT = 429
  291. SYS_FSOPEN = 430
  292. SYS_FSCONFIG = 431
  293. SYS_FSMOUNT = 432
  294. SYS_FSPICK = 433
  295. SYS_PIDFD_OPEN = 434
  296. SYS_CLONE3 = 435
  297. )