1 // mksysnum_linux.pl /usr/include/mips-linux-gnu/asm/unistd.h 2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT 3 4 package syscall 5 6 const ( 7 SYS_SYSCALL = 4000 8 SYS_EXIT = 4001 9 SYS_FORK = 4002 10 SYS_READ = 4003 11 SYS_WRITE = 4004 12 SYS_OPEN = 4005 13 SYS_CLOSE = 4006 14 SYS_WAITPID = 4007 15 SYS_CREAT = 4008 16 SYS_LINK = 4009 17 SYS_UNLINK = 4010 18 SYS_EXECVE = 4011 19 SYS_CHDIR = 4012 20 SYS_TIME = 4013 21 SYS_MKNOD = 4014 22 SYS_CHMOD = 4015 23 SYS_LCHOWN = 4016 24 SYS_BREAK = 4017 25 SYS_UNUSED18 = 4018 26 SYS_LSEEK = 4019 27 SYS_GETPID = 4020 28 SYS_MOUNT = 4021 29 SYS_UMOUNT = 4022 30 SYS_SETUID = 4023 31 SYS_GETUID = 4024 32 SYS_STIME = 4025 33 SYS_PTRACE = 4026 34 SYS_ALARM = 4027 35 SYS_UNUSED28 = 4028 36 SYS_PAUSE = 4029 37 SYS_UTIME = 4030 38 SYS_STTY = 4031 39 SYS_GTTY = 4032 40 SYS_ACCESS = 4033 41 SYS_NICE = 4034 42 SYS_FTIME = 4035 43 SYS_SYNC = 4036 44 SYS_KILL = 4037 45 SYS_RENAME = 4038 46 SYS_MKDIR = 4039 47 SYS_RMDIR = 4040 48 SYS_DUP = 4041 49 SYS_PIPE = 4042 50 SYS_TIMES = 4043 51 SYS_PROF = 4044 52 SYS_BRK = 4045 53 SYS_SETGID = 4046 54 SYS_GETGID = 4047 55 SYS_SIGNAL = 4048 56 SYS_GETEUID = 4049 57 SYS_GETEGID = 4050 58 SYS_ACCT = 4051 59 SYS_UMOUNT2 = 4052 60 SYS_LOCK = 4053 61 SYS_IOCTL = 4054 62 SYS_FCNTL = 4055 63 SYS_MPX = 4056 64 SYS_SETPGID = 4057 65 SYS_ULIMIT = 4058 66 SYS_UNUSED59 = 4059 67 SYS_UMASK = 4060 68 SYS_CHROOT = 4061 69 SYS_USTAT = 4062 70 SYS_DUP2 = 4063 71 SYS_GETPPID = 4064 72 SYS_GETPGRP = 4065 73 SYS_SETSID = 4066 74 SYS_SIGACTION = 4067 75 SYS_SGETMASK = 4068 76 SYS_SSETMASK = 4069 77 SYS_SETREUID = 4070 78 SYS_SETREGID = 4071 79 SYS_SIGSUSPEND = 4072 80 SYS_SIGPENDING = 4073 81 SYS_SETHOSTNAME = 4074 82 SYS_SETRLIMIT = 4075 83 SYS_GETRLIMIT = 4076 84 SYS_GETRUSAGE = 4077 85 SYS_GETTIMEOFDAY = 4078 86 SYS_SETTIMEOFDAY = 4079 87 SYS_GETGROUPS = 4080 88 SYS_SETGROUPS = 4081 89 SYS_RESERVED82 = 4082 90 SYS_SYMLINK = 4083 91 SYS_UNUSED84 = 4084 92 SYS_READLINK = 4085 93 SYS_USELIB = 4086 94 SYS_SWAPON = 4087 95 SYS_REBOOT = 4088 96 SYS_READDIR = 4089 97 SYS_MMAP = 4090 98 SYS_MUNMAP = 4091 99 SYS_TRUNCATE = 4092 100 SYS_FTRUNCATE = 4093 101 SYS_FCHMOD = 4094 102 SYS_FCHOWN = 4095 103 SYS_GETPRIORITY = 4096 104 SYS_SETPRIORITY = 4097 105 SYS_PROFIL = 4098 106 SYS_STATFS = 4099 107 SYS_FSTATFS = 4100 108 SYS_IOPERM = 4101 109 SYS_SOCKETCALL = 4102 110 SYS_SYSLOG = 4103 111 SYS_SETITIMER = 4104 112 SYS_GETITIMER = 4105 113 SYS_STAT = 4106 114 SYS_LSTAT = 4107 115 SYS_FSTAT = 4108 116 SYS_UNUSED109 = 4109 117 SYS_IOPL = 4110 118 SYS_VHANGUP = 4111 119 SYS_IDLE = 4112 120 SYS_VM86 = 4113 121 SYS_WAIT4 = 4114 122 SYS_SWAPOFF = 4115 123 SYS_SYSINFO = 4116 124 SYS_IPC = 4117 125 SYS_FSYNC = 4118 126 SYS_SIGRETURN = 4119 127 SYS_CLONE = 4120 128 SYS_SETDOMAINNAME = 4121 129 SYS_UNAME = 4122 130 SYS_MODIFY_LDT = 4123 131 SYS_ADJTIMEX = 4124 132 SYS_MPROTECT = 4125 133 SYS_SIGPROCMASK = 4126 134 SYS_CREATE_MODULE = 4127 135 SYS_INIT_MODULE = 4128 136 SYS_DELETE_MODULE = 4129 137 SYS_GET_KERNEL_SYMS = 4130 138 SYS_QUOTACTL = 4131 139 SYS_GETPGID = 4132 140 SYS_FCHDIR = 4133 141 SYS_BDFLUSH = 4134 142 SYS_SYSFS = 4135 143 SYS_PERSONALITY = 4136 144 SYS_AFS_SYSCALL = 4137 145 SYS_SETFSUID = 4138 146 SYS_SETFSGID = 4139 147 SYS__LLSEEK = 4140 148 SYS_GETDENTS = 4141 149 SYS__NEWSELECT = 4142 150 SYS_FLOCK = 4143 151 SYS_MSYNC = 4144 152 SYS_READV = 4145 153 SYS_WRITEV = 4146 154 SYS_CACHEFLUSH = 4147 155 SYS_CACHECTL = 4148 156 SYS_SYSMIPS = 4149 157 SYS_UNUSED150 = 4150 158 SYS_GETSID = 4151 159 SYS_FDATASYNC = 4152 160 SYS__SYSCTL = 4153 161 SYS_MLOCK = 4154 162 SYS_MUNLOCK = 4155 163 SYS_MLOCKALL = 4156 164 SYS_MUNLOCKALL = 4157 165 SYS_SCHED_SETPARAM = 4158 166 SYS_SCHED_GETPARAM = 4159 167 SYS_SCHED_SETSCHEDULER = 4160 168 SYS_SCHED_GETSCHEDULER = 4161 169 SYS_SCHED_YIELD = 4162 170 SYS_SCHED_GET_PRIORITY_MAX = 4163 171 SYS_SCHED_GET_PRIORITY_MIN = 4164 172 SYS_SCHED_RR_GET_INTERVAL = 4165 173 SYS_NANOSLEEP = 4166 174 SYS_MREMAP = 4167 175 SYS_ACCEPT = 4168 176 SYS_BIND = 4169 177 SYS_CONNECT = 4170 178 SYS_GETPEERNAME = 4171 179 SYS_GETSOCKNAME = 4172 180 SYS_GETSOCKOPT = 4173 181 SYS_LISTEN = 4174 182 SYS_RECV = 4175 183 SYS_RECVFROM = 4176 184 SYS_RECVMSG = 4177 185 SYS_SEND = 4178 186 SYS_SENDMSG = 4179 187 SYS_SENDTO = 4180 188 SYS_SETSOCKOPT = 4181 189 SYS_SHUTDOWN = 4182 190 SYS_SOCKET = 4183 191 SYS_SOCKETPAIR = 4184 192 SYS_SETRESUID = 4185 193 SYS_GETRESUID = 4186 194 SYS_QUERY_MODULE = 4187 195 SYS_POLL = 4188 196 SYS_NFSSERVCTL = 4189 197 SYS_SETRESGID = 4190 198 SYS_GETRESGID = 4191 199 SYS_PRCTL = 4192 200 SYS_RT_SIGRETURN = 4193 201 SYS_RT_SIGACTION = 4194 202 SYS_RT_SIGPROCMASK = 4195 203 SYS_RT_SIGPENDING = 4196 204 SYS_RT_SIGTIMEDWAIT = 4197 205 SYS_RT_SIGQUEUEINFO = 4198 206 SYS_RT_SIGSUSPEND = 4199 207 SYS_PREAD64 = 4200 208 SYS_PWRITE64 = 4201 209 SYS_CHOWN = 4202 210 SYS_GETCWD = 4203 211 SYS_CAPGET = 4204 212 SYS_CAPSET = 4205 213 SYS_SIGALTSTACK = 4206 214 SYS_SENDFILE = 4207 215 SYS_GETPMSG = 4208 216 SYS_PUTPMSG = 4209 217 SYS_MMAP2 = 4210 218 SYS_TRUNCATE64 = 4211 219 SYS_FTRUNCATE64 = 4212 220 SYS_STAT64 = 4213 221 SYS_LSTAT64 = 4214 222 SYS_FSTAT64 = 4215 223 SYS_PIVOT_ROOT = 4216 224 SYS_MINCORE = 4217 225 SYS_MADVISE = 4218 226 SYS_GETDENTS64 = 4219 227 SYS_FCNTL64 = 4220 228 SYS_RESERVED221 = 4221 229 SYS_GETTID = 4222 230 SYS_READAHEAD = 4223 231 SYS_SETXATTR = 4224 232 SYS_LSETXATTR = 4225 233 SYS_FSETXATTR = 4226 234 SYS_GETXATTR = 4227 235 SYS_LGETXATTR = 4228 236 SYS_FGETXATTR = 4229 237 SYS_LISTXATTR = 4230 238 SYS_LLISTXATTR = 4231 239 SYS_FLISTXATTR = 4232 240 SYS_REMOVEXATTR = 4233 241 SYS_LREMOVEXATTR = 4234 242 SYS_FREMOVEXATTR = 4235 243 SYS_TKILL = 4236 244 SYS_SENDFILE64 = 4237 245 SYS_FUTEX = 4238 246 SYS_SCHED_SETAFFINITY = 4239 247 SYS_SCHED_GETAFFINITY = 4240 248 SYS_IO_SETUP = 4241 249 SYS_IO_DESTROY = 4242 250 SYS_IO_GETEVENTS = 4243 251 SYS_IO_SUBMIT = 4244 252 SYS_IO_CANCEL = 4245 253 SYS_EXIT_GROUP = 4246 254 SYS_LOOKUP_DCOOKIE = 4247 255 SYS_EPOLL_CREATE = 4248 256 SYS_EPOLL_CTL = 4249 257 SYS_EPOLL_WAIT = 4250 258 SYS_REMAP_FILE_PAGES = 4251 259 SYS_SET_TID_ADDRESS = 4252 260 SYS_RESTART_SYSCALL = 4253 261 SYS_FADVISE64 = 4254 262 SYS_STATFS64 = 4255 263 SYS_FSTATFS64 = 4256 264 SYS_TIMER_CREATE = 4257 265 SYS_TIMER_SETTIME = 4258 266 SYS_TIMER_GETTIME = 4259 267 SYS_TIMER_GETOVERRUN = 4260 268 SYS_TIMER_DELETE = 4261 269 SYS_CLOCK_SETTIME = 4262 270 SYS_CLOCK_GETTIME = 4263 271 SYS_CLOCK_GETRES = 4264 272 SYS_CLOCK_NANOSLEEP = 4265 273 SYS_TGKILL = 4266 274 SYS_UTIMES = 4267 275 SYS_MBIND = 4268 276 SYS_GET_MEMPOLICY = 4269 277 SYS_SET_MEMPOLICY = 4270 278 SYS_MQ_OPEN = 4271 279 SYS_MQ_UNLINK = 4272 280 SYS_MQ_TIMEDSEND = 4273 281 SYS_MQ_TIMEDRECEIVE = 4274 282 SYS_MQ_NOTIFY = 4275 283 SYS_MQ_GETSETATTR = 4276 284 SYS_VSERVER = 4277 285 SYS_WAITID = 4278 286 SYS_ADD_KEY = 4280 287 SYS_REQUEST_KEY = 4281 288 SYS_KEYCTL = 4282 289 SYS_SET_THREAD_AREA = 4283 290 SYS_INOTIFY_INIT = 4284 291 SYS_INOTIFY_ADD_WATCH = 4285 292 SYS_INOTIFY_RM_WATCH = 4286 293 SYS_MIGRATE_PAGES = 4287 294 SYS_OPENAT = 4288 295 SYS_MKDIRAT = 4289 296 SYS_MKNODAT = 4290 297 SYS_FCHOWNAT = 4291 298 SYS_FUTIMESAT = 4292 299 SYS_FSTATAT64 = 4293 300 SYS_UNLINKAT = 4294 301 SYS_RENAMEAT = 4295 302 SYS_LINKAT = 4296 303 SYS_SYMLINKAT = 4297 304 SYS_READLINKAT = 4298 305 SYS_FCHMODAT = 4299 306 SYS_FACCESSAT = 4300 307 SYS_PSELECT6 = 4301 308 SYS_PPOLL = 4302 309 SYS_UNSHARE = 4303 310 SYS_SPLICE = 4304 311 SYS_SYNC_FILE_RANGE = 4305 312 SYS_TEE = 4306 313 SYS_VMSPLICE = 4307 314 SYS_MOVE_PAGES = 4308 315 SYS_SET_ROBUST_LIST = 4309 316 SYS_GET_ROBUST_LIST = 4310 317 SYS_KEXEC_LOAD = 4311 318 SYS_GETCPU = 4312 319 SYS_EPOLL_PWAIT = 4313 320 SYS_IOPRIO_SET = 4314 321 SYS_IOPRIO_GET = 4315 322 SYS_UTIMENSAT = 4316 323 SYS_SIGNALFD = 4317 324 SYS_TIMERFD = 4318 325 SYS_EVENTFD = 4319 326 SYS_FALLOCATE = 4320 327 SYS_TIMERFD_CREATE = 4321 328 SYS_TIMERFD_GETTIME = 4322 329 SYS_TIMERFD_SETTIME = 4323 330 SYS_SIGNALFD4 = 4324 331 SYS_EVENTFD2 = 4325 332 SYS_EPOLL_CREATE1 = 4326 333 SYS_DUP3 = 4327 334 SYS_PIPE2 = 4328 335 SYS_INOTIFY_INIT1 = 4329 336 SYS_PREADV = 4330 337 SYS_PWRITEV = 4331 338 SYS_RT_TGSIGQUEUEINFO = 4332 339 SYS_PERF_EVENT_OPEN = 4333 340 SYS_ACCEPT4 = 4334 341 SYS_RECVMMSG = 4335 342 SYS_FANOTIFY_INIT = 4336 343 SYS_FANOTIFY_MARK = 4337 344 SYS_PRLIMIT64 = 4338 345 SYS_NAME_TO_HANDLE_AT = 4339 346 SYS_OPEN_BY_HANDLE_AT = 4340 347 SYS_CLOCK_ADJTIME = 4341 348 SYS_SYNCFS = 4342 349 SYS_SENDMMSG = 4343 350 SYS_SETNS = 4344 351 SYS_PROCESS_VM_READV = 4345 352 SYS_PROCESS_VM_WRITEV = 4346 353 SYS_LINUX_SYSCALLS = 4346 354 SYS_O32_LINUX_SYSCALLS = 4346 355 SYS_64_LINUX_SYSCALLS = 4305 356 SYS_N32_LINUX_SYSCALLS = 4310 357 ) 358