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