Home | History | Annotate | Download | only in syscall
      1 // mksysnum_linux.pl /usr/include/asm/unistd_32.h
      2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
      3 
      4 // +build 386,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_VM86OLD                = 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_VM86                   = 166
    176 	SYS_QUERY_MODULE           = 167
    177 	SYS_POLL                   = 168
    178 	SYS_NFSSERVCTL             = 169
    179 	SYS_SETRESGID              = 170
    180 	SYS_GETRESGID              = 171
    181 	SYS_PRCTL                  = 172
    182 	SYS_RT_SIGRETURN           = 173
    183 	SYS_RT_SIGACTION           = 174
    184 	SYS_RT_SIGPROCMASK         = 175
    185 	SYS_RT_SIGPENDING          = 176
    186 	SYS_RT_SIGTIMEDWAIT        = 177
    187 	SYS_RT_SIGQUEUEINFO        = 178
    188 	SYS_RT_SIGSUSPEND          = 179
    189 	SYS_PREAD64                = 180
    190 	SYS_PWRITE64               = 181
    191 	SYS_CHOWN                  = 182
    192 	SYS_GETCWD                 = 183
    193 	SYS_CAPGET                 = 184
    194 	SYS_CAPSET                 = 185
    195 	SYS_SIGALTSTACK            = 186
    196 	SYS_SENDFILE               = 187
    197 	SYS_GETPMSG                = 188
    198 	SYS_PUTPMSG                = 189
    199 	SYS_VFORK                  = 190
    200 	SYS_UGETRLIMIT             = 191
    201 	SYS_MMAP2                  = 192
    202 	SYS_TRUNCATE64             = 193
    203 	SYS_FTRUNCATE64            = 194
    204 	SYS_STAT64                 = 195
    205 	SYS_LSTAT64                = 196
    206 	SYS_FSTAT64                = 197
    207 	SYS_LCHOWN32               = 198
    208 	SYS_GETUID32               = 199
    209 	SYS_GETGID32               = 200
    210 	SYS_GETEUID32              = 201
    211 	SYS_GETEGID32              = 202
    212 	SYS_SETREUID32             = 203
    213 	SYS_SETREGID32             = 204
    214 	SYS_GETGROUPS32            = 205
    215 	SYS_SETGROUPS32            = 206
    216 	SYS_FCHOWN32               = 207
    217 	SYS_SETRESUID32            = 208
    218 	SYS_GETRESUID32            = 209
    219 	SYS_SETRESGID32            = 210
    220 	SYS_GETRESGID32            = 211
    221 	SYS_CHOWN32                = 212
    222 	SYS_SETUID32               = 213
    223 	SYS_SETGID32               = 214
    224 	SYS_SETFSUID32             = 215
    225 	SYS_SETFSGID32             = 216
    226 	SYS_PIVOT_ROOT             = 217
    227 	SYS_MINCORE                = 218
    228 	SYS_MADVISE                = 219
    229 	SYS_MADVISE1               = 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 )
    348