Source file src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

     1  // mkerrors.sh -Wall -Werror -static -I/tmp/include -m32
     2  // Code generated by the command above; see README.md. DO NOT EDIT.
     3  
     4  //go:build 386 && linux
     5  // +build 386,linux
     6  
     7  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     8  // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/unix/_const.go
     9  
    10  package unix
    11  
    12  import "syscall"
    13  
    14  const (
    15  	B1000000                         = 0x1008
    16  	B115200                          = 0x1002
    17  	B1152000                         = 0x1009
    18  	B1500000                         = 0x100a
    19  	B2000000                         = 0x100b
    20  	B230400                          = 0x1003
    21  	B2500000                         = 0x100c
    22  	B3000000                         = 0x100d
    23  	B3500000                         = 0x100e
    24  	B4000000                         = 0x100f
    25  	B460800                          = 0x1004
    26  	B500000                          = 0x1005
    27  	B57600                           = 0x1001
    28  	B576000                          = 0x1006
    29  	B921600                          = 0x1007
    30  	BLKBSZGET                        = 0x80041270
    31  	BLKBSZSET                        = 0x40041271
    32  	BLKFLSBUF                        = 0x1261
    33  	BLKFRAGET                        = 0x1265
    34  	BLKFRASET                        = 0x1264
    35  	BLKGETSIZE                       = 0x1260
    36  	BLKGETSIZE64                     = 0x80041272
    37  	BLKPBSZGET                       = 0x127b
    38  	BLKRAGET                         = 0x1263
    39  	BLKRASET                         = 0x1262
    40  	BLKROGET                         = 0x125e
    41  	BLKROSET                         = 0x125d
    42  	BLKRRPART                        = 0x125f
    43  	BLKSECTGET                       = 0x1267
    44  	BLKSECTSET                       = 0x1266
    45  	BLKSSZGET                        = 0x1268
    46  	BOTHER                           = 0x1000
    47  	BS1                              = 0x2000
    48  	BSDLY                            = 0x2000
    49  	CBAUD                            = 0x100f
    50  	CBAUDEX                          = 0x1000
    51  	CIBAUD                           = 0x100f0000
    52  	CLOCAL                           = 0x800
    53  	CR1                              = 0x200
    54  	CR2                              = 0x400
    55  	CR3                              = 0x600
    56  	CRDLY                            = 0x600
    57  	CREAD                            = 0x80
    58  	CS6                              = 0x10
    59  	CS7                              = 0x20
    60  	CS8                              = 0x30
    61  	CSIZE                            = 0x30
    62  	CSTOPB                           = 0x40
    63  	ECCGETLAYOUT                     = 0x81484d11
    64  	ECCGETSTATS                      = 0x80104d12
    65  	ECHOCTL                          = 0x200
    66  	ECHOE                            = 0x10
    67  	ECHOK                            = 0x20
    68  	ECHOKE                           = 0x800
    69  	ECHONL                           = 0x40
    70  	ECHOPRT                          = 0x400
    71  	EFD_CLOEXEC                      = 0x80000
    72  	EFD_NONBLOCK                     = 0x800
    73  	EPOLL_CLOEXEC                    = 0x80000
    74  	EXTPROC                          = 0x10000
    75  	FF1                              = 0x8000
    76  	FFDLY                            = 0x8000
    77  	FICLONE                          = 0x40049409
    78  	FICLONERANGE                     = 0x4020940d
    79  	FLUSHO                           = 0x1000
    80  	FP_XSTATE_MAGIC2                 = 0x46505845
    81  	FS_IOC_ENABLE_VERITY             = 0x40806685
    82  	FS_IOC_GETFLAGS                  = 0x80046601
    83  	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b
    84  	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615
    85  	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614
    86  	FS_IOC_SETFLAGS                  = 0x40046602
    87  	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613
    88  	F_GETLK                          = 0xc
    89  	F_GETLK64                        = 0xc
    90  	F_GETOWN                         = 0x9
    91  	F_RDLCK                          = 0x0
    92  	F_SETLK                          = 0xd
    93  	F_SETLK64                        = 0xd
    94  	F_SETLKW                         = 0xe
    95  	F_SETLKW64                       = 0xe
    96  	F_SETOWN                         = 0x8
    97  	F_UNLCK                          = 0x2
    98  	F_WRLCK                          = 0x1
    99  	HIDIOCGRAWINFO                   = 0x80084803
   100  	HIDIOCGRDESC                     = 0x90044802
   101  	HIDIOCGRDESCSIZE                 = 0x80044801
   102  	HUPCL                            = 0x400
   103  	ICANON                           = 0x2
   104  	IEXTEN                           = 0x8000
   105  	IN_CLOEXEC                       = 0x80000
   106  	IN_NONBLOCK                      = 0x800
   107  	IOCTL_VM_SOCKETS_GET_LOCAL_CID   = 0x7b9
   108  	ISIG                             = 0x1
   109  	IUCLC                            = 0x200
   110  	IXOFF                            = 0x1000
   111  	IXON                             = 0x400
   112  	MAP_32BIT                        = 0x40
   113  	MAP_ANON                         = 0x20
   114  	MAP_ANONYMOUS                    = 0x20
   115  	MAP_DENYWRITE                    = 0x800
   116  	MAP_EXECUTABLE                   = 0x1000
   117  	MAP_GROWSDOWN                    = 0x100
   118  	MAP_HUGETLB                      = 0x40000
   119  	MAP_LOCKED                       = 0x2000
   120  	MAP_NONBLOCK                     = 0x10000
   121  	MAP_NORESERVE                    = 0x4000
   122  	MAP_POPULATE                     = 0x8000
   123  	MAP_STACK                        = 0x20000
   124  	MAP_SYNC                         = 0x80000
   125  	MCL_CURRENT                      = 0x1
   126  	MCL_FUTURE                       = 0x2
   127  	MCL_ONFAULT                      = 0x4
   128  	MEMERASE                         = 0x40084d02
   129  	MEMERASE64                       = 0x40104d14
   130  	MEMGETBADBLOCK                   = 0x40084d0b
   131  	MEMGETINFO                       = 0x80204d01
   132  	MEMGETOOBSEL                     = 0x80c84d0a
   133  	MEMGETREGIONCOUNT                = 0x80044d07
   134  	MEMISLOCKED                      = 0x80084d17
   135  	MEMLOCK                          = 0x40084d05
   136  	MEMREADOOB                       = 0xc00c4d04
   137  	MEMSETBADBLOCK                   = 0x40084d0c
   138  	MEMUNLOCK                        = 0x40084d06
   139  	MEMWRITEOOB                      = 0xc00c4d03
   140  	MTDFILEMODE                      = 0x4d13
   141  	NFDBITS                          = 0x20
   142  	NLDLY                            = 0x100
   143  	NOFLSH                           = 0x80
   144  	NS_GET_NSTYPE                    = 0xb703
   145  	NS_GET_OWNER_UID                 = 0xb704
   146  	NS_GET_PARENT                    = 0xb702
   147  	NS_GET_USERNS                    = 0xb701
   148  	OLCUC                            = 0x2
   149  	ONLCR                            = 0x4
   150  	OTPERASE                         = 0x400c4d19
   151  	OTPGETREGIONCOUNT                = 0x40044d0e
   152  	OTPGETREGIONINFO                 = 0x400c4d0f
   153  	OTPLOCK                          = 0x800c4d10
   154  	OTPSELECT                        = 0x80044d0d
   155  	O_APPEND                         = 0x400
   156  	O_ASYNC                          = 0x2000
   157  	O_CLOEXEC                        = 0x80000
   158  	O_CREAT                          = 0x40
   159  	O_DIRECT                         = 0x4000
   160  	O_DIRECTORY                      = 0x10000
   161  	O_DSYNC                          = 0x1000
   162  	O_EXCL                           = 0x80
   163  	O_FSYNC                          = 0x101000
   164  	O_LARGEFILE                      = 0x8000
   165  	O_NDELAY                         = 0x800
   166  	O_NOATIME                        = 0x40000
   167  	O_NOCTTY                         = 0x100
   168  	O_NOFOLLOW                       = 0x20000
   169  	O_NONBLOCK                       = 0x800
   170  	O_PATH                           = 0x200000
   171  	O_RSYNC                          = 0x101000
   172  	O_SYNC                           = 0x101000
   173  	O_TMPFILE                        = 0x410000
   174  	O_TRUNC                          = 0x200
   175  	PARENB                           = 0x100
   176  	PARODD                           = 0x200
   177  	PENDIN                           = 0x4000
   178  	PERF_EVENT_IOC_DISABLE           = 0x2401
   179  	PERF_EVENT_IOC_ENABLE            = 0x2400
   180  	PERF_EVENT_IOC_ID                = 0x80042407
   181  	PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4004240b
   182  	PERF_EVENT_IOC_PAUSE_OUTPUT      = 0x40042409
   183  	PERF_EVENT_IOC_PERIOD            = 0x40082404
   184  	PERF_EVENT_IOC_QUERY_BPF         = 0xc004240a
   185  	PERF_EVENT_IOC_REFRESH           = 0x2402
   186  	PERF_EVENT_IOC_RESET             = 0x2403
   187  	PERF_EVENT_IOC_SET_BPF           = 0x40042408
   188  	PERF_EVENT_IOC_SET_FILTER        = 0x40042406
   189  	PERF_EVENT_IOC_SET_OUTPUT        = 0x2405
   190  	PPPIOCATTACH                     = 0x4004743d
   191  	PPPIOCATTCHAN                    = 0x40047438
   192  	PPPIOCBRIDGECHAN                 = 0x40047435
   193  	PPPIOCCONNECT                    = 0x4004743a
   194  	PPPIOCDETACH                     = 0x4004743c
   195  	PPPIOCDISCONN                    = 0x7439
   196  	PPPIOCGASYNCMAP                  = 0x80047458
   197  	PPPIOCGCHAN                      = 0x80047437
   198  	PPPIOCGDEBUG                     = 0x80047441
   199  	PPPIOCGFLAGS                     = 0x8004745a
   200  	PPPIOCGIDLE                      = 0x8008743f
   201  	PPPIOCGIDLE32                    = 0x8008743f
   202  	PPPIOCGIDLE64                    = 0x8010743f
   203  	PPPIOCGL2TPSTATS                 = 0x80487436
   204  	PPPIOCGMRU                       = 0x80047453
   205  	PPPIOCGRASYNCMAP                 = 0x80047455
   206  	PPPIOCGUNIT                      = 0x80047456
   207  	PPPIOCGXASYNCMAP                 = 0x80207450
   208  	PPPIOCSACTIVE                    = 0x40087446
   209  	PPPIOCSASYNCMAP                  = 0x40047457
   210  	PPPIOCSCOMPRESS                  = 0x400c744d
   211  	PPPIOCSDEBUG                     = 0x40047440
   212  	PPPIOCSFLAGS                     = 0x40047459
   213  	PPPIOCSMAXCID                    = 0x40047451
   214  	PPPIOCSMRRU                      = 0x4004743b
   215  	PPPIOCSMRU                       = 0x40047452
   216  	PPPIOCSNPMODE                    = 0x4008744b
   217  	PPPIOCSPASS                      = 0x40087447
   218  	PPPIOCSRASYNCMAP                 = 0x40047454
   219  	PPPIOCSXASYNCMAP                 = 0x4020744f
   220  	PPPIOCUNBRIDGECHAN               = 0x7434
   221  	PPPIOCXFERUNIT                   = 0x744e
   222  	PR_SET_PTRACER_ANY               = 0xffffffff
   223  	PTRACE_GETFPREGS                 = 0xe
   224  	PTRACE_GETFPXREGS                = 0x12
   225  	PTRACE_GET_THREAD_AREA           = 0x19
   226  	PTRACE_OLDSETOPTIONS             = 0x15
   227  	PTRACE_SETFPREGS                 = 0xf
   228  	PTRACE_SETFPXREGS                = 0x13
   229  	PTRACE_SET_THREAD_AREA           = 0x1a
   230  	PTRACE_SINGLEBLOCK               = 0x21
   231  	PTRACE_SYSEMU                    = 0x1f
   232  	PTRACE_SYSEMU_SINGLESTEP         = 0x20
   233  	RLIMIT_AS                        = 0x9
   234  	RLIMIT_MEMLOCK                   = 0x8
   235  	RLIMIT_NOFILE                    = 0x7
   236  	RLIMIT_NPROC                     = 0x6
   237  	RLIMIT_RSS                       = 0x5
   238  	RNDADDENTROPY                    = 0x40085203
   239  	RNDADDTOENTCNT                   = 0x40045201
   240  	RNDCLEARPOOL                     = 0x5206
   241  	RNDGETENTCNT                     = 0x80045200
   242  	RNDGETPOOL                       = 0x80085202
   243  	RNDRESEEDCRNG                    = 0x5207
   244  	RNDZAPENTCNT                     = 0x5204
   245  	RTC_AIE_OFF                      = 0x7002
   246  	RTC_AIE_ON                       = 0x7001
   247  	RTC_ALM_READ                     = 0x80247008
   248  	RTC_ALM_SET                      = 0x40247007
   249  	RTC_EPOCH_READ                   = 0x8004700d
   250  	RTC_EPOCH_SET                    = 0x4004700e
   251  	RTC_IRQP_READ                    = 0x8004700b
   252  	RTC_IRQP_SET                     = 0x4004700c
   253  	RTC_PIE_OFF                      = 0x7006
   254  	RTC_PIE_ON                       = 0x7005
   255  	RTC_PLL_GET                      = 0x801c7011
   256  	RTC_PLL_SET                      = 0x401c7012
   257  	RTC_RD_TIME                      = 0x80247009
   258  	RTC_SET_TIME                     = 0x4024700a
   259  	RTC_UIE_OFF                      = 0x7004
   260  	RTC_UIE_ON                       = 0x7003
   261  	RTC_VL_CLR                       = 0x7014
   262  	RTC_VL_READ                      = 0x80047013
   263  	RTC_WIE_OFF                      = 0x7010
   264  	RTC_WIE_ON                       = 0x700f
   265  	RTC_WKALM_RD                     = 0x80287010
   266  	RTC_WKALM_SET                    = 0x4028700f
   267  	SCM_TIMESTAMPING                 = 0x25
   268  	SCM_TIMESTAMPING_OPT_STATS       = 0x36
   269  	SCM_TIMESTAMPING_PKTINFO         = 0x3a
   270  	SCM_TIMESTAMPNS                  = 0x23
   271  	SCM_TXTIME                       = 0x3d
   272  	SCM_WIFI_STATUS                  = 0x29
   273  	SFD_CLOEXEC                      = 0x80000
   274  	SFD_NONBLOCK                     = 0x800
   275  	SIOCATMARK                       = 0x8905
   276  	SIOCGPGRP                        = 0x8904
   277  	SIOCGSTAMPNS_NEW                 = 0x80108907
   278  	SIOCGSTAMP_NEW                   = 0x80108906
   279  	SIOCINQ                          = 0x541b
   280  	SIOCOUTQ                         = 0x5411
   281  	SIOCSPGRP                        = 0x8902
   282  	SOCK_CLOEXEC                     = 0x80000
   283  	SOCK_DGRAM                       = 0x2
   284  	SOCK_NONBLOCK                    = 0x800
   285  	SOCK_STREAM                      = 0x1
   286  	SOL_SOCKET                       = 0x1
   287  	SO_ACCEPTCONN                    = 0x1e
   288  	SO_ATTACH_BPF                    = 0x32
   289  	SO_ATTACH_REUSEPORT_CBPF         = 0x33
   290  	SO_ATTACH_REUSEPORT_EBPF         = 0x34
   291  	SO_BINDTODEVICE                  = 0x19
   292  	SO_BINDTOIFINDEX                 = 0x3e
   293  	SO_BPF_EXTENSIONS                = 0x30
   294  	SO_BROADCAST                     = 0x6
   295  	SO_BSDCOMPAT                     = 0xe
   296  	SO_BUF_LOCK                      = 0x48
   297  	SO_BUSY_POLL                     = 0x2e
   298  	SO_BUSY_POLL_BUDGET              = 0x46
   299  	SO_CNX_ADVICE                    = 0x35
   300  	SO_COOKIE                        = 0x39
   301  	SO_DETACH_REUSEPORT_BPF          = 0x44
   302  	SO_DOMAIN                        = 0x27
   303  	SO_DONTROUTE                     = 0x5
   304  	SO_ERROR                         = 0x4
   305  	SO_INCOMING_CPU                  = 0x31
   306  	SO_INCOMING_NAPI_ID              = 0x38
   307  	SO_KEEPALIVE                     = 0x9
   308  	SO_LINGER                        = 0xd
   309  	SO_LOCK_FILTER                   = 0x2c
   310  	SO_MARK                          = 0x24
   311  	SO_MAX_PACING_RATE               = 0x2f
   312  	SO_MEMINFO                       = 0x37
   313  	SO_NETNS_COOKIE                  = 0x47
   314  	SO_NOFCS                         = 0x2b
   315  	SO_OOBINLINE                     = 0xa
   316  	SO_PASSCRED                      = 0x10
   317  	SO_PASSSEC                       = 0x22
   318  	SO_PEEK_OFF                      = 0x2a
   319  	SO_PEERCRED                      = 0x11
   320  	SO_PEERGROUPS                    = 0x3b
   321  	SO_PEERSEC                       = 0x1f
   322  	SO_PREFER_BUSY_POLL              = 0x45
   323  	SO_PROTOCOL                      = 0x26
   324  	SO_RCVBUF                        = 0x8
   325  	SO_RCVBUFFORCE                   = 0x21
   326  	SO_RCVLOWAT                      = 0x12
   327  	SO_RCVTIMEO                      = 0x14
   328  	SO_RCVTIMEO_NEW                  = 0x42
   329  	SO_RCVTIMEO_OLD                  = 0x14
   330  	SO_REUSEADDR                     = 0x2
   331  	SO_REUSEPORT                     = 0xf
   332  	SO_RXQ_OVFL                      = 0x28
   333  	SO_SECURITY_AUTHENTICATION       = 0x16
   334  	SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
   335  	SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
   336  	SO_SELECT_ERR_QUEUE              = 0x2d
   337  	SO_SNDBUF                        = 0x7
   338  	SO_SNDBUFFORCE                   = 0x20
   339  	SO_SNDLOWAT                      = 0x13
   340  	SO_SNDTIMEO                      = 0x15
   341  	SO_SNDTIMEO_NEW                  = 0x43
   342  	SO_SNDTIMEO_OLD                  = 0x15
   343  	SO_TIMESTAMPING                  = 0x25
   344  	SO_TIMESTAMPING_NEW              = 0x41
   345  	SO_TIMESTAMPING_OLD              = 0x25
   346  	SO_TIMESTAMPNS                   = 0x23
   347  	SO_TIMESTAMPNS_NEW               = 0x40
   348  	SO_TIMESTAMPNS_OLD               = 0x23
   349  	SO_TIMESTAMP_NEW                 = 0x3f
   350  	SO_TXTIME                        = 0x3d
   351  	SO_TYPE                          = 0x3
   352  	SO_WIFI_STATUS                   = 0x29
   353  	SO_ZEROCOPY                      = 0x3c
   354  	TAB1                             = 0x800
   355  	TAB2                             = 0x1000
   356  	TAB3                             = 0x1800
   357  	TABDLY                           = 0x1800
   358  	TCFLSH                           = 0x540b
   359  	TCGETA                           = 0x5405
   360  	TCGETS                           = 0x5401
   361  	TCGETS2                          = 0x802c542a
   362  	TCGETX                           = 0x5432
   363  	TCSAFLUSH                        = 0x2
   364  	TCSBRK                           = 0x5409
   365  	TCSBRKP                          = 0x5425
   366  	TCSETA                           = 0x5406
   367  	TCSETAF                          = 0x5408
   368  	TCSETAW                          = 0x5407
   369  	TCSETS                           = 0x5402
   370  	TCSETS2                          = 0x402c542b
   371  	TCSETSF                          = 0x5404
   372  	TCSETSF2                         = 0x402c542d
   373  	TCSETSW                          = 0x5403
   374  	TCSETSW2                         = 0x402c542c
   375  	TCSETX                           = 0x5433
   376  	TCSETXF                          = 0x5434
   377  	TCSETXW                          = 0x5435
   378  	TCXONC                           = 0x540a
   379  	TFD_CLOEXEC                      = 0x80000
   380  	TFD_NONBLOCK                     = 0x800
   381  	TIOCCBRK                         = 0x5428
   382  	TIOCCONS                         = 0x541d
   383  	TIOCEXCL                         = 0x540c
   384  	TIOCGDEV                         = 0x80045432
   385  	TIOCGETD                         = 0x5424
   386  	TIOCGEXCL                        = 0x80045440
   387  	TIOCGICOUNT                      = 0x545d
   388  	TIOCGISO7816                     = 0x80285442
   389  	TIOCGLCKTRMIOS                   = 0x5456
   390  	TIOCGPGRP                        = 0x540f
   391  	TIOCGPKT                         = 0x80045438
   392  	TIOCGPTLCK                       = 0x80045439
   393  	TIOCGPTN                         = 0x80045430
   394  	TIOCGPTPEER                      = 0x5441
   395  	TIOCGRS485                       = 0x542e
   396  	TIOCGSERIAL                      = 0x541e
   397  	TIOCGSID                         = 0x5429
   398  	TIOCGSOFTCAR                     = 0x5419
   399  	TIOCGWINSZ                       = 0x5413
   400  	TIOCINQ                          = 0x541b
   401  	TIOCLINUX                        = 0x541c
   402  	TIOCMBIC                         = 0x5417
   403  	TIOCMBIS                         = 0x5416
   404  	TIOCMGET                         = 0x5415
   405  	TIOCMIWAIT                       = 0x545c
   406  	TIOCMSET                         = 0x5418
   407  	TIOCM_CAR                        = 0x40
   408  	TIOCM_CD                         = 0x40
   409  	TIOCM_CTS                        = 0x20
   410  	TIOCM_DSR                        = 0x100
   411  	TIOCM_RI                         = 0x80
   412  	TIOCM_RNG                        = 0x80
   413  	TIOCM_SR                         = 0x10
   414  	TIOCM_ST                         = 0x8
   415  	TIOCNOTTY                        = 0x5422
   416  	TIOCNXCL                         = 0x540d
   417  	TIOCOUTQ                         = 0x5411
   418  	TIOCPKT                          = 0x5420
   419  	TIOCSBRK                         = 0x5427
   420  	TIOCSCTTY                        = 0x540e
   421  	TIOCSERCONFIG                    = 0x5453
   422  	TIOCSERGETLSR                    = 0x5459
   423  	TIOCSERGETMULTI                  = 0x545a
   424  	TIOCSERGSTRUCT                   = 0x5458
   425  	TIOCSERGWILD                     = 0x5454
   426  	TIOCSERSETMULTI                  = 0x545b
   427  	TIOCSERSWILD                     = 0x5455
   428  	TIOCSER_TEMT                     = 0x1
   429  	TIOCSETD                         = 0x5423
   430  	TIOCSIG                          = 0x40045436
   431  	TIOCSISO7816                     = 0xc0285443
   432  	TIOCSLCKTRMIOS                   = 0x5457
   433  	TIOCSPGRP                        = 0x5410
   434  	TIOCSPTLCK                       = 0x40045431
   435  	TIOCSRS485                       = 0x542f
   436  	TIOCSSERIAL                      = 0x541f
   437  	TIOCSSOFTCAR                     = 0x541a
   438  	TIOCSTI                          = 0x5412
   439  	TIOCSWINSZ                       = 0x5414
   440  	TIOCVHANGUP                      = 0x5437
   441  	TOSTOP                           = 0x100
   442  	TUNATTACHFILTER                  = 0x400854d5
   443  	TUNDETACHFILTER                  = 0x400854d6
   444  	TUNGETDEVNETNS                   = 0x54e3
   445  	TUNGETFEATURES                   = 0x800454cf
   446  	TUNGETFILTER                     = 0x800854db
   447  	TUNGETIFF                        = 0x800454d2
   448  	TUNGETSNDBUF                     = 0x800454d3
   449  	TUNGETVNETBE                     = 0x800454df
   450  	TUNGETVNETHDRSZ                  = 0x800454d7
   451  	TUNGETVNETLE                     = 0x800454dd
   452  	TUNSETCARRIER                    = 0x400454e2
   453  	TUNSETDEBUG                      = 0x400454c9
   454  	TUNSETFILTEREBPF                 = 0x800454e1
   455  	TUNSETGROUP                      = 0x400454ce
   456  	TUNSETIFF                        = 0x400454ca
   457  	TUNSETIFINDEX                    = 0x400454da
   458  	TUNSETLINK                       = 0x400454cd
   459  	TUNSETNOCSUM                     = 0x400454c8
   460  	TUNSETOFFLOAD                    = 0x400454d0
   461  	TUNSETOWNER                      = 0x400454cc
   462  	TUNSETPERSIST                    = 0x400454cb
   463  	TUNSETQUEUE                      = 0x400454d9
   464  	TUNSETSNDBUF                     = 0x400454d4
   465  	TUNSETSTEERINGEBPF               = 0x800454e0
   466  	TUNSETTXFILTER                   = 0x400454d1
   467  	TUNSETVNETBE                     = 0x400454de
   468  	TUNSETVNETHDRSZ                  = 0x400454d8
   469  	TUNSETVNETLE                     = 0x400454dc
   470  	UBI_IOCATT                       = 0x40186f40
   471  	UBI_IOCDET                       = 0x40046f41
   472  	UBI_IOCEBCH                      = 0x40044f02
   473  	UBI_IOCEBER                      = 0x40044f01
   474  	UBI_IOCEBISMAP                   = 0x80044f05
   475  	UBI_IOCEBMAP                     = 0x40084f03
   476  	UBI_IOCEBUNMAP                   = 0x40044f04
   477  	UBI_IOCMKVOL                     = 0x40986f00
   478  	UBI_IOCRMVOL                     = 0x40046f01
   479  	UBI_IOCRNVOL                     = 0x51106f03
   480  	UBI_IOCRPEB                      = 0x40046f04
   481  	UBI_IOCRSVOL                     = 0x400c6f02
   482  	UBI_IOCSETVOLPROP                = 0x40104f06
   483  	UBI_IOCSPEB                      = 0x40046f05
   484  	UBI_IOCVOLCRBLK                  = 0x40804f07
   485  	UBI_IOCVOLRMBLK                  = 0x4f08
   486  	UBI_IOCVOLUP                     = 0x40084f00
   487  	VDISCARD                         = 0xd
   488  	VEOF                             = 0x4
   489  	VEOL                             = 0xb
   490  	VEOL2                            = 0x10
   491  	VMIN                             = 0x6
   492  	VREPRINT                         = 0xc
   493  	VSTART                           = 0x8
   494  	VSTOP                            = 0x9
   495  	VSUSP                            = 0xa
   496  	VSWTC                            = 0x7
   497  	VT1                              = 0x4000
   498  	VTDLY                            = 0x4000
   499  	VTIME                            = 0x5
   500  	VWERASE                          = 0xe
   501  	WDIOC_GETBOOTSTATUS              = 0x80045702
   502  	WDIOC_GETPRETIMEOUT              = 0x80045709
   503  	WDIOC_GETSTATUS                  = 0x80045701
   504  	WDIOC_GETSUPPORT                 = 0x80285700
   505  	WDIOC_GETTEMP                    = 0x80045703
   506  	WDIOC_GETTIMELEFT                = 0x8004570a
   507  	WDIOC_GETTIMEOUT                 = 0x80045707
   508  	WDIOC_KEEPALIVE                  = 0x80045705
   509  	WDIOC_SETOPTIONS                 = 0x80045704
   510  	WORDSIZE                         = 0x20
   511  	X86_FXSR_MAGIC                   = 0x0
   512  	XCASE                            = 0x4
   513  	XTABS                            = 0x1800
   514  	_HIDIOCGRAWNAME                  = 0x80804804
   515  	_HIDIOCGRAWPHYS                  = 0x80404805
   516  	_HIDIOCGRAWUNIQ                  = 0x80404808
   517  )
   518  
   519  // Errors
   520  const (
   521  	EADDRINUSE      = syscall.Errno(0x62)
   522  	EADDRNOTAVAIL   = syscall.Errno(0x63)
   523  	EADV            = syscall.Errno(0x44)
   524  	EAFNOSUPPORT    = syscall.Errno(0x61)
   525  	EALREADY        = syscall.Errno(0x72)
   526  	EBADE           = syscall.Errno(0x34)
   527  	EBADFD          = syscall.Errno(0x4d)
   528  	EBADMSG         = syscall.Errno(0x4a)
   529  	EBADR           = syscall.Errno(0x35)
   530  	EBADRQC         = syscall.Errno(0x38)
   531  	EBADSLT         = syscall.Errno(0x39)
   532  	EBFONT          = syscall.Errno(0x3b)
   533  	ECANCELED       = syscall.Errno(0x7d)
   534  	ECHRNG          = syscall.Errno(0x2c)
   535  	ECOMM           = syscall.Errno(0x46)
   536  	ECONNABORTED    = syscall.Errno(0x67)
   537  	ECONNREFUSED    = syscall.Errno(0x6f)
   538  	ECONNRESET      = syscall.Errno(0x68)
   539  	EDEADLK         = syscall.Errno(0x23)
   540  	EDEADLOCK       = syscall.Errno(0x23)
   541  	EDESTADDRREQ    = syscall.Errno(0x59)
   542  	EDOTDOT         = syscall.Errno(0x49)
   543  	EDQUOT          = syscall.Errno(0x7a)
   544  	EHOSTDOWN       = syscall.Errno(0x70)
   545  	EHOSTUNREACH    = syscall.Errno(0x71)
   546  	EHWPOISON       = syscall.Errno(0x85)
   547  	EIDRM           = syscall.Errno(0x2b)
   548  	EILSEQ          = syscall.Errno(0x54)
   549  	EINPROGRESS     = syscall.Errno(0x73)
   550  	EISCONN         = syscall.Errno(0x6a)
   551  	EISNAM          = syscall.Errno(0x78)
   552  	EKEYEXPIRED     = syscall.Errno(0x7f)
   553  	EKEYREJECTED    = syscall.Errno(0x81)
   554  	EKEYREVOKED     = syscall.Errno(0x80)
   555  	EL2HLT          = syscall.Errno(0x33)
   556  	EL2NSYNC        = syscall.Errno(0x2d)
   557  	EL3HLT          = syscall.Errno(0x2e)
   558  	EL3RST          = syscall.Errno(0x2f)
   559  	ELIBACC         = syscall.Errno(0x4f)
   560  	ELIBBAD         = syscall.Errno(0x50)
   561  	ELIBEXEC        = syscall.Errno(0x53)
   562  	ELIBMAX         = syscall.Errno(0x52)
   563  	ELIBSCN         = syscall.Errno(0x51)
   564  	ELNRNG          = syscall.Errno(0x30)
   565  	ELOOP           = syscall.Errno(0x28)
   566  	EMEDIUMTYPE     = syscall.Errno(0x7c)
   567  	EMSGSIZE        = syscall.Errno(0x5a)
   568  	EMULTIHOP       = syscall.Errno(0x48)
   569  	ENAMETOOLONG    = syscall.Errno(0x24)
   570  	ENAVAIL         = syscall.Errno(0x77)
   571  	ENETDOWN        = syscall.Errno(0x64)
   572  	ENETRESET       = syscall.Errno(0x66)
   573  	ENETUNREACH     = syscall.Errno(0x65)
   574  	ENOANO          = syscall.Errno(0x37)
   575  	ENOBUFS         = syscall.Errno(0x69)
   576  	ENOCSI          = syscall.Errno(0x32)
   577  	ENODATA         = syscall.Errno(0x3d)
   578  	ENOKEY          = syscall.Errno(0x7e)
   579  	ENOLCK          = syscall.Errno(0x25)
   580  	ENOLINK         = syscall.Errno(0x43)
   581  	ENOMEDIUM       = syscall.Errno(0x7b)
   582  	ENOMSG          = syscall.Errno(0x2a)
   583  	ENONET          = syscall.Errno(0x40)
   584  	ENOPKG          = syscall.Errno(0x41)
   585  	ENOPROTOOPT     = syscall.Errno(0x5c)
   586  	ENOSR           = syscall.Errno(0x3f)
   587  	ENOSTR          = syscall.Errno(0x3c)
   588  	ENOSYS          = syscall.Errno(0x26)
   589  	ENOTCONN        = syscall.Errno(0x6b)
   590  	ENOTEMPTY       = syscall.Errno(0x27)
   591  	ENOTNAM         = syscall.Errno(0x76)
   592  	ENOTRECOVERABLE = syscall.Errno(0x83)
   593  	ENOTSOCK        = syscall.Errno(0x58)
   594  	ENOTSUP         = syscall.Errno(0x5f)
   595  	ENOTUNIQ        = syscall.Errno(0x4c)
   596  	EOPNOTSUPP      = syscall.Errno(0x5f)
   597  	EOVERFLOW       = syscall.Errno(0x4b)
   598  	EOWNERDEAD      = syscall.Errno(0x82)
   599  	EPFNOSUPPORT    = syscall.Errno(0x60)
   600  	EPROTO          = syscall.Errno(0x47)
   601  	EPROTONOSUPPORT = syscall.Errno(0x5d)
   602  	EPROTOTYPE      = syscall.Errno(0x5b)
   603  	EREMCHG         = syscall.Errno(0x4e)
   604  	EREMOTE         = syscall.Errno(0x42)
   605  	EREMOTEIO       = syscall.Errno(0x79)
   606  	ERESTART        = syscall.Errno(0x55)
   607  	ERFKILL         = syscall.Errno(0x84)
   608  	ESHUTDOWN       = syscall.Errno(0x6c)
   609  	ESOCKTNOSUPPORT = syscall.Errno(0x5e)
   610  	ESRMNT          = syscall.Errno(0x45)
   611  	ESTALE          = syscall.Errno(0x74)
   612  	ESTRPIPE        = syscall.Errno(0x56)
   613  	ETIME           = syscall.Errno(0x3e)
   614  	ETIMEDOUT       = syscall.Errno(0x6e)
   615  	ETOOMANYREFS    = syscall.Errno(0x6d)
   616  	EUCLEAN         = syscall.Errno(0x75)
   617  	EUNATCH         = syscall.Errno(0x31)
   618  	EUSERS          = syscall.Errno(0x57)
   619  	EXFULL          = syscall.Errno(0x36)
   620  )
   621  
   622  // Signals
   623  const (
   624  	SIGBUS    = syscall.Signal(0x7)
   625  	SIGCHLD   = syscall.Signal(0x11)
   626  	SIGCLD    = syscall.Signal(0x11)
   627  	SIGCONT   = syscall.Signal(0x12)
   628  	SIGIO     = syscall.Signal(0x1d)
   629  	SIGPOLL   = syscall.Signal(0x1d)
   630  	SIGPROF   = syscall.Signal(0x1b)
   631  	SIGPWR    = syscall.Signal(0x1e)
   632  	SIGSTKFLT = syscall.Signal(0x10)
   633  	SIGSTOP   = syscall.Signal(0x13)
   634  	SIGSYS    = syscall.Signal(0x1f)
   635  	SIGTSTP   = syscall.Signal(0x14)
   636  	SIGTTIN   = syscall.Signal(0x15)
   637  	SIGTTOU   = syscall.Signal(0x16)
   638  	SIGURG    = syscall.Signal(0x17)
   639  	SIGUSR1   = syscall.Signal(0xa)
   640  	SIGUSR2   = syscall.Signal(0xc)
   641  	SIGVTALRM = syscall.Signal(0x1a)
   642  	SIGWINCH  = syscall.Signal(0x1c)
   643  	SIGXCPU   = syscall.Signal(0x18)
   644  	SIGXFSZ   = syscall.Signal(0x19)
   645  )
   646  
   647  // Error table
   648  var errorList = [...]struct {
   649  	num  syscall.Errno
   650  	name string
   651  	desc string
   652  }{
   653  	{1, "EPERM", "operation not permitted"},
   654  	{2, "ENOENT", "no such file or directory"},
   655  	{3, "ESRCH", "no such process"},
   656  	{4, "EINTR", "interrupted system call"},
   657  	{5, "EIO", "input/output error"},
   658  	{6, "ENXIO", "no such device or address"},
   659  	{7, "E2BIG", "argument list too long"},
   660  	{8, "ENOEXEC", "exec format error"},
   661  	{9, "EBADF", "bad file descriptor"},
   662  	{10, "ECHILD", "no child processes"},
   663  	{11, "EAGAIN", "resource temporarily unavailable"},
   664  	{12, "ENOMEM", "cannot allocate memory"},
   665  	{13, "EACCES", "permission denied"},
   666  	{14, "EFAULT", "bad address"},
   667  	{15, "ENOTBLK", "block device required"},
   668  	{16, "EBUSY", "device or resource busy"},
   669  	{17, "EEXIST", "file exists"},
   670  	{18, "EXDEV", "invalid cross-device link"},
   671  	{19, "ENODEV", "no such device"},
   672  	{20, "ENOTDIR", "not a directory"},
   673  	{21, "EISDIR", "is a directory"},
   674  	{22, "EINVAL", "invalid argument"},
   675  	{23, "ENFILE", "too many open files in system"},
   676  	{24, "EMFILE", "too many open files"},
   677  	{25, "ENOTTY", "inappropriate ioctl for device"},
   678  	{26, "ETXTBSY", "text file busy"},
   679  	{27, "EFBIG", "file too large"},
   680  	{28, "ENOSPC", "no space left on device"},
   681  	{29, "ESPIPE", "illegal seek"},
   682  	{30, "EROFS", "read-only file system"},
   683  	{31, "EMLINK", "too many links"},
   684  	{32, "EPIPE", "broken pipe"},
   685  	{33, "EDOM", "numerical argument out of domain"},
   686  	{34, "ERANGE", "numerical result out of range"},
   687  	{35, "EDEADLK", "resource deadlock avoided"},
   688  	{36, "ENAMETOOLONG", "file name too long"},
   689  	{37, "ENOLCK", "no locks available"},
   690  	{38, "ENOSYS", "function not implemented"},
   691  	{39, "ENOTEMPTY", "directory not empty"},
   692  	{40, "ELOOP", "too many levels of symbolic links"},
   693  	{42, "ENOMSG", "no message of desired type"},
   694  	{43, "EIDRM", "identifier removed"},
   695  	{44, "ECHRNG", "channel number out of range"},
   696  	{45, "EL2NSYNC", "level 2 not synchronized"},
   697  	{46, "EL3HLT", "level 3 halted"},
   698  	{47, "EL3RST", "level 3 reset"},
   699  	{48, "ELNRNG", "link number out of range"},
   700  	{49, "EUNATCH", "protocol driver not attached"},
   701  	{50, "ENOCSI", "no CSI structure available"},
   702  	{51, "EL2HLT", "level 2 halted"},
   703  	{52, "EBADE", "invalid exchange"},
   704  	{53, "EBADR", "invalid request descriptor"},
   705  	{54, "EXFULL", "exchange full"},
   706  	{55, "ENOANO", "no anode"},
   707  	{56, "EBADRQC", "invalid request code"},
   708  	{57, "EBADSLT", "invalid slot"},
   709  	{59, "EBFONT", "bad font file format"},
   710  	{60, "ENOSTR", "device not a stream"},
   711  	{61, "ENODATA", "no data available"},
   712  	{62, "ETIME", "timer expired"},
   713  	{63, "ENOSR", "out of streams resources"},
   714  	{64, "ENONET", "machine is not on the network"},
   715  	{65, "ENOPKG", "package not installed"},
   716  	{66, "EREMOTE", "object is remote"},
   717  	{67, "ENOLINK", "link has been severed"},
   718  	{68, "EADV", "advertise error"},
   719  	{69, "ESRMNT", "srmount error"},
   720  	{70, "ECOMM", "communication error on send"},
   721  	{71, "EPROTO", "protocol error"},
   722  	{72, "EMULTIHOP", "multihop attempted"},
   723  	{73, "EDOTDOT", "RFS specific error"},
   724  	{74, "EBADMSG", "bad message"},
   725  	{75, "EOVERFLOW", "value too large for defined data type"},
   726  	{76, "ENOTUNIQ", "name not unique on network"},
   727  	{77, "EBADFD", "file descriptor in bad state"},
   728  	{78, "EREMCHG", "remote address changed"},
   729  	{79, "ELIBACC", "can not access a needed shared library"},
   730  	{80, "ELIBBAD", "accessing a corrupted shared library"},
   731  	{81, "ELIBSCN", ".lib section in a.out corrupted"},
   732  	{82, "ELIBMAX", "attempting to link in too many shared libraries"},
   733  	{83, "ELIBEXEC", "cannot exec a shared library directly"},
   734  	{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
   735  	{85, "ERESTART", "interrupted system call should be restarted"},
   736  	{86, "ESTRPIPE", "streams pipe error"},
   737  	{87, "EUSERS", "too many users"},
   738  	{88, "ENOTSOCK", "socket operation on non-socket"},
   739  	{89, "EDESTADDRREQ", "destination address required"},
   740  	{90, "EMSGSIZE", "message too long"},
   741  	{91, "EPROTOTYPE", "protocol wrong type for socket"},
   742  	{92, "ENOPROTOOPT", "protocol not available"},
   743  	{93, "EPROTONOSUPPORT", "protocol not supported"},
   744  	{94, "ESOCKTNOSUPPORT", "socket type not supported"},
   745  	{95, "ENOTSUP", "operation not supported"},
   746  	{96, "EPFNOSUPPORT", "protocol family not supported"},
   747  	{97, "EAFNOSUPPORT", "address family not supported by protocol"},
   748  	{98, "EADDRINUSE", "address already in use"},
   749  	{99, "EADDRNOTAVAIL", "cannot assign requested address"},
   750  	{100, "ENETDOWN", "network is down"},
   751  	{101, "ENETUNREACH", "network is unreachable"},
   752  	{102, "ENETRESET", "network dropped connection on reset"},
   753  	{103, "ECONNABORTED", "software caused connection abort"},
   754  	{104, "ECONNRESET", "connection reset by peer"},
   755  	{105, "ENOBUFS", "no buffer space available"},
   756  	{106, "EISCONN", "transport endpoint is already connected"},
   757  	{107, "ENOTCONN", "transport endpoint is not connected"},
   758  	{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
   759  	{109, "ETOOMANYREFS", "too many references: cannot splice"},
   760  	{110, "ETIMEDOUT", "connection timed out"},
   761  	{111, "ECONNREFUSED", "connection refused"},
   762  	{112, "EHOSTDOWN", "host is down"},
   763  	{113, "EHOSTUNREACH", "no route to host"},
   764  	{114, "EALREADY", "operation already in progress"},
   765  	{115, "EINPROGRESS", "operation now in progress"},
   766  	{116, "ESTALE", "stale file handle"},
   767  	{117, "EUCLEAN", "structure needs cleaning"},
   768  	{118, "ENOTNAM", "not a XENIX named type file"},
   769  	{119, "ENAVAIL", "no XENIX semaphores available"},
   770  	{120, "EISNAM", "is a named type file"},
   771  	{121, "EREMOTEIO", "remote I/O error"},
   772  	{122, "EDQUOT", "disk quota exceeded"},
   773  	{123, "ENOMEDIUM", "no medium found"},
   774  	{124, "EMEDIUMTYPE", "wrong medium type"},
   775  	{125, "ECANCELED", "operation canceled"},
   776  	{126, "ENOKEY", "required key not available"},
   777  	{127, "EKEYEXPIRED", "key has expired"},
   778  	{128, "EKEYREVOKED", "key has been revoked"},
   779  	{129, "EKEYREJECTED", "key was rejected by service"},
   780  	{130, "EOWNERDEAD", "owner died"},
   781  	{131, "ENOTRECOVERABLE", "state not recoverable"},
   782  	{132, "ERFKILL", "operation not possible due to RF-kill"},
   783  	{133, "EHWPOISON", "memory page has hardware error"},
   784  }
   785  
   786  // Signal table
   787  var signalList = [...]struct {
   788  	num  syscall.Signal
   789  	name string
   790  	desc string
   791  }{
   792  	{1, "SIGHUP", "hangup"},
   793  	{2, "SIGINT", "interrupt"},
   794  	{3, "SIGQUIT", "quit"},
   795  	{4, "SIGILL", "illegal instruction"},
   796  	{5, "SIGTRAP", "trace/breakpoint trap"},
   797  	{6, "SIGABRT", "aborted"},
   798  	{7, "SIGBUS", "bus error"},
   799  	{8, "SIGFPE", "floating point exception"},
   800  	{9, "SIGKILL", "killed"},
   801  	{10, "SIGUSR1", "user defined signal 1"},
   802  	{11, "SIGSEGV", "segmentation fault"},
   803  	{12, "SIGUSR2", "user defined signal 2"},
   804  	{13, "SIGPIPE", "broken pipe"},
   805  	{14, "SIGALRM", "alarm clock"},
   806  	{15, "SIGTERM", "terminated"},
   807  	{16, "SIGSTKFLT", "stack fault"},
   808  	{17, "SIGCHLD", "child exited"},
   809  	{18, "SIGCONT", "continued"},
   810  	{19, "SIGSTOP", "stopped (signal)"},
   811  	{20, "SIGTSTP", "stopped"},
   812  	{21, "SIGTTIN", "stopped (tty input)"},
   813  	{22, "SIGTTOU", "stopped (tty output)"},
   814  	{23, "SIGURG", "urgent I/O condition"},
   815  	{24, "SIGXCPU", "CPU time limit exceeded"},
   816  	{25, "SIGXFSZ", "file size limit exceeded"},
   817  	{26, "SIGVTALRM", "virtual timer expired"},
   818  	{27, "SIGPROF", "profiling timer expired"},
   819  	{28, "SIGWINCH", "window changed"},
   820  	{29, "SIGIO", "I/O possible"},
   821  	{30, "SIGPWR", "power failure"},
   822  	{31, "SIGSYS", "bad system call"},
   823  }
   824  

View as plain text