Source file src/syscall/zsysnum_darwin_amd64.go

     1  // mksysnum_darwin.pl /usr/include/sys/syscall.h
     2  // Code generated by the command above; DO NOT EDIT.
     3  
     4  package syscall
     5  
     6  const (
     7  	SYS_SYSCALL                        = 0
     8  	SYS_EXIT                           = 1
     9  	SYS_FORK                           = 2
    10  	SYS_READ                           = 3
    11  	SYS_WRITE                          = 4
    12  	SYS_OPEN                           = 5
    13  	SYS_CLOSE                          = 6
    14  	SYS_WAIT4                          = 7
    15  	SYS_LINK                           = 9
    16  	SYS_UNLINK                         = 10
    17  	SYS_CHDIR                          = 12
    18  	SYS_FCHDIR                         = 13
    19  	SYS_MKNOD                          = 14
    20  	SYS_CHMOD                          = 15
    21  	SYS_CHOWN                          = 16
    22  	SYS_GETFSSTAT                      = 18
    23  	SYS_GETPID                         = 20
    24  	SYS_SETUID                         = 23
    25  	SYS_GETUID                         = 24
    26  	SYS_GETEUID                        = 25
    27  	SYS_PTRACE                         = 26
    28  	SYS_RECVMSG                        = 27
    29  	SYS_SENDMSG                        = 28
    30  	SYS_RECVFROM                       = 29
    31  	SYS_ACCEPT                         = 30
    32  	SYS_GETPEERNAME                    = 31
    33  	SYS_GETSOCKNAME                    = 32
    34  	SYS_ACCESS                         = 33
    35  	SYS_CHFLAGS                        = 34
    36  	SYS_FCHFLAGS                       = 35
    37  	SYS_SYNC                           = 36
    38  	SYS_KILL                           = 37
    39  	SYS_GETPPID                        = 39
    40  	SYS_DUP                            = 41
    41  	SYS_PIPE                           = 42
    42  	SYS_GETEGID                        = 43
    43  	SYS_PROFIL                         = 44
    44  	SYS_SIGACTION                      = 46
    45  	SYS_GETGID                         = 47
    46  	SYS_SIGPROCMASK                    = 48
    47  	SYS_GETLOGIN                       = 49
    48  	SYS_SETLOGIN                       = 50
    49  	SYS_ACCT                           = 51
    50  	SYS_SIGPENDING                     = 52
    51  	SYS_SIGALTSTACK                    = 53
    52  	SYS_IOCTL                          = 54
    53  	SYS_REBOOT                         = 55
    54  	SYS_REVOKE                         = 56
    55  	SYS_SYMLINK                        = 57
    56  	SYS_READLINK                       = 58
    57  	SYS_EXECVE                         = 59
    58  	SYS_UMASK                          = 60
    59  	SYS_CHROOT                         = 61
    60  	SYS_MSYNC                          = 65
    61  	SYS_VFORK                          = 66
    62  	SYS_MUNMAP                         = 73
    63  	SYS_MPROTECT                       = 74
    64  	SYS_MADVISE                        = 75
    65  	SYS_MINCORE                        = 78
    66  	SYS_GETGROUPS                      = 79
    67  	SYS_SETGROUPS                      = 80
    68  	SYS_GETPGRP                        = 81
    69  	SYS_SETPGID                        = 82
    70  	SYS_SETITIMER                      = 83
    71  	SYS_SWAPON                         = 85
    72  	SYS_GETITIMER                      = 86
    73  	SYS_GETDTABLESIZE                  = 89
    74  	SYS_DUP2                           = 90
    75  	SYS_FCNTL                          = 92
    76  	SYS_SELECT                         = 93
    77  	SYS_FSYNC                          = 95
    78  	SYS_SETPRIORITY                    = 96
    79  	SYS_SOCKET                         = 97
    80  	SYS_CONNECT                        = 98
    81  	SYS_GETPRIORITY                    = 100
    82  	SYS_BIND                           = 104
    83  	SYS_SETSOCKOPT                     = 105
    84  	SYS_LISTEN                         = 106
    85  	SYS_SIGSUSPEND                     = 111
    86  	SYS_GETTIMEOFDAY                   = 116
    87  	SYS_GETRUSAGE                      = 117
    88  	SYS_GETSOCKOPT                     = 118
    89  	SYS_READV                          = 120
    90  	SYS_WRITEV                         = 121
    91  	SYS_SETTIMEOFDAY                   = 122
    92  	SYS_FCHOWN                         = 123
    93  	SYS_FCHMOD                         = 124
    94  	SYS_SETREUID                       = 126
    95  	SYS_SETREGID                       = 127
    96  	SYS_RENAME                         = 128
    97  	SYS_FLOCK                          = 131
    98  	SYS_MKFIFO                         = 132
    99  	SYS_SENDTO                         = 133
   100  	SYS_SHUTDOWN                       = 134
   101  	SYS_SOCKETPAIR                     = 135
   102  	SYS_MKDIR                          = 136
   103  	SYS_RMDIR                          = 137
   104  	SYS_UTIMES                         = 138
   105  	SYS_FUTIMES                        = 139
   106  	SYS_ADJTIME                        = 140
   107  	SYS_GETHOSTUUID                    = 142
   108  	SYS_SETSID                         = 147
   109  	SYS_GETPGID                        = 151
   110  	SYS_SETPRIVEXEC                    = 152
   111  	SYS_PREAD                          = 153
   112  	SYS_PWRITE                         = 154
   113  	SYS_NFSSVC                         = 155
   114  	SYS_STATFS                         = 157
   115  	SYS_FSTATFS                        = 158
   116  	SYS_UNMOUNT                        = 159
   117  	SYS_GETFH                          = 161
   118  	SYS_QUOTACTL                       = 165
   119  	SYS_MOUNT                          = 167
   120  	SYS_CSOPS                          = 169
   121  	SYS_WAITID                         = 173
   122  	SYS_ADD_PROFIL                     = 176
   123  	SYS_KDEBUG_TRACE                   = 180
   124  	SYS_SETGID                         = 181
   125  	SYS_SETEGID                        = 182
   126  	SYS_SETEUID                        = 183
   127  	SYS_SIGRETURN                      = 184
   128  	SYS_CHUD                           = 185
   129  	SYS_FDATASYNC                      = 187
   130  	SYS_STAT                           = 188
   131  	SYS_FSTAT                          = 189
   132  	SYS_LSTAT                          = 190
   133  	SYS_PATHCONF                       = 191
   134  	SYS_FPATHCONF                      = 192
   135  	SYS_GETRLIMIT                      = 194
   136  	SYS_SETRLIMIT                      = 195
   137  	SYS_GETDIRENTRIES                  = 196
   138  	SYS_MMAP                           = 197
   139  	SYS_LSEEK                          = 199
   140  	SYS_TRUNCATE                       = 200
   141  	SYS_FTRUNCATE                      = 201
   142  	SYS___SYSCTL                       = 202
   143  	SYS_MLOCK                          = 203
   144  	SYS_MUNLOCK                        = 204
   145  	SYS_UNDELETE                       = 205
   146  	SYS_ATSOCKET                       = 206
   147  	SYS_ATGETMSG                       = 207
   148  	SYS_ATPUTMSG                       = 208
   149  	SYS_ATPSNDREQ                      = 209
   150  	SYS_ATPSNDRSP                      = 210
   151  	SYS_ATPGETREQ                      = 211
   152  	SYS_ATPGETRSP                      = 212
   153  	SYS_MKCOMPLEX                      = 216
   154  	SYS_STATV                          = 217
   155  	SYS_LSTATV                         = 218
   156  	SYS_FSTATV                         = 219
   157  	SYS_GETATTRLIST                    = 220
   158  	SYS_SETATTRLIST                    = 221
   159  	SYS_GETDIRENTRIESATTR              = 222
   160  	SYS_EXCHANGEDATA                   = 223
   161  	SYS_SEARCHFS                       = 225
   162  	SYS_DELETE                         = 226
   163  	SYS_COPYFILE                       = 227
   164  	SYS_FGETATTRLIST                   = 228
   165  	SYS_FSETATTRLIST                   = 229
   166  	SYS_POLL                           = 230
   167  	SYS_WATCHEVENT                     = 231
   168  	SYS_WAITEVENT                      = 232
   169  	SYS_MODWATCH                       = 233
   170  	SYS_GETXATTR                       = 234
   171  	SYS_FGETXATTR                      = 235
   172  	SYS_SETXATTR                       = 236
   173  	SYS_FSETXATTR                      = 237
   174  	SYS_REMOVEXATTR                    = 238
   175  	SYS_FREMOVEXATTR                   = 239
   176  	SYS_LISTXATTR                      = 240
   177  	SYS_FLISTXATTR                     = 241
   178  	SYS_FSCTL                          = 242
   179  	SYS_INITGROUPS                     = 243
   180  	SYS_POSIX_SPAWN                    = 244
   181  	SYS_FFSCTL                         = 245
   182  	SYS_NFSCLNT                        = 247
   183  	SYS_FHOPEN                         = 248
   184  	SYS_MINHERIT                       = 250
   185  	SYS_SEMSYS                         = 251
   186  	SYS_MSGSYS                         = 252
   187  	SYS_SHMSYS                         = 253
   188  	SYS_SEMCTL                         = 254
   189  	SYS_SEMGET                         = 255
   190  	SYS_SEMOP                          = 256
   191  	SYS_MSGCTL                         = 258
   192  	SYS_MSGGET                         = 259
   193  	SYS_MSGSND                         = 260
   194  	SYS_MSGRCV                         = 261
   195  	SYS_SHMAT                          = 262
   196  	SYS_SHMCTL                         = 263
   197  	SYS_SHMDT                          = 264
   198  	SYS_SHMGET                         = 265
   199  	SYS_SHM_OPEN                       = 266
   200  	SYS_SHM_UNLINK                     = 267
   201  	SYS_SEM_OPEN                       = 268
   202  	SYS_SEM_CLOSE                      = 269
   203  	SYS_SEM_UNLINK                     = 270
   204  	SYS_SEM_WAIT                       = 271
   205  	SYS_SEM_TRYWAIT                    = 272
   206  	SYS_SEM_POST                       = 273
   207  	SYS_SEM_GETVALUE                   = 274
   208  	SYS_SEM_INIT                       = 275
   209  	SYS_SEM_DESTROY                    = 276
   210  	SYS_OPEN_EXTENDED                  = 277
   211  	SYS_UMASK_EXTENDED                 = 278
   212  	SYS_STAT_EXTENDED                  = 279
   213  	SYS_LSTAT_EXTENDED                 = 280
   214  	SYS_FSTAT_EXTENDED                 = 281
   215  	SYS_CHMOD_EXTENDED                 = 282
   216  	SYS_FCHMOD_EXTENDED                = 283
   217  	SYS_ACCESS_EXTENDED                = 284
   218  	SYS_SETTID                         = 285
   219  	SYS_GETTID                         = 286
   220  	SYS_SETSGROUPS                     = 287
   221  	SYS_GETSGROUPS                     = 288
   222  	SYS_SETWGROUPS                     = 289
   223  	SYS_GETWGROUPS                     = 290
   224  	SYS_MKFIFO_EXTENDED                = 291
   225  	SYS_MKDIR_EXTENDED                 = 292
   226  	SYS_IDENTITYSVC                    = 293
   227  	SYS_SHARED_REGION_CHECK_NP         = 294
   228  	SYS_VM_PRESSURE_MONITOR            = 296
   229  	SYS_PSYNCH_RW_LONGRDLOCK           = 297
   230  	SYS_PSYNCH_RW_YIELDWRLOCK          = 298
   231  	SYS_PSYNCH_RW_DOWNGRADE            = 299
   232  	SYS_PSYNCH_RW_UPGRADE              = 300
   233  	SYS_PSYNCH_MUTEXWAIT               = 301
   234  	SYS_PSYNCH_MUTEXDROP               = 302
   235  	SYS_PSYNCH_CVBROAD                 = 303
   236  	SYS_PSYNCH_CVSIGNAL                = 304
   237  	SYS_PSYNCH_CVWAIT                  = 305
   238  	SYS_PSYNCH_RW_RDLOCK               = 306
   239  	SYS_PSYNCH_RW_WRLOCK               = 307
   240  	SYS_PSYNCH_RW_UNLOCK               = 308
   241  	SYS_PSYNCH_RW_UNLOCK2              = 309
   242  	SYS_GETSID                         = 310
   243  	SYS_SETTID_WITH_PID                = 311
   244  	SYS_PSYNCH_CVCLRPREPOST            = 312
   245  	SYS_AIO_FSYNC                      = 313
   246  	SYS_AIO_RETURN                     = 314
   247  	SYS_AIO_SUSPEND                    = 315
   248  	SYS_AIO_CANCEL                     = 316
   249  	SYS_AIO_ERROR                      = 317
   250  	SYS_AIO_READ                       = 318
   251  	SYS_AIO_WRITE                      = 319
   252  	SYS_LIO_LISTIO                     = 320
   253  	SYS_IOPOLICYSYS                    = 322
   254  	SYS_PROCESS_POLICY                 = 323
   255  	SYS_MLOCKALL                       = 324
   256  	SYS_MUNLOCKALL                     = 325
   257  	SYS_ISSETUGID                      = 327
   258  	SYS___PTHREAD_KILL                 = 328
   259  	SYS___PTHREAD_SIGMASK              = 329
   260  	SYS___SIGWAIT                      = 330
   261  	SYS___DISABLE_THREADSIGNAL         = 331
   262  	SYS___PTHREAD_MARKCANCEL           = 332
   263  	SYS___PTHREAD_CANCELED             = 333
   264  	SYS___SEMWAIT_SIGNAL               = 334
   265  	SYS_PROC_INFO                      = 336
   266  	SYS_SENDFILE                       = 337
   267  	SYS_STAT64                         = 338
   268  	SYS_FSTAT64                        = 339
   269  	SYS_LSTAT64                        = 340
   270  	SYS_STAT64_EXTENDED                = 341
   271  	SYS_LSTAT64_EXTENDED               = 342
   272  	SYS_FSTAT64_EXTENDED               = 343
   273  	SYS_GETDIRENTRIES64                = 344
   274  	SYS_STATFS64                       = 345
   275  	SYS_FSTATFS64                      = 346
   276  	SYS_GETFSSTAT64                    = 347
   277  	SYS___PTHREAD_CHDIR                = 348
   278  	SYS___PTHREAD_FCHDIR               = 349
   279  	SYS_AUDIT                          = 350
   280  	SYS_AUDITON                        = 351
   281  	SYS_GETAUID                        = 353
   282  	SYS_SETAUID                        = 354
   283  	SYS_GETAUDIT                       = 355
   284  	SYS_SETAUDIT                       = 356
   285  	SYS_GETAUDIT_ADDR                  = 357
   286  	SYS_SETAUDIT_ADDR                  = 358
   287  	SYS_AUDITCTL                       = 359
   288  	SYS_BSDTHREAD_CREATE               = 360
   289  	SYS_BSDTHREAD_TERMINATE            = 361
   290  	SYS_KQUEUE                         = 362
   291  	SYS_KEVENT                         = 363
   292  	SYS_LCHOWN                         = 364
   293  	SYS_STACK_SNAPSHOT                 = 365
   294  	SYS_BSDTHREAD_REGISTER             = 366
   295  	SYS_WORKQ_OPEN                     = 367
   296  	SYS_WORKQ_KERNRETURN               = 368
   297  	SYS_KEVENT64                       = 369
   298  	SYS___OLD_SEMWAIT_SIGNAL           = 370
   299  	SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
   300  	SYS_THREAD_SELFID                  = 372
   301  	SYS___MAC_EXECVE                   = 380
   302  	SYS___MAC_SYSCALL                  = 381
   303  	SYS___MAC_GET_FILE                 = 382
   304  	SYS___MAC_SET_FILE                 = 383
   305  	SYS___MAC_GET_LINK                 = 384
   306  	SYS___MAC_SET_LINK                 = 385
   307  	SYS___MAC_GET_PROC                 = 386
   308  	SYS___MAC_SET_PROC                 = 387
   309  	SYS___MAC_GET_FD                   = 388
   310  	SYS___MAC_SET_FD                   = 389
   311  	SYS___MAC_GET_PID                  = 390
   312  	SYS___MAC_GET_LCID                 = 391
   313  	SYS___MAC_GET_LCTX                 = 392
   314  	SYS___MAC_SET_LCTX                 = 393
   315  	SYS_SETLCID                        = 394
   316  	SYS_GETLCID                        = 395
   317  	SYS_READ_NOCANCEL                  = 396
   318  	SYS_WRITE_NOCANCEL                 = 397
   319  	SYS_OPEN_NOCANCEL                  = 398
   320  	SYS_CLOSE_NOCANCEL                 = 399
   321  	SYS_WAIT4_NOCANCEL                 = 400
   322  	SYS_RECVMSG_NOCANCEL               = 401
   323  	SYS_SENDMSG_NOCANCEL               = 402
   324  	SYS_RECVFROM_NOCANCEL              = 403
   325  	SYS_ACCEPT_NOCANCEL                = 404
   326  	SYS_MSYNC_NOCANCEL                 = 405
   327  	SYS_FCNTL_NOCANCEL                 = 406
   328  	SYS_SELECT_NOCANCEL                = 407
   329  	SYS_FSYNC_NOCANCEL                 = 408
   330  	SYS_CONNECT_NOCANCEL               = 409
   331  	SYS_SIGSUSPEND_NOCANCEL            = 410
   332  	SYS_READV_NOCANCEL                 = 411
   333  	SYS_WRITEV_NOCANCEL                = 412
   334  	SYS_SENDTO_NOCANCEL                = 413
   335  	SYS_PREAD_NOCANCEL                 = 414
   336  	SYS_PWRITE_NOCANCEL                = 415
   337  	SYS_WAITID_NOCANCEL                = 416
   338  	SYS_POLL_NOCANCEL                  = 417
   339  	SYS_MSGSND_NOCANCEL                = 418
   340  	SYS_MSGRCV_NOCANCEL                = 419
   341  	SYS_SEM_WAIT_NOCANCEL              = 420
   342  	SYS_AIO_SUSPEND_NOCANCEL           = 421
   343  	SYS___SIGWAIT_NOCANCEL             = 422
   344  	SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
   345  	SYS___MAC_MOUNT                    = 424
   346  	SYS___MAC_GET_MOUNT                = 425
   347  	SYS___MAC_GETFSSTAT                = 426
   348  	SYS_FSGETPATH                      = 427
   349  	SYS_AUDIT_SESSION_SELF             = 428
   350  	SYS_AUDIT_SESSION_JOIN             = 429
   351  	SYS_FILEPORT_MAKEPORT              = 430
   352  	SYS_FILEPORT_MAKEFD                = 431
   353  	SYS_AUDIT_SESSION_PORT             = 432
   354  	SYS_PID_SUSPEND                    = 433
   355  	SYS_PID_RESUME                     = 434
   356  	SYS_PID_HIBERNATE                  = 435
   357  	SYS_PID_SHUTDOWN_SOCKETS           = 436
   358  	SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
   359  	SYS_MAXSYSCALL                     = 439
   360  )
   361  

View as plain text