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