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