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