Home | History | Annotate | Download | only in syscall
      1 // mksysnum_linux.pl /usr/include/asm/unistd.h
      2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
      3 
      4 package syscall
      5 
      6 const (
      7 	SYS_READ                   = 5000
      8 	SYS_WRITE                  = 5001
      9 	SYS_OPEN                   = 5002
     10 	SYS_CLOSE                  = 5003
     11 	SYS_STAT                   = 5004
     12 	SYS_FSTAT                  = 5005
     13 	SYS_LSTAT                  = 5006
     14 	SYS_POLL                   = 5007
     15 	SYS_LSEEK                  = 5008
     16 	SYS_MMAP                   = 5009
     17 	SYS_MPROTECT               = 5010
     18 	SYS_MUNMAP                 = 5011
     19 	SYS_BRK                    = 5012
     20 	SYS_RT_SIGACTION           = 5013
     21 	SYS_RT_SIGPROCMASK         = 5014
     22 	SYS_IOCTL                  = 5015
     23 	SYS_PREAD64                = 5016
     24 	SYS_PWRITE64               = 5017
     25 	SYS_READV                  = 5018
     26 	SYS_WRITEV                 = 5019
     27 	SYS_ACCESS                 = 5020
     28 	SYS_PIPE                   = 5021
     29 	SYS__NEWSELECT             = 5022
     30 	SYS_SCHED_YIELD            = 5023
     31 	SYS_MREMAP                 = 5024
     32 	SYS_MSYNC                  = 5025
     33 	SYS_MINCORE                = 5026
     34 	SYS_MADVISE                = 5027
     35 	SYS_SHMGET                 = 5028
     36 	SYS_SHMAT                  = 5029
     37 	SYS_SHMCTL                 = 5030
     38 	SYS_DUP                    = 5031
     39 	SYS_DUP2                   = 5032
     40 	SYS_PAUSE                  = 5033
     41 	SYS_NANOSLEEP              = 5034
     42 	SYS_GETITIMER              = 5035
     43 	SYS_SETITIMER              = 5036
     44 	SYS_ALARM                  = 5037
     45 	SYS_GETPID                 = 5038
     46 	SYS_SENDFILE               = 5039
     47 	SYS_SOCKET                 = 5040
     48 	SYS_CONNECT                = 5041
     49 	SYS_ACCEPT                 = 5042
     50 	SYS_SENDTO                 = 5043
     51 	SYS_RECVFROM               = 5044
     52 	SYS_SENDMSG                = 5045
     53 	SYS_RECVMSG                = 5046
     54 	SYS_SHUTDOWN               = 5047
     55 	SYS_BIND                   = 5048
     56 	SYS_LISTEN                 = 5049
     57 	SYS_GETSOCKNAME            = 5050
     58 	SYS_GETPEERNAME            = 5051
     59 	SYS_SOCKETPAIR             = 5052
     60 	SYS_SETSOCKOPT             = 5053
     61 	SYS_GETSOCKOPT             = 5054
     62 	SYS_CLONE                  = 5055
     63 	SYS_FORK                   = 5056
     64 	SYS_EXECVE                 = 5057
     65 	SYS_EXIT                   = 5058
     66 	SYS_WAIT4                  = 5059
     67 	SYS_KILL                   = 5060
     68 	SYS_UNAME                  = 5061
     69 	SYS_SEMGET                 = 5062
     70 	SYS_SEMOP                  = 5063
     71 	SYS_SEMCTL                 = 5064
     72 	SYS_SHMDT                  = 5065
     73 	SYS_MSGGET                 = 5066
     74 	SYS_MSGSND                 = 5067
     75 	SYS_MSGRCV                 = 5068
     76 	SYS_MSGCTL                 = 5069
     77 	SYS_FCNTL                  = 5070
     78 	SYS_FLOCK                  = 5071
     79 	SYS_FSYNC                  = 5072
     80 	SYS_FDATASYNC              = 5073
     81 	SYS_TRUNCATE               = 5074
     82 	SYS_FTRUNCATE              = 5075
     83 	SYS_GETDENTS               = 5076
     84 	SYS_GETCWD                 = 5077
     85 	SYS_CHDIR                  = 5078
     86 	SYS_FCHDIR                 = 5079
     87 	SYS_RENAME                 = 5080
     88 	SYS_MKDIR                  = 5081
     89 	SYS_RMDIR                  = 5082
     90 	SYS_CREAT                  = 5083
     91 	SYS_LINK                   = 5084
     92 	SYS_UNLINK                 = 5085
     93 	SYS_SYMLINK                = 5086
     94 	SYS_READLINK               = 5087
     95 	SYS_CHMOD                  = 5088
     96 	SYS_FCHMOD                 = 5089
     97 	SYS_CHOWN                  = 5090
     98 	SYS_FCHOWN                 = 5091
     99 	SYS_LCHOWN                 = 5092
    100 	SYS_UMASK                  = 5093
    101 	SYS_GETTIMEOFDAY           = 5094
    102 	SYS_GETRLIMIT              = 5095
    103 	SYS_GETRUSAGE              = 5096
    104 	SYS_SYSINFO                = 5097
    105 	SYS_TIMES                  = 5098
    106 	SYS_PTRACE                 = 5099
    107 	SYS_GETUID                 = 5100
    108 	SYS_SYSLOG                 = 5101
    109 	SYS_GETGID                 = 5102
    110 	SYS_SETUID                 = 5103
    111 	SYS_SETGID                 = 5104
    112 	SYS_GETEUID                = 5105
    113 	SYS_GETEGID                = 5106
    114 	SYS_SETPGID                = 5107
    115 	SYS_GETPPID                = 5108
    116 	SYS_GETPGRP                = 5109
    117 	SYS_SETSID                 = 5110
    118 	SYS_SETREUID               = 5111
    119 	SYS_SETREGID               = 5112
    120 	SYS_GETGROUPS              = 5113
    121 	SYS_SETGROUPS              = 5114
    122 	SYS_SETRESUID              = 5115
    123 	SYS_GETRESUID              = 5116
    124 	SYS_SETRESGID              = 5117
    125 	SYS_GETRESGID              = 5118
    126 	SYS_GETPGID                = 5119
    127 	SYS_SETFSUID               = 5120
    128 	SYS_SETFSGID               = 5121
    129 	SYS_GETSID                 = 5122
    130 	SYS_CAPGET                 = 5123
    131 	SYS_CAPSET                 = 5124
    132 	SYS_RT_SIGPENDING          = 5125
    133 	SYS_RT_SIGTIMEDWAIT        = 5126
    134 	SYS_RT_SIGQUEUEINFO        = 5127
    135 	SYS_RT_SIGSUSPEND          = 5128
    136 	SYS_SIGALTSTACK            = 5129
    137 	SYS_UTIME                  = 5130
    138 	SYS_MKNOD                  = 5131
    139 	SYS_PERSONALITY            = 5132
    140 	SYS_USTAT                  = 5133
    141 	SYS_STATFS                 = 5134
    142 	SYS_FSTATFS                = 5135
    143 	SYS_SYSFS                  = 5136
    144 	SYS_GETPRIORITY            = 5137
    145 	SYS_SETPRIORITY            = 5138
    146 	SYS_SCHED_SETPARAM         = 5139
    147 	SYS_SCHED_GETPARAM         = 5140
    148 	SYS_SCHED_SETSCHEDULER     = 5141
    149 	SYS_SCHED_GETSCHEDULER     = 5142
    150 	SYS_SCHED_GET_PRIORITY_MAX = 5143
    151 	SYS_SCHED_GET_PRIORITY_MIN = 5144
    152 	SYS_SCHED_RR_GET_INTERVAL  = 5145
    153 	SYS_MLOCK                  = 5146
    154 	SYS_MUNLOCK                = 5147
    155 	SYS_MLOCKALL               = 5148
    156 	SYS_MUNLOCKALL             = 5149
    157 	SYS_VHANGUP                = 5150
    158 	SYS_PIVOT_ROOT             = 5151
    159 	SYS__SYSCTL                = 5152
    160 	SYS_PRCTL                  = 5153
    161 	SYS_ADJTIMEX               = 5154
    162 	SYS_SETRLIMIT              = 5155
    163 	SYS_CHROOT                 = 5156
    164 	SYS_SYNC                   = 5157
    165 	SYS_ACCT                   = 5158
    166 	SYS_SETTIMEOFDAY           = 5159
    167 	SYS_MOUNT                  = 5160
    168 	SYS_UMOUNT2                = 5161
    169 	SYS_SWAPON                 = 5162
    170 	SYS_SWAPOFF                = 5163
    171 	SYS_REBOOT                 = 5164
    172 	SYS_SETHOSTNAME            = 5165
    173 	SYS_SETDOMAINNAME          = 5166
    174 	SYS_CREATE_MODULE          = 5167
    175 	SYS_INIT_MODULE            = 5168
    176 	SYS_DELETE_MODULE          = 5169
    177 	SYS_GET_KERNEL_SYMS        = 5170
    178 	SYS_QUERY_MODULE           = 5171
    179 	SYS_QUOTACTL               = 5172
    180 	SYS_NFSSERVCTL             = 5173
    181 	SYS_GETPMSG                = 5174
    182 	SYS_PUTPMSG                = 5175
    183 	SYS_AFS_SYSCALL            = 5176
    184 	SYS_RESERVED177            = 5177
    185 	SYS_GETTID                 = 5178
    186 	SYS_READAHEAD              = 5179
    187 	SYS_SETXATTR               = 5180
    188 	SYS_LSETXATTR              = 5181
    189 	SYS_FSETXATTR              = 5182
    190 	SYS_GETXATTR               = 5183
    191 	SYS_LGETXATTR              = 5184
    192 	SYS_FGETXATTR              = 5185
    193 	SYS_LISTXATTR              = 5186
    194 	SYS_LLISTXATTR             = 5187
    195 	SYS_FLISTXATTR             = 5188
    196 	SYS_REMOVEXATTR            = 5189
    197 	SYS_LREMOVEXATTR           = 5190
    198 	SYS_FREMOVEXATTR           = 5191
    199 	SYS_TKILL                  = 5192
    200 	SYS_RESERVED193            = 5193
    201 	SYS_FUTEX                  = 5194
    202 	SYS_SCHED_SETAFFINITY      = 5195
    203 	SYS_SCHED_GETAFFINITY      = 5196
    204 	SYS_CACHEFLUSH             = 5197
    205 	SYS_CACHECTL               = 5198
    206 	SYS_SYSMIPS                = 5199
    207 	SYS_IO_SETUP               = 5200
    208 	SYS_IO_DESTROY             = 5201
    209 	SYS_IO_GETEVENTS           = 5202
    210 	SYS_IO_SUBMIT              = 5203
    211 	SYS_IO_CANCEL              = 5204
    212 	SYS_EXIT_GROUP             = 5205
    213 	SYS_LOOKUP_DCOOKIE         = 5206
    214 	SYS_EPOLL_CREATE           = 5207
    215 	SYS_EPOLL_CTL              = 5208
    216 	SYS_EPOLL_WAIT             = 5209
    217 	SYS_REMAP_FILE_PAGES       = 5210
    218 	SYS_RT_SIGRETURN           = 5211
    219 	SYS_SET_TID_ADDRESS        = 5212
    220 	SYS_RESTART_SYSCALL        = 5213
    221 	SYS_SEMTIMEDOP             = 5214
    222 	SYS_FADVISE64              = 5215
    223 	SYS_TIMER_CREATE           = 5216
    224 	SYS_TIMER_SETTIME          = 5217
    225 	SYS_TIMER_GETTIME          = 5218
    226 	SYS_TIMER_GETOVERRUN       = 5219
    227 	SYS_TIMER_DELETE           = 5220
    228 	SYS_CLOCK_SETTIME          = 5221
    229 	SYS_CLOCK_GETTIME          = 5222
    230 	SYS_CLOCK_GETRES           = 5223
    231 	SYS_CLOCK_NANOSLEEP        = 5224
    232 	SYS_TGKILL                 = 5225
    233 	SYS_UTIMES                 = 5226
    234 	SYS_MBIND                  = 5227
    235 	SYS_GET_MEMPOLICY          = 5228
    236 	SYS_SET_MEMPOLICY          = 5229
    237 	SYS_MQ_OPEN                = 5230
    238 	SYS_MQ_UNLINK              = 5231
    239 	SYS_MQ_TIMEDSEND           = 5232
    240 	SYS_MQ_TIMEDRECEIVE        = 5233
    241 	SYS_MQ_NOTIFY              = 5234
    242 	SYS_MQ_GETSETATTR          = 5235
    243 	SYS_VSERVER                = 5236
    244 	SYS_WAITID                 = 5237
    245 	SYS_ADD_KEY                = 5239
    246 	SYS_REQUEST_KEY            = 5240
    247 	SYS_KEYCTL                 = 5241
    248 	SYS_SET_THREAD_AREA        = 5242
    249 	SYS_INOTIFY_INIT           = 5243
    250 	SYS_INOTIFY_ADD_WATCH      = 5244
    251 	SYS_INOTIFY_RM_WATCH       = 5245
    252 	SYS_MIGRATE_PAGES          = 5246
    253 	SYS_OPENAT                 = 5247
    254 	SYS_MKDIRAT                = 5248
    255 	SYS_MKNODAT                = 5249
    256 	SYS_FCHOWNAT               = 5250
    257 	SYS_FUTIMESAT              = 5251
    258 	SYS_NEWFSTATAT             = 5252
    259 	SYS_UNLINKAT               = 5253
    260 	SYS_RENAMEAT               = 5254
    261 	SYS_LINKAT                 = 5255
    262 	SYS_SYMLINKAT              = 5256
    263 	SYS_READLINKAT             = 5257
    264 	SYS_FCHMODAT               = 5258
    265 	SYS_FACCESSAT              = 5259
    266 	SYS_PSELECT6               = 5260
    267 	SYS_PPOLL                  = 5261
    268 	SYS_UNSHARE                = 5262
    269 	SYS_SPLICE                 = 5263
    270 	SYS_SYNC_FILE_RANGE        = 5264
    271 	SYS_TEE                    = 5265
    272 	SYS_VMSPLICE               = 5266
    273 	SYS_MOVE_PAGES             = 5267
    274 	SYS_SET_ROBUST_LIST        = 5268
    275 	SYS_GET_ROBUST_LIST        = 5269
    276 	SYS_KEXEC_LOAD             = 5270
    277 	SYS_GETCPU                 = 5271
    278 	SYS_EPOLL_PWAIT            = 5272
    279 	SYS_IOPRIO_SET             = 5273
    280 	SYS_IOPRIO_GET             = 5274
    281 	SYS_UTIMENSAT              = 5275
    282 	SYS_SIGNALFD               = 5276
    283 	SYS_TIMERFD                = 5277
    284 	SYS_EVENTFD                = 5278
    285 	SYS_FALLOCATE              = 5279
    286 	SYS_TIMERFD_CREATE         = 5280
    287 	SYS_TIMERFD_GETTIME        = 5281
    288 	SYS_TIMERFD_SETTIME        = 5282
    289 	SYS_SIGNALFD4              = 5283
    290 	SYS_EVENTFD2               = 5284
    291 	SYS_EPOLL_CREATE1          = 5285
    292 	SYS_DUP3                   = 5286
    293 	SYS_PIPE2                  = 5287
    294 	SYS_INOTIFY_INIT1          = 5288
    295 	SYS_PREADV                 = 5289
    296 	SYS_PWRITEV                = 5290
    297 	SYS_RT_TGSIGQUEUEINFO      = 5291
    298 	SYS_PERF_EVENT_OPEN        = 5292
    299 	SYS_ACCEPT4                = 5293
    300 	SYS_RECVMMSG               = 5294
    301 	SYS_FANOTIFY_INIT          = 5295
    302 	SYS_FANOTIFY_MARK          = 5296
    303 	SYS_PRLIMIT64              = 5297
    304 	SYS_NAME_TO_HANDLE_AT      = 5298
    305 	SYS_OPEN_BY_HANDLE_AT      = 5299
    306 	SYS_CLOCK_ADJTIME          = 5300
    307 	SYS_SYNCFS                 = 5301
    308 	SYS_SENDMMSG               = 5302
    309 	SYS_SETNS                  = 5303
    310 	SYS_PROCESS_VM_READV       = 5304
    311 	SYS_PROCESS_VM_WRITEV      = 5305
    312 	SYS_KCMP                   = 5306
    313 	SYS_FINIT_MODULE           = 5307
    314 	SYS_GETDENTS64             = 5308
    315 	SYS_SCHED_SETATTR          = 5309
    316 	SYS_SCHED_GETATTR          = 5310
    317 	SYS_RENAMEAT2              = 5311
    318 	SYS_SECCOMP                = 5312
    319 	SYS_GETRANDOM              = 5313
    320 	SYS_MEMFD_CREATE           = 5314
    321 	SYS_BPF                    = 5315
    322 	SYS_EXECVEAT               = 5316
    323 )
    324