1 // mkerrors.sh -m64 2 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT 3 4 // Created by cgo -godefs - DO NOT EDIT 5 // cgo -godefs -- -m64 _const.go 6 7 // +build amd64,linux 8 9 package syscall 10 11 const ( 12 AF_ALG = 0x26 13 AF_APPLETALK = 0x5 14 AF_ASH = 0x12 15 AF_ATMPVC = 0x8 16 AF_ATMSVC = 0x14 17 AF_AX25 = 0x3 18 AF_BLUETOOTH = 0x1f 19 AF_BRIDGE = 0x7 20 AF_CAIF = 0x25 21 AF_CAN = 0x1d 22 AF_DECnet = 0xc 23 AF_ECONET = 0x13 24 AF_FILE = 0x1 25 AF_IEEE802154 = 0x24 26 AF_INET = 0x2 27 AF_INET6 = 0xa 28 AF_IPX = 0x4 29 AF_IRDA = 0x17 30 AF_ISDN = 0x22 31 AF_IUCV = 0x20 32 AF_KEY = 0xf 33 AF_LLC = 0x1a 34 AF_LOCAL = 0x1 35 AF_MAX = 0x27 36 AF_NETBEUI = 0xd 37 AF_NETLINK = 0x10 38 AF_NETROM = 0x6 39 AF_PACKET = 0x11 40 AF_PHONET = 0x23 41 AF_PPPOX = 0x18 42 AF_RDS = 0x15 43 AF_ROSE = 0xb 44 AF_ROUTE = 0x10 45 AF_RXRPC = 0x21 46 AF_SECURITY = 0xe 47 AF_SNA = 0x16 48 AF_TIPC = 0x1e 49 AF_UNIX = 0x1 50 AF_UNSPEC = 0x0 51 AF_WANPIPE = 0x19 52 AF_X25 = 0x9 53 ARPHRD_ADAPT = 0x108 54 ARPHRD_APPLETLK = 0x8 55 ARPHRD_ARCNET = 0x7 56 ARPHRD_ASH = 0x30d 57 ARPHRD_ATM = 0x13 58 ARPHRD_AX25 = 0x3 59 ARPHRD_BIF = 0x307 60 ARPHRD_CHAOS = 0x5 61 ARPHRD_CISCO = 0x201 62 ARPHRD_CSLIP = 0x101 63 ARPHRD_CSLIP6 = 0x103 64 ARPHRD_DDCMP = 0x205 65 ARPHRD_DLCI = 0xf 66 ARPHRD_ECONET = 0x30e 67 ARPHRD_EETHER = 0x2 68 ARPHRD_ETHER = 0x1 69 ARPHRD_EUI64 = 0x1b 70 ARPHRD_FCAL = 0x311 71 ARPHRD_FCFABRIC = 0x313 72 ARPHRD_FCPL = 0x312 73 ARPHRD_FCPP = 0x310 74 ARPHRD_FDDI = 0x306 75 ARPHRD_FRAD = 0x302 76 ARPHRD_HDLC = 0x201 77 ARPHRD_HIPPI = 0x30c 78 ARPHRD_HWX25 = 0x110 79 ARPHRD_IEEE1394 = 0x18 80 ARPHRD_IEEE802 = 0x6 81 ARPHRD_IEEE80211 = 0x321 82 ARPHRD_IEEE80211_PRISM = 0x322 83 ARPHRD_IEEE80211_RADIOTAP = 0x323 84 ARPHRD_IEEE802154 = 0x324 85 ARPHRD_IEEE802154_PHY = 0x325 86 ARPHRD_IEEE802_TR = 0x320 87 ARPHRD_INFINIBAND = 0x20 88 ARPHRD_IPDDP = 0x309 89 ARPHRD_IPGRE = 0x30a 90 ARPHRD_IRDA = 0x30f 91 ARPHRD_LAPB = 0x204 92 ARPHRD_LOCALTLK = 0x305 93 ARPHRD_LOOPBACK = 0x304 94 ARPHRD_METRICOM = 0x17 95 ARPHRD_NETROM = 0x0 96 ARPHRD_NONE = 0xfffe 97 ARPHRD_PIMREG = 0x30b 98 ARPHRD_PPP = 0x200 99 ARPHRD_PRONET = 0x4 100 ARPHRD_RAWHDLC = 0x206 101 ARPHRD_ROSE = 0x10e 102 ARPHRD_RSRVD = 0x104 103 ARPHRD_SIT = 0x308 104 ARPHRD_SKIP = 0x303 105 ARPHRD_SLIP = 0x100 106 ARPHRD_SLIP6 = 0x102 107 ARPHRD_TUNNEL = 0x300 108 ARPHRD_TUNNEL6 = 0x301 109 ARPHRD_VOID = 0xffff 110 ARPHRD_X25 = 0x10f 111 BPF_A = 0x10 112 BPF_ABS = 0x20 113 BPF_ADD = 0x0 114 BPF_ALU = 0x4 115 BPF_AND = 0x50 116 BPF_B = 0x10 117 BPF_DIV = 0x30 118 BPF_H = 0x8 119 BPF_IMM = 0x0 120 BPF_IND = 0x40 121 BPF_JA = 0x0 122 BPF_JEQ = 0x10 123 BPF_JGE = 0x30 124 BPF_JGT = 0x20 125 BPF_JMP = 0x5 126 BPF_JSET = 0x40 127 BPF_K = 0x0 128 BPF_LD = 0x0 129 BPF_LDX = 0x1 130 BPF_LEN = 0x80 131 BPF_LSH = 0x60 132 BPF_MAJOR_VERSION = 0x1 133 BPF_MAXINSNS = 0x1000 134 BPF_MEM = 0x60 135 BPF_MEMWORDS = 0x10 136 BPF_MINOR_VERSION = 0x1 137 BPF_MISC = 0x7 138 BPF_MSH = 0xa0 139 BPF_MUL = 0x20 140 BPF_NEG = 0x80 141 BPF_OR = 0x40 142 BPF_RET = 0x6 143 BPF_RSH = 0x70 144 BPF_ST = 0x2 145 BPF_STX = 0x3 146 BPF_SUB = 0x10 147 BPF_TAX = 0x0 148 BPF_TXA = 0x80 149 BPF_W = 0x0 150 BPF_X = 0x8 151 CLONE_CHILD_CLEARTID = 0x200000 152 CLONE_CHILD_SETTID = 0x1000000 153 CLONE_DETACHED = 0x400000 154 CLONE_FILES = 0x400 155 CLONE_FS = 0x200 156 CLONE_IO = 0x80000000 157 CLONE_NEWIPC = 0x8000000 158 CLONE_NEWNET = 0x40000000 159 CLONE_NEWNS = 0x20000 160 CLONE_NEWPID = 0x20000000 161 CLONE_NEWUSER = 0x10000000 162 CLONE_NEWUTS = 0x4000000 163 CLONE_PARENT = 0x8000 164 CLONE_PARENT_SETTID = 0x100000 165 CLONE_PTRACE = 0x2000 166 CLONE_SETTLS = 0x80000 167 CLONE_SIGHAND = 0x800 168 CLONE_SYSVSEM = 0x40000 169 CLONE_THREAD = 0x10000 170 CLONE_UNTRACED = 0x800000 171 CLONE_VFORK = 0x4000 172 CLONE_VM = 0x100 173 DT_BLK = 0x6 174 DT_CHR = 0x2 175 DT_DIR = 0x4 176 DT_FIFO = 0x1 177 DT_LNK = 0xa 178 DT_REG = 0x8 179 DT_SOCK = 0xc 180 DT_UNKNOWN = 0x0 181 DT_WHT = 0xe 182 EPOLLERR = 0x8 183 EPOLLET = -0x80000000 184 EPOLLHUP = 0x10 185 EPOLLIN = 0x1 186 EPOLLMSG = 0x400 187 EPOLLONESHOT = 0x40000000 188 EPOLLOUT = 0x4 189 EPOLLPRI = 0x2 190 EPOLLRDBAND = 0x80 191 EPOLLRDHUP = 0x2000 192 EPOLLRDNORM = 0x40 193 EPOLLWRBAND = 0x200 194 EPOLLWRNORM = 0x100 195 EPOLL_CLOEXEC = 0x80000 196 EPOLL_CTL_ADD = 0x1 197 EPOLL_CTL_DEL = 0x2 198 EPOLL_CTL_MOD = 0x3 199 EPOLL_NONBLOCK = 0x800 200 ETH_P_1588 = 0x88f7 201 ETH_P_8021Q = 0x8100 202 ETH_P_802_2 = 0x4 203 ETH_P_802_3 = 0x1 204 ETH_P_AARP = 0x80f3 205 ETH_P_ALL = 0x3 206 ETH_P_AOE = 0x88a2 207 ETH_P_ARCNET = 0x1a 208 ETH_P_ARP = 0x806 209 ETH_P_ATALK = 0x809b 210 ETH_P_ATMFATE = 0x8884 211 ETH_P_ATMMPOA = 0x884c 212 ETH_P_AX25 = 0x2 213 ETH_P_BPQ = 0x8ff 214 ETH_P_CAIF = 0xf7 215 ETH_P_CAN = 0xc 216 ETH_P_CONTROL = 0x16 217 ETH_P_CUST = 0x6006 218 ETH_P_DDCMP = 0x6 219 ETH_P_DEC = 0x6000 220 ETH_P_DIAG = 0x6005 221 ETH_P_DNA_DL = 0x6001 222 ETH_P_DNA_RC = 0x6002 223 ETH_P_DNA_RT = 0x6003 224 ETH_P_DSA = 0x1b 225 ETH_P_ECONET = 0x18 226 ETH_P_EDSA = 0xdada 227 ETH_P_FCOE = 0x8906 228 ETH_P_FIP = 0x8914 229 ETH_P_HDLC = 0x19 230 ETH_P_IEEE802154 = 0xf6 231 ETH_P_IEEEPUP = 0xa00 232 ETH_P_IEEEPUPAT = 0xa01 233 ETH_P_IP = 0x800 234 ETH_P_IPV6 = 0x86dd 235 ETH_P_IPX = 0x8137 236 ETH_P_IRDA = 0x17 237 ETH_P_LAT = 0x6004 238 ETH_P_LINK_CTL = 0x886c 239 ETH_P_LOCALTALK = 0x9 240 ETH_P_LOOP = 0x60 241 ETH_P_MOBITEX = 0x15 242 ETH_P_MPLS_MC = 0x8848 243 ETH_P_MPLS_UC = 0x8847 244 ETH_P_PAE = 0x888e 245 ETH_P_PAUSE = 0x8808 246 ETH_P_PHONET = 0xf5 247 ETH_P_PPPTALK = 0x10 248 ETH_P_PPP_DISC = 0x8863 249 ETH_P_PPP_MP = 0x8 250 ETH_P_PPP_SES = 0x8864 251 ETH_P_PUP = 0x200 252 ETH_P_PUPAT = 0x201 253 ETH_P_RARP = 0x8035 254 ETH_P_SCA = 0x6007 255 ETH_P_SLOW = 0x8809 256 ETH_P_SNAP = 0x5 257 ETH_P_TEB = 0x6558 258 ETH_P_TIPC = 0x88ca 259 ETH_P_TRAILER = 0x1c 260 ETH_P_TR_802_2 = 0x11 261 ETH_P_WAN_PPP = 0x7 262 ETH_P_WCCP = 0x883e 263 ETH_P_X25 = 0x805 264 FD_CLOEXEC = 0x1 265 FD_SETSIZE = 0x400 266 F_DUPFD = 0x0 267 F_DUPFD_CLOEXEC = 0x406 268 F_EXLCK = 0x4 269 F_GETFD = 0x1 270 F_GETFL = 0x3 271 F_GETLEASE = 0x401 272 F_GETLK = 0x5 273 F_GETLK64 = 0x5 274 F_GETOWN = 0x9 275 F_GETOWN_EX = 0x10 276 F_GETPIPE_SZ = 0x408 277 F_GETSIG = 0xb 278 F_LOCK = 0x1 279 F_NOTIFY = 0x402 280 F_OK = 0x0 281 F_RDLCK = 0x0 282 F_SETFD = 0x2 283 F_SETFL = 0x4 284 F_SETLEASE = 0x400 285 F_SETLK = 0x6 286 F_SETLK64 = 0x6 287 F_SETLKW = 0x7 288 F_SETLKW64 = 0x7 289 F_SETOWN = 0x8 290 F_SETOWN_EX = 0xf 291 F_SETPIPE_SZ = 0x407 292 F_SETSIG = 0xa 293 F_SHLCK = 0x8 294 F_TEST = 0x3 295 F_TLOCK = 0x2 296 F_ULOCK = 0x0 297 F_UNLCK = 0x2 298 F_WRLCK = 0x1 299 ICMPV6_FILTER = 0x1 300 IFA_F_DADFAILED = 0x8 301 IFA_F_DEPRECATED = 0x20 302 IFA_F_HOMEADDRESS = 0x10 303 IFA_F_NODAD = 0x2 304 IFA_F_OPTIMISTIC = 0x4 305 IFA_F_PERMANENT = 0x80 306 IFA_F_SECONDARY = 0x1 307 IFA_F_TEMPORARY = 0x1 308 IFA_F_TENTATIVE = 0x40 309 IFA_MAX = 0x7 310 IFF_ALLMULTI = 0x200 311 IFF_AUTOMEDIA = 0x4000 312 IFF_BROADCAST = 0x2 313 IFF_DEBUG = 0x4 314 IFF_DYNAMIC = 0x8000 315 IFF_LOOPBACK = 0x8 316 IFF_MASTER = 0x400 317 IFF_MULTICAST = 0x1000 318 IFF_NOARP = 0x80 319 IFF_NOTRAILERS = 0x20 320 IFF_NO_PI = 0x1000 321 IFF_ONE_QUEUE = 0x2000 322 IFF_POINTOPOINT = 0x10 323 IFF_PORTSEL = 0x2000 324 IFF_PROMISC = 0x100 325 IFF_RUNNING = 0x40 326 IFF_SLAVE = 0x800 327 IFF_TAP = 0x2 328 IFF_TUN = 0x1 329 IFF_TUN_EXCL = 0x8000 330 IFF_UP = 0x1 331 IFF_VNET_HDR = 0x4000 332 IFNAMSIZ = 0x10 333 IN_ACCESS = 0x1 334 IN_ALL_EVENTS = 0xfff 335 IN_ATTRIB = 0x4 336 IN_CLASSA_HOST = 0xffffff 337 IN_CLASSA_MAX = 0x80 338 IN_CLASSA_NET = 0xff000000 339 IN_CLASSA_NSHIFT = 0x18 340 IN_CLASSB_HOST = 0xffff 341 IN_CLASSB_MAX = 0x10000 342 IN_CLASSB_NET = 0xffff0000 343 IN_CLASSB_NSHIFT = 0x10 344 IN_CLASSC_HOST = 0xff 345 IN_CLASSC_NET = 0xffffff00 346 IN_CLASSC_NSHIFT = 0x8 347 IN_CLOEXEC = 0x80000 348 IN_CLOSE = 0x18 349 IN_CLOSE_NOWRITE = 0x10 350 IN_CLOSE_WRITE = 0x8 351 IN_CREATE = 0x100 352 IN_DELETE = 0x200 353 IN_DELETE_SELF = 0x400 354 IN_DONT_FOLLOW = 0x2000000 355 IN_EXCL_UNLINK = 0x4000000 356 IN_IGNORED = 0x8000 357 IN_ISDIR = 0x40000000 358 IN_LOOPBACKNET = 0x7f 359 IN_MASK_ADD = 0x20000000 360 IN_MODIFY = 0x2 361 IN_MOVE = 0xc0 362 IN_MOVED_FROM = 0x40 363 IN_MOVED_TO = 0x80 364 IN_MOVE_SELF = 0x800 365 IN_NONBLOCK = 0x800 366 IN_ONESHOT = 0x80000000 367 IN_ONLYDIR = 0x1000000 368 IN_OPEN = 0x20 369 IN_Q_OVERFLOW = 0x4000 370 IN_UNMOUNT = 0x2000 371 IPPROTO_AH = 0x33 372 IPPROTO_COMP = 0x6c 373 IPPROTO_DCCP = 0x21 374 IPPROTO_DSTOPTS = 0x3c 375 IPPROTO_EGP = 0x8 376 IPPROTO_ENCAP = 0x62 377 IPPROTO_ESP = 0x32 378 IPPROTO_FRAGMENT = 0x2c 379 IPPROTO_GRE = 0x2f 380 IPPROTO_HOPOPTS = 0x0 381 IPPROTO_ICMP = 0x1 382 IPPROTO_ICMPV6 = 0x3a 383 IPPROTO_IDP = 0x16 384 IPPROTO_IGMP = 0x2 385 IPPROTO_IP = 0x0 386 IPPROTO_IPIP = 0x4 387 IPPROTO_IPV6 = 0x29 388 IPPROTO_MTP = 0x5c 389 IPPROTO_NONE = 0x3b 390 IPPROTO_PIM = 0x67 391 IPPROTO_PUP = 0xc 392 IPPROTO_RAW = 0xff 393 IPPROTO_ROUTING = 0x2b 394 IPPROTO_RSVP = 0x2e 395 IPPROTO_SCTP = 0x84 396 IPPROTO_TCP = 0x6 397 IPPROTO_TP = 0x1d 398 IPPROTO_UDP = 0x11 399 IPPROTO_UDPLITE = 0x88 400 IPV6_2292DSTOPTS = 0x4 401 IPV6_2292HOPLIMIT = 0x8 402 IPV6_2292HOPOPTS = 0x3 403 IPV6_2292PKTINFO = 0x2 404 IPV6_2292PKTOPTIONS = 0x6 405 IPV6_2292RTHDR = 0x5 406 IPV6_ADDRFORM = 0x1 407 IPV6_ADD_MEMBERSHIP = 0x14 408 IPV6_AUTHHDR = 0xa 409 IPV6_CHECKSUM = 0x7 410 IPV6_DROP_MEMBERSHIP = 0x15 411 IPV6_DSTOPTS = 0x3b 412 IPV6_HOPLIMIT = 0x34 413 IPV6_HOPOPTS = 0x36 414 IPV6_IPSEC_POLICY = 0x22 415 IPV6_JOIN_ANYCAST = 0x1b 416 IPV6_JOIN_GROUP = 0x14 417 IPV6_LEAVE_ANYCAST = 0x1c 418 IPV6_LEAVE_GROUP = 0x15 419 IPV6_MTU = 0x18 420 IPV6_MTU_DISCOVER = 0x17 421 IPV6_MULTICAST_HOPS = 0x12 422 IPV6_MULTICAST_IF = 0x11 423 IPV6_MULTICAST_LOOP = 0x13 424 IPV6_NEXTHOP = 0x9 425 IPV6_PKTINFO = 0x32 426 IPV6_PMTUDISC_DO = 0x2 427 IPV6_PMTUDISC_DONT = 0x0 428 IPV6_PMTUDISC_PROBE = 0x3 429 IPV6_PMTUDISC_WANT = 0x1 430 IPV6_RECVDSTOPTS = 0x3a 431 IPV6_RECVERR = 0x19 432 IPV6_RECVHOPLIMIT = 0x33 433 IPV6_RECVHOPOPTS = 0x35 434 IPV6_RECVPKTINFO = 0x31 435 IPV6_RECVRTHDR = 0x38 436 IPV6_RECVTCLASS = 0x42 437 IPV6_ROUTER_ALERT = 0x16 438 IPV6_RTHDR = 0x39 439 IPV6_RTHDRDSTOPTS = 0x37 440 IPV6_RTHDR_LOOSE = 0x0 441 IPV6_RTHDR_STRICT = 0x1 442 IPV6_RTHDR_TYPE_0 = 0x0 443 IPV6_RXDSTOPTS = 0x3b 444 IPV6_RXHOPOPTS = 0x36 445 IPV6_TCLASS = 0x43 446 IPV6_UNICAST_HOPS = 0x10 447 IPV6_V6ONLY = 0x1a 448 IPV6_XFRM_POLICY = 0x23 449 IP_ADD_MEMBERSHIP = 0x23 450 IP_ADD_SOURCE_MEMBERSHIP = 0x27 451 IP_BLOCK_SOURCE = 0x26 452 IP_DEFAULT_MULTICAST_LOOP = 0x1 453 IP_DEFAULT_MULTICAST_TTL = 0x1 454 IP_DF = 0x4000 455 IP_DROP_MEMBERSHIP = 0x24 456 IP_DROP_SOURCE_MEMBERSHIP = 0x28 457 IP_FREEBIND = 0xf 458 IP_HDRINCL = 0x3 459 IP_IPSEC_POLICY = 0x10 460 IP_MAXPACKET = 0xffff 461 IP_MAX_MEMBERSHIPS = 0x14 462 IP_MF = 0x2000 463 IP_MINTTL = 0x15 464 IP_MSFILTER = 0x29 465 IP_MSS = 0x240 466 IP_MTU = 0xe 467 IP_MTU_DISCOVER = 0xa 468 IP_MULTICAST_IF = 0x20 469 IP_MULTICAST_LOOP = 0x22 470 IP_MULTICAST_TTL = 0x21 471 IP_OFFMASK = 0x1fff 472 IP_OPTIONS = 0x4 473 IP_ORIGDSTADDR = 0x14 474 IP_PASSSEC = 0x12 475 IP_PKTINFO = 0x8 476 IP_PKTOPTIONS = 0x9 477 IP_PMTUDISC = 0xa 478 IP_PMTUDISC_DO = 0x2 479 IP_PMTUDISC_DONT = 0x0 480 IP_PMTUDISC_PROBE = 0x3 481 IP_PMTUDISC_WANT = 0x1 482 IP_RECVERR = 0xb 483 IP_RECVOPTS = 0x6 484 IP_RECVORIGDSTADDR = 0x14 485 IP_RECVRETOPTS = 0x7 486 IP_RECVTOS = 0xd 487 IP_RECVTTL = 0xc 488 IP_RETOPTS = 0x7 489 IP_RF = 0x8000 490 IP_ROUTER_ALERT = 0x5 491 IP_TOS = 0x1 492 IP_TRANSPARENT = 0x13 493 IP_TTL = 0x2 494 IP_UNBLOCK_SOURCE = 0x25 495 IP_XFRM_POLICY = 0x11 496 LINUX_REBOOT_CMD_CAD_OFF = 0x0 497 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef 498 LINUX_REBOOT_CMD_HALT = 0xcdef0123 499 LINUX_REBOOT_CMD_KEXEC = 0x45584543 500 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc 501 LINUX_REBOOT_CMD_RESTART = 0x1234567 502 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4 503 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2 504 LINUX_REBOOT_MAGIC1 = 0xfee1dead 505 LINUX_REBOOT_MAGIC2 = 0x28121969 506 LOCK_EX = 0x2 507 LOCK_NB = 0x4 508 LOCK_SH = 0x1 509 LOCK_UN = 0x8 510 MADV_DOFORK = 0xb 511 MADV_DONTFORK = 0xa 512 MADV_DONTNEED = 0x4 513 MADV_HUGEPAGE = 0xe 514 MADV_HWPOISON = 0x64 515 MADV_MERGEABLE = 0xc 516 MADV_NOHUGEPAGE = 0xf 517 MADV_NORMAL = 0x0 518 MADV_RANDOM = 0x1 519 MADV_REMOVE = 0x9 520 MADV_SEQUENTIAL = 0x2 521 MADV_UNMERGEABLE = 0xd 522 MADV_WILLNEED = 0x3 523 MAP_32BIT = 0x40 524 MAP_ANON = 0x20 525 MAP_ANONYMOUS = 0x20 526 MAP_DENYWRITE = 0x800 527 MAP_EXECUTABLE = 0x1000 528 MAP_FILE = 0x0 529 MAP_FIXED = 0x10 530 MAP_GROWSDOWN = 0x100 531 MAP_HUGETLB = 0x40000 532 MAP_LOCKED = 0x2000 533 MAP_NONBLOCK = 0x10000 534 MAP_NORESERVE = 0x4000 535 MAP_POPULATE = 0x8000 536 MAP_PRIVATE = 0x2 537 MAP_SHARED = 0x1 538 MAP_STACK = 0x20000 539 MAP_TYPE = 0xf 540 MCL_CURRENT = 0x1 541 MCL_FUTURE = 0x2 542 MNT_DETACH = 0x2 543 MNT_EXPIRE = 0x4 544 MNT_FORCE = 0x1 545 MSG_CMSG_CLOEXEC = 0x40000000 546 MSG_CONFIRM = 0x800 547 MSG_CTRUNC = 0x8 548 MSG_DONTROUTE = 0x4 549 MSG_DONTWAIT = 0x40 550 MSG_EOR = 0x80 551 MSG_ERRQUEUE = 0x2000 552 MSG_FASTOPEN = 0x20000000 553 MSG_FIN = 0x200 554 MSG_MORE = 0x8000 555 MSG_NOSIGNAL = 0x4000 556 MSG_OOB = 0x1 557 MSG_PEEK = 0x2 558 MSG_PROXY = 0x10 559 MSG_RST = 0x1000 560 MSG_SYN = 0x400 561 MSG_TRUNC = 0x20 562 MSG_TRYHARD = 0x4 563 MSG_WAITALL = 0x100 564 MSG_WAITFORONE = 0x10000 565 MS_ACTIVE = 0x40000000 566 MS_ASYNC = 0x1 567 MS_BIND = 0x1000 568 MS_DIRSYNC = 0x80 569 MS_INVALIDATE = 0x2 570 MS_I_VERSION = 0x800000 571 MS_KERNMOUNT = 0x400000 572 MS_MANDLOCK = 0x40 573 MS_MGC_MSK = 0xffff0000 574 MS_MGC_VAL = 0xc0ed0000 575 MS_MOVE = 0x2000 576 MS_NOATIME = 0x400 577 MS_NODEV = 0x4 578 MS_NODIRATIME = 0x800 579 MS_NOEXEC = 0x8 580 MS_NOSUID = 0x2 581 MS_NOUSER = -0x80000000 582 MS_POSIXACL = 0x10000 583 MS_PRIVATE = 0x40000 584 MS_RDONLY = 0x1 585 MS_REC = 0x4000 586 MS_RELATIME = 0x200000 587 MS_REMOUNT = 0x20 588 MS_RMT_MASK = 0x800051 589 MS_SHARED = 0x100000 590 MS_SILENT = 0x8000 591 MS_SLAVE = 0x80000 592 MS_STRICTATIME = 0x1000000 593 MS_SYNC = 0x4 594 MS_SYNCHRONOUS = 0x10 595 MS_UNBINDABLE = 0x20000 596 NAME_MAX = 0xff 597 NETLINK_ADD_MEMBERSHIP = 0x1 598 NETLINK_AUDIT = 0x9 599 NETLINK_BROADCAST_ERROR = 0x4 600 NETLINK_CONNECTOR = 0xb 601 NETLINK_DNRTMSG = 0xe 602 NETLINK_DROP_MEMBERSHIP = 0x2 603 NETLINK_ECRYPTFS = 0x13 604 NETLINK_FIB_LOOKUP = 0xa 605 NETLINK_FIREWALL = 0x3 606 NETLINK_GENERIC = 0x10 607 NETLINK_INET_DIAG = 0x4 608 NETLINK_IP6_FW = 0xd 609 NETLINK_ISCSI = 0x8 610 NETLINK_KOBJECT_UEVENT = 0xf 611 NETLINK_NETFILTER = 0xc 612 NETLINK_NFLOG = 0x5 613 NETLINK_NO_ENOBUFS = 0x5 614 NETLINK_PKTINFO = 0x3 615 NETLINK_ROUTE = 0x0 616 NETLINK_SCSITRANSPORT = 0x12 617 NETLINK_SELINUX = 0x7 618 NETLINK_UNUSED = 0x1 619 NETLINK_USERSOCK = 0x2 620 NETLINK_XFRM = 0x6 621 NLA_ALIGNTO = 0x4 622 NLA_F_NESTED = 0x8000 623 NLA_F_NET_BYTEORDER = 0x4000 624 NLA_HDRLEN = 0x4 625 NLMSG_ALIGNTO = 0x4 626 NLMSG_DONE = 0x3 627 NLMSG_ERROR = 0x2 628 NLMSG_HDRLEN = 0x10 629 NLMSG_MIN_TYPE = 0x10 630 NLMSG_NOOP = 0x1 631 NLMSG_OVERRUN = 0x4 632 NLM_F_ACK = 0x4 633 NLM_F_APPEND = 0x800 634 NLM_F_ATOMIC = 0x400 635 NLM_F_CREATE = 0x400 636 NLM_F_DUMP = 0x300 637 NLM_F_ECHO = 0x8 638 NLM_F_EXCL = 0x200 639 NLM_F_MATCH = 0x200 640 NLM_F_MULTI = 0x2 641 NLM_F_REPLACE = 0x100 642 NLM_F_REQUEST = 0x1 643 NLM_F_ROOT = 0x100 644 O_ACCMODE = 0x3 645 O_APPEND = 0x400 646 O_ASYNC = 0x2000 647 O_CLOEXEC = 0x80000 648 O_CREAT = 0x40 649 O_DIRECT = 0x4000 650 O_DIRECTORY = 0x10000 651 O_DSYNC = 0x1000 652 O_EXCL = 0x80 653 O_FSYNC = 0x101000 654 O_LARGEFILE = 0x0 655 O_NDELAY = 0x800 656 O_NOATIME = 0x40000 657 O_NOCTTY = 0x100 658 O_NOFOLLOW = 0x20000 659 O_NONBLOCK = 0x800 660 O_RDONLY = 0x0 661 O_RDWR = 0x2 662 O_RSYNC = 0x101000 663 O_SYNC = 0x101000 664 O_TRUNC = 0x200 665 O_WRONLY = 0x1 666 PACKET_ADD_MEMBERSHIP = 0x1 667 PACKET_BROADCAST = 0x1 668 PACKET_DROP_MEMBERSHIP = 0x2 669 PACKET_FASTROUTE = 0x6 670 PACKET_HOST = 0x0 671 PACKET_LOOPBACK = 0x5 672 PACKET_MR_ALLMULTI = 0x2 673 PACKET_MR_MULTICAST = 0x0 674 PACKET_MR_PROMISC = 0x1 675 PACKET_MULTICAST = 0x2 676 PACKET_OTHERHOST = 0x3 677 PACKET_OUTGOING = 0x4 678 PACKET_RECV_OUTPUT = 0x3 679 PACKET_RX_RING = 0x5 680 PACKET_STATISTICS = 0x6 681 PRIO_PGRP = 0x1 682 PRIO_PROCESS = 0x0 683 PRIO_USER = 0x2 684 PROT_EXEC = 0x4 685 PROT_GROWSDOWN = 0x1000000 686 PROT_GROWSUP = 0x2000000 687 PROT_NONE = 0x0 688 PROT_READ = 0x1 689 PROT_WRITE = 0x2 690 PR_CAPBSET_DROP = 0x18 691 PR_CAPBSET_READ = 0x17 692 PR_ENDIAN_BIG = 0x0 693 PR_ENDIAN_LITTLE = 0x1 694 PR_ENDIAN_PPC_LITTLE = 0x2 695 PR_FPEMU_NOPRINT = 0x1 696 PR_FPEMU_SIGFPE = 0x2 697 PR_FP_EXC_ASYNC = 0x2 698 PR_FP_EXC_DISABLED = 0x0 699 PR_FP_EXC_DIV = 0x10000 700 PR_FP_EXC_INV = 0x100000 701 PR_FP_EXC_NONRECOV = 0x1 702 PR_FP_EXC_OVF = 0x20000 703 PR_FP_EXC_PRECISE = 0x3 704 PR_FP_EXC_RES = 0x80000 705 PR_FP_EXC_SW_ENABLE = 0x80 706 PR_FP_EXC_UND = 0x40000 707 PR_GET_DUMPABLE = 0x3 708 PR_GET_ENDIAN = 0x13 709 PR_GET_FPEMU = 0x9 710 PR_GET_FPEXC = 0xb 711 PR_GET_KEEPCAPS = 0x7 712 PR_GET_NAME = 0x10 713 PR_GET_PDEATHSIG = 0x2 714 PR_GET_SECCOMP = 0x15 715 PR_GET_SECUREBITS = 0x1b 716 PR_GET_TIMERSLACK = 0x1e 717 PR_GET_TIMING = 0xd 718 PR_GET_TSC = 0x19 719 PR_GET_UNALIGN = 0x5 720 PR_MCE_KILL = 0x21 721 PR_MCE_KILL_CLEAR = 0x0 722 PR_MCE_KILL_DEFAULT = 0x2 723 PR_MCE_KILL_EARLY = 0x1 724 PR_MCE_KILL_GET = 0x22 725 PR_MCE_KILL_LATE = 0x0 726 PR_MCE_KILL_SET = 0x1 727 PR_SET_DUMPABLE = 0x4 728 PR_SET_ENDIAN = 0x14 729 PR_SET_FPEMU = 0xa 730 PR_SET_FPEXC = 0xc 731 PR_SET_KEEPCAPS = 0x8 732 PR_SET_NAME = 0xf 733 PR_SET_PDEATHSIG = 0x1 734 PR_SET_PTRACER = 0x59616d61 735 PR_SET_SECCOMP = 0x16 736 PR_SET_SECUREBITS = 0x1c 737 PR_SET_TIMERSLACK = 0x1d 738 PR_SET_TIMING = 0xe 739 PR_SET_TSC = 0x1a 740 PR_SET_UNALIGN = 0x6 741 PR_TASK_PERF_EVENTS_DISABLE = 0x1f 742 PR_TASK_PERF_EVENTS_ENABLE = 0x20 743 PR_TIMING_STATISTICAL = 0x0 744 PR_TIMING_TIMESTAMP = 0x1 745 PR_TSC_ENABLE = 0x1 746 PR_TSC_SIGSEGV = 0x2 747 PR_UNALIGN_NOPRINT = 0x1 748 PR_UNALIGN_SIGBUS = 0x2 749 PTRACE_ARCH_PRCTL = 0x1e 750 PTRACE_ATTACH = 0x10 751 PTRACE_CONT = 0x7 752 PTRACE_DETACH = 0x11 753 PTRACE_EVENT_CLONE = 0x3 754 PTRACE_EVENT_EXEC = 0x4 755 PTRACE_EVENT_EXIT = 0x6 756 PTRACE_EVENT_FORK = 0x1 757 PTRACE_EVENT_VFORK = 0x2 758 PTRACE_EVENT_VFORK_DONE = 0x5 759 PTRACE_GETEVENTMSG = 0x4201 760 PTRACE_GETFPREGS = 0xe 761 PTRACE_GETFPXREGS = 0x12 762 PTRACE_GETREGS = 0xc 763 PTRACE_GETREGSET = 0x4204 764 PTRACE_GETSIGINFO = 0x4202 765 PTRACE_GET_THREAD_AREA = 0x19 766 PTRACE_KILL = 0x8 767 PTRACE_OLDSETOPTIONS = 0x15 768 PTRACE_O_MASK = 0x7f 769 PTRACE_O_TRACECLONE = 0x8 770 PTRACE_O_TRACEEXEC = 0x10 771 PTRACE_O_TRACEEXIT = 0x40 772 PTRACE_O_TRACEFORK = 0x2 773 PTRACE_O_TRACESYSGOOD = 0x1 774 PTRACE_O_TRACEVFORK = 0x4 775 PTRACE_O_TRACEVFORKDONE = 0x20 776 PTRACE_PEEKDATA = 0x2 777 PTRACE_PEEKTEXT = 0x1 778 PTRACE_PEEKUSR = 0x3 779 PTRACE_POKEDATA = 0x5 780 PTRACE_POKETEXT = 0x4 781 PTRACE_POKEUSR = 0x6 782 PTRACE_SETFPREGS = 0xf 783 PTRACE_SETFPXREGS = 0x13 784 PTRACE_SETOPTIONS = 0x4200 785 PTRACE_SETREGS = 0xd 786 PTRACE_SETREGSET = 0x4205 787 PTRACE_SETSIGINFO = 0x4203 788 PTRACE_SET_THREAD_AREA = 0x1a 789 PTRACE_SINGLEBLOCK = 0x21 790 PTRACE_SINGLESTEP = 0x9 791 PTRACE_SYSCALL = 0x18 792 PTRACE_SYSEMU = 0x1f 793 PTRACE_SYSEMU_SINGLESTEP = 0x20 794 PTRACE_TRACEME = 0x0 795 RLIMIT_AS = 0x9 796 RLIMIT_CORE = 0x4 797 RLIMIT_CPU = 0x0 798 RLIMIT_DATA = 0x2 799 RLIMIT_FSIZE = 0x1 800 RLIMIT_NOFILE = 0x7 801 RLIMIT_STACK = 0x3 802 RLIM_INFINITY = -0x1 803 RTAX_ADVMSS = 0x8 804 RTAX_CWND = 0x7 805 RTAX_FEATURES = 0xc 806 RTAX_FEATURE_ALLFRAG = 0x8 807 RTAX_FEATURE_ECN = 0x1 808 RTAX_FEATURE_SACK = 0x2 809 RTAX_FEATURE_TIMESTAMP = 0x4 810 RTAX_HOPLIMIT = 0xa 811 RTAX_INITCWND = 0xb 812 RTAX_INITRWND = 0xe 813 RTAX_LOCK = 0x1 814 RTAX_MAX = 0xe 815 RTAX_MTU = 0x2 816 RTAX_REORDERING = 0x9 817 RTAX_RTO_MIN = 0xd 818 RTAX_RTT = 0x4 819 RTAX_RTTVAR = 0x5 820 RTAX_SSTHRESH = 0x6 821 RTAX_UNSPEC = 0x0 822 RTAX_WINDOW = 0x3 823 RTA_ALIGNTO = 0x4 824 RTA_MAX = 0x10 825 RTCF_DIRECTSRC = 0x4000000 826 RTCF_DOREDIRECT = 0x1000000 827 RTCF_LOG = 0x2000000 828 RTCF_MASQ = 0x400000 829 RTCF_NAT = 0x800000 830 RTCF_VALVE = 0x200000 831 RTF_ADDRCLASSMASK = 0xf8000000 832 RTF_ADDRCONF = 0x40000 833 RTF_ALLONLINK = 0x20000 834 RTF_BROADCAST = 0x10000000 835 RTF_CACHE = 0x1000000 836 RTF_DEFAULT = 0x10000 837 RTF_DYNAMIC = 0x10 838 RTF_FLOW = 0x2000000 839 RTF_GATEWAY = 0x2 840 RTF_HOST = 0x4 841 RTF_INTERFACE = 0x40000000 842 RTF_IRTT = 0x100 843 RTF_LINKRT = 0x100000 844 RTF_LOCAL = 0x80000000 845 RTF_MODIFIED = 0x20 846 RTF_MSS = 0x40 847 RTF_MTU = 0x40 848 RTF_MULTICAST = 0x20000000 849 RTF_NAT = 0x8000000 850 RTF_NOFORWARD = 0x1000 851 RTF_NONEXTHOP = 0x200000 852 RTF_NOPMTUDISC = 0x4000 853 RTF_POLICY = 0x4000000 854 RTF_REINSTATE = 0x8 855 RTF_REJECT = 0x200 856 RTF_STATIC = 0x400 857 RTF_THROW = 0x2000 858 RTF_UP = 0x1 859 RTF_WINDOW = 0x80 860 RTF_XRESOLVE = 0x800 861 RTM_BASE = 0x10 862 RTM_DELACTION = 0x31 863 RTM_DELADDR = 0x15 864 RTM_DELADDRLABEL = 0x49 865 RTM_DELLINK = 0x11 866 RTM_DELNEIGH = 0x1d 867 RTM_DELQDISC = 0x25 868 RTM_DELROUTE = 0x19 869 RTM_DELRULE = 0x21 870 RTM_DELTCLASS = 0x29 871 RTM_DELTFILTER = 0x2d 872 RTM_F_CLONED = 0x200 873 RTM_F_EQUALIZE = 0x400 874 RTM_F_NOTIFY = 0x100 875 RTM_F_PREFIX = 0x800 876 RTM_GETACTION = 0x32 877 RTM_GETADDR = 0x16 878 RTM_GETADDRLABEL = 0x4a 879 RTM_GETANYCAST = 0x3e 880 RTM_GETDCB = 0x4e 881 RTM_GETLINK = 0x12 882 RTM_GETMULTICAST = 0x3a 883 RTM_GETNEIGH = 0x1e 884 RTM_GETNEIGHTBL = 0x42 885 RTM_GETQDISC = 0x26 886 RTM_GETROUTE = 0x1a 887 RTM_GETRULE = 0x22 888 RTM_GETTCLASS = 0x2a 889 RTM_GETTFILTER = 0x2e 890 RTM_MAX = 0x4f 891 RTM_NEWACTION = 0x30 892 RTM_NEWADDR = 0x14 893 RTM_NEWADDRLABEL = 0x48 894 RTM_NEWLINK = 0x10 895 RTM_NEWNDUSEROPT = 0x44 896 RTM_NEWNEIGH = 0x1c 897 RTM_NEWNEIGHTBL = 0x40 898 RTM_NEWPREFIX = 0x34 899 RTM_NEWQDISC = 0x24 900 RTM_NEWROUTE = 0x18 901 RTM_NEWRULE = 0x20 902 RTM_NEWTCLASS = 0x28 903 RTM_NEWTFILTER = 0x2c 904 RTM_NR_FAMILIES = 0x10 905 RTM_NR_MSGTYPES = 0x40 906 RTM_SETDCB = 0x4f 907 RTM_SETLINK = 0x13 908 RTM_SETNEIGHTBL = 0x43 909 RTNH_ALIGNTO = 0x4 910 RTNH_F_DEAD = 0x1 911 RTNH_F_ONLINK = 0x4 912 RTNH_F_PERVASIVE = 0x2 913 RTN_MAX = 0xb 914 RTPROT_BIRD = 0xc 915 RTPROT_BOOT = 0x3 916 RTPROT_DHCP = 0x10 917 RTPROT_DNROUTED = 0xd 918 RTPROT_GATED = 0x8 919 RTPROT_KERNEL = 0x2 920 RTPROT_MRT = 0xa 921 RTPROT_NTK = 0xf 922 RTPROT_RA = 0x9 923 RTPROT_REDIRECT = 0x1 924 RTPROT_STATIC = 0x4 925 RTPROT_UNSPEC = 0x0 926 RTPROT_XORP = 0xe 927 RTPROT_ZEBRA = 0xb 928 RT_CLASS_DEFAULT = 0xfd 929 RT_CLASS_LOCAL = 0xff 930 RT_CLASS_MAIN = 0xfe 931 RT_CLASS_MAX = 0xff 932 RT_CLASS_UNSPEC = 0x0 933 RUSAGE_CHILDREN = -0x1 934 RUSAGE_SELF = 0x0 935 RUSAGE_THREAD = 0x1 936 SCM_CREDENTIALS = 0x2 937 SCM_RIGHTS = 0x1 938 SCM_TIMESTAMP = 0x1d 939 SCM_TIMESTAMPING = 0x25 940 SCM_TIMESTAMPNS = 0x23 941 SHUT_RD = 0x0 942 SHUT_RDWR = 0x2 943 SHUT_WR = 0x1 944 SIOCADDDLCI = 0x8980 945 SIOCADDMULTI = 0x8931 946 SIOCADDRT = 0x890b 947 SIOCATMARK = 0x8905 948 SIOCDARP = 0x8953 949 SIOCDELDLCI = 0x8981 950 SIOCDELMULTI = 0x8932 951 SIOCDELRT = 0x890c 952 SIOCDEVPRIVATE = 0x89f0 953 SIOCDIFADDR = 0x8936 954 SIOCDRARP = 0x8960 955 SIOCGARP = 0x8954 956 SIOCGIFADDR = 0x8915 957 SIOCGIFBR = 0x8940 958 SIOCGIFBRDADDR = 0x8919 959 SIOCGIFCONF = 0x8912 960 SIOCGIFCOUNT = 0x8938 961 SIOCGIFDSTADDR = 0x8917 962 SIOCGIFENCAP = 0x8925 963 SIOCGIFFLAGS = 0x8913 964 SIOCGIFHWADDR = 0x8927 965 SIOCGIFINDEX = 0x8933 966 SIOCGIFMAP = 0x8970 967 SIOCGIFMEM = 0x891f 968 SIOCGIFMETRIC = 0x891d 969 SIOCGIFMTU = 0x8921 970 SIOCGIFNAME = 0x8910 971 SIOCGIFNETMASK = 0x891b 972 SIOCGIFPFLAGS = 0x8935 973 SIOCGIFSLAVE = 0x8929 974 SIOCGIFTXQLEN = 0x8942 975 SIOCGPGRP = 0x8904 976 SIOCGRARP = 0x8961 977 SIOCGSTAMP = 0x8906 978 SIOCGSTAMPNS = 0x8907 979 SIOCPROTOPRIVATE = 0x89e0 980 SIOCRTMSG = 0x890d 981 SIOCSARP = 0x8955 982 SIOCSIFADDR = 0x8916 983 SIOCSIFBR = 0x8941 984 SIOCSIFBRDADDR = 0x891a 985 SIOCSIFDSTADDR = 0x8918 986 SIOCSIFENCAP = 0x8926 987 SIOCSIFFLAGS = 0x8914 988 SIOCSIFHWADDR = 0x8924 989 SIOCSIFHWBROADCAST = 0x8937 990 SIOCSIFLINK = 0x8911 991 SIOCSIFMAP = 0x8971 992 SIOCSIFMEM = 0x8920 993 SIOCSIFMETRIC = 0x891e 994 SIOCSIFMTU = 0x8922 995 SIOCSIFNAME = 0x8923 996 SIOCSIFNETMASK = 0x891c 997 SIOCSIFPFLAGS = 0x8934 998 SIOCSIFSLAVE = 0x8930 999 SIOCSIFTXQLEN = 0x8943 1000 SIOCSPGRP = 0x8902 1001 SIOCSRARP = 0x8962 1002 SOCK_CLOEXEC = 0x80000 1003 SOCK_DCCP = 0x6 1004 SOCK_DGRAM = 0x2 1005 SOCK_NONBLOCK = 0x800 1006 SOCK_PACKET = 0xa 1007 SOCK_RAW = 0x3 1008 SOCK_RDM = 0x4 1009 SOCK_SEQPACKET = 0x5 1010 SOCK_STREAM = 0x1 1011 SOL_AAL = 0x109 1012 SOL_ATM = 0x108 1013 SOL_DECNET = 0x105 1014 SOL_ICMPV6 = 0x3a 1015 SOL_IP = 0x0 1016 SOL_IPV6 = 0x29 1017 SOL_IRDA = 0x10a 1018 SOL_PACKET = 0x107 1019 SOL_RAW = 0xff 1020 SOL_SOCKET = 0x1 1021 SOL_TCP = 0x6 1022 SOL_X25 = 0x106 1023 SOMAXCONN = 0x80 1024 SO_ACCEPTCONN = 0x1e 1025 SO_ATTACH_FILTER = 0x1a 1026 SO_BINDTODEVICE = 0x19 1027 SO_BROADCAST = 0x6 1028 SO_BSDCOMPAT = 0xe 1029 SO_DEBUG = 0x1 1030 SO_DETACH_FILTER = 0x1b 1031 SO_DOMAIN = 0x27 1032 SO_DONTROUTE = 0x5 1033 SO_ERROR = 0x4 1034 SO_KEEPALIVE = 0x9 1035 SO_LINGER = 0xd 1036 SO_MARK = 0x24 1037 SO_NO_CHECK = 0xb 1038 SO_OOBINLINE = 0xa 1039 SO_PASSCRED = 0x10 1040 SO_PASSSEC = 0x22 1041 SO_PEERCRED = 0x11 1042 SO_PEERNAME = 0x1c 1043 SO_PEERSEC = 0x1f 1044 SO_PRIORITY = 0xc 1045 SO_PROTOCOL = 0x26 1046 SO_RCVBUF = 0x8 1047 SO_RCVBUFFORCE = 0x21 1048 SO_RCVLOWAT = 0x12 1049 SO_RCVTIMEO = 0x14 1050 SO_REUSEADDR = 0x2 1051 SO_RXQ_OVFL = 0x28 1052 SO_SECURITY_AUTHENTICATION = 0x16 1053 SO_SECURITY_ENCRYPTION_NETWORK = 0x18 1054 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 1055 SO_SNDBUF = 0x7 1056 SO_SNDBUFFORCE = 0x20 1057 SO_SNDLOWAT = 0x13 1058 SO_SNDTIMEO = 0x15 1059 SO_TIMESTAMP = 0x1d 1060 SO_TIMESTAMPING = 0x25 1061 SO_TIMESTAMPNS = 0x23 1062 SO_TYPE = 0x3 1063 S_BLKSIZE = 0x200 1064 S_IEXEC = 0x40 1065 S_IFBLK = 0x6000 1066 S_IFCHR = 0x2000 1067 S_IFDIR = 0x4000 1068 S_IFIFO = 0x1000 1069 S_IFLNK = 0xa000 1070 S_IFMT = 0xf000 1071 S_IFREG = 0x8000 1072 S_IFSOCK = 0xc000 1073 S_IREAD = 0x100 1074 S_IRGRP = 0x20 1075 S_IROTH = 0x4 1076 S_IRUSR = 0x100 1077 S_IRWXG = 0x38 1078 S_IRWXO = 0x7 1079 S_IRWXU = 0x1c0 1080 S_ISGID = 0x400 1081 S_ISUID = 0x800 1082 S_ISVTX = 0x200 1083 S_IWGRP = 0x10 1084 S_IWOTH = 0x2 1085 S_IWRITE = 0x80 1086 S_IWUSR = 0x80 1087 S_IXGRP = 0x8 1088 S_IXOTH = 0x1 1089 S_IXUSR = 0x40 1090 TCIFLUSH = 0x0 1091 TCIOFLUSH = 0x2 1092 TCOFLUSH = 0x1 1093 TCP_CONGESTION = 0xd 1094 TCP_CORK = 0x3 1095 TCP_DEFER_ACCEPT = 0x9 1096 TCP_INFO = 0xb 1097 TCP_KEEPCNT = 0x6 1098 TCP_KEEPIDLE = 0x4 1099 TCP_KEEPINTVL = 0x5 1100 TCP_LINGER2 = 0x8 1101 TCP_MAXSEG = 0x2 1102 TCP_MAXWIN = 0xffff 1103 TCP_MAX_WINSHIFT = 0xe 1104 TCP_MD5SIG = 0xe 1105 TCP_MD5SIG_MAXKEYLEN = 0x50 1106 TCP_MSS = 0x200 1107 TCP_NODELAY = 0x1 1108 TCP_QUICKACK = 0xc 1109 TCP_SYNCNT = 0x7 1110 TCP_WINDOW_CLAMP = 0xa 1111 TIOCCBRK = 0x5428 1112 TIOCCONS = 0x541d 1113 TIOCEXCL = 0x540c 1114 TIOCGDEV = 0x80045432 1115 TIOCGETD = 0x5424 1116 TIOCGICOUNT = 0x545d 1117 TIOCGLCKTRMIOS = 0x5456 1118 TIOCGPGRP = 0x540f 1119 TIOCGPTN = 0x80045430 1120 TIOCGRS485 = 0x542e 1121 TIOCGSERIAL = 0x541e 1122 TIOCGSID = 0x5429 1123 TIOCGSOFTCAR = 0x5419 1124 TIOCGWINSZ = 0x5413 1125 TIOCINQ = 0x541b 1126 TIOCLINUX = 0x541c 1127 TIOCMBIC = 0x5417 1128 TIOCMBIS = 0x5416 1129 TIOCMGET = 0x5415 1130 TIOCMIWAIT = 0x545c 1131 TIOCMSET = 0x5418 1132 TIOCM_CAR = 0x40 1133 TIOCM_CD = 0x40 1134 TIOCM_CTS = 0x20 1135 TIOCM_DSR = 0x100 1136 TIOCM_DTR = 0x2 1137 TIOCM_LE = 0x1 1138 TIOCM_RI = 0x80 1139 TIOCM_RNG = 0x80 1140 TIOCM_RTS = 0x4 1141 TIOCM_SR = 0x10 1142 TIOCM_ST = 0x8 1143 TIOCNOTTY = 0x5422 1144 TIOCNXCL = 0x540d 1145 TIOCOUTQ = 0x5411 1146 TIOCPKT = 0x5420 1147 TIOCPKT_DATA = 0x0 1148 TIOCPKT_DOSTOP = 0x20 1149 TIOCPKT_FLUSHREAD = 0x1 1150 TIOCPKT_FLUSHWRITE = 0x2 1151 TIOCPKT_IOCTL = 0x40 1152 TIOCPKT_NOSTOP = 0x10 1153 TIOCPKT_START = 0x8 1154 TIOCPKT_STOP = 0x4 1155 TIOCSBRK = 0x5427 1156 TIOCSCTTY = 0x540e 1157 TIOCSERCONFIG = 0x5453 1158 TIOCSERGETLSR = 0x5459 1159 TIOCSERGETMULTI = 0x545a 1160 TIOCSERGSTRUCT = 0x5458 1161 TIOCSERGWILD = 0x5454 1162 TIOCSERSETMULTI = 0x545b 1163 TIOCSERSWILD = 0x5455 1164 TIOCSER_TEMT = 0x1 1165 TIOCSETD = 0x5423 1166 TIOCSIG = 0x40045436 1167 TIOCSLCKTRMIOS = 0x5457 1168 TIOCSPGRP = 0x5410 1169 TIOCSPTLCK = 0x40045431 1170 TIOCSRS485 = 0x542f 1171 TIOCSSERIAL = 0x541f 1172 TIOCSSOFTCAR = 0x541a 1173 TIOCSTI = 0x5412 1174 TIOCSWINSZ = 0x5414 1175 TUNATTACHFILTER = 0x401054d5 1176 TUNDETACHFILTER = 0x401054d6 1177 TUNGETFEATURES = 0x800454cf 1178 TUNGETIFF = 0x800454d2 1179 TUNGETSNDBUF = 0x800454d3 1180 TUNGETVNETHDRSZ = 0x800454d7 1181 TUNSETDEBUG = 0x400454c9 1182 TUNSETGROUP = 0x400454ce 1183 TUNSETIFF = 0x400454ca 1184 TUNSETLINK = 0x400454cd 1185 TUNSETNOCSUM = 0x400454c8 1186 TUNSETOFFLOAD = 0x400454d0 1187 TUNSETOWNER = 0x400454cc 1188 TUNSETPERSIST = 0x400454cb 1189 TUNSETSNDBUF = 0x400454d4 1190 TUNSETTXFILTER = 0x400454d1 1191 TUNSETVNETHDRSZ = 0x400454d8 1192 WALL = 0x40000000 1193 WCLONE = 0x80000000 1194 WCONTINUED = 0x8 1195 WEXITED = 0x4 1196 WNOHANG = 0x1 1197 WNOTHREAD = 0x20000000 1198 WNOWAIT = 0x1000000 1199 WORDSIZE = 0x40 1200 WSTOPPED = 0x2 1201 WUNTRACED = 0x2 1202 ) 1203 1204 // Errors 1205 const ( 1206 E2BIG = Errno(0x7) 1207 EACCES = Errno(0xd) 1208 EADDRINUSE = Errno(0x62) 1209 EADDRNOTAVAIL = Errno(0x63) 1210 EADV = Errno(0x44) 1211 EAFNOSUPPORT = Errno(0x61) 1212 EAGAIN = Errno(0xb) 1213 EALREADY = Errno(0x72) 1214 EBADE = Errno(0x34) 1215 EBADF = Errno(0x9) 1216 EBADFD = Errno(0x4d) 1217 EBADMSG = Errno(0x4a) 1218 EBADR = Errno(0x35) 1219 EBADRQC = Errno(0x38) 1220 EBADSLT = Errno(0x39) 1221 EBFONT = Errno(0x3b) 1222 EBUSY = Errno(0x10) 1223 ECANCELED = Errno(0x7d) 1224 ECHILD = Errno(0xa) 1225 ECHRNG = Errno(0x2c) 1226 ECOMM = Errno(0x46) 1227 ECONNABORTED = Errno(0x67) 1228 ECONNREFUSED = Errno(0x6f) 1229 ECONNRESET = Errno(0x68) 1230 EDEADLK = Errno(0x23) 1231 EDEADLOCK = Errno(0x23) 1232 EDESTADDRREQ = Errno(0x59) 1233 EDOM = Errno(0x21) 1234 EDOTDOT = Errno(0x49) 1235 EDQUOT = Errno(0x7a) 1236 EEXIST = Errno(0x11) 1237 EFAULT = Errno(0xe) 1238 EFBIG = Errno(0x1b) 1239 EHOSTDOWN = Errno(0x70) 1240 EHOSTUNREACH = Errno(0x71) 1241 EIDRM = Errno(0x2b) 1242 EILSEQ = Errno(0x54) 1243 EINPROGRESS = Errno(0x73) 1244 EINTR = Errno(0x4) 1245 EINVAL = Errno(0x16) 1246 EIO = Errno(0x5) 1247 EISCONN = Errno(0x6a) 1248 EISDIR = Errno(0x15) 1249 EISNAM = Errno(0x78) 1250 EKEYEXPIRED = Errno(0x7f) 1251 EKEYREJECTED = Errno(0x81) 1252 EKEYREVOKED = Errno(0x80) 1253 EL2HLT = Errno(0x33) 1254 EL2NSYNC = Errno(0x2d) 1255 EL3HLT = Errno(0x2e) 1256 EL3RST = Errno(0x2f) 1257 ELIBACC = Errno(0x4f) 1258 ELIBBAD = Errno(0x50) 1259 ELIBEXEC = Errno(0x53) 1260 ELIBMAX = Errno(0x52) 1261 ELIBSCN = Errno(0x51) 1262 ELNRNG = Errno(0x30) 1263 ELOOP = Errno(0x28) 1264 EMEDIUMTYPE = Errno(0x7c) 1265 EMFILE = Errno(0x18) 1266 EMLINK = Errno(0x1f) 1267 EMSGSIZE = Errno(0x5a) 1268 EMULTIHOP = Errno(0x48) 1269 ENAMETOOLONG = Errno(0x24) 1270 ENAVAIL = Errno(0x77) 1271 ENETDOWN = Errno(0x64) 1272 ENETRESET = Errno(0x66) 1273 ENETUNREACH = Errno(0x65) 1274 ENFILE = Errno(0x17) 1275 ENOANO = Errno(0x37) 1276 ENOBUFS = Errno(0x69) 1277 ENOCSI = Errno(0x32) 1278 ENODATA = Errno(0x3d) 1279 ENODEV = Errno(0x13) 1280 ENOENT = Errno(0x2) 1281 ENOEXEC = Errno(0x8) 1282 ENOKEY = Errno(0x7e) 1283 ENOLCK = Errno(0x25) 1284 ENOLINK = Errno(0x43) 1285 ENOMEDIUM = Errno(0x7b) 1286 ENOMEM = Errno(0xc) 1287 ENOMSG = Errno(0x2a) 1288 ENONET = Errno(0x40) 1289 ENOPKG = Errno(0x41) 1290 ENOPROTOOPT = Errno(0x5c) 1291 ENOSPC = Errno(0x1c) 1292 ENOSR = Errno(0x3f) 1293 ENOSTR = Errno(0x3c) 1294 ENOSYS = Errno(0x26) 1295 ENOTBLK = Errno(0xf) 1296 ENOTCONN = Errno(0x6b) 1297 ENOTDIR = Errno(0x14) 1298 ENOTEMPTY = Errno(0x27) 1299 ENOTNAM = Errno(0x76) 1300 ENOTRECOVERABLE = Errno(0x83) 1301 ENOTSOCK = Errno(0x58) 1302 ENOTSUP = Errno(0x5f) 1303 ENOTTY = Errno(0x19) 1304 ENOTUNIQ = Errno(0x4c) 1305 ENXIO = Errno(0x6) 1306 EOPNOTSUPP = Errno(0x5f) 1307 EOVERFLOW = Errno(0x4b) 1308 EOWNERDEAD = Errno(0x82) 1309 EPERM = Errno(0x1) 1310 EPFNOSUPPORT = Errno(0x60) 1311 EPIPE = Errno(0x20) 1312 EPROTO = Errno(0x47) 1313 EPROTONOSUPPORT = Errno(0x5d) 1314 EPROTOTYPE = Errno(0x5b) 1315 ERANGE = Errno(0x22) 1316 EREMCHG = Errno(0x4e) 1317 EREMOTE = Errno(0x42) 1318 EREMOTEIO = Errno(0x79) 1319 ERESTART = Errno(0x55) 1320 ERFKILL = Errno(0x84) 1321 EROFS = Errno(0x1e) 1322 ESHUTDOWN = Errno(0x6c) 1323 ESOCKTNOSUPPORT = Errno(0x5e) 1324 ESPIPE = Errno(0x1d) 1325 ESRCH = Errno(0x3) 1326 ESRMNT = Errno(0x45) 1327 ESTALE = Errno(0x74) 1328 ESTRPIPE = Errno(0x56) 1329 ETIME = Errno(0x3e) 1330 ETIMEDOUT = Errno(0x6e) 1331 ETOOMANYREFS = Errno(0x6d) 1332 ETXTBSY = Errno(0x1a) 1333 EUCLEAN = Errno(0x75) 1334 EUNATCH = Errno(0x31) 1335 EUSERS = Errno(0x57) 1336 EWOULDBLOCK = Errno(0xb) 1337 EXDEV = Errno(0x12) 1338 EXFULL = Errno(0x36) 1339 ) 1340 1341 // Signals 1342 const ( 1343 SIGABRT = Signal(0x6) 1344 SIGALRM = Signal(0xe) 1345 SIGBUS = Signal(0x7) 1346 SIGCHLD = Signal(0x11) 1347 SIGCLD = Signal(0x11) 1348 SIGCONT = Signal(0x12) 1349 SIGFPE = Signal(0x8) 1350 SIGHUP = Signal(0x1) 1351 SIGILL = Signal(0x4) 1352 SIGINT = Signal(0x2) 1353 SIGIO = Signal(0x1d) 1354 SIGIOT = Signal(0x6) 1355 SIGKILL = Signal(0x9) 1356 SIGPIPE = Signal(0xd) 1357 SIGPOLL = Signal(0x1d) 1358 SIGPROF = Signal(0x1b) 1359 SIGPWR = Signal(0x1e) 1360 SIGQUIT = Signal(0x3) 1361 SIGSEGV = Signal(0xb) 1362 SIGSTKFLT = Signal(0x10) 1363 SIGSTOP = Signal(0x13) 1364 SIGSYS = Signal(0x1f) 1365 SIGTERM = Signal(0xf) 1366 SIGTRAP = Signal(0x5) 1367 SIGTSTP = Signal(0x14) 1368 SIGTTIN = Signal(0x15) 1369 SIGTTOU = Signal(0x16) 1370 SIGUNUSED = Signal(0x1f) 1371 SIGURG = Signal(0x17) 1372 SIGUSR1 = Signal(0xa) 1373 SIGUSR2 = Signal(0xc) 1374 SIGVTALRM = Signal(0x1a) 1375 SIGWINCH = Signal(0x1c) 1376 SIGXCPU = Signal(0x18) 1377 SIGXFSZ = Signal(0x19) 1378 ) 1379 1380 // Error table 1381 var errors = [...]string{ 1382 1: "operation not permitted", 1383 2: "no such file or directory", 1384 3: "no such process", 1385 4: "interrupted system call", 1386 5: "input/output error", 1387 6: "no such device or address", 1388 7: "argument list too long", 1389 8: "exec format error", 1390 9: "bad file descriptor", 1391 10: "no child processes", 1392 11: "resource temporarily unavailable", 1393 12: "cannot allocate memory", 1394 13: "permission denied", 1395 14: "bad address", 1396 15: "block device required", 1397 16: "device or resource busy", 1398 17: "file exists", 1399 18: "invalid cross-device link", 1400 19: "no such device", 1401 20: "not a directory", 1402 21: "is a directory", 1403 22: "invalid argument", 1404 23: "too many open files in system", 1405 24: "too many open files", 1406 25: "inappropriate ioctl for device", 1407 26: "text file busy", 1408 27: "file too large", 1409 28: "no space left on device", 1410 29: "illegal seek", 1411 30: "read-only file system", 1412 31: "too many links", 1413 32: "broken pipe", 1414 33: "numerical argument out of domain", 1415 34: "numerical result out of range", 1416 35: "resource deadlock avoided", 1417 36: "file name too long", 1418 37: "no locks available", 1419 38: "function not implemented", 1420 39: "directory not empty", 1421 40: "too many levels of symbolic links", 1422 42: "no message of desired type", 1423 43: "identifier removed", 1424 44: "channel number out of range", 1425 45: "level 2 not synchronized", 1426 46: "level 3 halted", 1427 47: "level 3 reset", 1428 48: "link number out of range", 1429 49: "protocol driver not attached", 1430 50: "no CSI structure available", 1431 51: "level 2 halted", 1432 52: "invalid exchange", 1433 53: "invalid request descriptor", 1434 54: "exchange full", 1435 55: "no anode", 1436 56: "invalid request code", 1437 57: "invalid slot", 1438 59: "bad font file format", 1439 60: "device not a stream", 1440 61: "no data available", 1441 62: "timer expired", 1442 63: "out of streams resources", 1443 64: "machine is not on the network", 1444 65: "package not installed", 1445 66: "object is remote", 1446 67: "link has been severed", 1447 68: "advertise error", 1448 69: "srmount error", 1449 70: "communication error on send", 1450 71: "protocol error", 1451 72: "multihop attempted", 1452 73: "RFS specific error", 1453 74: "bad message", 1454 75: "value too large for defined data type", 1455 76: "name not unique on network", 1456 77: "file descriptor in bad state", 1457 78: "remote address changed", 1458 79: "can not access a needed shared library", 1459 80: "accessing a corrupted shared library", 1460 81: ".lib section in a.out corrupted", 1461 82: "attempting to link in too many shared libraries", 1462 83: "cannot exec a shared library directly", 1463 84: "invalid or incomplete multibyte or wide character", 1464 85: "interrupted system call should be restarted", 1465 86: "streams pipe error", 1466 87: "too many users", 1467 88: "socket operation on non-socket", 1468 89: "destination address required", 1469 90: "message too long", 1470 91: "protocol wrong type for socket", 1471 92: "protocol not available", 1472 93: "protocol not supported", 1473 94: "socket type not supported", 1474 95: "operation not supported", 1475 96: "protocol family not supported", 1476 97: "address family not supported by protocol", 1477 98: "address already in use", 1478 99: "cannot assign requested address", 1479 100: "network is down", 1480 101: "network is unreachable", 1481 102: "network dropped connection on reset", 1482 103: "software caused connection abort", 1483 104: "connection reset by peer", 1484 105: "no buffer space available", 1485 106: "transport endpoint is already connected", 1486 107: "transport endpoint is not connected", 1487 108: "cannot send after transport endpoint shutdown", 1488 109: "too many references: cannot splice", 1489 110: "connection timed out", 1490 111: "connection refused", 1491 112: "host is down", 1492 113: "no route to host", 1493 114: "operation already in progress", 1494 115: "operation now in progress", 1495 116: "stale NFS file handle", 1496 117: "structure needs cleaning", 1497 118: "not a XENIX named type file", 1498 119: "no XENIX semaphores available", 1499 120: "is a named type file", 1500 121: "remote I/O error", 1501 122: "disk quota exceeded", 1502 123: "no medium found", 1503 124: "wrong medium type", 1504 125: "operation canceled", 1505 126: "required key not available", 1506 127: "key has expired", 1507 128: "key has been revoked", 1508 129: "key was rejected by service", 1509 130: "owner died", 1510 131: "state not recoverable", 1511 132: "operation not possible due to RF-kill", 1512 } 1513 1514 // Signal table 1515 var signals = [...]string{ 1516 1: "hangup", 1517 2: "interrupt", 1518 3: "quit", 1519 4: "illegal instruction", 1520 5: "trace/breakpoint trap", 1521 6: "aborted", 1522 7: "bus error", 1523 8: "floating point exception", 1524 9: "killed", 1525 10: "user defined signal 1", 1526 11: "segmentation fault", 1527 12: "user defined signal 2", 1528 13: "broken pipe", 1529 14: "alarm clock", 1530 15: "terminated", 1531 16: "stack fault", 1532 17: "child exited", 1533 18: "continued", 1534 19: "stopped (signal)", 1535 20: "stopped", 1536 21: "stopped (tty input)", 1537 22: "stopped (tty output)", 1538 23: "urgent I/O condition", 1539 24: "CPU time limit exceeded", 1540 25: "file size limit exceeded", 1541 26: "virtual timer expired", 1542 27: "profiling timer expired", 1543 28: "window changed", 1544 29: "I/O possible", 1545 30: "power failure", 1546 31: "bad system call", 1547 } 1548