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