1 // mksysnum_linux.pl 2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT 3 4 // +build arm,linux 5 6 package syscall 7 8 const ( 9 SYS_OABI_SYSCALL_BASE = 0 10 SYS_SYSCALL_BASE = 0 11 SYS_RESTART_SYSCALL = 0 12 SYS_EXIT = 1 13 SYS_FORK = 2 14 SYS_READ = 3 15 SYS_WRITE = 4 16 SYS_OPEN = 5 17 SYS_CLOSE = 6 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_LSEEK = 19 28 SYS_GETPID = 20 29 SYS_MOUNT = 21 30 SYS_UMOUNT = 22 31 SYS_SETUID = 23 32 SYS_GETUID = 24 33 SYS_STIME = 25 34 SYS_PTRACE = 26 35 SYS_ALARM = 27 36 SYS_PAUSE = 29 37 SYS_UTIME = 30 38 SYS_ACCESS = 33 39 SYS_NICE = 34 40 SYS_SYNC = 36 41 SYS_KILL = 37 42 SYS_RENAME = 38 43 SYS_MKDIR = 39 44 SYS_RMDIR = 40 45 SYS_DUP = 41 46 SYS_PIPE = 42 47 SYS_TIMES = 43 48 SYS_BRK = 45 49 SYS_SETGID = 46 50 SYS_GETGID = 47 51 SYS_GETEUID = 49 52 SYS_GETEGID = 50 53 SYS_ACCT = 51 54 SYS_UMOUNT2 = 52 55 SYS_IOCTL = 54 56 SYS_FCNTL = 55 57 SYS_SETPGID = 57 58 SYS_UMASK = 60 59 SYS_CHROOT = 61 60 SYS_USTAT = 62 61 SYS_DUP2 = 63 62 SYS_GETPPID = 64 63 SYS_GETPGRP = 65 64 SYS_SETSID = 66 65 SYS_SIGACTION = 67 66 SYS_SETREUID = 70 67 SYS_SETREGID = 71 68 SYS_SIGSUSPEND = 72 69 SYS_SIGPENDING = 73 70 SYS_SETHOSTNAME = 74 71 SYS_SETRLIMIT = 75 72 SYS_GETRLIMIT = 76 73 SYS_GETRUSAGE = 77 74 SYS_GETTIMEOFDAY = 78 75 SYS_SETTIMEOFDAY = 79 76 SYS_GETGROUPS = 80 77 SYS_SETGROUPS = 81 78 SYS_SELECT = 82 79 SYS_SYMLINK = 83 80 SYS_READLINK = 85 81 SYS_USELIB = 86 82 SYS_SWAPON = 87 83 SYS_REBOOT = 88 84 SYS_READDIR = 89 85 SYS_MMAP = 90 86 SYS_MUNMAP = 91 87 SYS_TRUNCATE = 92 88 SYS_FTRUNCATE = 93 89 SYS_FCHMOD = 94 90 SYS_FCHOWN = 95 91 SYS_GETPRIORITY = 96 92 SYS_SETPRIORITY = 97 93 SYS_STATFS = 99 94 SYS_FSTATFS = 100 95 SYS_SOCKETCALL = 102 96 SYS_SYSLOG = 103 97 SYS_SETITIMER = 104 98 SYS_GETITIMER = 105 99 SYS_STAT = 106 100 SYS_LSTAT = 107 101 SYS_FSTAT = 108 102 SYS_VHANGUP = 111 103 SYS_SYSCALL = 113 104 SYS_WAIT4 = 114 105 SYS_SWAPOFF = 115 106 SYS_SYSINFO = 116 107 SYS_IPC = 117 108 SYS_FSYNC = 118 109 SYS_SIGRETURN = 119 110 SYS_CLONE = 120 111 SYS_SETDOMAINNAME = 121 112 SYS_UNAME = 122 113 SYS_ADJTIMEX = 124 114 SYS_MPROTECT = 125 115 SYS_SIGPROCMASK = 126 116 SYS_INIT_MODULE = 128 117 SYS_DELETE_MODULE = 129 118 SYS_QUOTACTL = 131 119 SYS_GETPGID = 132 120 SYS_FCHDIR = 133 121 SYS_BDFLUSH = 134 122 SYS_SYSFS = 135 123 SYS_PERSONALITY = 136 124 SYS_SETFSUID = 138 125 SYS_SETFSGID = 139 126 SYS__LLSEEK = 140 127 SYS_GETDENTS = 141 128 SYS__NEWSELECT = 142 129 SYS_FLOCK = 143 130 SYS_MSYNC = 144 131 SYS_READV = 145 132 SYS_WRITEV = 146 133 SYS_GETSID = 147 134 SYS_FDATASYNC = 148 135 SYS__SYSCTL = 149 136 SYS_MLOCK = 150 137 SYS_MUNLOCK = 151 138 SYS_MLOCKALL = 152 139 SYS_MUNLOCKALL = 153 140 SYS_SCHED_SETPARAM = 154 141 SYS_SCHED_GETPARAM = 155 142 SYS_SCHED_SETSCHEDULER = 156 143 SYS_SCHED_GETSCHEDULER = 157 144 SYS_SCHED_YIELD = 158 145 SYS_SCHED_GET_PRIORITY_MAX = 159 146 SYS_SCHED_GET_PRIORITY_MIN = 160 147 SYS_SCHED_RR_GET_INTERVAL = 161 148 SYS_NANOSLEEP = 162 149 SYS_MREMAP = 163 150 SYS_SETRESUID = 164 151 SYS_GETRESUID = 165 152 SYS_POLL = 168 153 SYS_NFSSERVCTL = 169 154 SYS_SETRESGID = 170 155 SYS_GETRESGID = 171 156 SYS_PRCTL = 172 157 SYS_RT_SIGRETURN = 173 158 SYS_RT_SIGACTION = 174 159 SYS_RT_SIGPROCMASK = 175 160 SYS_RT_SIGPENDING = 176 161 SYS_RT_SIGTIMEDWAIT = 177 162 SYS_RT_SIGQUEUEINFO = 178 163 SYS_RT_SIGSUSPEND = 179 164 SYS_PREAD64 = 180 165 SYS_PWRITE64 = 181 166 SYS_CHOWN = 182 167 SYS_GETCWD = 183 168 SYS_CAPGET = 184 169 SYS_CAPSET = 185 170 SYS_SIGALTSTACK = 186 171 SYS_SENDFILE = 187 172 SYS_VFORK = 190 173 SYS_UGETRLIMIT = 191 174 SYS_MMAP2 = 192 175 SYS_TRUNCATE64 = 193 176 SYS_FTRUNCATE64 = 194 177 SYS_STAT64 = 195 178 SYS_LSTAT64 = 196 179 SYS_FSTAT64 = 197 180 SYS_LCHOWN32 = 198 181 SYS_GETUID32 = 199 182 SYS_GETGID32 = 200 183 SYS_GETEUID32 = 201 184 SYS_GETEGID32 = 202 185 SYS_SETREUID32 = 203 186 SYS_SETREGID32 = 204 187 SYS_GETGROUPS32 = 205 188 SYS_SETGROUPS32 = 206 189 SYS_FCHOWN32 = 207 190 SYS_SETRESUID32 = 208 191 SYS_GETRESUID32 = 209 192 SYS_SETRESGID32 = 210 193 SYS_GETRESGID32 = 211 194 SYS_CHOWN32 = 212 195 SYS_SETUID32 = 213 196 SYS_SETGID32 = 214 197 SYS_SETFSUID32 = 215 198 SYS_SETFSGID32 = 216 199 SYS_GETDENTS64 = 217 200 SYS_PIVOT_ROOT = 218 201 SYS_MINCORE = 219 202 SYS_MADVISE = 220 203 SYS_FCNTL64 = 221 204 SYS_GETTID = 224 205 SYS_READAHEAD = 225 206 SYS_SETXATTR = 226 207 SYS_LSETXATTR = 227 208 SYS_FSETXATTR = 228 209 SYS_GETXATTR = 229 210 SYS_LGETXATTR = 230 211 SYS_FGETXATTR = 231 212 SYS_LISTXATTR = 232 213 SYS_LLISTXATTR = 233 214 SYS_FLISTXATTR = 234 215 SYS_REMOVEXATTR = 235 216 SYS_LREMOVEXATTR = 236 217 SYS_FREMOVEXATTR = 237 218 SYS_TKILL = 238 219 SYS_SENDFILE64 = 239 220 SYS_FUTEX = 240 221 SYS_SCHED_SETAFFINITY = 241 222 SYS_SCHED_GETAFFINITY = 242 223 SYS_IO_SETUP = 243 224 SYS_IO_DESTROY = 244 225 SYS_IO_GETEVENTS = 245 226 SYS_IO_SUBMIT = 246 227 SYS_IO_CANCEL = 247 228 SYS_EXIT_GROUP = 248 229 SYS_LOOKUP_DCOOKIE = 249 230 SYS_EPOLL_CREATE = 250 231 SYS_EPOLL_CTL = 251 232 SYS_EPOLL_WAIT = 252 233 SYS_REMAP_FILE_PAGES = 253 234 SYS_SET_TID_ADDRESS = 256 235 SYS_TIMER_CREATE = 257 236 SYS_TIMER_SETTIME = 258 237 SYS_TIMER_GETTIME = 259 238 SYS_TIMER_GETOVERRUN = 260 239 SYS_TIMER_DELETE = 261 240 SYS_CLOCK_SETTIME = 262 241 SYS_CLOCK_GETTIME = 263 242 SYS_CLOCK_GETRES = 264 243 SYS_CLOCK_NANOSLEEP = 265 244 SYS_STATFS64 = 266 245 SYS_FSTATFS64 = 267 246 SYS_TGKILL = 268 247 SYS_UTIMES = 269 248 SYS_ARM_FADVISE64_64 = 270 249 SYS_PCICONFIG_IOBASE = 271 250 SYS_PCICONFIG_READ = 272 251 SYS_PCICONFIG_WRITE = 273 252 SYS_MQ_OPEN = 274 253 SYS_MQ_UNLINK = 275 254 SYS_MQ_TIMEDSEND = 276 255 SYS_MQ_TIMEDRECEIVE = 277 256 SYS_MQ_NOTIFY = 278 257 SYS_MQ_GETSETATTR = 279 258 SYS_WAITID = 280 259 SYS_SOCKET = 281 260 SYS_BIND = 282 261 SYS_CONNECT = 283 262 SYS_LISTEN = 284 263 SYS_ACCEPT = 285 264 SYS_GETSOCKNAME = 286 265 SYS_GETPEERNAME = 287 266 SYS_SOCKETPAIR = 288 267 SYS_SEND = 289 268 SYS_SENDTO = 290 269 SYS_RECV = 291 270 SYS_RECVFROM = 292 271 SYS_SHUTDOWN = 293 272 SYS_SETSOCKOPT = 294 273 SYS_GETSOCKOPT = 295 274 SYS_SENDMSG = 296 275 SYS_RECVMSG = 297 276 SYS_SEMOP = 298 277 SYS_SEMGET = 299 278 SYS_SEMCTL = 300 279 SYS_MSGSND = 301 280 SYS_MSGRCV = 302 281 SYS_MSGGET = 303 282 SYS_MSGCTL = 304 283 SYS_SHMAT = 305 284 SYS_SHMDT = 306 285 SYS_SHMGET = 307 286 SYS_SHMCTL = 308 287 SYS_ADD_KEY = 309 288 SYS_REQUEST_KEY = 310 289 SYS_KEYCTL = 311 290 SYS_SEMTIMEDOP = 312 291 SYS_VSERVER = 313 292 SYS_IOPRIO_SET = 314 293 SYS_IOPRIO_GET = 315 294 SYS_INOTIFY_INIT = 316 295 SYS_INOTIFY_ADD_WATCH = 317 296 SYS_INOTIFY_RM_WATCH = 318 297 SYS_MBIND = 319 298 SYS_GET_MEMPOLICY = 320 299 SYS_SET_MEMPOLICY = 321 300 SYS_OPENAT = 322 301 SYS_MKDIRAT = 323 302 SYS_MKNODAT = 324 303 SYS_FCHOWNAT = 325 304 SYS_FUTIMESAT = 326 305 SYS_FSTATAT64 = 327 306 SYS_UNLINKAT = 328 307 SYS_RENAMEAT = 329 308 SYS_LINKAT = 330 309 SYS_SYMLINKAT = 331 310 SYS_READLINKAT = 332 311 SYS_FCHMODAT = 333 312 SYS_FACCESSAT = 334 313 SYS_PSELECT6 = 335 314 SYS_PPOLL = 336 315 SYS_UNSHARE = 337 316 SYS_SET_ROBUST_LIST = 338 317 SYS_GET_ROBUST_LIST = 339 318 SYS_SPLICE = 340 319 SYS_ARM_SYNC_FILE_RANGE = 341 320 SYS_TEE = 342 321 SYS_VMSPLICE = 343 322 SYS_MOVE_PAGES = 344 323 SYS_GETCPU = 345 324 SYS_EPOLL_PWAIT = 346 325 SYS_KEXEC_LOAD = 347 326 SYS_UTIMENSAT = 348 327 SYS_SIGNALFD = 349 328 SYS_TIMERFD_CREATE = 350 329 SYS_EVENTFD = 351 330 SYS_FALLOCATE = 352 331 SYS_TIMERFD_SETTIME = 353 332 SYS_TIMERFD_GETTIME = 354 333 SYS_SIGNALFD4 = 355 334 SYS_EVENTFD2 = 356 335 SYS_EPOLL_CREATE1 = 357 336 SYS_DUP3 = 358 337 SYS_PIPE2 = 359 338 SYS_INOTIFY_INIT1 = 360 339 SYS_PREADV = 361 340 SYS_PWRITEV = 362 341 SYS_RT_TGSIGQUEUEINFO = 363 342 SYS_PERF_EVENT_OPEN = 364 343 SYS_RECVMMSG = 365 344 SYS_ACCEPT4 = 366 345 SYS_FANOTIFY_INIT = 367 346 SYS_FANOTIFY_MARK = 368 347 SYS_PRLIMIT64 = 369 348 SYS_NAME_TO_HANDLE_AT = 370 349 SYS_OPEN_BY_HANDLE_AT = 371 350 SYS_CLOCK_ADJTIME = 372 351 SYS_SYNCFS = 373 352 SYS_SENDMMSG = 374 353 SYS_SETNS = 375 354 SYS_PROCESS_VM_READV = 376 355 SYS_PROCESS_VM_WRITEV = 377 356 ) 357