vendor: cleanup unused dependencies after plugin split
authorGabe Rosenhouse <grosenhouse@pivotal.io>
Wed, 7 Jun 2017 04:08:57 +0000 (21:08 -0700)
committerGabe Rosenhouse <grosenhouse@pivotal.io>
Wed, 7 Jun 2017 04:08:57 +0000 (21:08 -0700)
273 files changed:
Godeps/Godeps.json
vendor/github.com/coreos/go-iptables/LICENSE [deleted file]
vendor/github.com/coreos/go-iptables/iptables/iptables.go [deleted file]
vendor/github.com/coreos/go-iptables/iptables/lock.go [deleted file]
vendor/github.com/vishvananda/netlink/.travis.yml [deleted file]
vendor/github.com/vishvananda/netlink/LICENSE [deleted file]
vendor/github.com/vishvananda/netlink/Makefile [deleted file]
vendor/github.com/vishvananda/netlink/README.md [deleted file]
vendor/github.com/vishvananda/netlink/addr.go [deleted file]
vendor/github.com/vishvananda/netlink/addr_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/addr_test.go [deleted file]
vendor/github.com/vishvananda/netlink/bpf_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/class.go [deleted file]
vendor/github.com/vishvananda/netlink/class_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/class_test.go [deleted file]
vendor/github.com/vishvananda/netlink/conntrack_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/conntrack_test.go [deleted file]
vendor/github.com/vishvananda/netlink/conntrack_unspecified.go [deleted file]
vendor/github.com/vishvananda/netlink/filter.go [deleted file]
vendor/github.com/vishvananda/netlink/filter_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/filter_test.go [deleted file]
vendor/github.com/vishvananda/netlink/handle_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/handle_test.go [deleted file]
vendor/github.com/vishvananda/netlink/handle_unspecified.go [deleted file]
vendor/github.com/vishvananda/netlink/link.go [deleted file]
vendor/github.com/vishvananda/netlink/link_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/link_test.go [deleted file]
vendor/github.com/vishvananda/netlink/link_tuntap_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/neigh.go [deleted file]
vendor/github.com/vishvananda/netlink/neigh_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/neigh_test.go [deleted file]
vendor/github.com/vishvananda/netlink/netlink.go [deleted file]
vendor/github.com/vishvananda/netlink/netlink_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/netlink_test.go [deleted file]
vendor/github.com/vishvananda/netlink/netlink_unspecified.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/addr_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/addr_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/link_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/link_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/mpls_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/nl_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/nl_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/route_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/route_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/syscall.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/tc_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/tc_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux_test.go [deleted file]
vendor/github.com/vishvananda/netlink/order.go [deleted file]
vendor/github.com/vishvananda/netlink/protinfo.go [deleted file]
vendor/github.com/vishvananda/netlink/protinfo_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/protinfo_test.go [deleted file]
vendor/github.com/vishvananda/netlink/qdisc.go [deleted file]
vendor/github.com/vishvananda/netlink/qdisc_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/qdisc_test.go [deleted file]
vendor/github.com/vishvananda/netlink/route.go [deleted file]
vendor/github.com/vishvananda/netlink/route_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/route_test.go [deleted file]
vendor/github.com/vishvananda/netlink/route_unspecified.go [deleted file]
vendor/github.com/vishvananda/netlink/rule.go [deleted file]
vendor/github.com/vishvananda/netlink/rule_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/rule_test.go [deleted file]
vendor/github.com/vishvananda/netlink/socket.go [deleted file]
vendor/github.com/vishvananda/netlink/socket_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/socket_test.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_monitor_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_monitor_test.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_policy.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_policy_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_policy_test.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_state.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_state_linux.go [deleted file]
vendor/github.com/vishvananda/netlink/xfrm_state_test.go [deleted file]
vendor/github.com/vishvananda/netns/LICENSE [deleted file]
vendor/github.com/vishvananda/netns/README.md [deleted file]
vendor/github.com/vishvananda/netns/netns.go [deleted file]
vendor/github.com/vishvananda/netns/netns_linux.go [deleted file]
vendor/github.com/vishvananda/netns/netns_unspecified.go [deleted file]
vendor/golang.org/x/sys/AUTHORS [deleted file]
vendor/golang.org/x/sys/CONTRIBUTORS [deleted file]
vendor/golang.org/x/sys/LICENSE [deleted file]
vendor/golang.org/x/sys/PATENTS [deleted file]
vendor/golang.org/x/sys/unix/.gitignore [deleted file]
vendor/golang.org/x/sys/unix/asm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_arm64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_freebsd_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_freebsd_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_arm64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_mips64x.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_s390x.s [deleted file]
vendor/golang.org/x/sys/unix/asm_netbsd_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_netbsd_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_openbsd_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_solaris_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/bluetooth_linux.go [deleted file]
vendor/golang.org/x/sys/unix/constants.go [deleted file]
vendor/golang.org/x/sys/unix/env_unix.go [deleted file]
vendor/golang.org/x/sys/unix/env_unset.go [deleted file]
vendor/golang.org/x/sys/unix/flock.go [deleted file]
vendor/golang.org/x/sys/unix/flock_linux_32bit.go [deleted file]
vendor/golang.org/x/sys/unix/gccgo.go [deleted file]
vendor/golang.org/x/sys/unix/gccgo_c.c [deleted file]
vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/mkall.sh [deleted file]
vendor/golang.org/x/sys/unix/mkerrors.sh [deleted file]
vendor/golang.org/x/sys/unix/mkpost.go [deleted file]
vendor/golang.org/x/sys/unix/mksyscall.pl [deleted file]
vendor/golang.org/x/sys/unix/mksyscall_solaris.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_darwin.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_linux.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl [deleted file]
vendor/golang.org/x/sys/unix/race.go [deleted file]
vendor/golang.org/x/sys/unix/race0.go [deleted file]
vendor/golang.org/x/sys/unix/sockcmsg_linux.go [deleted file]
vendor/golang.org/x/sys/unix/sockcmsg_unix.go [deleted file]
vendor/golang.org/x/sys/unix/str.go [deleted file]
vendor/golang.org/x/sys/unix/syscall.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_bsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_dragonfly.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_no_getwd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_openbsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_solaris.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_unix.go [deleted file]
vendor/golang.org/x/sys/unix/types_darwin.go [deleted file]
vendor/golang.org/x/sys/unix/types_dragonfly.go [deleted file]
vendor/golang.org/x/sys/unix/types_freebsd.go [deleted file]
vendor/golang.org/x/sys/unix/types_linux.go [deleted file]
vendor/golang.org/x/sys/unix/types_netbsd.go [deleted file]
vendor/golang.org/x/sys/unix/types_openbsd.go [deleted file]
vendor/golang.org/x/sys/unix/types_solaris.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysctl_openbsd.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go [deleted file]

index e5ea8b5..876f9b6 100644 (file)
@@ -6,11 +6,6 @@
                "./..."
        ],
        "Deps": [
-               {
-                       "ImportPath": "github.com/coreos/go-iptables/iptables",
-                       "Comment": "v0.1.0",
-                       "Rev": "fbb73372b87f6e89951c2b6b31470c2c9d5cfae3"
-               },
                {
                        "ImportPath": "github.com/onsi/ginkgo",
                        "Comment": "v1.2.0-29-g7f8ab55",
                        "ImportPath": "github.com/onsi/gomega/types",
                        "Comment": "v1.0-71-g2152b45",
                        "Rev": "2152b45fa28a361beba9aab0885972323a444e28"
-               },
-               {
-                       "ImportPath": "github.com/vishvananda/netlink",
-                       "Rev": "b71e0bb214aebd980216cb2516e8bd7bca9e9672"
-               },
-               {
-                       "ImportPath": "github.com/vishvananda/netlink/nl",
-                       "Rev": "b71e0bb214aebd980216cb2516e8bd7bca9e9672"
-               },
-               {
-                       "ImportPath": "github.com/vishvananda/netns",
-                       "Rev": "8ba1072b58e0c2a240eb5f6120165c7776c3e7b8"
-               },
-               {
-                       "ImportPath": "golang.org/x/sys/unix",
-                       "Rev": "076b546753157f758b316e59bcb51e6807c04057"
                }
        ]
 }
diff --git a/vendor/github.com/coreos/go-iptables/LICENSE b/vendor/github.com/coreos/go-iptables/LICENSE
deleted file mode 100644 (file)
index 37ec93a..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-Apache License
-Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
-"License" shall mean the terms and conditions for use, reproduction, and
-distribution as defined by Sections 1 through 9 of this document.
-
-"Licensor" shall mean the copyright owner or entity authorized by the copyright
-owner that is granting the License.
-
-"Legal Entity" shall mean the union of the acting entity and all other entities
-that control, are controlled by, or are under common control with that entity.
-For the purposes of this definition, "control" means (i) the power, direct or
-indirect, to cause the direction or management of such entity, whether by
-contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
-outstanding shares, or (iii) beneficial ownership of such entity.
-
-"You" (or "Your") shall mean an individual or Legal Entity exercising
-permissions granted by this License.
-
-"Source" form shall mean the preferred form for making modifications, including
-but not limited to software source code, documentation source, and configuration
-files.
-
-"Object" form shall mean any form resulting from mechanical transformation or
-translation of a Source form, including but not limited to compiled object code,
-generated documentation, and conversions to other media types.
-
-"Work" shall mean the work of authorship, whether in Source or Object form, made
-available under the License, as indicated by a copyright notice that is included
-in or attached to the work (an example is provided in the Appendix below).
-
-"Derivative Works" shall mean any work, whether in Source or Object form, that
-is based on (or derived from) the Work and for which the editorial revisions,
-annotations, elaborations, or other modifications represent, as a whole, an
-original work of authorship. For the purposes of this License, Derivative Works
-shall not include works that remain separable from, or merely link (or bind by
-name) to the interfaces of, the Work and Derivative Works thereof.
-
-"Contribution" shall mean any work of authorship, including the original version
-of the Work and any modifications or additions to that Work or Derivative Works
-thereof, that is intentionally submitted to Licensor for inclusion in the Work
-by the copyright owner or by an individual or Legal Entity authorized to submit
-on behalf of the copyright owner. For the purposes of this definition,
-"submitted" means any form of electronic, verbal, or written communication sent
-to the Licensor or its representatives, including but not limited to
-communication on electronic mailing lists, source code control systems, and
-issue tracking systems that are managed by, or on behalf of, the Licensor for
-the purpose of discussing and improving the Work, but excluding communication
-that is conspicuously marked or otherwise designated in writing by the copyright
-owner as "Not a Contribution."
-
-"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
-of whom a Contribution has been received by Licensor and subsequently
-incorporated within the Work.
-
-2. Grant of Copyright License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable copyright license to reproduce, prepare Derivative Works of,
-publicly display, publicly perform, sublicense, and distribute the Work and such
-Derivative Works in Source or Object form.
-
-3. Grant of Patent License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable (except as stated in this section) patent license to make, have
-made, use, offer to sell, sell, import, and otherwise transfer the Work, where
-such license applies only to those patent claims licensable by such Contributor
-that are necessarily infringed by their Contribution(s) alone or by combination
-of their Contribution(s) with the Work to which such Contribution(s) was
-submitted. If You institute patent litigation against any entity (including a
-cross-claim or counterclaim in a lawsuit) alleging that the Work or a
-Contribution incorporated within the Work constitutes direct or contributory
-patent infringement, then any patent licenses granted to You under this License
-for that Work shall terminate as of the date such litigation is filed.
-
-4. Redistribution.
-
-You may reproduce and distribute copies of the Work or Derivative Works thereof
-in any medium, with or without modifications, and in Source or Object form,
-provided that You meet the following conditions:
-
-You must give any other recipients of the Work or Derivative Works a copy of
-this License; and
-You must cause any modified files to carry prominent notices stating that You
-changed the files; and
-You must retain, in the Source form of any Derivative Works that You distribute,
-all copyright, patent, trademark, and attribution notices from the Source form
-of the Work, excluding those notices that do not pertain to any part of the
-Derivative Works; and
-If the Work includes a "NOTICE" text file as part of its distribution, then any
-Derivative Works that You distribute must include a readable copy of the
-attribution notices contained within such NOTICE file, excluding those notices
-that do not pertain to any part of the Derivative Works, in at least one of the
-following places: within a NOTICE text file distributed as part of the
-Derivative Works; within the Source form or documentation, if provided along
-with the Derivative Works; or, within a display generated by the Derivative
-Works, if and wherever such third-party notices normally appear. The contents of
-the NOTICE file are for informational purposes only and do not modify the
-License. You may add Your own attribution notices within Derivative Works that
-You distribute, alongside or as an addendum to the NOTICE text from the Work,
-provided that such additional attribution notices cannot be construed as
-modifying the License.
-You may add Your own copyright statement to Your modifications and may provide
-additional or different license terms and conditions for use, reproduction, or
-distribution of Your modifications, or for any such Derivative Works as a whole,
-provided Your use, reproduction, and distribution of the Work otherwise complies
-with the conditions stated in this License.
-
-5. Submission of Contributions.
-
-Unless You explicitly state otherwise, any Contribution intentionally submitted
-for inclusion in the Work by You to the Licensor shall be under the terms and
-conditions of this License, without any additional terms or conditions.
-Notwithstanding the above, nothing herein shall supersede or modify the terms of
-any separate license agreement you may have executed with Licensor regarding
-such Contributions.
-
-6. Trademarks.
-
-This License does not grant permission to use the trade names, trademarks,
-service marks, or product names of the Licensor, except as required for
-reasonable and customary use in describing the origin of the Work and
-reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty.
-
-Unless required by applicable law or agreed to in writing, Licensor provides the
-Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
-including, without limitation, any warranties or conditions of TITLE,
-NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
-solely responsible for determining the appropriateness of using or
-redistributing the Work and assume any risks associated with Your exercise of
-permissions under this License.
-
-8. Limitation of Liability.
-
-In no event and under no legal theory, whether in tort (including negligence),
-contract, or otherwise, unless required by applicable law (such as deliberate
-and grossly negligent acts) or agreed to in writing, shall any Contributor be
-liable to You for damages, including any direct, indirect, special, incidental,
-or consequential damages of any character arising as a result of this License or
-out of the use or inability to use the Work (including but not limited to
-damages for loss of goodwill, work stoppage, computer failure or malfunction, or
-any and all other commercial damages or losses), even if such Contributor has
-been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability.
-
-While redistributing the Work or Derivative Works thereof, You may choose to
-offer, and charge a fee for, acceptance of support, warranty, indemnity, or
-other liability obligations and/or rights consistent with this License. However,
-in accepting such obligations, You may act only on Your own behalf and on Your
-sole responsibility, not on behalf of any other Contributor, and only if You
-agree to indemnify, defend, and hold each Contributor harmless for any liability
-incurred by, or claims asserted against, such Contributor by reason of your
-accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
-
-APPENDIX: How to apply the Apache License to your work
-
-To apply the Apache License to your work, attach the following boilerplate
-notice, with the fields enclosed by brackets "[]" replaced with your own
-identifying information. (Don't include the brackets!) The text should be
-enclosed in the appropriate comment syntax for the file format. We also
-recommend that a file or class name and description of purpose be included on
-the same "printed page" as the copyright notice for easier identification within
-third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/vendor/github.com/coreos/go-iptables/iptables/iptables.go b/vendor/github.com/coreos/go-iptables/iptables/iptables.go
deleted file mode 100644 (file)
index 4b2f2f2..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-// Copyright 2015 CoreOS, Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package iptables
-
-import (
-       "bytes"
-       "fmt"
-       "io"
-       "os/exec"
-       "regexp"
-       "strconv"
-       "strings"
-       "syscall"
-)
-
-// Adds the output of stderr to exec.ExitError
-type Error struct {
-       exec.ExitError
-       msg string
-}
-
-func (e *Error) ExitStatus() int {
-       return e.Sys().(syscall.WaitStatus).ExitStatus()
-}
-
-func (e *Error) Error() string {
-       return fmt.Sprintf("exit status %v: %v", e.ExitStatus(), e.msg)
-}
-
-type IPTables struct {
-       path     string
-       hasCheck bool
-       hasWait  bool
-}
-
-func New() (*IPTables, error) {
-       path, err := exec.LookPath("iptables")
-       if err != nil {
-               return nil, err
-       }
-       checkPresent, waitPresent, err := getIptablesCommandSupport()
-       if err != nil {
-               return nil, fmt.Errorf("error checking iptables version: %v", err)
-       }
-       ipt := IPTables{
-               path:     path,
-               hasCheck: checkPresent,
-               hasWait:  waitPresent,
-       }
-       return &ipt, nil
-}
-
-// Exists checks if given rulespec in specified table/chain exists
-func (ipt *IPTables) Exists(table, chain string, rulespec ...string) (bool, error) {
-       if !ipt.hasCheck {
-               return ipt.existsForOldIptables(table, chain, rulespec)
-
-       }
-       cmd := append([]string{"-t", table, "-C", chain}, rulespec...)
-       err := ipt.run(cmd...)
-       eerr, eok := err.(*Error)
-       switch {
-       case err == nil:
-               return true, nil
-       case eok && eerr.ExitStatus() == 1:
-               return false, nil
-       default:
-               return false, err
-       }
-}
-
-// Insert inserts rulespec to specified table/chain (in specified pos)
-func (ipt *IPTables) Insert(table, chain string, pos int, rulespec ...string) error {
-       cmd := append([]string{"-t", table, "-I", chain, strconv.Itoa(pos)}, rulespec...)
-       return ipt.run(cmd...)
-}
-
-// Append appends rulespec to specified table/chain
-func (ipt *IPTables) Append(table, chain string, rulespec ...string) error {
-       cmd := append([]string{"-t", table, "-A", chain}, rulespec...)
-       return ipt.run(cmd...)
-}
-
-// AppendUnique acts like Append except that it won't add a duplicate
-func (ipt *IPTables) AppendUnique(table, chain string, rulespec ...string) error {
-       exists, err := ipt.Exists(table, chain, rulespec...)
-       if err != nil {
-               return err
-       }
-
-       if !exists {
-               return ipt.Append(table, chain, rulespec...)
-       }
-
-       return nil
-}
-
-// Delete removes rulespec in specified table/chain
-func (ipt *IPTables) Delete(table, chain string, rulespec ...string) error {
-       cmd := append([]string{"-t", table, "-D", chain}, rulespec...)
-       return ipt.run(cmd...)
-}
-
-// List rules in specified table/chain
-func (ipt *IPTables) List(table, chain string) ([]string, error) {
-       args := []string{"-t", table, "-S", chain}
-       var stdout bytes.Buffer
-       if err := ipt.runWithOutput(args, &stdout); err != nil {
-               return nil, err
-       }
-
-       rules := strings.Split(stdout.String(), "\n")
-       if len(rules) > 0 && rules[len(rules)-1] == "" {
-               rules = rules[:len(rules)-1]
-       }
-
-       return rules, nil
-}
-
-func (ipt *IPTables) NewChain(table, chain string) error {
-       return ipt.run("-t", table, "-N", chain)
-}
-
-// ClearChain flushed (deletes all rules) in the specified table/chain.
-// If the chain does not exist, a new one will be created
-func (ipt *IPTables) ClearChain(table, chain string) error {
-       err := ipt.NewChain(table, chain)
-
-       eerr, eok := err.(*Error)
-       switch {
-       case err == nil:
-               return nil
-       case eok && eerr.ExitStatus() == 1:
-               // chain already exists. Flush (clear) it.
-               return ipt.run("-t", table, "-F", chain)
-       default:
-               return err
-       }
-}
-
-// RenameChain renames the old chain to the new one.
-func (ipt *IPTables) RenameChain(table, oldChain, newChain string) error {
-       return ipt.run("-t", table, "-E", oldChain, newChain)
-}
-
-// DeleteChain deletes the chain in the specified table.
-// The chain must be empty
-func (ipt *IPTables) DeleteChain(table, chain string) error {
-       return ipt.run("-t", table, "-X", chain)
-}
-
-// run runs an iptables command with the given arguments, ignoring
-// any stdout output
-func (ipt *IPTables) run(args ...string) error {
-       return ipt.runWithOutput(args, nil)
-}
-
-// runWithOutput runs an iptables command with the given arguments,
-// writing any stdout output to the given writer
-func (ipt *IPTables) runWithOutput(args []string, stdout io.Writer) error {
-       args = append([]string{ipt.path}, args...)
-       if ipt.hasWait {
-               args = append(args, "--wait")
-       } else {
-               fmu, err := newXtablesFileLock()
-               if err != nil {
-                       return err
-               }
-               ul, err := fmu.tryLock()
-               if err != nil {
-                       return err
-               }
-               defer ul.Unlock()
-       }
-
-       var stderr bytes.Buffer
-       cmd := exec.Cmd{
-               Path:   ipt.path,
-               Args:   args,
-               Stdout: stdout,
-               Stderr: &stderr,
-       }
-
-       if err := cmd.Run(); err != nil {
-               return &Error{*(err.(*exec.ExitError)), stderr.String()}
-       }
-
-       return nil
-}
-
-// Checks if iptables has the "-C" and "--wait" flag
-func getIptablesCommandSupport() (bool, bool, error) {
-       vstring, err := getIptablesVersionString()
-       if err != nil {
-               return false, false, err
-       }
-
-       v1, v2, v3, err := extractIptablesVersion(vstring)
-       if err != nil {
-               return false, false, err
-       }
-
-       return iptablesHasCheckCommand(v1, v2, v3), iptablesHasWaitCommand(v1, v2, v3), nil
-}
-
-// getIptablesVersion returns the first three components of the iptables version.
-// e.g. "iptables v1.3.66" would return (1, 3, 66, nil)
-func extractIptablesVersion(str string) (int, int, int, error) {
-       versionMatcher := regexp.MustCompile("v([0-9]+)\\.([0-9]+)\\.([0-9]+)")
-       result := versionMatcher.FindStringSubmatch(str)
-       if result == nil {
-               return 0, 0, 0, fmt.Errorf("no iptables version found in string: %s", str)
-       }
-
-       v1, err := strconv.Atoi(result[1])
-       if err != nil {
-               return 0, 0, 0, err
-       }
-
-       v2, err := strconv.Atoi(result[2])
-       if err != nil {
-               return 0, 0, 0, err
-       }
-
-       v3, err := strconv.Atoi(result[3])
-       if err != nil {
-               return 0, 0, 0, err
-       }
-
-       return v1, v2, v3, nil
-}
-
-// Runs "iptables --version" to get the version string
-func getIptablesVersionString() (string, error) {
-       cmd := exec.Command("iptables", "--version")
-       var out bytes.Buffer
-       cmd.Stdout = &out
-       err := cmd.Run()
-       if err != nil {
-               return "", err
-       }
-       return out.String(), nil
-}
-
-// Checks if an iptables version is after 1.4.11, when --check was added
-func iptablesHasCheckCommand(v1 int, v2 int, v3 int) bool {
-       if v1 > 1 {
-               return true
-       }
-       if v1 == 1 && v2 > 4 {
-               return true
-       }
-       if v1 == 1 && v2 == 4 && v3 >= 11 {
-               return true
-       }
-       return false
-}
-
-// Checks if an iptables version is after 1.4.20, when --wait was added
-func iptablesHasWaitCommand(v1 int, v2 int, v3 int) bool {
-       if v1 > 1 {
-               return true
-       }
-       if v1 == 1 && v2 > 4 {
-               return true
-       }
-       if v1 == 1 && v2 == 4 && v3 >= 20 {
-               return true
-       }
-       return false
-}
-
-// Checks if a rule specification exists for a table
-func (ipt *IPTables) existsForOldIptables(table, chain string, rulespec []string) (bool, error) {
-       rs := strings.Join(append([]string{"-A", chain}, rulespec...), " ")
-       args := []string{"-t", table, "-S"}
-       var stdout bytes.Buffer
-       err := ipt.runWithOutput(args, &stdout)
-       if err != nil {
-               return false, err
-       }
-       return strings.Contains(stdout.String(), rs), nil
-}
diff --git a/vendor/github.com/coreos/go-iptables/iptables/lock.go b/vendor/github.com/coreos/go-iptables/iptables/lock.go
deleted file mode 100644 (file)
index a88e92b..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright 2015 CoreOS, Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package iptables
-
-import (
-       "os"
-       "sync"
-       "syscall"
-)
-
-const (
-       // In earlier versions of iptables, the xtables lock was implemented
-       // via a Unix socket, but now flock is used via this lockfile:
-       // http://git.netfilter.org/iptables/commit/?id=aa562a660d1555b13cffbac1e744033e91f82707
-       // Note the LSB-conforming "/run" directory does not exist on old
-       // distributions, so assume "/var" is symlinked
-       xtablesLockFilePath = "/var/run/xtables.lock"
-
-       defaultFilePerm = 0600
-)
-
-type Unlocker interface {
-       Unlock() error
-}
-
-type nopUnlocker struct{}
-
-func (_ nopUnlocker) Unlock() error { return nil }
-
-type fileLock struct {
-       // mu is used to protect against concurrent invocations from within this process
-       mu sync.Mutex
-       fd int
-}
-
-// tryLock takes an exclusive lock on the xtables lock file without blocking.
-// This is best-effort only: if the exclusive lock would block (i.e. because
-// another process already holds it), no error is returned. Otherwise, any
-// error encountered during the locking operation is returned.
-// The returned Unlocker should be used to release the lock when the caller is
-// done invoking iptables commands.
-func (l *fileLock) tryLock() (Unlocker, error) {
-       l.mu.Lock()
-       err := syscall.Flock(l.fd, syscall.LOCK_EX|syscall.LOCK_NB)
-       switch err {
-       case syscall.EWOULDBLOCK:
-               l.mu.Unlock()
-               return nopUnlocker{}, nil
-       case nil:
-               return l, nil
-       default:
-               l.mu.Unlock()
-               return nil, err
-       }
-}
-
-// Unlock closes the underlying file, which implicitly unlocks it as well. It
-// also unlocks the associated mutex.
-func (l *fileLock) Unlock() error {
-       defer l.mu.Unlock()
-       return syscall.Close(l.fd)
-}
-
-// newXtablesFileLock opens a new lock on the xtables lockfile without
-// acquiring the lock
-func newXtablesFileLock() (*fileLock, error) {
-       fd, err := syscall.Open(xtablesLockFilePath, os.O_CREATE, defaultFilePerm)
-       if err != nil {
-               return nil, err
-       }
-       return &fileLock{fd: fd}, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/.travis.yml b/vendor/github.com/vishvananda/netlink/.travis.yml
deleted file mode 100644 (file)
index f5c0b3e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-language: go
-before_script:
-  # make sure we keep path in tact when we sudo
-  - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
-  # modprobe ip_gre or else the first gre device can't be deleted
-  - sudo modprobe ip_gre
-  # modprobe nf_conntrack for the conntrack testing
-  - sudo modprobe nf_conntrack
-  - sudo modprobe nf_conntrack_netlink
-  - sudo modprobe nf_conntrack_ipv4
-  - sudo modprobe nf_conntrack_ipv6
-install:
-  - go get github.com/vishvananda/netns
diff --git a/vendor/github.com/vishvananda/netlink/LICENSE b/vendor/github.com/vishvananda/netlink/LICENSE
deleted file mode 100644 (file)
index 9f64db8..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   Copyright 2014 Vishvananda Ishaya.
-   Copyright 2014 Docker, Inc.
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/vendor/github.com/vishvananda/netlink/Makefile b/vendor/github.com/vishvananda/netlink/Makefile
deleted file mode 100644 (file)
index 6c8413b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-DIRS := \
-       . \
-       nl
-
-DEPS = \
-       github.com/vishvananda/netns
-
-uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
-testdirs = $(call uniq,$(foreach d,$(1),$(dir $(wildcard $(d)/*_test.go))))
-goroot = $(addprefix ../../../,$(1))
-unroot = $(subst ../../../,,$(1))
-fmt = $(addprefix fmt-,$(1))
-
-all: test
-
-$(call goroot,$(DEPS)):
-       go get $(call unroot,$@)
-
-.PHONY: $(call testdirs,$(DIRS))
-$(call testdirs,$(DIRS)):
-       sudo -E go test -test.parallel 4 -timeout 60s -v github.com/vishvananda/netlink/$@
-
-$(call fmt,$(call testdirs,$(DIRS))):
-       ! gofmt -l $(subst fmt-,,$@)/*.go | grep -q .
-
-.PHONY: fmt
-fmt: $(call fmt,$(call testdirs,$(DIRS)))
-
-test: fmt $(call goroot,$(DEPS)) $(call testdirs,$(DIRS))
diff --git a/vendor/github.com/vishvananda/netlink/README.md b/vendor/github.com/vishvananda/netlink/README.md
deleted file mode 100644 (file)
index 2367fae..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-# netlink - netlink library for go #
-
-[![Build Status](https://travis-ci.org/vishvananda/netlink.png?branch=master)](https://travis-ci.org/vishvananda/netlink) [![GoDoc](https://godoc.org/github.com/vishvananda/netlink?status.svg)](https://godoc.org/github.com/vishvananda/netlink)
-
-The netlink package provides a simple netlink library for go. Netlink
-is the interface a user-space program in linux uses to communicate with
-the kernel. It can be used to add and remove interfaces, set ip addresses
-and routes, and configure ipsec. Netlink communication requires elevated
-privileges, so in most cases this code needs to be run as root. Since
-low-level netlink messages are inscrutable at best, the library attempts
-to provide an api that is loosely modeled on the CLI provided by iproute2.
-Actions like `ip link add` will be accomplished via a similarly named
-function like AddLink(). This library began its life as a fork of the
-netlink functionality in
-[docker/libcontainer](https://github.com/docker/libcontainer) but was
-heavily rewritten to improve testability, performance, and to add new
-functionality like ipsec xfrm handling.
-
-## Local Build and Test ##
-
-You can use go get command:
-
-    go get github.com/vishvananda/netlink
-
-Testing dependencies:
-
-    go get github.com/vishvananda/netns
-
-Testing (requires root):
-
-    sudo -E go test github.com/vishvananda/netlink
-
-## Examples ##
-
-Add a new bridge and add eth1 into it:
-
-```go
-package main
-
-import (
-    "net"
-    "github.com/vishvananda/netlink"
-)
-
-func main() {
-    la := netlink.NewLinkAttrs()
-    la.Name = "foo"
-    mybridge := &netlink.Bridge{la}}
-    _ := netlink.LinkAdd(mybridge)
-    eth1, _ := netlink.LinkByName("eth1")
-    netlink.LinkSetMaster(eth1, mybridge)
-}
-
-```
-Note `NewLinkAttrs` constructor, it sets default values in structure. For now
-it sets only `TxQLen` to `-1`, so kernel will set default by itself. If you're
-using simple initialization(`LinkAttrs{Name: "foo"}`) `TxQLen` will be set to
-`0` unless you specify it like `LinkAttrs{Name: "foo", TxQLen: 1000}`.
-
-Add a new ip address to loopback:
-
-```go
-package main
-
-import (
-    "net"
-    "github.com/vishvananda/netlink"
-)
-
-func main() {
-    lo, _ := netlink.LinkByName("lo")
-    addr, _ := netlink.ParseAddr("169.254.169.254/32")
-    netlink.AddrAdd(lo, addr)
-}
-
-```
-
-## Future Work ##
-
-Many pieces of netlink are not yet fully supported in the high-level
-interface. Aspects of virtually all of the high-level objects don't exist.
-Many of the underlying primitives are there, so its a matter of putting
-the right fields into the high-level objects and making sure that they
-are serialized and deserialized correctly in the Add and List methods.
-
-There are also a few pieces of low level netlink functionality that still
-need to be implemented. Routing rules are not in place and some of the
-more advanced link types. Hopefully there is decent structure and testing
-in place to make these fairly straightforward to add.
diff --git a/vendor/github.com/vishvananda/netlink/addr.go b/vendor/github.com/vishvananda/netlink/addr.go
deleted file mode 100644 (file)
index f08c956..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-       "strings"
-)
-
-// Addr represents an IP address from netlink. Netlink ip addresses
-// include a mask, so it stores the address as a net.IPNet.
-type Addr struct {
-       *net.IPNet
-       Label       string
-       Flags       int
-       Scope       int
-       Peer        *net.IPNet
-       Broadcast   net.IP
-       PreferedLft int
-       ValidLft    int
-}
-
-// String returns $ip/$netmask $label
-func (a Addr) String() string {
-       return strings.TrimSpace(fmt.Sprintf("%s %s", a.IPNet, a.Label))
-}
-
-// ParseAddr parses the string representation of an address in the
-// form $ip/$netmask $label. The label portion is optional
-func ParseAddr(s string) (*Addr, error) {
-       label := ""
-       parts := strings.Split(s, " ")
-       if len(parts) > 1 {
-               s = parts[0]
-               label = parts[1]
-       }
-       m, err := ParseIPNet(s)
-       if err != nil {
-               return nil, err
-       }
-       return &Addr{IPNet: m, Label: label}, nil
-}
-
-// Equal returns true if both Addrs have the same net.IPNet value.
-func (a Addr) Equal(x Addr) bool {
-       sizea, _ := a.Mask.Size()
-       sizeb, _ := x.Mask.Size()
-       // ignore label for comparison
-       return a.IP.Equal(x.IP) && sizea == sizeb
-}
-
-func (a Addr) PeerEqual(x Addr) bool {
-       sizea, _ := a.Peer.Mask.Size()
-       sizeb, _ := x.Peer.Mask.Size()
-       // ignore label for comparison
-       return a.Peer.IP.Equal(x.Peer.IP) && sizea == sizeb
-}
diff --git a/vendor/github.com/vishvananda/netlink/addr_linux.go b/vendor/github.com/vishvananda/netlink/addr_linux.go
deleted file mode 100644 (file)
index 43daa44..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "log"
-       "net"
-       "strings"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-       "github.com/vishvananda/netns"
-)
-
-// IFA_FLAGS is a u32 attribute.
-const IFA_FLAGS = 0x8
-
-// AddrAdd will add an IP address to a link device.
-// Equivalent to: `ip addr add $addr dev $link`
-func AddrAdd(link Link, addr *Addr) error {
-       return pkgHandle.AddrAdd(link, addr)
-}
-
-// AddrAdd will add an IP address to a link device.
-// Equivalent to: `ip addr add $addr dev $link`
-func (h *Handle) AddrAdd(link Link, addr *Addr) error {
-       req := h.newNetlinkRequest(syscall.RTM_NEWADDR, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-       return h.addrHandle(link, addr, req)
-}
-
-// AddrReplace will replace (or, if not present, add) an IP address on a link device.
-// Equivalent to: `ip addr replace $addr dev $link`
-func AddrReplace(link Link, addr *Addr) error {
-       return pkgHandle.AddrReplace(link, addr)
-}
-
-// AddrReplace will replace (or, if not present, add) an IP address on a link device.
-// Equivalent to: `ip addr replace $addr dev $link`
-func (h *Handle) AddrReplace(link Link, addr *Addr) error {
-       req := h.newNetlinkRequest(syscall.RTM_NEWADDR, syscall.NLM_F_CREATE|syscall.NLM_F_REPLACE|syscall.NLM_F_ACK)
-       return h.addrHandle(link, addr, req)
-}
-
-// AddrDel will delete an IP address from a link device.
-// Equivalent to: `ip addr del $addr dev $link`
-func AddrDel(link Link, addr *Addr) error {
-       return pkgHandle.AddrDel(link, addr)
-}
-
-// AddrDel will delete an IP address from a link device.
-// Equivalent to: `ip addr del $addr dev $link`
-func (h *Handle) AddrDel(link Link, addr *Addr) error {
-       req := h.newNetlinkRequest(syscall.RTM_DELADDR, syscall.NLM_F_ACK)
-       return h.addrHandle(link, addr, req)
-}
-
-func (h *Handle) addrHandle(link Link, addr *Addr, req *nl.NetlinkRequest) error {
-       base := link.Attrs()
-       if addr.Label != "" && !strings.HasPrefix(addr.Label, base.Name) {
-               return fmt.Errorf("label must begin with interface name")
-       }
-       h.ensureIndex(base)
-
-       family := nl.GetIPFamily(addr.IP)
-
-       msg := nl.NewIfAddrmsg(family)
-       msg.Index = uint32(base.Index)
-       msg.Scope = uint8(addr.Scope)
-       prefixlen, _ := addr.Mask.Size()
-       msg.Prefixlen = uint8(prefixlen)
-       req.AddData(msg)
-
-       var localAddrData []byte
-       if family == FAMILY_V4 {
-               localAddrData = addr.IP.To4()
-       } else {
-               localAddrData = addr.IP.To16()
-       }
-
-       localData := nl.NewRtAttr(syscall.IFA_LOCAL, localAddrData)
-       req.AddData(localData)
-       var peerAddrData []byte
-       if addr.Peer != nil {
-               if family == FAMILY_V4 {
-                       peerAddrData = addr.Peer.IP.To4()
-               } else {
-                       peerAddrData = addr.Peer.IP.To16()
-               }
-       } else {
-               peerAddrData = localAddrData
-       }
-
-       addressData := nl.NewRtAttr(syscall.IFA_ADDRESS, peerAddrData)
-       req.AddData(addressData)
-
-       if addr.Flags != 0 {
-               if addr.Flags <= 0xff {
-                       msg.IfAddrmsg.Flags = uint8(addr.Flags)
-               } else {
-                       b := make([]byte, 4)
-                       native.PutUint32(b, uint32(addr.Flags))
-                       flagsData := nl.NewRtAttr(IFA_FLAGS, b)
-                       req.AddData(flagsData)
-               }
-       }
-
-       if addr.Broadcast != nil {
-               req.AddData(nl.NewRtAttr(syscall.IFA_BROADCAST, addr.Broadcast))
-       }
-
-       if addr.Label != "" {
-               labelData := nl.NewRtAttr(syscall.IFA_LABEL, nl.ZeroTerminated(addr.Label))
-               req.AddData(labelData)
-       }
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// AddrList gets a list of IP addresses in the system.
-// Equivalent to: `ip addr show`.
-// The list can be filtered by link and ip family.
-func AddrList(link Link, family int) ([]Addr, error) {
-       return pkgHandle.AddrList(link, family)
-}
-
-// AddrList gets a list of IP addresses in the system.
-// Equivalent to: `ip addr show`.
-// The list can be filtered by link and ip family.
-func (h *Handle) AddrList(link Link, family int) ([]Addr, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETADDR, syscall.NLM_F_DUMP)
-       msg := nl.NewIfInfomsg(family)
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWADDR)
-       if err != nil {
-               return nil, err
-       }
-
-       indexFilter := 0
-       if link != nil {
-               base := link.Attrs()
-               h.ensureIndex(base)
-               indexFilter = base.Index
-       }
-
-       var res []Addr
-       for _, m := range msgs {
-               addr, msgFamily, ifindex, err := parseAddr(m)
-               if err != nil {
-                       return res, err
-               }
-
-               if link != nil && ifindex != indexFilter {
-                       // Ignore messages from other interfaces
-                       continue
-               }
-
-               if family != FAMILY_ALL && msgFamily != family {
-                       continue
-               }
-
-               res = append(res, addr)
-       }
-
-       return res, nil
-}
-
-func parseAddr(m []byte) (addr Addr, family, index int, err error) {
-       msg := nl.DeserializeIfAddrmsg(m)
-
-       family = -1
-       index = -1
-
-       attrs, err1 := nl.ParseRouteAttr(m[msg.Len():])
-       if err1 != nil {
-               err = err1
-               return
-       }
-
-       family = int(msg.Family)
-       index = int(msg.Index)
-
-       var local, dst *net.IPNet
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case syscall.IFA_ADDRESS:
-                       dst = &net.IPNet{
-                               IP:   attr.Value,
-                               Mask: net.CIDRMask(int(msg.Prefixlen), 8*len(attr.Value)),
-                       }
-                       addr.Peer = dst
-               case syscall.IFA_LOCAL:
-                       local = &net.IPNet{
-                               IP:   attr.Value,
-                               Mask: net.CIDRMask(int(msg.Prefixlen), 8*len(attr.Value)),
-                       }
-                       addr.IPNet = local
-               case syscall.IFA_LABEL:
-                       addr.Label = string(attr.Value[:len(attr.Value)-1])
-               case IFA_FLAGS:
-                       addr.Flags = int(native.Uint32(attr.Value[0:4]))
-               case nl.IFA_CACHEINFO:
-                       ci := nl.DeserializeIfaCacheInfo(attr.Value)
-                       addr.PreferedLft = int(ci.IfaPrefered)
-                       addr.ValidLft = int(ci.IfaValid)
-               }
-       }
-
-       // IFA_LOCAL should be there but if not, fall back to IFA_ADDRESS
-       if local != nil {
-               addr.IPNet = local
-       } else {
-               addr.IPNet = dst
-       }
-       addr.Scope = int(msg.Scope)
-
-       return
-}
-
-type AddrUpdate struct {
-       LinkAddress net.IPNet
-       LinkIndex   int
-       Flags       int
-       Scope       int
-       PreferedLft int
-       ValidLft    int
-       NewAddr     bool // true=added false=deleted
-}
-
-// AddrSubscribe takes a chan down which notifications will be sent
-// when addresses change.  Close the 'done' chan to stop subscription.
-func AddrSubscribe(ch chan<- AddrUpdate, done <-chan struct{}) error {
-       return addrSubscribe(netns.None(), netns.None(), ch, done)
-}
-
-// AddrSubscribeAt works like AddrSubscribe plus it allows the caller
-// to choose the network namespace in which to subscribe (ns).
-func AddrSubscribeAt(ns netns.NsHandle, ch chan<- AddrUpdate, done <-chan struct{}) error {
-       return addrSubscribe(ns, netns.None(), ch, done)
-}
-
-func addrSubscribe(newNs, curNs netns.NsHandle, ch chan<- AddrUpdate, done <-chan struct{}) error {
-       s, err := nl.SubscribeAt(newNs, curNs, syscall.NETLINK_ROUTE, syscall.RTNLGRP_IPV4_IFADDR, syscall.RTNLGRP_IPV6_IFADDR)
-       if err != nil {
-               return err
-       }
-       if done != nil {
-               go func() {
-                       <-done
-                       s.Close()
-               }()
-       }
-       go func() {
-               defer close(ch)
-               for {
-                       msgs, err := s.Receive()
-                       if err != nil {
-                               log.Printf("netlink.AddrSubscribe: Receive() error: %v", err)
-                               return
-                       }
-                       for _, m := range msgs {
-                               msgType := m.Header.Type
-                               if msgType != syscall.RTM_NEWADDR && msgType != syscall.RTM_DELADDR {
-                                       log.Printf("netlink.AddrSubscribe: bad message type: %d", msgType)
-                                       continue
-                               }
-
-                               addr, _, ifindex, err := parseAddr(m.Data)
-                               if err != nil {
-                                       log.Printf("netlink.AddrSubscribe: could not parse address: %v", err)
-                                       continue
-                               }
-
-                               ch <- AddrUpdate{LinkAddress: *addr.IPNet,
-                                       LinkIndex:   ifindex,
-                                       NewAddr:     msgType == syscall.RTM_NEWADDR,
-                                       Flags:       addr.Flags,
-                                       Scope:       addr.Scope,
-                                       PreferedLft: addr.PreferedLft,
-                                       ValidLft:    addr.ValidLft}
-                       }
-               }
-       }()
-
-       return nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/addr_test.go b/vendor/github.com/vishvananda/netlink/addr_test.go
deleted file mode 100644 (file)
index cd7fed4..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "net"
-       "os"
-       "syscall"
-       "testing"
-)
-
-func TestAddrAdd(t *testing.T) {
-       DoTestAddr(t, AddrAdd)
-}
-
-func TestAddrReplace(t *testing.T) {
-       DoTestAddr(t, AddrReplace)
-}
-
-func DoTestAddr(t *testing.T, FunctionUndertest func(Link, *Addr) error) {
-       if os.Getenv("TRAVIS_BUILD_DIR") != "" {
-               t.Skipf("Fails in travis with: addr_test.go:68: Address flags not set properly, got=0, expected=128")
-       }
-       // TODO: IFA_F_PERMANENT does not seem to be set by default on older kernels?
-       var address = &net.IPNet{IP: net.IPv4(127, 0, 0, 2), Mask: net.CIDRMask(24, 32)}
-       var peer = &net.IPNet{IP: net.IPv4(127, 0, 0, 3), Mask: net.CIDRMask(24, 32)}
-       var addrTests = []struct {
-               addr     *Addr
-               expected *Addr
-       }{
-               {
-                       &Addr{IPNet: address},
-                       &Addr{IPNet: address, Label: "lo", Scope: syscall.RT_SCOPE_UNIVERSE, Flags: syscall.IFA_F_PERMANENT},
-               },
-               {
-                       &Addr{IPNet: address, Label: "local"},
-                       &Addr{IPNet: address, Label: "local", Scope: syscall.RT_SCOPE_UNIVERSE, Flags: syscall.IFA_F_PERMANENT},
-               },
-               {
-                       &Addr{IPNet: address, Flags: syscall.IFA_F_OPTIMISTIC},
-                       &Addr{IPNet: address, Label: "lo", Flags: syscall.IFA_F_OPTIMISTIC | syscall.IFA_F_PERMANENT, Scope: syscall.RT_SCOPE_UNIVERSE},
-               },
-               {
-                       &Addr{IPNet: address, Flags: syscall.IFA_F_OPTIMISTIC | syscall.IFA_F_DADFAILED},
-                       &Addr{IPNet: address, Label: "lo", Flags: syscall.IFA_F_OPTIMISTIC | syscall.IFA_F_DADFAILED | syscall.IFA_F_PERMANENT, Scope: syscall.RT_SCOPE_UNIVERSE},
-               },
-               {
-                       &Addr{IPNet: address, Scope: syscall.RT_SCOPE_NOWHERE},
-                       &Addr{IPNet: address, Label: "lo", Flags: syscall.IFA_F_PERMANENT, Scope: syscall.RT_SCOPE_NOWHERE},
-               },
-               {
-                       &Addr{IPNet: address, Peer: peer},
-                       &Addr{IPNet: address, Peer: peer, Label: "lo", Scope: syscall.RT_SCOPE_UNIVERSE, Flags: syscall.IFA_F_PERMANENT},
-               },
-       }
-
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       for _, tt := range addrTests {
-               if err = FunctionUndertest(link, tt.addr); err != nil {
-                       t.Fatal(err)
-               }
-
-               addrs, err := AddrList(link, FAMILY_ALL)
-               if err != nil {
-                       t.Fatal(err)
-               }
-
-               if len(addrs) != 1 {
-                       t.Fatal("Address not added properly")
-               }
-
-               if !addrs[0].Equal(*tt.expected) {
-                       t.Fatalf("Address ip no set properly, got=%s, expected=%s", addrs[0], tt.expected)
-               }
-
-               if addrs[0].Label != tt.expected.Label {
-                       t.Fatalf("Address label not set properly, got=%s, expected=%s", addrs[0].Label, tt.expected.Label)
-               }
-
-               if addrs[0].Flags != tt.expected.Flags {
-                       t.Fatalf("Address flags not set properly, got=%d, expected=%d", addrs[0].Flags, tt.expected.Flags)
-               }
-
-               if addrs[0].Scope != tt.expected.Scope {
-                       t.Fatalf("Address scope not set properly, got=%d, expected=%d", addrs[0].Scope, tt.expected.Scope)
-               }
-
-               if tt.expected.Peer != nil {
-                       if !addrs[0].PeerEqual(*tt.expected) {
-                               t.Fatalf("Peer Address ip no set properly, got=%s, expected=%s", addrs[0].Peer, tt.expected.Peer)
-                       }
-               }
-
-               // Pass FAMILY_V4, we should get the same results as FAMILY_ALL
-               addrs, err = AddrList(link, FAMILY_V4)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               if len(addrs) != 1 {
-                       t.Fatal("Address not added properly")
-               }
-
-               // Pass a wrong family number, we should get nil list
-               addrs, err = AddrList(link, 0x8)
-               if err != nil {
-                       t.Fatal(err)
-               }
-
-               if len(addrs) != 0 {
-                       t.Fatal("Address not expected")
-               }
-
-               if err = AddrDel(link, tt.addr); err != nil {
-                       t.Fatal(err)
-               }
-
-               addrs, err = AddrList(link, FAMILY_ALL)
-               if err != nil {
-                       t.Fatal(err)
-               }
-
-               if len(addrs) != 0 {
-                       t.Fatal("Address not removed properly")
-               }
-       }
-
-}
-
-func TestAddrAddReplace(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       var address = &net.IPNet{IP: net.IPv4(127, 0, 0, 2), Mask: net.CIDRMask(24, 32)}
-       var addr = &Addr{IPNet: address}
-
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       err = AddrAdd(link, addr)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       addrs, err := AddrList(link, FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(addrs) != 1 {
-               t.Fatal("Address not added properly")
-       }
-
-       err = AddrAdd(link, addr)
-       if err == nil {
-               t.Fatal("Re-adding address should fail (but succeeded unexpectedly).")
-       }
-
-       err = AddrReplace(link, addr)
-       if err != nil {
-               t.Fatal("Replacing address failed.")
-       }
-
-       addrs, err = AddrList(link, FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(addrs) != 1 {
-               t.Fatal("Address not added properly")
-       }
-
-       if err = AddrDel(link, addr); err != nil {
-               t.Fatal(err)
-       }
-
-       addrs, err = AddrList(link, FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(addrs) != 0 {
-               t.Fatal("Address not removed properly")
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/bpf_linux.go b/vendor/github.com/vishvananda/netlink/bpf_linux.go
deleted file mode 100644 (file)
index 5337439..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-package netlink
-
-/*
-#include <asm/types.h>
-#include <asm/unistd.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdint.h>
-#include <unistd.h>
-
-static int load_simple_bpf(int prog_type, int ret) {
-#ifdef __NR_bpf
-       // { return ret; }
-       __u64 __attribute__((aligned(8))) insns[] = {
-               0x00000000000000b7ull | ((__u64)ret<<32),
-               0x0000000000000095ull,
-       };
-       __u8 __attribute__((aligned(8))) license[] = "ASL2";
-       // Copied from a header file since libc is notoriously slow to update.
-       // The call will succeed or fail and that will be our indication on
-       // whether or not it is supported.
-       struct {
-               __u32 prog_type;
-               __u32 insn_cnt;
-               __u64 insns;
-               __u64 license;
-               __u32 log_level;
-               __u32 log_size;
-               __u64 log_buf;
-               __u32 kern_version;
-       } __attribute__((aligned(8))) attr = {
-               .prog_type = prog_type,
-               .insn_cnt = 2,
-               .insns = (uintptr_t)&insns,
-               .license = (uintptr_t)&license,
-       };
-       return syscall(__NR_bpf, 5, &attr, sizeof(attr));
-#else
-       errno = EINVAL;
-       return -1;
-#endif
-}
-*/
-import "C"
-
-type BpfProgType C.int
-
-const (
-       BPF_PROG_TYPE_UNSPEC BpfProgType = iota
-       BPF_PROG_TYPE_SOCKET_FILTER
-       BPF_PROG_TYPE_KPROBE
-       BPF_PROG_TYPE_SCHED_CLS
-       BPF_PROG_TYPE_SCHED_ACT
-       BPF_PROG_TYPE_TRACEPOINT
-       BPF_PROG_TYPE_XDP
-)
-
-// loadSimpleBpf loads a trivial bpf program for testing purposes
-func loadSimpleBpf(progType BpfProgType, ret int) (int, error) {
-       fd, err := C.load_simple_bpf(C.int(progType), C.int(ret))
-       return int(fd), err
-}
diff --git a/vendor/github.com/vishvananda/netlink/class.go b/vendor/github.com/vishvananda/netlink/class.go
deleted file mode 100644 (file)
index 8ee13af..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-)
-
-type Class interface {
-       Attrs() *ClassAttrs
-       Type() string
-}
-
-// ClassAttrs represents a netlink class. A filter is associated with a link,
-// has a handle and a parent. The root filter of a device should have a
-// parent == HANDLE_ROOT.
-type ClassAttrs struct {
-       LinkIndex int
-       Handle    uint32
-       Parent    uint32
-       Leaf      uint32
-}
-
-func (q ClassAttrs) String() string {
-       return fmt.Sprintf("{LinkIndex: %d, Handle: %s, Parent: %s, Leaf: %d}", q.LinkIndex, HandleStr(q.Handle), HandleStr(q.Parent), q.Leaf)
-}
-
-type HtbClassAttrs struct {
-       // TODO handle all attributes
-       Rate    uint64
-       Ceil    uint64
-       Buffer  uint32
-       Cbuffer uint32
-       Quantum uint32
-       Level   uint32
-       Prio    uint32
-}
-
-func (q HtbClassAttrs) String() string {
-       return fmt.Sprintf("{Rate: %d, Ceil: %d, Buffer: %d, Cbuffer: %d}", q.Rate, q.Ceil, q.Buffer, q.Cbuffer)
-}
-
-// HtbClass represents an Htb class
-type HtbClass struct {
-       ClassAttrs
-       Rate    uint64
-       Ceil    uint64
-       Buffer  uint32
-       Cbuffer uint32
-       Quantum uint32
-       Level   uint32
-       Prio    uint32
-}
-
-func (q HtbClass) String() string {
-       return fmt.Sprintf("{Rate: %d, Ceil: %d, Buffer: %d, Cbuffer: %d}", q.Rate, q.Ceil, q.Buffer, q.Cbuffer)
-}
-
-func (q *HtbClass) Attrs() *ClassAttrs {
-       return &q.ClassAttrs
-}
-
-func (q *HtbClass) Type() string {
-       return "htb"
-}
-
-// GenericClass classes represent types that are not currently understood
-// by this netlink library.
-type GenericClass struct {
-       ClassAttrs
-       ClassType string
-}
-
-func (class *GenericClass) Attrs() *ClassAttrs {
-       return &class.ClassAttrs
-}
-
-func (class *GenericClass) Type() string {
-       return class.ClassType
-}
diff --git a/vendor/github.com/vishvananda/netlink/class_linux.go b/vendor/github.com/vishvananda/netlink/class_linux.go
deleted file mode 100644 (file)
index 91cd388..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-package netlink
-
-import (
-       "errors"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-// NOTE: function is in here because it uses other linux functions
-func NewHtbClass(attrs ClassAttrs, cattrs HtbClassAttrs) *HtbClass {
-       mtu := 1600
-       rate := cattrs.Rate / 8
-       ceil := cattrs.Ceil / 8
-       buffer := cattrs.Buffer
-       cbuffer := cattrs.Cbuffer
-
-       if ceil == 0 {
-               ceil = rate
-       }
-
-       if buffer == 0 {
-               buffer = uint32(float64(rate)/Hz() + float64(mtu))
-       }
-       buffer = uint32(Xmittime(rate, buffer))
-
-       if cbuffer == 0 {
-               cbuffer = uint32(float64(ceil)/Hz() + float64(mtu))
-       }
-       cbuffer = uint32(Xmittime(ceil, cbuffer))
-
-       return &HtbClass{
-               ClassAttrs: attrs,
-               Rate:       rate,
-               Ceil:       ceil,
-               Buffer:     buffer,
-               Cbuffer:    cbuffer,
-               Quantum:    10,
-               Level:      0,
-               Prio:       0,
-       }
-}
-
-// ClassDel will delete a class from the system.
-// Equivalent to: `tc class del $class`
-func ClassDel(class Class) error {
-       return pkgHandle.ClassDel(class)
-}
-
-// ClassDel will delete a class from the system.
-// Equivalent to: `tc class del $class`
-func (h *Handle) ClassDel(class Class) error {
-       return h.classModify(syscall.RTM_DELTCLASS, 0, class)
-}
-
-// ClassChange will change a class in place
-// Equivalent to: `tc class change $class`
-// The parent and handle MUST NOT be changed.
-func ClassChange(class Class) error {
-       return pkgHandle.ClassChange(class)
-}
-
-// ClassChange will change a class in place
-// Equivalent to: `tc class change $class`
-// The parent and handle MUST NOT be changed.
-func (h *Handle) ClassChange(class Class) error {
-       return h.classModify(syscall.RTM_NEWTCLASS, 0, class)
-}
-
-// ClassReplace will replace a class to the system.
-// quivalent to: `tc class replace $class`
-// The handle MAY be changed.
-// If a class already exist with this parent/handle pair, the class is changed.
-// If a class does not already exist with this parent/handle, a new class is created.
-func ClassReplace(class Class) error {
-       return pkgHandle.ClassReplace(class)
-}
-
-// ClassReplace will replace a class to the system.
-// quivalent to: `tc class replace $class`
-// The handle MAY be changed.
-// If a class already exist with this parent/handle pair, the class is changed.
-// If a class does not already exist with this parent/handle, a new class is created.
-func (h *Handle) ClassReplace(class Class) error {
-       return h.classModify(syscall.RTM_NEWTCLASS, syscall.NLM_F_CREATE, class)
-}
-
-// ClassAdd will add a class to the system.
-// Equivalent to: `tc class add $class`
-func ClassAdd(class Class) error {
-       return pkgHandle.ClassAdd(class)
-}
-
-// ClassAdd will add a class to the system.
-// Equivalent to: `tc class add $class`
-func (h *Handle) ClassAdd(class Class) error {
-       return h.classModify(
-               syscall.RTM_NEWTCLASS,
-               syscall.NLM_F_CREATE|syscall.NLM_F_EXCL,
-               class,
-       )
-}
-
-func (h *Handle) classModify(cmd, flags int, class Class) error {
-       req := h.newNetlinkRequest(cmd, flags|syscall.NLM_F_ACK)
-       base := class.Attrs()
-       msg := &nl.TcMsg{
-               Family:  nl.FAMILY_ALL,
-               Ifindex: int32(base.LinkIndex),
-               Handle:  base.Handle,
-               Parent:  base.Parent,
-       }
-       req.AddData(msg)
-
-       if cmd != syscall.RTM_DELTCLASS {
-               if err := classPayload(req, class); err != nil {
-                       return err
-               }
-       }
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func classPayload(req *nl.NetlinkRequest, class Class) error {
-       req.AddData(nl.NewRtAttr(nl.TCA_KIND, nl.ZeroTerminated(class.Type())))
-
-       options := nl.NewRtAttr(nl.TCA_OPTIONS, nil)
-       if htb, ok := class.(*HtbClass); ok {
-               opt := nl.TcHtbCopt{}
-               opt.Buffer = htb.Buffer
-               opt.Cbuffer = htb.Cbuffer
-               opt.Quantum = htb.Quantum
-               opt.Level = htb.Level
-               opt.Prio = htb.Prio
-               // TODO: Handle Debug properly. For now default to 0
-               /* Calculate {R,C}Tab and set Rate and Ceil */
-               cellLog := -1
-               ccellLog := -1
-               linklayer := nl.LINKLAYER_ETHERNET
-               mtu := 1600
-               var rtab [256]uint32
-               var ctab [256]uint32
-               tcrate := nl.TcRateSpec{Rate: uint32(htb.Rate)}
-               if CalcRtable(&tcrate, rtab, cellLog, uint32(mtu), linklayer) < 0 {
-                       return errors.New("HTB: failed to calculate rate table")
-               }
-               opt.Rate = tcrate
-               tcceil := nl.TcRateSpec{Rate: uint32(htb.Ceil)}
-               if CalcRtable(&tcceil, ctab, ccellLog, uint32(mtu), linklayer) < 0 {
-                       return errors.New("HTB: failed to calculate ceil rate table")
-               }
-               opt.Ceil = tcceil
-               nl.NewRtAttrChild(options, nl.TCA_HTB_PARMS, opt.Serialize())
-               nl.NewRtAttrChild(options, nl.TCA_HTB_RTAB, SerializeRtab(rtab))
-               nl.NewRtAttrChild(options, nl.TCA_HTB_CTAB, SerializeRtab(ctab))
-       }
-       req.AddData(options)
-       return nil
-}
-
-// ClassList gets a list of classes in the system.
-// Equivalent to: `tc class show`.
-// Generally returns nothing if link and parent are not specified.
-func ClassList(link Link, parent uint32) ([]Class, error) {
-       return pkgHandle.ClassList(link, parent)
-}
-
-// ClassList gets a list of classes in the system.
-// Equivalent to: `tc class show`.
-// Generally returns nothing if link and parent are not specified.
-func (h *Handle) ClassList(link Link, parent uint32) ([]Class, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETTCLASS, syscall.NLM_F_DUMP)
-       msg := &nl.TcMsg{
-               Family: nl.FAMILY_ALL,
-               Parent: parent,
-       }
-       if link != nil {
-               base := link.Attrs()
-               h.ensureIndex(base)
-               msg.Ifindex = int32(base.Index)
-       }
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWTCLASS)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Class
-       for _, m := range msgs {
-               msg := nl.DeserializeTcMsg(m)
-
-               attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-               if err != nil {
-                       return nil, err
-               }
-
-               base := ClassAttrs{
-                       LinkIndex: int(msg.Ifindex),
-                       Handle:    msg.Handle,
-                       Parent:    msg.Parent,
-               }
-
-               var class Class
-               classType := ""
-               for _, attr := range attrs {
-                       switch attr.Attr.Type {
-                       case nl.TCA_KIND:
-                               classType = string(attr.Value[:len(attr.Value)-1])
-                               switch classType {
-                               case "htb":
-                                       class = &HtbClass{}
-                               default:
-                                       class = &GenericClass{ClassType: classType}
-                               }
-                       case nl.TCA_OPTIONS:
-                               switch classType {
-                               case "htb":
-                                       data, err := nl.ParseRouteAttr(attr.Value)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                                       _, err = parseHtbClassData(class, data)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                               }
-                       }
-               }
-               *class.Attrs() = base
-               res = append(res, class)
-       }
-
-       return res, nil
-}
-
-func parseHtbClassData(class Class, data []syscall.NetlinkRouteAttr) (bool, error) {
-       htb := class.(*HtbClass)
-       detailed := false
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_HTB_PARMS:
-                       opt := nl.DeserializeTcHtbCopt(datum.Value)
-                       htb.Rate = uint64(opt.Rate.Rate)
-                       htb.Ceil = uint64(opt.Ceil.Rate)
-                       htb.Buffer = opt.Buffer
-                       htb.Cbuffer = opt.Cbuffer
-                       htb.Quantum = opt.Quantum
-                       htb.Level = opt.Level
-                       htb.Prio = opt.Prio
-               }
-       }
-       return detailed, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/class_test.go b/vendor/github.com/vishvananda/netlink/class_test.go
deleted file mode 100644 (file)
index 1d0c27b..0000000
+++ /dev/null
@@ -1,408 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "testing"
-)
-
-func TestClassAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "bar"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(0xffff, 0),
-               Parent:    HANDLE_ROOT,
-       }
-       qdisc := NewHtb(attrs)
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       classattrs := ClassAttrs{
-               LinkIndex: link.Attrs().Index,
-               Parent:    MakeHandle(0xffff, 0),
-               Handle:    MakeHandle(0xffff, 2),
-       }
-
-       htbclassattrs := HtbClassAttrs{
-               Rate:    1234000,
-               Cbuffer: 1690,
-       }
-       class := NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassAdd(class); err != nil {
-               t.Fatal(err)
-       }
-       classes, err := ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 1 {
-               t.Fatal("Failed to add class")
-       }
-
-       htb, ok := classes[0].(*HtbClass)
-       if !ok {
-               t.Fatal("Class is the wrong type")
-       }
-       if htb.Rate != class.Rate {
-               t.Fatal("Rate doesn't match")
-       }
-       if htb.Ceil != class.Ceil {
-               t.Fatal("Ceil doesn't match")
-       }
-       if htb.Buffer != class.Buffer {
-               t.Fatal("Buffer doesn't match")
-       }
-       if htb.Cbuffer != class.Cbuffer {
-               t.Fatal("Cbuffer doesn't match")
-       }
-
-       qattrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(0x2, 0),
-               Parent:    MakeHandle(0xffff, 2),
-       }
-       nattrs := NetemQdiscAttrs{
-               Latency:     20000,
-               Loss:        23.4,
-               Duplicate:   14.3,
-               LossCorr:    8.34,
-               Jitter:      1000,
-               DelayCorr:   12.3,
-               ReorderProb: 23.4,
-               CorruptProb: 10.0,
-               CorruptCorr: 10,
-       }
-       qdiscnetem := NewNetem(qattrs, nattrs)
-       if err := QdiscAdd(qdiscnetem); err != nil {
-               t.Fatal(err)
-       }
-
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 2 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok = qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       netem, ok := qdiscs[1].(*Netem)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       // Compare the record we got from the list with the one we created
-       if netem.Loss != qdiscnetem.Loss {
-               t.Fatal("Loss does not match")
-       }
-       if netem.Latency != qdiscnetem.Latency {
-               t.Fatal("Latency does not match")
-       }
-       if netem.CorruptProb != qdiscnetem.CorruptProb {
-               t.Fatal("CorruptProb does not match")
-       }
-       if netem.Jitter != qdiscnetem.Jitter {
-               t.Fatal("Jitter does not match")
-       }
-       if netem.LossCorr != qdiscnetem.LossCorr {
-               t.Fatal("Loss does not match")
-       }
-       if netem.DuplicateCorr != qdiscnetem.DuplicateCorr {
-               t.Fatal("DuplicateCorr does not match")
-       }
-
-       // Deletion
-       if err := ClassDel(class); err != nil {
-               t.Fatal(err)
-       }
-       classes, err = ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 0 {
-               t.Fatal("Failed to remove class")
-       }
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestHtbClassAddHtbClassChangeDel(t *testing.T) {
-       /**
-       This test first set up a interface ans set up a Htb qdisc
-       A HTB class is attach to it and a Netem qdisc is attached to that class
-       Next, we test changing the HTB class in place and confirming the Netem is
-       still attached. We also check that invoting ClassChange with a non-existing
-       class will fail.
-       Finally, we test ClassReplace. We confirm it correctly behave like
-       ClassChange when the parent/handle pair exists and that it will create a
-       new class if the handle is modified.
-       */
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(0xffff, 0),
-               Parent:    HANDLE_ROOT,
-       }
-       qdisc := NewHtb(attrs)
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       classattrs := ClassAttrs{
-               LinkIndex: link.Attrs().Index,
-               Parent:    MakeHandle(0xffff, 0),
-               Handle:    MakeHandle(0xffff, 2),
-       }
-
-       htbclassattrs := HtbClassAttrs{
-               Rate:    1234000,
-               Cbuffer: 1690,
-       }
-       class := NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassAdd(class); err != nil {
-               t.Fatal(err)
-       }
-       classes, err := ClassList(link, 0)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 1 {
-               t.Fatal("Failed to add class")
-       }
-
-       htb, ok := classes[0].(*HtbClass)
-       if !ok {
-               t.Fatal("Class is the wrong type")
-       }
-
-       qattrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(0x2, 0),
-               Parent:    MakeHandle(0xffff, 2),
-       }
-       nattrs := NetemQdiscAttrs{
-               Latency:     20000,
-               Loss:        23.4,
-               Duplicate:   14.3,
-               LossCorr:    8.34,
-               Jitter:      1000,
-               DelayCorr:   12.3,
-               ReorderProb: 23.4,
-               CorruptProb: 10.0,
-               CorruptCorr: 10,
-       }
-       qdiscnetem := NewNetem(qattrs, nattrs)
-       if err := QdiscAdd(qdiscnetem); err != nil {
-               t.Fatal(err)
-       }
-
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 2 {
-               t.Fatal("Failed to add qdisc")
-       }
-
-       _, ok = qdiscs[1].(*Netem)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       // Change
-       // For change to work, the handle and parent cannot be changed.
-
-       // First, test it fails if we change the Handle.
-       oldHandle := classattrs.Handle
-       classattrs.Handle = MakeHandle(0xffff, 3)
-       class = NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassChange(class); err == nil {
-               t.Fatal("ClassChange should not work when using a different handle.")
-       }
-       // It should work with the same handle
-       classattrs.Handle = oldHandle
-       htbclassattrs.Rate = 4321000
-       class = NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassChange(class); err != nil {
-               t.Fatal(err)
-       }
-
-       classes, err = ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 1 {
-               t.Fatalf(
-                       "1 class expected, %d found",
-                       len(classes),
-               )
-       }
-
-       htb, ok = classes[0].(*HtbClass)
-       if !ok {
-               t.Fatal("Class is the wrong type")
-       }
-       // Verify that the rate value has changed.
-       if htb.Rate != class.Rate {
-               t.Fatal("Rate did not get changed while changing the class.")
-       }
-
-       // Check that we still have the netem child qdisc
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(qdiscs) != 2 {
-               t.Fatalf("2 qdisc expected, %d found", len(qdiscs))
-       }
-       _, ok = qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       _, ok = qdiscs[1].(*Netem)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       // Replace
-       // First replace by keeping the same handle, class will be changed.
-       // Then, replace by providing a new handle, n new class will be created.
-
-       // Replace acting as Change
-       class = NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassReplace(class); err != nil {
-               t.Fatal("Failed to replace class that is existing.")
-       }
-
-       classes, err = ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 1 {
-               t.Fatalf(
-                       "1 class expected, %d found",
-                       len(classes),
-               )
-       }
-
-       htb, ok = classes[0].(*HtbClass)
-       if !ok {
-               t.Fatal("Class is the wrong type")
-       }
-       // Verify that the rate value has changed.
-       if htb.Rate != class.Rate {
-               t.Fatal("Rate did not get changed while changing the class.")
-       }
-
-       // It should work with the same handle
-       classattrs.Handle = MakeHandle(0xffff, 3)
-       class = NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassReplace(class); err != nil {
-               t.Fatal(err)
-       }
-
-       classes, err = ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 2 {
-               t.Fatalf(
-                       "2 classes expected, %d found",
-                       len(classes),
-               )
-       }
-
-       htb, ok = classes[1].(*HtbClass)
-       if !ok {
-               t.Fatal("Class is the wrong type")
-       }
-       // Verify that the rate value has changed.
-       if htb.Rate != class.Rate {
-               t.Fatal("Rate did not get changed while changing the class.")
-       }
-
-       // Deletion
-       for _, class := range classes {
-               if err := ClassDel(class); err != nil {
-                       t.Fatal(err)
-               }
-       }
-
-       classes, err = ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 0 {
-               t.Fatal("Failed to remove class")
-       }
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/conntrack_linux.go b/vendor/github.com/vishvananda/netlink/conntrack_linux.go
deleted file mode 100644 (file)
index 20df903..0000000
+++ /dev/null
@@ -1,344 +0,0 @@
-package netlink
-
-import (
-       "bytes"
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-// ConntrackTableType Conntrack table for the netlink operation
-type ConntrackTableType uint8
-
-const (
-       // ConntrackTable Conntrack table
-       // https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter/nfnetlink.h -> #define NFNL_SUBSYS_CTNETLINK               1
-       ConntrackTable = 1
-       // ConntrackExpectTable Conntrack expect table
-       // https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter/nfnetlink.h -> #define NFNL_SUBSYS_CTNETLINK_EXP 2
-       ConntrackExpectTable = 2
-)
-
-const (
-       // backward compatibility with golang 1.6 which does not have io.SeekCurrent
-       seekCurrent = 1
-)
-
-// InetFamily Family type
-type InetFamily uint8
-
-//  -L [table] [options]          List conntrack or expectation table
-//  -G [table] parameters         Get conntrack or expectation
-
-//  -I [table] parameters         Create a conntrack or expectation
-//  -U [table] parameters         Update a conntrack
-//  -E [table] [options]          Show events
-
-//  -C [table]                    Show counter
-//  -S                            Show statistics
-
-// ConntrackTableList returns the flow list of a table of a specific family
-// conntrack -L [table] [options]          List conntrack or expectation table
-func ConntrackTableList(table ConntrackTableType, family InetFamily) ([]*ConntrackFlow, error) {
-       return pkgHandle.ConntrackTableList(table, family)
-}
-
-// ConntrackTableFlush flushes all the flows of a specified table
-// conntrack -F [table]            Flush table
-// The flush operation applies to all the family types
-func ConntrackTableFlush(table ConntrackTableType) error {
-       return pkgHandle.ConntrackTableFlush(table)
-}
-
-// ConntrackDeleteFilter deletes entries on the specified table on the base of the filter
-// conntrack -D [table] parameters         Delete conntrack or expectation
-func ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter *ConntrackFilter) (uint, error) {
-       return pkgHandle.ConntrackDeleteFilter(table, family, filter)
-}
-
-// ConntrackTableList returns the flow list of a table of a specific family using the netlink handle passed
-// conntrack -L [table] [options]          List conntrack or expectation table
-func (h *Handle) ConntrackTableList(table ConntrackTableType, family InetFamily) ([]*ConntrackFlow, error) {
-       res, err := h.dumpConntrackTable(table, family)
-       if err != nil {
-               return nil, err
-       }
-
-       // Deserialize all the flows
-       var result []*ConntrackFlow
-       for _, dataRaw := range res {
-               result = append(result, parseRawData(dataRaw))
-       }
-
-       return result, nil
-}
-
-// ConntrackTableFlush flushes all the flows of a specified table using the netlink handle passed
-// conntrack -F [table]            Flush table
-// The flush operation applies to all the family types
-func (h *Handle) ConntrackTableFlush(table ConntrackTableType) error {
-       req := h.newConntrackRequest(table, syscall.AF_INET, nl.IPCTNL_MSG_CT_DELETE, syscall.NLM_F_ACK)
-       _, err := req.Execute(syscall.NETLINK_NETFILTER, 0)
-       return err
-}
-
-// ConntrackDeleteFilter deletes entries on the specified table on the base of the filter using the netlink handle passed
-// conntrack -D [table] parameters         Delete conntrack or expectation
-func (h *Handle) ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter *ConntrackFilter) (uint, error) {
-       res, err := h.dumpConntrackTable(table, family)
-       if err != nil {
-               return 0, err
-       }
-
-       var matched uint
-       for _, dataRaw := range res {
-               flow := parseRawData(dataRaw)
-               if match := filter.MatchConntrackFlow(flow); match {
-                       req2 := h.newConntrackRequest(table, family, nl.IPCTNL_MSG_CT_DELETE, syscall.NLM_F_ACK)
-                       // skip the first 4 byte that are the netfilter header, the newConntrackRequest is adding it already
-                       req2.AddRawData(dataRaw[4:])
-                       req2.Execute(syscall.NETLINK_NETFILTER, 0)
-                       matched++
-               }
-       }
-
-       return matched, nil
-}
-
-func (h *Handle) newConntrackRequest(table ConntrackTableType, family InetFamily, operation, flags int) *nl.NetlinkRequest {
-       // Create the Netlink request object
-       req := h.newNetlinkRequest((int(table)<<8)|operation, flags)
-       // Add the netfilter header
-       msg := &nl.Nfgenmsg{
-               NfgenFamily: uint8(family),
-               Version:     nl.NFNETLINK_V0,
-               ResId:       0,
-       }
-       req.AddData(msg)
-       return req
-}
-
-func (h *Handle) dumpConntrackTable(table ConntrackTableType, family InetFamily) ([][]byte, error) {
-       req := h.newConntrackRequest(table, family, nl.IPCTNL_MSG_CT_GET, syscall.NLM_F_DUMP)
-       return req.Execute(syscall.NETLINK_NETFILTER, 0)
-}
-
-// The full conntrack flow structure is very complicated and can be found in the file:
-// http://git.netfilter.org/libnetfilter_conntrack/tree/include/internal/object.h
-// For the time being, the structure below allows to parse and extract the base information of a flow
-type ipTuple struct {
-       SrcIP    net.IP
-       DstIP    net.IP
-       Protocol uint8
-       SrcPort  uint16
-       DstPort  uint16
-}
-
-type ConntrackFlow struct {
-       FamilyType uint8
-       Forward    ipTuple
-       Reverse    ipTuple
-}
-
-func (s *ConntrackFlow) String() string {
-       // conntrack cmd output:
-       // udp      17 src=127.0.0.1 dst=127.0.0.1 sport=4001 dport=1234 [UNREPLIED] src=127.0.0.1 dst=127.0.0.1 sport=1234 dport=4001
-       return fmt.Sprintf("%s\t%d src=%s dst=%s sport=%d dport=%d\tsrc=%s dst=%s sport=%d dport=%d",
-               nl.L4ProtoMap[s.Forward.Protocol], s.Forward.Protocol,
-               s.Forward.SrcIP.String(), s.Forward.DstIP.String(), s.Forward.SrcPort, s.Forward.DstPort,
-               s.Reverse.SrcIP.String(), s.Reverse.DstIP.String(), s.Reverse.SrcPort, s.Reverse.DstPort)
-}
-
-// This method parse the ip tuple structure
-// The message structure is the following:
-// <len, [CTA_IP_V4_SRC|CTA_IP_V6_SRC], 16 bytes for the IP>
-// <len, [CTA_IP_V4_DST|CTA_IP_V6_DST], 16 bytes for the IP>
-// <len, NLA_F_NESTED|nl.CTA_TUPLE_PROTO, 1 byte for the protocol, 3 bytes of padding>
-// <len, CTA_PROTO_SRC_PORT, 2 bytes for the source port, 2 bytes of padding>
-// <len, CTA_PROTO_DST_PORT, 2 bytes for the source port, 2 bytes of padding>
-func parseIpTuple(reader *bytes.Reader, tpl *ipTuple) {
-       for i := 0; i < 2; i++ {
-               _, t, _, v := parseNfAttrTLV(reader)
-               switch t {
-               case nl.CTA_IP_V4_SRC, nl.CTA_IP_V6_SRC:
-                       tpl.SrcIP = v
-               case nl.CTA_IP_V4_DST, nl.CTA_IP_V6_DST:
-                       tpl.DstIP = v
-               }
-       }
-       // Skip the next 4 bytes  nl.NLA_F_NESTED|nl.CTA_TUPLE_PROTO
-       reader.Seek(4, seekCurrent)
-       _, t, _, v := parseNfAttrTLV(reader)
-       if t == nl.CTA_PROTO_NUM {
-               tpl.Protocol = uint8(v[0])
-       }
-       // Skip some padding 3 bytes
-       reader.Seek(3, seekCurrent)
-       for i := 0; i < 2; i++ {
-               _, t, _ := parseNfAttrTL(reader)
-               switch t {
-               case nl.CTA_PROTO_SRC_PORT:
-                       parseBERaw16(reader, &tpl.SrcPort)
-               case nl.CTA_PROTO_DST_PORT:
-                       parseBERaw16(reader, &tpl.DstPort)
-               }
-               // Skip some padding 2 byte
-               reader.Seek(2, seekCurrent)
-       }
-}
-
-func parseNfAttrTLV(r *bytes.Reader) (isNested bool, attrType, len uint16, value []byte) {
-       isNested, attrType, len = parseNfAttrTL(r)
-
-       value = make([]byte, len)
-       binary.Read(r, binary.BigEndian, &value)
-       return isNested, attrType, len, value
-}
-
-func parseNfAttrTL(r *bytes.Reader) (isNested bool, attrType, len uint16) {
-       binary.Read(r, nl.NativeEndian(), &len)
-       len -= nl.SizeofNfattr
-
-       binary.Read(r, nl.NativeEndian(), &attrType)
-       isNested = (attrType & nl.NLA_F_NESTED) == nl.NLA_F_NESTED
-       attrType = attrType & (nl.NLA_F_NESTED - 1)
-
-       return isNested, attrType, len
-}
-
-func parseBERaw16(r *bytes.Reader, v *uint16) {
-       binary.Read(r, binary.BigEndian, v)
-}
-
-func parseRawData(data []byte) *ConntrackFlow {
-       s := &ConntrackFlow{}
-       // First there is the Nfgenmsg header
-       // consume only the family field
-       reader := bytes.NewReader(data)
-       binary.Read(reader, nl.NativeEndian(), &s.FamilyType)
-
-       // skip rest of the Netfilter header
-       reader.Seek(3, seekCurrent)
-       // The message structure is the following:
-       // <len, NLA_F_NESTED|CTA_TUPLE_ORIG> 4 bytes
-       // <len, NLA_F_NESTED|CTA_TUPLE_IP> 4 bytes
-       // flow information of the forward flow
-       // <len, NLA_F_NESTED|CTA_TUPLE_REPLY> 4 bytes
-       // <len, NLA_F_NESTED|CTA_TUPLE_IP> 4 bytes
-       // flow information of the reverse flow
-       for reader.Len() > 0 {
-               nested, t, l := parseNfAttrTL(reader)
-               if nested && t == nl.CTA_TUPLE_ORIG {
-                       if nested, t, _ = parseNfAttrTL(reader); nested && t == nl.CTA_TUPLE_IP {
-                               parseIpTuple(reader, &s.Forward)
-                       }
-               } else if nested && t == nl.CTA_TUPLE_REPLY {
-                       if nested, t, _ = parseNfAttrTL(reader); nested && t == nl.CTA_TUPLE_IP {
-                               parseIpTuple(reader, &s.Reverse)
-
-                               // Got all the useful information stop parsing
-                               break
-                       } else {
-                               // Header not recognized skip it
-                               reader.Seek(int64(l), seekCurrent)
-                       }
-               }
-       }
-
-       return s
-}
-
-// Conntrack parameters and options:
-//   -n, --src-nat ip                      source NAT ip
-//   -g, --dst-nat ip                      destination NAT ip
-//   -j, --any-nat ip                      source or destination NAT ip
-//   -m, --mark mark                       Set mark
-//   -c, --secmark secmark                 Set selinux secmark
-//   -e, --event-mask eventmask            Event mask, eg. NEW,DESTROY
-//   -z, --zero                            Zero counters while listing
-//   -o, --output type[,...]               Output format, eg. xml
-//   -l, --label label[,...]               conntrack labels
-
-// Common parameters and options:
-//   -s, --src, --orig-src ip              Source address from original direction
-//   -d, --dst, --orig-dst ip              Destination address from original direction
-//   -r, --reply-src ip            Source addres from reply direction
-//   -q, --reply-dst ip            Destination address from reply direction
-//   -p, --protonum proto          Layer 4 Protocol, eg. 'tcp'
-//   -f, --family proto            Layer 3 Protocol, eg. 'ipv6'
-//   -t, --timeout timeout         Set timeout
-//   -u, --status status           Set status, eg. ASSURED
-//   -w, --zone value              Set conntrack zone
-//   --orig-zone value             Set zone for original direction
-//   --reply-zone value            Set zone for reply direction
-//   -b, --buffer-size             Netlink socket buffer size
-//   --mask-src ip                 Source mask address
-//   --mask-dst ip                 Destination mask address
-
-// Filter types
-type ConntrackFilterType uint8
-
-const (
-       ConntrackOrigSrcIP = iota // -orig-src ip   Source address from original direction
-       ConntrackOrigDstIP        // -orig-dst ip   Destination address from original direction
-       ConntrackNatSrcIP         // -src-nat ip    Source NAT ip
-       ConntrackNatDstIP         // -dst-nat ip    Destination NAT ip
-       ConntrackNatAnyIP         // -any-nat ip    Source or destination NAT ip
-)
-
-type ConntrackFilter struct {
-       ipFilter map[ConntrackFilterType]net.IP
-}
-
-// AddIP adds an IP to the conntrack filter
-func (f *ConntrackFilter) AddIP(tp ConntrackFilterType, ip net.IP) error {
-       if f.ipFilter == nil {
-               f.ipFilter = make(map[ConntrackFilterType]net.IP)
-       }
-       if _, ok := f.ipFilter[tp]; ok {
-               return errors.New("Filter attribute already present")
-       }
-       f.ipFilter[tp] = ip
-       return nil
-}
-
-// MatchConntrackFlow applies the filter to the flow and returns true if the flow matches the filter
-// false otherwise
-func (f *ConntrackFilter) MatchConntrackFlow(flow *ConntrackFlow) bool {
-       if len(f.ipFilter) == 0 {
-               // empty filter always not match
-               return false
-       }
-
-       match := true
-       // -orig-src ip   Source address from original direction
-       if elem, found := f.ipFilter[ConntrackOrigSrcIP]; found {
-               match = match && elem.Equal(flow.Forward.SrcIP)
-       }
-
-       // -orig-dst ip   Destination address from original direction
-       if elem, found := f.ipFilter[ConntrackOrigDstIP]; match && found {
-               match = match && elem.Equal(flow.Forward.DstIP)
-       }
-
-       // -src-nat ip    Source NAT ip
-       if elem, found := f.ipFilter[ConntrackNatSrcIP]; match && found {
-               match = match && elem.Equal(flow.Reverse.SrcIP)
-       }
-
-       // -dst-nat ip    Destination NAT ip
-       if elem, found := f.ipFilter[ConntrackNatDstIP]; match && found {
-               match = match && elem.Equal(flow.Reverse.DstIP)
-       }
-
-       // -any-nat ip    Source or destination NAT ip
-       if elem, found := f.ipFilter[ConntrackNatAnyIP]; match && found {
-               match = match && (elem.Equal(flow.Reverse.SrcIP) || elem.Equal(flow.Reverse.DstIP))
-       }
-
-       return match
-}
diff --git a/vendor/github.com/vishvananda/netlink/conntrack_test.go b/vendor/github.com/vishvananda/netlink/conntrack_test.go
deleted file mode 100644 (file)
index 00b8060..0000000
+++ /dev/null
@@ -1,387 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-       "runtime"
-       "syscall"
-       "testing"
-
-       "github.com/vishvananda/netns"
-)
-
-func CheckErrorFail(t *testing.T, err error) {
-       if err != nil {
-               t.Fatalf("Fatal Error: %s", err)
-       }
-}
-func CheckError(t *testing.T, err error) {
-       if err != nil {
-               t.Errorf("Error: %s", err)
-       }
-}
-
-func udpFlowCreateProg(t *testing.T, flows, srcPort int, dstIP string, dstPort int) {
-       for i := 0; i < flows; i++ {
-               ServerAddr, err := net.ResolveUDPAddr("udp", fmt.Sprintf("%s:%d", dstIP, dstPort))
-               CheckError(t, err)
-
-               LocalAddr, err := net.ResolveUDPAddr("udp", fmt.Sprintf("127.0.0.1:%d", srcPort+i))
-               CheckError(t, err)
-
-               Conn, err := net.DialUDP("udp", LocalAddr, ServerAddr)
-               CheckError(t, err)
-
-               Conn.Write([]byte("Hello World"))
-               Conn.Close()
-       }
-}
-
-func nsCreateAndEnter(t *testing.T) (*netns.NsHandle, *netns.NsHandle, *Handle) {
-       // Lock the OS Thread so we don't accidentally switch namespaces
-       runtime.LockOSThread()
-
-       // Save the current network namespace
-       origns, _ := netns.Get()
-
-       ns, err := netns.New()
-       CheckErrorFail(t, err)
-
-       h, err := NewHandleAt(ns)
-       CheckErrorFail(t, err)
-
-       // Enter the new namespace
-       netns.Set(ns)
-
-       // Bing up loopback
-       link, _ := h.LinkByName("lo")
-       h.LinkSetUp(link)
-
-       return &origns, &ns, h
-}
-
-func applyFilter(flowList []ConntrackFlow, ipv4Filter *ConntrackFilter, ipv6Filter *ConntrackFilter) (ipv4Match, ipv6Match uint) {
-       for _, flow := range flowList {
-               if ipv4Filter.MatchConntrackFlow(&flow) == true {
-                       ipv4Match++
-               }
-               if ipv6Filter.MatchConntrackFlow(&flow) == true {
-                       ipv6Match++
-               }
-       }
-       return ipv4Match, ipv6Match
-}
-
-// TestConntrackSocket test the opening of a NETFILTER family socket
-func TestConntrackSocket(t *testing.T) {
-       skipUnlessRoot(t)
-
-       h, err := NewHandle(syscall.NETLINK_NETFILTER)
-       CheckErrorFail(t, err)
-
-       if h.SupportsNetlinkFamily(syscall.NETLINK_NETFILTER) != true {
-               t.Fatal("ERROR not supporting the NETFILTER family")
-       }
-}
-
-// TestConntrackTableList test the conntrack table list
-// Creates some flows and checks that they are correctly fetched from the conntrack table
-func TestConntrackTableList(t *testing.T) {
-       skipUnlessRoot(t)
-
-       // Creates a new namespace and bring up the loopback interface
-       origns, ns, h := nsCreateAndEnter(t)
-       defer netns.Set(*origns)
-       defer origns.Close()
-       defer ns.Close()
-       defer runtime.UnlockOSThread()
-
-       // Flush the table to start fresh
-       err := h.ConntrackTableFlush(ConntrackTable)
-       CheckErrorFail(t, err)
-
-       // Create 5 udp
-       udpFlowCreateProg(t, 5, 2000, "127.0.0.10", 3000)
-
-       // Fetch the conntrack table
-       flows, err := h.ConntrackTableList(ConntrackTable, syscall.AF_INET)
-       CheckErrorFail(t, err)
-
-       // Check that it is able to find the 5 flows created
-       var found int
-       for _, flow := range flows {
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.10")) &&
-                       flow.Forward.DstPort == 3000 &&
-                       (flow.Forward.SrcPort >= 2000 && flow.Forward.SrcPort <= 2005) {
-                       found++
-               }
-       }
-       if found != 5 {
-               t.Fatalf("Found only %d flows over 5", found)
-       }
-
-       // Give a try also to the IPv6 version
-       _, err = h.ConntrackTableList(ConntrackTable, syscall.AF_INET6)
-       CheckErrorFail(t, err)
-
-       // Switch back to the original namespace
-       netns.Set(*origns)
-}
-
-// TestConntrackTableFlush test the conntrack table flushing
-// Creates some flows and then call the table flush
-func TestConntrackTableFlush(t *testing.T) {
-       skipUnlessRoot(t)
-
-       // Creates a new namespace and bring up the loopback interface
-       origns, ns, h := nsCreateAndEnter(t)
-       defer netns.Set(*origns)
-       defer origns.Close()
-       defer ns.Close()
-       defer runtime.UnlockOSThread()
-
-       // Create 5 udp flows using netcat
-       udpFlowCreateProg(t, 5, 3000, "127.0.0.10", 4000)
-
-       // Fetch the conntrack table
-       flows, err := h.ConntrackTableList(ConntrackTable, syscall.AF_INET)
-       CheckErrorFail(t, err)
-
-       // Check that it is able to find the 5 flows created
-       var found int
-       for _, flow := range flows {
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.10")) &&
-                       flow.Forward.DstPort == 4000 &&
-                       (flow.Forward.SrcPort >= 3000 && flow.Forward.SrcPort <= 3005) {
-                       found++
-               }
-       }
-       if found != 5 {
-               t.Fatalf("Found only %d flows over 5", found)
-       }
-
-       // Flush the table
-       err = h.ConntrackTableFlush(ConntrackTable)
-       CheckErrorFail(t, err)
-
-       // Fetch again the flows to validate the flush
-       flows, err = h.ConntrackTableList(ConntrackTable, syscall.AF_INET)
-       CheckErrorFail(t, err)
-
-       // Check if it is still able to find the 5 flows created
-       found = 0
-       for _, flow := range flows {
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.10")) &&
-                       flow.Forward.DstPort == 4000 &&
-                       (flow.Forward.SrcPort >= 3000 && flow.Forward.SrcPort <= 3005) {
-                       found++
-               }
-       }
-       if found > 0 {
-               t.Fatalf("Found %d flows, they should had been flushed", found)
-       }
-
-       // Switch back to the original namespace
-       netns.Set(*origns)
-}
-
-// TestConntrackTableDelete tests the deletion with filter
-// Creates 2 group of flows then deletes only one group and validates the result
-func TestConntrackTableDelete(t *testing.T) {
-       skipUnlessRoot(t)
-
-       // Creates a new namespace and bring up the loopback interface
-       origns, ns, h := nsCreateAndEnter(t)
-       defer netns.Set(*origns)
-       defer origns.Close()
-       defer ns.Close()
-       defer runtime.UnlockOSThread()
-
-       // Create 10 udp flows
-       udpFlowCreateProg(t, 5, 5000, "127.0.0.10", 6000)
-       udpFlowCreateProg(t, 5, 7000, "127.0.0.20", 8000)
-
-       // Fetch the conntrack table
-       flows, err := h.ConntrackTableList(ConntrackTable, syscall.AF_INET)
-       CheckErrorFail(t, err)
-
-       // Check that it is able to find the 5 flows created for each group
-       var groupA int
-       var groupB int
-       for _, flow := range flows {
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.10")) &&
-                       flow.Forward.DstPort == 6000 &&
-                       (flow.Forward.SrcPort >= 5000 && flow.Forward.SrcPort <= 5005) {
-                       groupA++
-               }
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.20")) &&
-                       flow.Forward.DstPort == 8000 &&
-                       (flow.Forward.SrcPort >= 7000 && flow.Forward.SrcPort <= 7005) {
-                       groupB++
-               }
-       }
-       if groupA != 5 || groupB != 5 {
-               t.Fatalf("Flow creation issue groupA:%d, groupB:%d", groupA, groupB)
-       }
-
-       // Create a filter to erase groupB flows
-       filter := &ConntrackFilter{}
-       filter.AddIP(ConntrackOrigDstIP, net.ParseIP("127.0.0.20"))
-
-       // Flush entries of groupB
-       var deleted uint
-       if deleted, err = h.ConntrackDeleteFilter(ConntrackTable, syscall.AF_INET, filter); err != nil {
-               t.Fatalf("Error during the erase: %s", err)
-       }
-       if deleted != 5 {
-               t.Fatalf("Error deleted a wrong number of flows:%d instead of 5", deleted)
-       }
-
-       // Check again the table to verify that are gone
-       flows, err = h.ConntrackTableList(ConntrackTable, syscall.AF_INET)
-       CheckErrorFail(t, err)
-
-       // Check if it is able to find the 5 flows of groupA but none of groupB
-       groupA = 0
-       groupB = 0
-       for _, flow := range flows {
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.10")) &&
-                       flow.Forward.DstPort == 6000 &&
-                       (flow.Forward.SrcPort >= 5000 && flow.Forward.SrcPort <= 5005) {
-                       groupA++
-               }
-               if flow.Forward.Protocol == 17 &&
-                       flow.Forward.DstIP.Equal(net.ParseIP("127.0.0.20")) &&
-                       flow.Forward.DstPort == 8000 &&
-                       (flow.Forward.SrcPort >= 7000 && flow.Forward.SrcPort <= 7005) {
-                       groupB++
-               }
-       }
-       if groupA != 5 || groupB > 0 {
-               t.Fatalf("Error during the erase groupA:%d, groupB:%d", groupA, groupB)
-       }
-
-       // Switch back to the original namespace
-       netns.Set(*origns)
-}
-
-func TestConntrackFilter(t *testing.T) {
-       var flowList []ConntrackFlow
-       flowList = append(flowList, ConntrackFlow{
-               FamilyType: syscall.AF_INET,
-               Forward: ipTuple{
-                       SrcIP:   net.ParseIP("10.0.0.1"),
-                       DstIP:   net.ParseIP("20.0.0.1"),
-                       SrcPort: 1000,
-                       DstPort: 2000,
-               },
-               Reverse: ipTuple{
-                       SrcIP:   net.ParseIP("20.0.0.1"),
-                       DstIP:   net.ParseIP("192.168.1.1"),
-                       SrcPort: 2000,
-                       DstPort: 1000,
-               },
-       },
-               ConntrackFlow{
-                       FamilyType: syscall.AF_INET,
-                       Forward: ipTuple{
-                               SrcIP:   net.ParseIP("10.0.0.2"),
-                               DstIP:   net.ParseIP("20.0.0.2"),
-                               SrcPort: 5000,
-                               DstPort: 6000,
-                       },
-                       Reverse: ipTuple{
-                               SrcIP:   net.ParseIP("20.0.0.2"),
-                               DstIP:   net.ParseIP("192.168.1.1"),
-                               SrcPort: 6000,
-                               DstPort: 5000,
-                       },
-               },
-               ConntrackFlow{
-                       FamilyType: syscall.AF_INET6,
-                       Forward: ipTuple{
-                               SrcIP:   net.ParseIP("eeee:eeee:eeee:eeee:eeee:eeee:eeee:eeee"),
-                               DstIP:   net.ParseIP("dddd:dddd:dddd:dddd:dddd:dddd:dddd:dddd"),
-                               SrcPort: 1000,
-                               DstPort: 2000,
-                       },
-                       Reverse: ipTuple{
-                               SrcIP:   net.ParseIP("dddd:dddd:dddd:dddd:dddd:dddd:dddd:dddd"),
-                               DstIP:   net.ParseIP("eeee:eeee:eeee:eeee:eeee:eeee:eeee:eeee"),
-                               SrcPort: 2000,
-                               DstPort: 1000,
-                       },
-               })
-
-       // Empty filter
-       v4Match, v6Match := applyFilter(flowList, &ConntrackFilter{}, &ConntrackFilter{})
-       if v4Match > 0 || v6Match > 0 {
-               t.Fatalf("Error, empty filter cannot match, v4:%d, v6:%d", v4Match, v6Match)
-       }
-
-       // SrcIP filter
-       filterV4 := &ConntrackFilter{}
-       filterV4.AddIP(ConntrackOrigSrcIP, net.ParseIP("10.0.0.1"))
-
-       filterV6 := &ConntrackFilter{}
-       filterV6.AddIP(ConntrackOrigSrcIP, net.ParseIP("eeee:eeee:eeee:eeee:eeee:eeee:eeee:eeee"))
-
-       v4Match, v6Match = applyFilter(flowList, filterV4, filterV6)
-       if v4Match != 1 || v6Match != 1 {
-               t.Fatalf("Error, there should be only 1 match, v4:%d, v6:%d", v4Match, v6Match)
-       }
-
-       // DstIp filter
-       filterV4 = &ConntrackFilter{}
-       filterV4.AddIP(ConntrackOrigDstIP, net.ParseIP("20.0.0.1"))
-
-       filterV6 = &ConntrackFilter{}
-       filterV6.AddIP(ConntrackOrigDstIP, net.ParseIP("dddd:dddd:dddd:dddd:dddd:dddd:dddd:dddd"))
-
-       v4Match, v6Match = applyFilter(flowList, filterV4, filterV6)
-       if v4Match != 1 || v6Match != 1 {
-               t.Fatalf("Error, there should be only 1 match, v4:%d, v6:%d", v4Match, v6Match)
-       }
-
-       // SrcIP for NAT
-       filterV4 = &ConntrackFilter{}
-       filterV4.AddIP(ConntrackNatSrcIP, net.ParseIP("20.0.0.1"))
-
-       filterV6 = &ConntrackFilter{}
-       filterV6.AddIP(ConntrackNatSrcIP, net.ParseIP("dddd:dddd:dddd:dddd:dddd:dddd:dddd:dddd"))
-
-       v4Match, v6Match = applyFilter(flowList, filterV4, filterV6)
-       if v4Match != 1 || v6Match != 1 {
-               t.Fatalf("Error, there should be only 1 match, v4:%d, v6:%d", v4Match, v6Match)
-       }
-
-       // DstIP for NAT
-       filterV4 = &ConntrackFilter{}
-       filterV4.AddIP(ConntrackNatDstIP, net.ParseIP("192.168.1.1"))
-
-       filterV6 = &ConntrackFilter{}
-       filterV6.AddIP(ConntrackNatDstIP, net.ParseIP("dddd:dddd:dddd:dddd:dddd:dddd:dddd:dddd"))
-
-       v4Match, v6Match = applyFilter(flowList, filterV4, filterV6)
-       if v4Match != 2 || v6Match != 0 {
-               t.Fatalf("Error, there should be an exact match, v4:%d, v6:%d", v4Match, v6Match)
-       }
-
-       // AnyIp for Nat
-       filterV4 = &ConntrackFilter{}
-       filterV4.AddIP(ConntrackNatAnyIP, net.ParseIP("192.168.1.1"))
-
-       filterV6 = &ConntrackFilter{}
-       filterV6.AddIP(ConntrackNatAnyIP, net.ParseIP("eeee:eeee:eeee:eeee:eeee:eeee:eeee:eeee"))
-
-       v4Match, v6Match = applyFilter(flowList, filterV4, filterV6)
-       if v4Match != 2 || v6Match != 1 {
-               t.Fatalf("Error, there should be an exact match, v4:%d, v6:%d", v4Match, v6Match)
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go b/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go
deleted file mode 100644 (file)
index af7af79..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// +build !linux
-
-package netlink
-
-// ConntrackTableType Conntrack table for the netlink operation
-type ConntrackTableType uint8
-
-// InetFamily Family type
-type InetFamily uint8
-
-// ConntrackFlow placeholder
-type ConntrackFlow struct{}
-
-// ConntrackFilter placeholder
-type ConntrackFilter struct{}
-
-// ConntrackTableList returns the flow list of a table of a specific family
-// conntrack -L [table] [options]          List conntrack or expectation table
-func ConntrackTableList(table ConntrackTableType, family InetFamily) ([]*ConntrackFlow, error) {
-       return nil, ErrNotImplemented
-}
-
-// ConntrackTableFlush flushes all the flows of a specified table
-// conntrack -F [table]            Flush table
-// The flush operation applies to all the family types
-func ConntrackTableFlush(table ConntrackTableType) error {
-       return ErrNotImplemented
-}
-
-// ConntrackDeleteFilter deletes entries on the specified table on the base of the filter
-// conntrack -D [table] parameters         Delete conntrack or expectation
-func ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter *ConntrackFilter) (uint, error) {
-       return 0, ErrNotImplemented
-}
-
-// ConntrackTableList returns the flow list of a table of a specific family using the netlink handle passed
-// conntrack -L [table] [options]          List conntrack or expectation table
-func (h *Handle) ConntrackTableList(table ConntrackTableType, family InetFamily) ([]*ConntrackFlow, error) {
-       return nil, ErrNotImplemented
-}
-
-// ConntrackTableFlush flushes all the flows of a specified table using the netlink handle passed
-// conntrack -F [table]            Flush table
-// The flush operation applies to all the family types
-func (h *Handle) ConntrackTableFlush(table ConntrackTableType) error {
-       return ErrNotImplemented
-}
-
-// ConntrackDeleteFilter deletes entries on the specified table on the base of the filter using the netlink handle passed
-// conntrack -D [table] parameters         Delete conntrack or expectation
-func (h *Handle) ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter *ConntrackFilter) (uint, error) {
-       return 0, ErrNotImplemented
-}
diff --git a/vendor/github.com/vishvananda/netlink/filter.go b/vendor/github.com/vishvananda/netlink/filter.go
deleted file mode 100644 (file)
index 938b28b..0000000
+++ /dev/null
@@ -1,283 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-type Filter interface {
-       Attrs() *FilterAttrs
-       Type() string
-}
-
-// FilterAttrs represents a netlink filter. A filter is associated with a link,
-// has a handle and a parent. The root filter of a device should have a
-// parent == HANDLE_ROOT.
-type FilterAttrs struct {
-       LinkIndex int
-       Handle    uint32
-       Parent    uint32
-       Priority  uint16 // lower is higher priority
-       Protocol  uint16 // syscall.ETH_P_*
-}
-
-func (q FilterAttrs) String() string {
-       return fmt.Sprintf("{LinkIndex: %d, Handle: %s, Parent: %s, Priority: %d, Protocol: %d}", q.LinkIndex, HandleStr(q.Handle), HandleStr(q.Parent), q.Priority, q.Protocol)
-}
-
-type TcAct int32
-
-const (
-       TC_ACT_UNSPEC     TcAct = -1
-       TC_ACT_OK         TcAct = 0
-       TC_ACT_RECLASSIFY TcAct = 1
-       TC_ACT_SHOT       TcAct = 2
-       TC_ACT_PIPE       TcAct = 3
-       TC_ACT_STOLEN     TcAct = 4
-       TC_ACT_QUEUED     TcAct = 5
-       TC_ACT_REPEAT     TcAct = 6
-       TC_ACT_REDIRECT   TcAct = 7
-       TC_ACT_JUMP       TcAct = 0x10000000
-)
-
-func (a TcAct) String() string {
-       switch a {
-       case TC_ACT_UNSPEC:
-               return "unspec"
-       case TC_ACT_OK:
-               return "ok"
-       case TC_ACT_RECLASSIFY:
-               return "reclassify"
-       case TC_ACT_SHOT:
-               return "shot"
-       case TC_ACT_PIPE:
-               return "pipe"
-       case TC_ACT_STOLEN:
-               return "stolen"
-       case TC_ACT_QUEUED:
-               return "queued"
-       case TC_ACT_REPEAT:
-               return "repeat"
-       case TC_ACT_REDIRECT:
-               return "redirect"
-       case TC_ACT_JUMP:
-               return "jump"
-       }
-       return fmt.Sprintf("0x%x", int32(a))
-}
-
-type TcPolAct int32
-
-const (
-       TC_POLICE_UNSPEC     TcPolAct = TcPolAct(TC_ACT_UNSPEC)
-       TC_POLICE_OK         TcPolAct = TcPolAct(TC_ACT_OK)
-       TC_POLICE_RECLASSIFY TcPolAct = TcPolAct(TC_ACT_RECLASSIFY)
-       TC_POLICE_SHOT       TcPolAct = TcPolAct(TC_ACT_SHOT)
-       TC_POLICE_PIPE       TcPolAct = TcPolAct(TC_ACT_PIPE)
-)
-
-func (a TcPolAct) String() string {
-       switch a {
-       case TC_POLICE_UNSPEC:
-               return "unspec"
-       case TC_POLICE_OK:
-               return "ok"
-       case TC_POLICE_RECLASSIFY:
-               return "reclassify"
-       case TC_POLICE_SHOT:
-               return "shot"
-       case TC_POLICE_PIPE:
-               return "pipe"
-       }
-       return fmt.Sprintf("0x%x", int32(a))
-}
-
-type ActionAttrs struct {
-       Index   int
-       Capab   int
-       Action  TcAct
-       Refcnt  int
-       Bindcnt int
-}
-
-func (q ActionAttrs) String() string {
-       return fmt.Sprintf("{Index: %d, Capab: %x, Action: %s, Refcnt: %d, Bindcnt: %d}", q.Index, q.Capab, q.Action.String(), q.Refcnt, q.Bindcnt)
-}
-
-// Action represents an action in any supported filter.
-type Action interface {
-       Attrs() *ActionAttrs
-       Type() string
-}
-
-type GenericAction struct {
-       ActionAttrs
-}
-
-func (action *GenericAction) Type() string {
-       return "generic"
-}
-
-func (action *GenericAction) Attrs() *ActionAttrs {
-       return &action.ActionAttrs
-}
-
-type BpfAction struct {
-       ActionAttrs
-       Fd   int
-       Name string
-}
-
-func (action *BpfAction) Type() string {
-       return "bpf"
-}
-
-func (action *BpfAction) Attrs() *ActionAttrs {
-       return &action.ActionAttrs
-}
-
-type MirredAct uint8
-
-func (a MirredAct) String() string {
-       switch a {
-       case TCA_EGRESS_REDIR:
-               return "egress redir"
-       case TCA_EGRESS_MIRROR:
-               return "egress mirror"
-       case TCA_INGRESS_REDIR:
-               return "ingress redir"
-       case TCA_INGRESS_MIRROR:
-               return "ingress mirror"
-       }
-       return "unknown"
-}
-
-const (
-       TCA_EGRESS_REDIR   MirredAct = 1 /* packet redirect to EGRESS*/
-       TCA_EGRESS_MIRROR  MirredAct = 2 /* mirror packet to EGRESS */
-       TCA_INGRESS_REDIR  MirredAct = 3 /* packet redirect to INGRESS*/
-       TCA_INGRESS_MIRROR MirredAct = 4 /* mirror packet to INGRESS */
-)
-
-type MirredAction struct {
-       ActionAttrs
-       MirredAction MirredAct
-       Ifindex      int
-}
-
-func (action *MirredAction) Type() string {
-       return "mirred"
-}
-
-func (action *MirredAction) Attrs() *ActionAttrs {
-       return &action.ActionAttrs
-}
-
-func NewMirredAction(redirIndex int) *MirredAction {
-       return &MirredAction{
-               ActionAttrs: ActionAttrs{
-                       Action: TC_ACT_STOLEN,
-               },
-               MirredAction: TCA_EGRESS_REDIR,
-               Ifindex:      redirIndex,
-       }
-}
-
-// Constants used in TcU32Sel.Flags.
-const (
-       TC_U32_TERMINAL  = nl.TC_U32_TERMINAL
-       TC_U32_OFFSET    = nl.TC_U32_OFFSET
-       TC_U32_VAROFFSET = nl.TC_U32_VAROFFSET
-       TC_U32_EAT       = nl.TC_U32_EAT
-)
-
-// Sel of the U32 filters that contains multiple TcU32Key. This is the copy
-// and the frontend representation of nl.TcU32Sel. It is serialized into canonical
-// nl.TcU32Sel with the appropriate endianness.
-type TcU32Sel struct {
-       Flags    uint8
-       Offshift uint8
-       Nkeys    uint8
-       Pad      uint8
-       Offmask  uint16
-       Off      uint16
-       Offoff   int16
-       Hoff     int16
-       Hmask    uint32
-       Keys     []TcU32Key
-}
-
-// TcU32Key contained of Sel in the U32 filters. This is the copy and the frontend
-// representation of nl.TcU32Key. It is serialized into chanonical nl.TcU32Sel
-// with the appropriate endianness.
-type TcU32Key struct {
-       Mask    uint32
-       Val     uint32
-       Off     int32
-       OffMask int32
-}
-
-// U32 filters on many packet related properties
-type U32 struct {
-       FilterAttrs
-       ClassId    uint32
-       RedirIndex int
-       Sel        *TcU32Sel
-       Actions    []Action
-}
-
-func (filter *U32) Attrs() *FilterAttrs {
-       return &filter.FilterAttrs
-}
-
-func (filter *U32) Type() string {
-       return "u32"
-}
-
-type FilterFwAttrs struct {
-       ClassId   uint32
-       InDev     string
-       Mask      uint32
-       Index     uint32
-       Buffer    uint32
-       Mtu       uint32
-       Mpu       uint16
-       Rate      uint32
-       AvRate    uint32
-       PeakRate  uint32
-       Action    TcPolAct
-       Overhead  uint16
-       LinkLayer int
-}
-
-type BpfFilter struct {
-       FilterAttrs
-       ClassId      uint32
-       Fd           int
-       Name         string
-       DirectAction bool
-}
-
-func (filter *BpfFilter) Type() string {
-       return "bpf"
-}
-
-func (filter *BpfFilter) Attrs() *FilterAttrs {
-       return &filter.FilterAttrs
-}
-
-// GenericFilter filters represent types that are not currently understood
-// by this netlink library.
-type GenericFilter struct {
-       FilterAttrs
-       FilterType string
-}
-
-func (filter *GenericFilter) Attrs() *FilterAttrs {
-       return &filter.FilterAttrs
-}
-
-func (filter *GenericFilter) Type() string {
-       return filter.FilterType
-}
diff --git a/vendor/github.com/vishvananda/netlink/filter_linux.go b/vendor/github.com/vishvananda/netlink/filter_linux.go
deleted file mode 100644 (file)
index a0e000c..0000000
+++ /dev/null
@@ -1,591 +0,0 @@
-package netlink
-
-import (
-       "bytes"
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "syscall"
-       "unsafe"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-// Fw filter filters on firewall marks
-// NOTE: this is in filter_linux because it refers to nl.TcPolice which
-//       is defined in nl/tc_linux.go
-type Fw struct {
-       FilterAttrs
-       ClassId uint32
-       // TODO remove nl type from interface
-       Police nl.TcPolice
-       InDev  string
-       // TODO Action
-       Mask   uint32
-       AvRate uint32
-       Rtab   [256]uint32
-       Ptab   [256]uint32
-}
-
-func NewFw(attrs FilterAttrs, fattrs FilterFwAttrs) (*Fw, error) {
-       var rtab [256]uint32
-       var ptab [256]uint32
-       rcellLog := -1
-       pcellLog := -1
-       avrate := fattrs.AvRate / 8
-       police := nl.TcPolice{}
-       police.Rate.Rate = fattrs.Rate / 8
-       police.PeakRate.Rate = fattrs.PeakRate / 8
-       buffer := fattrs.Buffer
-       linklayer := nl.LINKLAYER_ETHERNET
-
-       if fattrs.LinkLayer != nl.LINKLAYER_UNSPEC {
-               linklayer = fattrs.LinkLayer
-       }
-
-       police.Action = int32(fattrs.Action)
-       if police.Rate.Rate != 0 {
-               police.Rate.Mpu = fattrs.Mpu
-               police.Rate.Overhead = fattrs.Overhead
-               if CalcRtable(&police.Rate, rtab, rcellLog, fattrs.Mtu, linklayer) < 0 {
-                       return nil, errors.New("TBF: failed to calculate rate table")
-               }
-               police.Burst = uint32(Xmittime(uint64(police.Rate.Rate), uint32(buffer)))
-       }
-       police.Mtu = fattrs.Mtu
-       if police.PeakRate.Rate != 0 {
-               police.PeakRate.Mpu = fattrs.Mpu
-               police.PeakRate.Overhead = fattrs.Overhead
-               if CalcRtable(&police.PeakRate, ptab, pcellLog, fattrs.Mtu, linklayer) < 0 {
-                       return nil, errors.New("POLICE: failed to calculate peak rate table")
-               }
-       }
-
-       return &Fw{
-               FilterAttrs: attrs,
-               ClassId:     fattrs.ClassId,
-               InDev:       fattrs.InDev,
-               Mask:        fattrs.Mask,
-               Police:      police,
-               AvRate:      avrate,
-               Rtab:        rtab,
-               Ptab:        ptab,
-       }, nil
-}
-
-func (filter *Fw) Attrs() *FilterAttrs {
-       return &filter.FilterAttrs
-}
-
-func (filter *Fw) Type() string {
-       return "fw"
-}
-
-// FilterDel will delete a filter from the system.
-// Equivalent to: `tc filter del $filter`
-func FilterDel(filter Filter) error {
-       return pkgHandle.FilterDel(filter)
-}
-
-// FilterDel will delete a filter from the system.
-// Equivalent to: `tc filter del $filter`
-func (h *Handle) FilterDel(filter Filter) error {
-       req := h.newNetlinkRequest(syscall.RTM_DELTFILTER, syscall.NLM_F_ACK)
-       base := filter.Attrs()
-       msg := &nl.TcMsg{
-               Family:  nl.FAMILY_ALL,
-               Ifindex: int32(base.LinkIndex),
-               Handle:  base.Handle,
-               Parent:  base.Parent,
-               Info:    MakeHandle(base.Priority, nl.Swap16(base.Protocol)),
-       }
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// FilterAdd will add a filter to the system.
-// Equivalent to: `tc filter add $filter`
-func FilterAdd(filter Filter) error {
-       return pkgHandle.FilterAdd(filter)
-}
-
-// FilterAdd will add a filter to the system.
-// Equivalent to: `tc filter add $filter`
-func (h *Handle) FilterAdd(filter Filter) error {
-       native = nl.NativeEndian()
-       req := h.newNetlinkRequest(syscall.RTM_NEWTFILTER, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-       base := filter.Attrs()
-       msg := &nl.TcMsg{
-               Family:  nl.FAMILY_ALL,
-               Ifindex: int32(base.LinkIndex),
-               Handle:  base.Handle,
-               Parent:  base.Parent,
-               Info:    MakeHandle(base.Priority, nl.Swap16(base.Protocol)),
-       }
-       req.AddData(msg)
-       req.AddData(nl.NewRtAttr(nl.TCA_KIND, nl.ZeroTerminated(filter.Type())))
-
-       options := nl.NewRtAttr(nl.TCA_OPTIONS, nil)
-       if u32, ok := filter.(*U32); ok {
-               // Convert TcU32Sel into nl.TcU32Sel as it is without copy.
-               sel := (*nl.TcU32Sel)(unsafe.Pointer(u32.Sel))
-               if sel == nil {
-                       // match all
-                       sel = &nl.TcU32Sel{
-                               Nkeys: 1,
-                               Flags: nl.TC_U32_TERMINAL,
-                       }
-                       sel.Keys = append(sel.Keys, nl.TcU32Key{})
-               }
-
-               if native != networkOrder {
-                       // Copy Tcu32Sel.
-                       cSel := sel
-                       keys := make([]nl.TcU32Key, cap(sel.Keys))
-                       copy(keys, sel.Keys)
-                       cSel.Keys = keys
-                       sel = cSel
-
-                       // Handle the endianness of attributes
-                       sel.Offmask = native.Uint16(htons(sel.Offmask))
-                       sel.Hmask = native.Uint32(htonl(sel.Hmask))
-                       for _, key := range sel.Keys {
-                               key.Mask = native.Uint32(htonl(key.Mask))
-                               key.Val = native.Uint32(htonl(key.Val))
-                       }
-               }
-               sel.Nkeys = uint8(len(sel.Keys))
-               nl.NewRtAttrChild(options, nl.TCA_U32_SEL, sel.Serialize())
-               if u32.ClassId != 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_U32_CLASSID, nl.Uint32Attr(u32.ClassId))
-               }
-               actionsAttr := nl.NewRtAttrChild(options, nl.TCA_U32_ACT, nil)
-               // backwards compatibility
-               if u32.RedirIndex != 0 {
-                       u32.Actions = append([]Action{NewMirredAction(u32.RedirIndex)}, u32.Actions...)
-               }
-               if err := EncodeActions(actionsAttr, u32.Actions); err != nil {
-                       return err
-               }
-       } else if fw, ok := filter.(*Fw); ok {
-               if fw.Mask != 0 {
-                       b := make([]byte, 4)
-                       native.PutUint32(b, fw.Mask)
-                       nl.NewRtAttrChild(options, nl.TCA_FW_MASK, b)
-               }
-               if fw.InDev != "" {
-                       nl.NewRtAttrChild(options, nl.TCA_FW_INDEV, nl.ZeroTerminated(fw.InDev))
-               }
-               if (fw.Police != nl.TcPolice{}) {
-
-                       police := nl.NewRtAttrChild(options, nl.TCA_FW_POLICE, nil)
-                       nl.NewRtAttrChild(police, nl.TCA_POLICE_TBF, fw.Police.Serialize())
-                       if (fw.Police.Rate != nl.TcRateSpec{}) {
-                               payload := SerializeRtab(fw.Rtab)
-                               nl.NewRtAttrChild(police, nl.TCA_POLICE_RATE, payload)
-                       }
-                       if (fw.Police.PeakRate != nl.TcRateSpec{}) {
-                               payload := SerializeRtab(fw.Ptab)
-                               nl.NewRtAttrChild(police, nl.TCA_POLICE_PEAKRATE, payload)
-                       }
-               }
-               if fw.ClassId != 0 {
-                       b := make([]byte, 4)
-                       native.PutUint32(b, fw.ClassId)
-                       nl.NewRtAttrChild(options, nl.TCA_FW_CLASSID, b)
-               }
-       } else if bpf, ok := filter.(*BpfFilter); ok {
-               var bpfFlags uint32
-               if bpf.ClassId != 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_BPF_CLASSID, nl.Uint32Attr(bpf.ClassId))
-               }
-               if bpf.Fd >= 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_BPF_FD, nl.Uint32Attr((uint32(bpf.Fd))))
-               }
-               if bpf.Name != "" {
-                       nl.NewRtAttrChild(options, nl.TCA_BPF_NAME, nl.ZeroTerminated(bpf.Name))
-               }
-               if bpf.DirectAction {
-                       bpfFlags |= nl.TCA_BPF_FLAG_ACT_DIRECT
-               }
-               nl.NewRtAttrChild(options, nl.TCA_BPF_FLAGS, nl.Uint32Attr(bpfFlags))
-       }
-
-       req.AddData(options)
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// FilterList gets a list of filters in the system.
-// Equivalent to: `tc filter show`.
-// Generally returns nothing if link and parent are not specified.
-func FilterList(link Link, parent uint32) ([]Filter, error) {
-       return pkgHandle.FilterList(link, parent)
-}
-
-// FilterList gets a list of filters in the system.
-// Equivalent to: `tc filter show`.
-// Generally returns nothing if link and parent are not specified.
-func (h *Handle) FilterList(link Link, parent uint32) ([]Filter, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETTFILTER, syscall.NLM_F_DUMP)
-       msg := &nl.TcMsg{
-               Family: nl.FAMILY_ALL,
-               Parent: parent,
-       }
-       if link != nil {
-               base := link.Attrs()
-               h.ensureIndex(base)
-               msg.Ifindex = int32(base.Index)
-       }
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWTFILTER)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Filter
-       for _, m := range msgs {
-               msg := nl.DeserializeTcMsg(m)
-
-               attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-               if err != nil {
-                       return nil, err
-               }
-
-               base := FilterAttrs{
-                       LinkIndex: int(msg.Ifindex),
-                       Handle:    msg.Handle,
-                       Parent:    msg.Parent,
-               }
-               base.Priority, base.Protocol = MajorMinor(msg.Info)
-               base.Protocol = nl.Swap16(base.Protocol)
-
-               var filter Filter
-               filterType := ""
-               detailed := false
-               for _, attr := range attrs {
-                       switch attr.Attr.Type {
-                       case nl.TCA_KIND:
-                               filterType = string(attr.Value[:len(attr.Value)-1])
-                               switch filterType {
-                               case "u32":
-                                       filter = &U32{}
-                               case "fw":
-                                       filter = &Fw{}
-                               case "bpf":
-                                       filter = &BpfFilter{}
-                               default:
-                                       filter = &GenericFilter{FilterType: filterType}
-                               }
-                       case nl.TCA_OPTIONS:
-                               data, err := nl.ParseRouteAttr(attr.Value)
-                               if err != nil {
-                                       return nil, err
-                               }
-                               switch filterType {
-                               case "u32":
-                                       detailed, err = parseU32Data(filter, data)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                               case "fw":
-                                       detailed, err = parseFwData(filter, data)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                               case "bpf":
-                                       detailed, err = parseBpfData(filter, data)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                               default:
-                                       detailed = true
-                               }
-                       }
-               }
-               // only return the detailed version of the filter
-               if detailed {
-                       *filter.Attrs() = base
-                       res = append(res, filter)
-               }
-       }
-
-       return res, nil
-}
-
-func toTcGen(attrs *ActionAttrs, tcgen *nl.TcGen) {
-       tcgen.Index = uint32(attrs.Index)
-       tcgen.Capab = uint32(attrs.Capab)
-       tcgen.Action = int32(attrs.Action)
-       tcgen.Refcnt = int32(attrs.Refcnt)
-       tcgen.Bindcnt = int32(attrs.Bindcnt)
-}
-
-func toAttrs(tcgen *nl.TcGen, attrs *ActionAttrs) {
-       attrs.Index = int(tcgen.Index)
-       attrs.Capab = int(tcgen.Capab)
-       attrs.Action = TcAct(tcgen.Action)
-       attrs.Refcnt = int(tcgen.Refcnt)
-       attrs.Bindcnt = int(tcgen.Bindcnt)
-}
-
-func EncodeActions(attr *nl.RtAttr, actions []Action) error {
-       tabIndex := int(nl.TCA_ACT_TAB)
-
-       for _, action := range actions {
-               switch action := action.(type) {
-               default:
-                       return fmt.Errorf("unknown action type %s", action.Type())
-               case *MirredAction:
-                       table := nl.NewRtAttrChild(attr, tabIndex, nil)
-                       tabIndex++
-                       nl.NewRtAttrChild(table, nl.TCA_ACT_KIND, nl.ZeroTerminated("mirred"))
-                       aopts := nl.NewRtAttrChild(table, nl.TCA_ACT_OPTIONS, nil)
-                       mirred := nl.TcMirred{
-                               Eaction: int32(action.MirredAction),
-                               Ifindex: uint32(action.Ifindex),
-                       }
-                       toTcGen(action.Attrs(), &mirred.TcGen)
-                       nl.NewRtAttrChild(aopts, nl.TCA_MIRRED_PARMS, mirred.Serialize())
-               case *BpfAction:
-                       table := nl.NewRtAttrChild(attr, tabIndex, nil)
-                       tabIndex++
-                       nl.NewRtAttrChild(table, nl.TCA_ACT_KIND, nl.ZeroTerminated("bpf"))
-                       aopts := nl.NewRtAttrChild(table, nl.TCA_ACT_OPTIONS, nil)
-                       gen := nl.TcGen{}
-                       toTcGen(action.Attrs(), &gen)
-                       nl.NewRtAttrChild(aopts, nl.TCA_ACT_BPF_PARMS, gen.Serialize())
-                       nl.NewRtAttrChild(aopts, nl.TCA_ACT_BPF_FD, nl.Uint32Attr(uint32(action.Fd)))
-                       nl.NewRtAttrChild(aopts, nl.TCA_ACT_BPF_NAME, nl.ZeroTerminated(action.Name))
-               case *GenericAction:
-                       table := nl.NewRtAttrChild(attr, tabIndex, nil)
-                       tabIndex++
-                       nl.NewRtAttrChild(table, nl.TCA_ACT_KIND, nl.ZeroTerminated("gact"))
-                       aopts := nl.NewRtAttrChild(table, nl.TCA_ACT_OPTIONS, nil)
-                       gen := nl.TcGen{}
-                       toTcGen(action.Attrs(), &gen)
-                       nl.NewRtAttrChild(aopts, nl.TCA_GACT_PARMS, gen.Serialize())
-               }
-       }
-       return nil
-}
-
-func parseActions(tables []syscall.NetlinkRouteAttr) ([]Action, error) {
-       var actions []Action
-       for _, table := range tables {
-               var action Action
-               var actionType string
-               aattrs, err := nl.ParseRouteAttr(table.Value)
-               if err != nil {
-                       return nil, err
-               }
-       nextattr:
-               for _, aattr := range aattrs {
-                       switch aattr.Attr.Type {
-                       case nl.TCA_KIND:
-                               actionType = string(aattr.Value[:len(aattr.Value)-1])
-                               // only parse if the action is mirred or bpf
-                               switch actionType {
-                               case "mirred":
-                                       action = &MirredAction{}
-                               case "bpf":
-                                       action = &BpfAction{}
-                               case "gact":
-                                       action = &GenericAction{}
-                               default:
-                                       break nextattr
-                               }
-                       case nl.TCA_OPTIONS:
-                               adata, err := nl.ParseRouteAttr(aattr.Value)
-                               if err != nil {
-                                       return nil, err
-                               }
-                               for _, adatum := range adata {
-                                       switch actionType {
-                                       case "mirred":
-                                               switch adatum.Attr.Type {
-                                               case nl.TCA_MIRRED_PARMS:
-                                                       mirred := *nl.DeserializeTcMirred(adatum.Value)
-                                                       toAttrs(&mirred.TcGen, action.Attrs())
-                                                       action.(*MirredAction).ActionAttrs = ActionAttrs{}
-                                                       action.(*MirredAction).Ifindex = int(mirred.Ifindex)
-                                                       action.(*MirredAction).MirredAction = MirredAct(mirred.Eaction)
-                                               }
-                                       case "bpf":
-                                               switch adatum.Attr.Type {
-                                               case nl.TCA_ACT_BPF_PARMS:
-                                                       gen := *nl.DeserializeTcGen(adatum.Value)
-                                                       toAttrs(&gen, action.Attrs())
-                                               case nl.TCA_ACT_BPF_FD:
-                                                       action.(*BpfAction).Fd = int(native.Uint32(adatum.Value[0:4]))
-                                               case nl.TCA_ACT_BPF_NAME:
-                                                       action.(*BpfAction).Name = string(adatum.Value[:len(adatum.Value)-1])
-                                               }
-                                       case "gact":
-                                               switch adatum.Attr.Type {
-                                               case nl.TCA_GACT_PARMS:
-                                                       gen := *nl.DeserializeTcGen(adatum.Value)
-                                                       toAttrs(&gen, action.Attrs())
-                                               }
-                                       }
-                               }
-                       }
-               }
-               actions = append(actions, action)
-       }
-       return actions, nil
-}
-
-func parseU32Data(filter Filter, data []syscall.NetlinkRouteAttr) (bool, error) {
-       native = nl.NativeEndian()
-       u32 := filter.(*U32)
-       detailed := false
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_U32_SEL:
-                       detailed = true
-                       sel := nl.DeserializeTcU32Sel(datum.Value)
-                       u32.Sel = (*TcU32Sel)(unsafe.Pointer(sel))
-                       if native != networkOrder {
-                               // Handle the endianness of attributes
-                               u32.Sel.Offmask = native.Uint16(htons(sel.Offmask))
-                               u32.Sel.Hmask = native.Uint32(htonl(sel.Hmask))
-                               for _, key := range u32.Sel.Keys {
-                                       key.Mask = native.Uint32(htonl(key.Mask))
-                                       key.Val = native.Uint32(htonl(key.Val))
-                               }
-                       }
-               case nl.TCA_U32_ACT:
-                       tables, err := nl.ParseRouteAttr(datum.Value)
-                       if err != nil {
-                               return detailed, err
-                       }
-                       u32.Actions, err = parseActions(tables)
-                       if err != nil {
-                               return detailed, err
-                       }
-                       for _, action := range u32.Actions {
-                               if action, ok := action.(*MirredAction); ok {
-                                       u32.RedirIndex = int(action.Ifindex)
-                               }
-                       }
-               case nl.TCA_U32_CLASSID:
-                       u32.ClassId = native.Uint32(datum.Value)
-               }
-       }
-       return detailed, nil
-}
-
-func parseFwData(filter Filter, data []syscall.NetlinkRouteAttr) (bool, error) {
-       native = nl.NativeEndian()
-       fw := filter.(*Fw)
-       detailed := true
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_FW_MASK:
-                       fw.Mask = native.Uint32(datum.Value[0:4])
-               case nl.TCA_FW_CLASSID:
-                       fw.ClassId = native.Uint32(datum.Value[0:4])
-               case nl.TCA_FW_INDEV:
-                       fw.InDev = string(datum.Value[:len(datum.Value)-1])
-               case nl.TCA_FW_POLICE:
-                       adata, _ := nl.ParseRouteAttr(datum.Value)
-                       for _, aattr := range adata {
-                               switch aattr.Attr.Type {
-                               case nl.TCA_POLICE_TBF:
-                                       fw.Police = *nl.DeserializeTcPolice(aattr.Value)
-                               case nl.TCA_POLICE_RATE:
-                                       fw.Rtab = DeserializeRtab(aattr.Value)
-                               case nl.TCA_POLICE_PEAKRATE:
-                                       fw.Ptab = DeserializeRtab(aattr.Value)
-                               }
-                       }
-               }
-       }
-       return detailed, nil
-}
-
-func parseBpfData(filter Filter, data []syscall.NetlinkRouteAttr) (bool, error) {
-       native = nl.NativeEndian()
-       bpf := filter.(*BpfFilter)
-       detailed := true
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_BPF_FD:
-                       bpf.Fd = int(native.Uint32(datum.Value[0:4]))
-               case nl.TCA_BPF_NAME:
-                       bpf.Name = string(datum.Value[:len(datum.Value)-1])
-               case nl.TCA_BPF_CLASSID:
-                       bpf.ClassId = native.Uint32(datum.Value[0:4])
-               case nl.TCA_BPF_FLAGS:
-                       flags := native.Uint32(datum.Value[0:4])
-                       if (flags & nl.TCA_BPF_FLAG_ACT_DIRECT) != 0 {
-                               bpf.DirectAction = true
-                       }
-               }
-       }
-       return detailed, nil
-}
-
-func AlignToAtm(size uint) uint {
-       var linksize, cells int
-       cells = int(size / nl.ATM_CELL_PAYLOAD)
-       if (size % nl.ATM_CELL_PAYLOAD) > 0 {
-               cells++
-       }
-       linksize = cells * nl.ATM_CELL_SIZE
-       return uint(linksize)
-}
-
-func AdjustSize(sz uint, mpu uint, linklayer int) uint {
-       if sz < mpu {
-               sz = mpu
-       }
-       switch linklayer {
-       case nl.LINKLAYER_ATM:
-               return AlignToAtm(sz)
-       default:
-               return sz
-       }
-}
-
-func CalcRtable(rate *nl.TcRateSpec, rtab [256]uint32, cellLog int, mtu uint32, linklayer int) int {
-       bps := rate.Rate
-       mpu := rate.Mpu
-       var sz uint
-       if mtu == 0 {
-               mtu = 2047
-       }
-       if cellLog < 0 {
-               cellLog = 0
-               for (mtu >> uint(cellLog)) > 255 {
-                       cellLog++
-               }
-       }
-       for i := 0; i < 256; i++ {
-               sz = AdjustSize(uint((i+1)<<uint32(cellLog)), uint(mpu), linklayer)
-               rtab[i] = uint32(Xmittime(uint64(bps), uint32(sz)))
-       }
-       rate.CellAlign = -1
-       rate.CellLog = uint8(cellLog)
-       rate.Linklayer = uint8(linklayer & nl.TC_LINKLAYER_MASK)
-       return cellLog
-}
-
-func DeserializeRtab(b []byte) [256]uint32 {
-       var rtab [256]uint32
-       native := nl.NativeEndian()
-       r := bytes.NewReader(b)
-       _ = binary.Read(r, native, &rtab)
-       return rtab
-}
-
-func SerializeRtab(rtab [256]uint32) []byte {
-       native := nl.NativeEndian()
-       var w bytes.Buffer
-       _ = binary.Write(&w, native, rtab)
-       return w.Bytes()
-}
diff --git a/vendor/github.com/vishvananda/netlink/filter_test.go b/vendor/github.com/vishvananda/netlink/filter_test.go
deleted file mode 100644 (file)
index 64ab757..0000000
+++ /dev/null
@@ -1,644 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "syscall"
-       "testing"
-)
-
-func TestFilterAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "bar"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       redir, err := LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(redir); err != nil {
-               t.Fatal(err)
-       }
-       qdisc := &Ingress{
-               QdiscAttrs: QdiscAttrs{
-                       LinkIndex: link.Attrs().Index,
-                       Handle:    MakeHandle(0xffff, 0),
-                       Parent:    HANDLE_INGRESS,
-               },
-       }
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Ingress)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       classId := MakeHandle(1, 1)
-       filter := &U32{
-               FilterAttrs: FilterAttrs{
-                       LinkIndex: link.Attrs().Index,
-                       Parent:    MakeHandle(0xffff, 0),
-                       Priority:  1,
-                       Protocol:  syscall.ETH_P_IP,
-               },
-               RedirIndex: redir.Attrs().Index,
-               ClassId:    classId,
-       }
-       if err := FilterAdd(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err := FilterList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 1 {
-               t.Fatal("Failed to add filter")
-       }
-       u32, ok := filters[0].(*U32)
-       if !ok {
-               t.Fatal("Filter is the wrong type")
-       }
-       if u32.ClassId != classId {
-               t.Fatalf("ClassId of the filter is the wrong value")
-       }
-       if err := FilterDel(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err = FilterList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 0 {
-               t.Fatal("Failed to remove filter")
-       }
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestAdvancedFilterAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "baz"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("baz")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       index := link.Attrs().Index
-
-       qdiscHandle := MakeHandle(0x1, 0x0)
-       qdiscAttrs := QdiscAttrs{
-               LinkIndex: index,
-               Handle:    qdiscHandle,
-               Parent:    HANDLE_ROOT,
-       }
-
-       qdisc := NewHtb(qdiscAttrs)
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       classId := MakeHandle(0x1, 0x46cb)
-       classAttrs := ClassAttrs{
-               LinkIndex: index,
-               Parent:    qdiscHandle,
-               Handle:    classId,
-       }
-       htbClassAttrs := HtbClassAttrs{
-               Rate:   512 * 1024,
-               Buffer: 32 * 1024,
-       }
-       htbClass := NewHtbClass(classAttrs, htbClassAttrs)
-       if err = ClassReplace(htbClass); err != nil {
-               t.Fatalf("Failed to add a HTB class: %v", err)
-       }
-       classes, err := ClassList(link, qdiscHandle)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 1 {
-               t.Fatal("Failed to add class")
-       }
-       _, ok = classes[0].(*HtbClass)
-       if !ok {
-               t.Fatal("Class is the wrong type")
-       }
-
-       u32SelKeys := []TcU32Key{
-               TcU32Key{
-                       Mask:    0xff,
-                       Val:     80,
-                       Off:     20,
-                       OffMask: 0,
-               },
-               TcU32Key{
-                       Mask:    0xffff,
-                       Val:     0x146ca,
-                       Off:     32,
-                       OffMask: 0,
-               },
-       }
-       filter := &U32{
-               FilterAttrs: FilterAttrs{
-                       LinkIndex: index,
-                       Parent:    qdiscHandle,
-                       Priority:  1,
-                       Protocol:  syscall.ETH_P_ALL,
-               },
-               Sel: &TcU32Sel{
-                       Keys:  u32SelKeys,
-                       Flags: TC_U32_TERMINAL,
-               },
-               ClassId: classId,
-               Actions: []Action{},
-       }
-       if err := FilterAdd(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err := FilterList(link, qdiscHandle)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 1 {
-               t.Fatal("Failed to add filter")
-       }
-
-       u32, ok := filters[0].(*U32)
-       if !ok {
-               t.Fatal("Filter is the wrong type")
-       }
-       // Endianness checks
-       if u32.Sel.Offmask != filter.Sel.Offmask {
-               t.Fatal("The endianness of TcU32Key.Sel.Offmask is wrong")
-       }
-       if u32.Sel.Hmask != filter.Sel.Hmask {
-               t.Fatal("The endianness of TcU32Key.Sel.Hmask is wrong")
-       }
-       for i, key := range u32.Sel.Keys {
-               if key.Mask != filter.Sel.Keys[i].Mask {
-                       t.Fatal("The endianness of TcU32Key.Mask is wrong")
-               }
-               if key.Val != filter.Sel.Keys[i].Val {
-                       t.Fatal("The endianness of TcU32Key.Val is wrong")
-               }
-       }
-
-       if err := FilterDel(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err = FilterList(link, qdiscHandle)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 0 {
-               t.Fatal("Failed to remove filter")
-       }
-
-       if err = ClassDel(htbClass); err != nil {
-               t.Fatalf("Failed to delete a HTP class: %v", err)
-       }
-       classes, err = ClassList(link, qdiscHandle)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 0 {
-               t.Fatal("Failed to remove class")
-       }
-
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestFilterFwAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "bar"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       redir, err := LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(redir); err != nil {
-               t.Fatal(err)
-       }
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(0xffff, 0),
-               Parent:    HANDLE_ROOT,
-       }
-       qdisc := NewHtb(attrs)
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       classattrs := ClassAttrs{
-               LinkIndex: link.Attrs().Index,
-               Parent:    MakeHandle(0xffff, 0),
-               Handle:    MakeHandle(0xffff, 2),
-       }
-
-       htbclassattrs := HtbClassAttrs{
-               Rate:    1234000,
-               Cbuffer: 1690,
-       }
-       class := NewHtbClass(classattrs, htbclassattrs)
-       if err := ClassAdd(class); err != nil {
-               t.Fatal(err)
-       }
-       classes, err := ClassList(link, MakeHandle(0xffff, 2))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 1 {
-               t.Fatal("Failed to add class")
-       }
-
-       filterattrs := FilterAttrs{
-               LinkIndex: link.Attrs().Index,
-               Parent:    MakeHandle(0xffff, 0),
-               Handle:    MakeHandle(0, 0x6),
-               Priority:  1,
-               Protocol:  syscall.ETH_P_IP,
-       }
-       fwattrs := FilterFwAttrs{
-               Buffer:   12345,
-               Rate:     1234,
-               PeakRate: 2345,
-               Action:   TC_POLICE_SHOT,
-               ClassId:  MakeHandle(0xffff, 2),
-       }
-
-       filter, err := NewFw(filterattrs, fwattrs)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if err := FilterAdd(filter); err != nil {
-               t.Fatal(err)
-       }
-
-       filters, err := FilterList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 1 {
-               t.Fatal("Failed to add filter")
-       }
-       fw, ok := filters[0].(*Fw)
-       if !ok {
-               t.Fatal("Filter is the wrong type")
-       }
-       if fw.Police.Rate.Rate != filter.Police.Rate.Rate {
-               t.Fatal("Police Rate doesn't match")
-       }
-       for i := range fw.Rtab {
-               if fw.Rtab[i] != filter.Rtab[i] {
-                       t.Fatal("Rtab doesn't match")
-               }
-               if fw.Ptab[i] != filter.Ptab[i] {
-                       t.Fatal("Ptab doesn't match")
-               }
-       }
-       if fw.ClassId != filter.ClassId {
-               t.Fatal("ClassId doesn't match")
-       }
-       if fw.InDev != filter.InDev {
-               t.Fatal("InDev doesn't match")
-       }
-       if fw.AvRate != filter.AvRate {
-               t.Fatal("AvRate doesn't match")
-       }
-
-       if err := FilterDel(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err = FilterList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 0 {
-               t.Fatal("Failed to remove filter")
-       }
-       if err := ClassDel(class); err != nil {
-               t.Fatal(err)
-       }
-       classes, err = ClassList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(classes) != 0 {
-               t.Fatal("Failed to remove class")
-       }
-
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestFilterU32BpfAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "bar"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       redir, err := LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(redir); err != nil {
-               t.Fatal(err)
-       }
-       qdisc := &Ingress{
-               QdiscAttrs: QdiscAttrs{
-                       LinkIndex: link.Attrs().Index,
-                       Handle:    MakeHandle(0xffff, 0),
-                       Parent:    HANDLE_INGRESS,
-               },
-       }
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Ingress)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-
-       fd, err := loadSimpleBpf(BPF_PROG_TYPE_SCHED_ACT, 1)
-       if err != nil {
-               t.Skipf("Loading bpf program failed: %s", err)
-       }
-       classId := MakeHandle(1, 1)
-       filter := &U32{
-               FilterAttrs: FilterAttrs{
-                       LinkIndex: link.Attrs().Index,
-                       Parent:    MakeHandle(0xffff, 0),
-                       Priority:  1,
-                       Protocol:  syscall.ETH_P_ALL,
-               },
-               ClassId: classId,
-               Actions: []Action{
-                       &BpfAction{Fd: fd, Name: "simple"},
-                       &MirredAction{
-                               ActionAttrs: ActionAttrs{
-                                       Action: TC_ACT_STOLEN,
-                               },
-                               MirredAction: TCA_EGRESS_REDIR,
-                               Ifindex:      redir.Attrs().Index,
-                       },
-               },
-       }
-
-       if err := FilterAdd(filter); err != nil {
-               t.Fatal(err)
-       }
-
-       filters, err := FilterList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 1 {
-               t.Fatal("Failed to add filter")
-       }
-       u32, ok := filters[0].(*U32)
-       if !ok {
-               t.Fatal("Filter is the wrong type")
-       }
-
-       if len(u32.Actions) != 2 {
-               t.Fatalf("Too few Actions in filter")
-       }
-       if u32.ClassId != classId {
-               t.Fatalf("ClassId of the filter is the wrong value")
-       }
-       bpfAction, ok := u32.Actions[0].(*BpfAction)
-       if !ok {
-               t.Fatal("Action[0] is the wrong type")
-       }
-       if bpfAction.Fd != fd {
-               t.Fatal("Action Fd does not match")
-       }
-       if _, ok := u32.Actions[1].(*MirredAction); !ok {
-               t.Fatal("Action[1] is the wrong type")
-       }
-
-       if err := FilterDel(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err = FilterList(link, MakeHandle(0xffff, 0))
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 0 {
-               t.Fatal("Failed to remove filter")
-       }
-
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestFilterClsActBpfAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(0xffff, 0),
-               Parent:    HANDLE_CLSACT,
-       }
-       qdisc := &GenericQdisc{
-               QdiscAttrs: attrs,
-               QdiscType:  "clsact",
-       }
-       // This feature was added in kernel 4.5
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Skipf("Failed adding clsact qdisc, unsupported kernel")
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       if q, ok := qdiscs[0].(*GenericQdisc); !ok || q.Type() != "clsact" {
-               t.Fatal("qdisc is the wrong type")
-       }
-
-       filterattrs := FilterAttrs{
-               LinkIndex: link.Attrs().Index,
-               Parent:    HANDLE_MIN_EGRESS,
-               Handle:    MakeHandle(0, 1),
-               Protocol:  syscall.ETH_P_ALL,
-               Priority:  1,
-       }
-       fd, err := loadSimpleBpf(BPF_PROG_TYPE_SCHED_CLS, 1)
-       if err != nil {
-               t.Skipf("Loading bpf program failed: %s", err)
-       }
-       filter := &BpfFilter{
-               FilterAttrs:  filterattrs,
-               Fd:           fd,
-               Name:         "simple",
-               DirectAction: true,
-       }
-       if filter.Fd < 0 {
-               t.Skipf("Failed to load bpf program")
-       }
-
-       if err := FilterAdd(filter); err != nil {
-               t.Fatal(err)
-       }
-
-       filters, err := FilterList(link, HANDLE_MIN_EGRESS)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 1 {
-               t.Fatal("Failed to add filter")
-       }
-       bpf, ok := filters[0].(*BpfFilter)
-       if !ok {
-               t.Fatal("Filter is the wrong type")
-       }
-
-       if bpf.Fd != filter.Fd {
-               t.Fatal("Filter Fd does not match")
-       }
-       if bpf.DirectAction != filter.DirectAction {
-               t.Fatal("Filter DirectAction does not match")
-       }
-
-       if err := FilterDel(filter); err != nil {
-               t.Fatal(err)
-       }
-       filters, err = FilterList(link, HANDLE_MIN_EGRESS)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(filters) != 0 {
-               t.Fatal("Failed to remove filter")
-       }
-
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/handle_linux.go b/vendor/github.com/vishvananda/netlink/handle_linux.go
deleted file mode 100644 (file)
index a04ceae..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "syscall"
-       "time"
-
-       "github.com/vishvananda/netlink/nl"
-       "github.com/vishvananda/netns"
-)
-
-// Empty handle used by the netlink package methods
-var pkgHandle = &Handle{}
-
-// Handle is an handle for the netlink requests on a
-// specific network namespace. All the requests on the
-// same netlink family share the same netlink socket,
-// which gets released when the handle is deleted.
-type Handle struct {
-       sockets      map[int]*nl.SocketHandle
-       lookupByDump bool
-}
-
-// SupportsNetlinkFamily reports whether the passed netlink family is supported by this Handle
-func (h *Handle) SupportsNetlinkFamily(nlFamily int) bool {
-       _, ok := h.sockets[nlFamily]
-       return ok
-}
-
-// NewHandle returns a netlink handle on the current network namespace.
-// Caller may specify the netlink families the handle should support.
-// If no families are specified, all the families the netlink package
-// supports will be automatically added.
-func NewHandle(nlFamilies ...int) (*Handle, error) {
-       return newHandle(netns.None(), netns.None(), nlFamilies...)
-}
-
-// SetSocketTimeout sets the send and receive timeout for each socket in the
-// netlink handle. Although the socket timeout has granularity of one
-// microsecond, the effective granularity is floored by the kernel timer tick,
-// which default value is four milliseconds.
-func (h *Handle) SetSocketTimeout(to time.Duration) error {
-       if to < time.Microsecond {
-               return fmt.Errorf("invalid timeout, minimul value is %s", time.Microsecond)
-       }
-       tv := syscall.NsecToTimeval(to.Nanoseconds())
-       for _, sh := range h.sockets {
-               fd := sh.Socket.GetFd()
-               err := syscall.SetsockoptTimeval(fd, syscall.SOL_SOCKET, syscall.SO_RCVTIMEO, &tv)
-               if err != nil {
-                       return err
-               }
-               err = syscall.SetsockoptTimeval(fd, syscall.SOL_SOCKET, syscall.SO_SNDTIMEO, &tv)
-               if err != nil {
-                       return err
-               }
-       }
-       return nil
-}
-
-// NewHandle returns a netlink handle on the network namespace
-// specified by ns. If ns=netns.None(), current network namespace
-// will be assumed
-func NewHandleAt(ns netns.NsHandle, nlFamilies ...int) (*Handle, error) {
-       return newHandle(ns, netns.None(), nlFamilies...)
-}
-
-// NewHandleAtFrom works as NewHandle but allows client to specify the
-// new and the origin netns Handle.
-func NewHandleAtFrom(newNs, curNs netns.NsHandle) (*Handle, error) {
-       return newHandle(newNs, curNs)
-}
-
-func newHandle(newNs, curNs netns.NsHandle, nlFamilies ...int) (*Handle, error) {
-       h := &Handle{sockets: map[int]*nl.SocketHandle{}}
-       fams := nl.SupportedNlFamilies
-       if len(nlFamilies) != 0 {
-               fams = nlFamilies
-       }
-       for _, f := range fams {
-               s, err := nl.GetNetlinkSocketAt(newNs, curNs, f)
-               if err != nil {
-                       return nil, err
-               }
-               h.sockets[f] = &nl.SocketHandle{Socket: s}
-       }
-       return h, nil
-}
-
-// Delete releases the resources allocated to this handle
-func (h *Handle) Delete() {
-       for _, sh := range h.sockets {
-               sh.Close()
-       }
-       h.sockets = nil
-}
-
-func (h *Handle) newNetlinkRequest(proto, flags int) *nl.NetlinkRequest {
-       // Do this so that package API still use nl package variable nextSeqNr
-       if h.sockets == nil {
-               return nl.NewNetlinkRequest(proto, flags)
-       }
-       return &nl.NetlinkRequest{
-               NlMsghdr: syscall.NlMsghdr{
-                       Len:   uint32(syscall.SizeofNlMsghdr),
-                       Type:  uint16(proto),
-                       Flags: syscall.NLM_F_REQUEST | uint16(flags),
-               },
-               Sockets: h.sockets,
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/handle_test.go b/vendor/github.com/vishvananda/netlink/handle_test.go
deleted file mode 100644 (file)
index e7a7f86..0000000
+++ /dev/null
@@ -1,343 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "crypto/rand"
-       "encoding/hex"
-       "fmt"
-       "io"
-       "net"
-       "sync"
-       "sync/atomic"
-       "syscall"
-       "testing"
-       "time"
-       "unsafe"
-
-       "github.com/vishvananda/netlink/nl"
-       "github.com/vishvananda/netns"
-)
-
-func TestHandleCreateDelete(t *testing.T) {
-       h, err := NewHandle()
-       if err != nil {
-               t.Fatal(err)
-       }
-       for _, f := range nl.SupportedNlFamilies {
-               sh, ok := h.sockets[f]
-               if !ok {
-                       t.Fatalf("Handle socket(s) for family %d was not created", f)
-               }
-               if sh.Socket == nil {
-                       t.Fatalf("Socket for family %d was not created", f)
-               }
-       }
-
-       h.Delete()
-       if h.sockets != nil {
-               t.Fatalf("Handle socket(s) were not destroyed")
-       }
-}
-
-func TestHandleCreateNetns(t *testing.T) {
-       skipUnlessRoot(t)
-
-       id := make([]byte, 4)
-       if _, err := io.ReadFull(rand.Reader, id); err != nil {
-               t.Fatal(err)
-       }
-       ifName := "dummy-" + hex.EncodeToString(id)
-
-       // Create an handle on the current netns
-       curNs, err := netns.Get()
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer curNs.Close()
-
-       ch, err := NewHandleAt(curNs)
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer ch.Delete()
-
-       // Create an handle on a custom netns
-       newNs, err := netns.New()
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer newNs.Close()
-
-       nh, err := NewHandleAt(newNs)
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer nh.Delete()
-
-       // Create an interface using the current handle
-       err = ch.LinkAdd(&Dummy{LinkAttrs{Name: ifName}})
-       if err != nil {
-               t.Fatal(err)
-       }
-       l, err := ch.LinkByName(ifName)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if l.Type() != "dummy" {
-               t.Fatalf("Unexpected link type: %s", l.Type())
-       }
-
-       // Verify the new handle cannot find the interface
-       ll, err := nh.LinkByName(ifName)
-       if err == nil {
-               t.Fatalf("Unexpected link found on netns %s: %v", newNs, ll)
-       }
-
-       // Move the interface to the new netns
-       err = ch.LinkSetNsFd(l, int(newNs))
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // Verify new netns handle can find the interface while current cannot
-       ll, err = nh.LinkByName(ifName)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if ll.Type() != "dummy" {
-               t.Fatalf("Unexpected link type: %s", ll.Type())
-       }
-       ll, err = ch.LinkByName(ifName)
-       if err == nil {
-               t.Fatalf("Unexpected link found on netns %s: %v", curNs, ll)
-       }
-}
-
-func TestHandleTimeout(t *testing.T) {
-       h, err := NewHandle()
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer h.Delete()
-
-       for _, sh := range h.sockets {
-               verifySockTimeVal(t, sh.Socket.GetFd(), syscall.Timeval{Sec: 0, Usec: 0})
-       }
-
-       h.SetSocketTimeout(2*time.Second + 8*time.Millisecond)
-
-       for _, sh := range h.sockets {
-               verifySockTimeVal(t, sh.Socket.GetFd(), syscall.Timeval{Sec: 2, Usec: 8000})
-       }
-}
-
-func verifySockTimeVal(t *testing.T, fd int, tv syscall.Timeval) {
-       var (
-               tr syscall.Timeval
-               v  = uint32(0x10)
-       )
-       _, _, errno := syscall.Syscall6(syscall.SYS_GETSOCKOPT, uintptr(fd), syscall.SOL_SOCKET, syscall.SO_SNDTIMEO, uintptr(unsafe.Pointer(&tr)), uintptr(unsafe.Pointer(&v)), 0)
-       if errno != 0 {
-               t.Fatal(errno)
-       }
-
-       if tr.Sec != tv.Sec || tr.Usec != tv.Usec {
-               t.Fatalf("Unexpected timeout value read: %v. Expected: %v", tr, tv)
-       }
-
-       _, _, errno = syscall.Syscall6(syscall.SYS_GETSOCKOPT, uintptr(fd), syscall.SOL_SOCKET, syscall.SO_RCVTIMEO, uintptr(unsafe.Pointer(&tr)), uintptr(unsafe.Pointer(&v)), 0)
-       if errno != 0 {
-               t.Fatal(errno)
-       }
-
-       if tr.Sec != tv.Sec || tr.Usec != tv.Usec {
-               t.Fatalf("Unexpected timeout value read: %v. Expected: %v", tr, tv)
-       }
-}
-
-var (
-       iter      = 10
-       numThread = uint32(4)
-       prefix    = "iface"
-       handle1   *Handle
-       handle2   *Handle
-       ns1       netns.NsHandle
-       ns2       netns.NsHandle
-       done      uint32
-       initError error
-       once      sync.Once
-)
-
-func getXfrmState(thread int) *XfrmState {
-       return &XfrmState{
-               Src:   net.IPv4(byte(192), byte(168), 1, byte(1+thread)),
-               Dst:   net.IPv4(byte(192), byte(168), 2, byte(1+thread)),
-               Proto: XFRM_PROTO_AH,
-               Mode:  XFRM_MODE_TUNNEL,
-               Spi:   thread,
-               Auth: &XfrmStateAlgo{
-                       Name: "hmac(sha256)",
-                       Key:  []byte("abcdefghijklmnopqrstuvwzyzABCDEF"),
-               },
-       }
-}
-
-func getXfrmPolicy(thread int) *XfrmPolicy {
-       return &XfrmPolicy{
-               Src:     &net.IPNet{IP: net.IPv4(byte(10), byte(10), byte(thread), 0), Mask: []byte{255, 255, 255, 0}},
-               Dst:     &net.IPNet{IP: net.IPv4(byte(10), byte(10), byte(thread), 0), Mask: []byte{255, 255, 255, 0}},
-               Proto:   17,
-               DstPort: 1234,
-               SrcPort: 5678,
-               Dir:     XFRM_DIR_OUT,
-               Tmpls: []XfrmPolicyTmpl{
-                       {
-                               Src:   net.IPv4(byte(192), byte(168), 1, byte(thread)),
-                               Dst:   net.IPv4(byte(192), byte(168), 2, byte(thread)),
-                               Proto: XFRM_PROTO_ESP,
-                               Mode:  XFRM_MODE_TUNNEL,
-                       },
-               },
-       }
-}
-func initParallel() {
-       ns1, initError = netns.New()
-       if initError != nil {
-               return
-       }
-       handle1, initError = NewHandleAt(ns1)
-       if initError != nil {
-               return
-       }
-       ns2, initError = netns.New()
-       if initError != nil {
-               return
-       }
-       handle2, initError = NewHandleAt(ns2)
-       if initError != nil {
-               return
-       }
-}
-
-func parallelDone() {
-       atomic.AddUint32(&done, 1)
-       if done == numThread {
-               if ns1.IsOpen() {
-                       ns1.Close()
-               }
-               if ns2.IsOpen() {
-                       ns2.Close()
-               }
-               if handle1 != nil {
-                       handle1.Delete()
-               }
-               if handle2 != nil {
-                       handle2.Delete()
-               }
-       }
-}
-
-// Do few route and xfrm operation on the two handles in parallel
-func runParallelTests(t *testing.T, thread int) {
-       skipUnlessRoot(t)
-       defer parallelDone()
-
-       t.Parallel()
-
-       once.Do(initParallel)
-       if initError != nil {
-               t.Fatal(initError)
-       }
-
-       state := getXfrmState(thread)
-       policy := getXfrmPolicy(thread)
-       for i := 0; i < iter; i++ {
-               ifName := fmt.Sprintf("%s_%d_%d", prefix, thread, i)
-               link := &Dummy{LinkAttrs{Name: ifName}}
-               err := handle1.LinkAdd(link)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               l, err := handle1.LinkByName(ifName)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle1.LinkSetUp(l)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               handle1.LinkSetNsFd(l, int(ns2))
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle1.XfrmStateAdd(state)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle1.XfrmPolicyAdd(policy)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle2.LinkSetDown(l)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle2.XfrmStateAdd(state)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle2.XfrmPolicyAdd(policy)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               _, err = handle2.LinkByName(ifName)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               handle2.LinkSetNsFd(l, int(ns1))
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle1.LinkSetUp(l)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               l, err = handle1.LinkByName(ifName)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle1.XfrmPolicyDel(policy)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle2.XfrmPolicyDel(policy)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle1.XfrmStateDel(state)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               err = handle2.XfrmStateDel(state)
-               if err != nil {
-                       t.Fatal(err)
-               }
-       }
-}
-
-func TestHandleParallel1(t *testing.T) {
-       runParallelTests(t, 1)
-}
-
-func TestHandleParallel2(t *testing.T) {
-       runParallelTests(t, 2)
-}
-
-func TestHandleParallel3(t *testing.T) {
-       runParallelTests(t, 3)
-}
-
-func TestHandleParallel4(t *testing.T) {
-       runParallelTests(t, 4)
-}
diff --git a/vendor/github.com/vishvananda/netlink/handle_unspecified.go b/vendor/github.com/vishvananda/netlink/handle_unspecified.go
deleted file mode 100644 (file)
index 32cf022..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-// +build !linux
-
-package netlink
-
-import (
-       "net"
-       "time"
-
-       "github.com/vishvananda/netns"
-)
-
-type Handle struct{}
-
-func NewHandle(nlFamilies ...int) (*Handle, error) {
-       return nil, ErrNotImplemented
-}
-
-func NewHandleAt(ns netns.NsHandle, nlFamilies ...int) (*Handle, error) {
-       return nil, ErrNotImplemented
-}
-
-func NewHandleAtFrom(newNs, curNs netns.NsHandle) (*Handle, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) Delete() {}
-
-func (h *Handle) SupportsNetlinkFamily(nlFamily int) bool {
-       return false
-}
-
-func (h *Handle) SetSocketTimeout(to time.Duration) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) SetPromiscOn(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) SetPromiscOff(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetUp(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetDown(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetMTU(link Link, mtu int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetName(link Link, name string) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetAlias(link Link, name string) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetHardwareAddr(link Link, hwaddr net.HardwareAddr) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetVfHardwareAddr(link Link, vf int, hwaddr net.HardwareAddr) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetVfVlan(link Link, vf, vlan int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetVfTxRate(link Link, vf, rate int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetMaster(link Link, master *Bridge) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetNoMaster(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetMasterByIndex(link Link, masterIndex int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetNsPid(link Link, nspid int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetNsFd(link Link, fd int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkAdd(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkDel(link Link) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkByName(name string) (Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) LinkByAlias(alias string) (Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) LinkByIndex(index int) (Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) LinkList() ([]Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) LinkSetHairpin(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetGuard(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetFastLeave(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetLearning(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetRootBlock(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) LinkSetFlood(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) setProtinfoAttr(link Link, mode bool, attr int) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) AddrAdd(link Link, addr *Addr) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) AddrDel(link Link, addr *Addr) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) AddrList(link Link, family int) ([]Addr, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) ClassDel(class Class) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) ClassChange(class Class) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) ClassReplace(class Class) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) ClassAdd(class Class) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) ClassList(link Link, parent uint32) ([]Class, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) FilterDel(filter Filter) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) FilterAdd(filter Filter) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) FilterList(link Link, parent uint32) ([]Filter, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) NeighAdd(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) NeighSet(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) NeighAppend(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) NeighDel(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func (h *Handle) NeighList(linkIndex, family int) ([]Neigh, error) {
-       return nil, ErrNotImplemented
-}
-
-func (h *Handle) NeighProxyList(linkIndex, family int) ([]Neigh, error) {
-       return nil, ErrNotImplemented
-}
diff --git a/vendor/github.com/vishvananda/netlink/link.go b/vendor/github.com/vishvananda/netlink/link.go
deleted file mode 100644 (file)
index 924211c..0000000
+++ /dev/null
@@ -1,738 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-)
-
-// Link represents a link device from netlink. Shared link attributes
-// like name may be retrieved using the Attrs() method. Unique data
-// can be retrieved by casting the object to the proper type.
-type Link interface {
-       Attrs() *LinkAttrs
-       Type() string
-}
-
-type (
-       NsPid int
-       NsFd  int
-)
-
-// LinkAttrs represents data shared by most link types
-type LinkAttrs struct {
-       Index        int
-       MTU          int
-       TxQLen       int // Transmit Queue Length
-       Name         string
-       HardwareAddr net.HardwareAddr
-       Flags        net.Flags
-       RawFlags     uint32
-       ParentIndex  int         // index of the parent link device
-       MasterIndex  int         // must be the index of a bridge
-       Namespace    interface{} // nil | NsPid | NsFd
-       Alias        string
-       Statistics   *LinkStatistics
-       Promisc      int
-       Xdp          *LinkXdp
-       EncapType    string
-       Protinfo     *Protinfo
-       OperState    LinkOperState
-}
-
-// LinkOperState represents the values of the IFLA_OPERSTATE link
-// attribute, which contains the RFC2863 state of the interface.
-type LinkOperState uint8
-
-const (
-       OperUnknown        = iota // Status can't be determined.
-       OperNotPresent            // Some component is missing.
-       OperDown                  // Down.
-       OperLowerLayerDown        // Down due to state of lower layer.
-       OperTesting               // In some test mode.
-       OperDormant               // Not up but pending an external event.
-       OperUp                    // Up, ready to send packets.
-)
-
-func (s LinkOperState) String() string {
-       switch s {
-       case OperNotPresent:
-               return "not-present"
-       case OperDown:
-               return "down"
-       case OperLowerLayerDown:
-               return "lower-layer-down"
-       case OperTesting:
-               return "testing"
-       case OperDormant:
-               return "dormant"
-       case OperUp:
-               return "up"
-       default:
-               return "unknown"
-       }
-}
-
-// NewLinkAttrs returns LinkAttrs structure filled with default values
-func NewLinkAttrs() LinkAttrs {
-       return LinkAttrs{
-               TxQLen: -1,
-       }
-}
-
-type LinkStatistics LinkStatistics64
-
-/*
-Ref: struct rtnl_link_stats {...}
-*/
-type LinkStatistics32 struct {
-       RxPackets         uint32
-       TxPackets         uint32
-       RxBytes           uint32
-       TxBytes           uint32
-       RxErrors          uint32
-       TxErrors          uint32
-       RxDropped         uint32
-       TxDropped         uint32
-       Multicast         uint32
-       Collisions        uint32
-       RxLengthErrors    uint32
-       RxOverErrors      uint32
-       RxCrcErrors       uint32
-       RxFrameErrors     uint32
-       RxFifoErrors      uint32
-       RxMissedErrors    uint32
-       TxAbortedErrors   uint32
-       TxCarrierErrors   uint32
-       TxFifoErrors      uint32
-       TxHeartbeatErrors uint32
-       TxWindowErrors    uint32
-       RxCompressed      uint32
-       TxCompressed      uint32
-}
-
-func (s32 LinkStatistics32) to64() *LinkStatistics64 {
-       return &LinkStatistics64{
-               RxPackets:         uint64(s32.RxPackets),
-               TxPackets:         uint64(s32.TxPackets),
-               RxBytes:           uint64(s32.RxBytes),
-               TxBytes:           uint64(s32.TxBytes),
-               RxErrors:          uint64(s32.RxErrors),
-               TxErrors:          uint64(s32.TxErrors),
-               RxDropped:         uint64(s32.RxDropped),
-               TxDropped:         uint64(s32.TxDropped),
-               Multicast:         uint64(s32.Multicast),
-               Collisions:        uint64(s32.Collisions),
-               RxLengthErrors:    uint64(s32.RxLengthErrors),
-               RxOverErrors:      uint64(s32.RxOverErrors),
-               RxCrcErrors:       uint64(s32.RxCrcErrors),
-               RxFrameErrors:     uint64(s32.RxFrameErrors),
-               RxFifoErrors:      uint64(s32.RxFifoErrors),
-               RxMissedErrors:    uint64(s32.RxMissedErrors),
-               TxAbortedErrors:   uint64(s32.TxAbortedErrors),
-               TxCarrierErrors:   uint64(s32.TxCarrierErrors),
-               TxFifoErrors:      uint64(s32.TxFifoErrors),
-               TxHeartbeatErrors: uint64(s32.TxHeartbeatErrors),
-               TxWindowErrors:    uint64(s32.TxWindowErrors),
-               RxCompressed:      uint64(s32.RxCompressed),
-               TxCompressed:      uint64(s32.TxCompressed),
-       }
-}
-
-/*
-Ref: struct rtnl_link_stats64 {...}
-*/
-type LinkStatistics64 struct {
-       RxPackets         uint64
-       TxPackets         uint64
-       RxBytes           uint64
-       TxBytes           uint64
-       RxErrors          uint64
-       TxErrors          uint64
-       RxDropped         uint64
-       TxDropped         uint64
-       Multicast         uint64
-       Collisions        uint64
-       RxLengthErrors    uint64
-       RxOverErrors      uint64
-       RxCrcErrors       uint64
-       RxFrameErrors     uint64
-       RxFifoErrors      uint64
-       RxMissedErrors    uint64
-       TxAbortedErrors   uint64
-       TxCarrierErrors   uint64
-       TxFifoErrors      uint64
-       TxHeartbeatErrors uint64
-       TxWindowErrors    uint64
-       RxCompressed      uint64
-       TxCompressed      uint64
-}
-
-type LinkXdp struct {
-       Fd       int
-       Attached bool
-}
-
-// Device links cannot be created via netlink. These links
-// are links created by udev like 'lo' and 'etho0'
-type Device struct {
-       LinkAttrs
-}
-
-func (device *Device) Attrs() *LinkAttrs {
-       return &device.LinkAttrs
-}
-
-func (device *Device) Type() string {
-       return "device"
-}
-
-// Dummy links are dummy ethernet devices
-type Dummy struct {
-       LinkAttrs
-}
-
-func (dummy *Dummy) Attrs() *LinkAttrs {
-       return &dummy.LinkAttrs
-}
-
-func (dummy *Dummy) Type() string {
-       return "dummy"
-}
-
-// Ifb links are advanced dummy devices for packet filtering
-type Ifb struct {
-       LinkAttrs
-}
-
-func (ifb *Ifb) Attrs() *LinkAttrs {
-       return &ifb.LinkAttrs
-}
-
-func (ifb *Ifb) Type() string {
-       return "ifb"
-}
-
-// Bridge links are simple linux bridges
-type Bridge struct {
-       LinkAttrs
-}
-
-func (bridge *Bridge) Attrs() *LinkAttrs {
-       return &bridge.LinkAttrs
-}
-
-func (bridge *Bridge) Type() string {
-       return "bridge"
-}
-
-// Vlan links have ParentIndex set in their Attrs()
-type Vlan struct {
-       LinkAttrs
-       VlanId int
-}
-
-func (vlan *Vlan) Attrs() *LinkAttrs {
-       return &vlan.LinkAttrs
-}
-
-func (vlan *Vlan) Type() string {
-       return "vlan"
-}
-
-type MacvlanMode uint16
-
-const (
-       MACVLAN_MODE_DEFAULT MacvlanMode = iota
-       MACVLAN_MODE_PRIVATE
-       MACVLAN_MODE_VEPA
-       MACVLAN_MODE_BRIDGE
-       MACVLAN_MODE_PASSTHRU
-       MACVLAN_MODE_SOURCE
-)
-
-// Macvlan links have ParentIndex set in their Attrs()
-type Macvlan struct {
-       LinkAttrs
-       Mode MacvlanMode
-}
-
-func (macvlan *Macvlan) Attrs() *LinkAttrs {
-       return &macvlan.LinkAttrs
-}
-
-func (macvlan *Macvlan) Type() string {
-       return "macvlan"
-}
-
-// Macvtap - macvtap is a virtual interfaces based on macvlan
-type Macvtap struct {
-       Macvlan
-}
-
-func (macvtap Macvtap) Type() string {
-       return "macvtap"
-}
-
-type TuntapMode uint16
-type TuntapFlag uint16
-
-// Tuntap links created via /dev/tun/tap, but can be destroyed via netlink
-type Tuntap struct {
-       LinkAttrs
-       Mode  TuntapMode
-       Flags TuntapFlag
-}
-
-func (tuntap *Tuntap) Attrs() *LinkAttrs {
-       return &tuntap.LinkAttrs
-}
-
-func (tuntap *Tuntap) Type() string {
-       return "tuntap"
-}
-
-// Veth devices must specify PeerName on create
-type Veth struct {
-       LinkAttrs
-       PeerName string // veth on create only
-}
-
-func (veth *Veth) Attrs() *LinkAttrs {
-       return &veth.LinkAttrs
-}
-
-func (veth *Veth) Type() string {
-       return "veth"
-}
-
-// GenericLink links represent types that are not currently understood
-// by this netlink library.
-type GenericLink struct {
-       LinkAttrs
-       LinkType string
-}
-
-func (generic *GenericLink) Attrs() *LinkAttrs {
-       return &generic.LinkAttrs
-}
-
-func (generic *GenericLink) Type() string {
-       return generic.LinkType
-}
-
-type Vxlan struct {
-       LinkAttrs
-       VxlanId      int
-       VtepDevIndex int
-       SrcAddr      net.IP
-       Group        net.IP
-       TTL          int
-       TOS          int
-       Learning     bool
-       Proxy        bool
-       RSC          bool
-       L2miss       bool
-       L3miss       bool
-       UDPCSum      bool
-       NoAge        bool
-       GBP          bool
-       Age          int
-       Limit        int
-       Port         int
-       PortLow      int
-       PortHigh     int
-}
-
-func (vxlan *Vxlan) Attrs() *LinkAttrs {
-       return &vxlan.LinkAttrs
-}
-
-func (vxlan *Vxlan) Type() string {
-       return "vxlan"
-}
-
-type IPVlanMode uint16
-
-const (
-       IPVLAN_MODE_L2 IPVlanMode = iota
-       IPVLAN_MODE_L3
-       IPVLAN_MODE_L3S
-       IPVLAN_MODE_MAX
-)
-
-type IPVlan struct {
-       LinkAttrs
-       Mode IPVlanMode
-}
-
-func (ipvlan *IPVlan) Attrs() *LinkAttrs {
-       return &ipvlan.LinkAttrs
-}
-
-func (ipvlan *IPVlan) Type() string {
-       return "ipvlan"
-}
-
-// BondMode type
-type BondMode int
-
-func (b BondMode) String() string {
-       s, ok := bondModeToString[b]
-       if !ok {
-               return fmt.Sprintf("BondMode(%d)", b)
-       }
-       return s
-}
-
-// StringToBondMode returns bond mode, or uknonw is the s is invalid.
-func StringToBondMode(s string) BondMode {
-       mode, ok := StringToBondModeMap[s]
-       if !ok {
-               return BOND_MODE_UNKNOWN
-       }
-       return mode
-}
-
-// Possible BondMode
-const (
-       BOND_MODE_BALANCE_RR BondMode = iota
-       BOND_MODE_ACTIVE_BACKUP
-       BOND_MODE_BALANCE_XOR
-       BOND_MODE_BROADCAST
-       BOND_MODE_802_3AD
-       BOND_MODE_BALANCE_TLB
-       BOND_MODE_BALANCE_ALB
-       BOND_MODE_UNKNOWN
-)
-
-var bondModeToString = map[BondMode]string{
-       BOND_MODE_BALANCE_RR:    "balance-rr",
-       BOND_MODE_ACTIVE_BACKUP: "active-backup",
-       BOND_MODE_BALANCE_XOR:   "balance-xor",
-       BOND_MODE_BROADCAST:     "broadcast",
-       BOND_MODE_802_3AD:       "802.3ad",
-       BOND_MODE_BALANCE_TLB:   "balance-tlb",
-       BOND_MODE_BALANCE_ALB:   "balance-alb",
-}
-var StringToBondModeMap = map[string]BondMode{
-       "balance-rr":    BOND_MODE_BALANCE_RR,
-       "active-backup": BOND_MODE_ACTIVE_BACKUP,
-       "balance-xor":   BOND_MODE_BALANCE_XOR,
-       "broadcast":     BOND_MODE_BROADCAST,
-       "802.3ad":       BOND_MODE_802_3AD,
-       "balance-tlb":   BOND_MODE_BALANCE_TLB,
-       "balance-alb":   BOND_MODE_BALANCE_ALB,
-}
-
-// BondArpValidate type
-type BondArpValidate int
-
-// Possible BondArpValidate value
-const (
-       BOND_ARP_VALIDATE_NONE BondArpValidate = iota
-       BOND_ARP_VALIDATE_ACTIVE
-       BOND_ARP_VALIDATE_BACKUP
-       BOND_ARP_VALIDATE_ALL
-)
-
-// BondPrimaryReselect type
-type BondPrimaryReselect int
-
-// Possible BondPrimaryReselect value
-const (
-       BOND_PRIMARY_RESELECT_ALWAYS BondPrimaryReselect = iota
-       BOND_PRIMARY_RESELECT_BETTER
-       BOND_PRIMARY_RESELECT_FAILURE
-)
-
-// BondArpAllTargets type
-type BondArpAllTargets int
-
-// Possible BondArpAllTargets value
-const (
-       BOND_ARP_ALL_TARGETS_ANY BondArpAllTargets = iota
-       BOND_ARP_ALL_TARGETS_ALL
-)
-
-// BondFailOverMac type
-type BondFailOverMac int
-
-// Possible BondFailOverMac value
-const (
-       BOND_FAIL_OVER_MAC_NONE BondFailOverMac = iota
-       BOND_FAIL_OVER_MAC_ACTIVE
-       BOND_FAIL_OVER_MAC_FOLLOW
-)
-
-// BondXmitHashPolicy type
-type BondXmitHashPolicy int
-
-func (b BondXmitHashPolicy) String() string {
-       s, ok := bondXmitHashPolicyToString[b]
-       if !ok {
-               return fmt.Sprintf("XmitHashPolicy(%d)", b)
-       }
-       return s
-}
-
-// StringToBondXmitHashPolicy returns bond lacp arte, or uknonw is the s is invalid.
-func StringToBondXmitHashPolicy(s string) BondXmitHashPolicy {
-       lacp, ok := StringToBondXmitHashPolicyMap[s]
-       if !ok {
-               return BOND_XMIT_HASH_POLICY_UNKNOWN
-       }
-       return lacp
-}
-
-// Possible BondXmitHashPolicy value
-const (
-       BOND_XMIT_HASH_POLICY_LAYER2 BondXmitHashPolicy = iota
-       BOND_XMIT_HASH_POLICY_LAYER3_4
-       BOND_XMIT_HASH_POLICY_LAYER2_3
-       BOND_XMIT_HASH_POLICY_ENCAP2_3
-       BOND_XMIT_HASH_POLICY_ENCAP3_4
-       BOND_XMIT_HASH_POLICY_UNKNOWN
-)
-
-var bondXmitHashPolicyToString = map[BondXmitHashPolicy]string{
-       BOND_XMIT_HASH_POLICY_LAYER2:   "layer2",
-       BOND_XMIT_HASH_POLICY_LAYER3_4: "layer3+4",
-       BOND_XMIT_HASH_POLICY_LAYER2_3: "layer2+3",
-       BOND_XMIT_HASH_POLICY_ENCAP2_3: "encap2+3",
-       BOND_XMIT_HASH_POLICY_ENCAP3_4: "encap3+4",
-}
-var StringToBondXmitHashPolicyMap = map[string]BondXmitHashPolicy{
-       "layer2":   BOND_XMIT_HASH_POLICY_LAYER2,
-       "layer3+4": BOND_XMIT_HASH_POLICY_LAYER3_4,
-       "layer2+3": BOND_XMIT_HASH_POLICY_LAYER2_3,
-       "encap2+3": BOND_XMIT_HASH_POLICY_ENCAP2_3,
-       "encap3+4": BOND_XMIT_HASH_POLICY_ENCAP3_4,
-}
-
-// BondLacpRate type
-type BondLacpRate int
-
-func (b BondLacpRate) String() string {
-       s, ok := bondLacpRateToString[b]
-       if !ok {
-               return fmt.Sprintf("LacpRate(%d)", b)
-       }
-       return s
-}
-
-// StringToBondLacpRate returns bond lacp arte, or uknonw is the s is invalid.
-func StringToBondLacpRate(s string) BondLacpRate {
-       lacp, ok := StringToBondLacpRateMap[s]
-       if !ok {
-               return BOND_LACP_RATE_UNKNOWN
-       }
-       return lacp
-}
-
-// Possible BondLacpRate value
-const (
-       BOND_LACP_RATE_SLOW BondLacpRate = iota
-       BOND_LACP_RATE_FAST
-       BOND_LACP_RATE_UNKNOWN
-)
-
-var bondLacpRateToString = map[BondLacpRate]string{
-       BOND_LACP_RATE_SLOW: "slow",
-       BOND_LACP_RATE_FAST: "fast",
-}
-var StringToBondLacpRateMap = map[string]BondLacpRate{
-       "slow": BOND_LACP_RATE_SLOW,
-       "fast": BOND_LACP_RATE_FAST,
-}
-
-// BondAdSelect type
-type BondAdSelect int
-
-// Possible BondAdSelect value
-const (
-       BOND_AD_SELECT_STABLE BondAdSelect = iota
-       BOND_AD_SELECT_BANDWIDTH
-       BOND_AD_SELECT_COUNT
-)
-
-// BondAdInfo represents ad info for bond
-type BondAdInfo struct {
-       AggregatorId int
-       NumPorts     int
-       ActorKey     int
-       PartnerKey   int
-       PartnerMac   net.HardwareAddr
-}
-
-// Bond representation
-type Bond struct {
-       LinkAttrs
-       Mode            BondMode
-       ActiveSlave     int
-       Miimon          int
-       UpDelay         int
-       DownDelay       int
-       UseCarrier      int
-       ArpInterval     int
-       ArpIpTargets    []net.IP
-       ArpValidate     BondArpValidate
-       ArpAllTargets   BondArpAllTargets
-       Primary         int
-       PrimaryReselect BondPrimaryReselect
-       FailOverMac     BondFailOverMac
-       XmitHashPolicy  BondXmitHashPolicy
-       ResendIgmp      int
-       NumPeerNotif    int
-       AllSlavesActive int
-       MinLinks        int
-       LpInterval      int
-       PackersPerSlave int
-       LacpRate        BondLacpRate
-       AdSelect        BondAdSelect
-       // looking at iproute tool AdInfo can only be retrived. It can't be set.
-       AdInfo *BondAdInfo
-}
-
-func NewLinkBond(atr LinkAttrs) *Bond {
-       return &Bond{
-               LinkAttrs:       atr,
-               Mode:            -1,
-               ActiveSlave:     -1,
-               Miimon:          -1,
-               UpDelay:         -1,
-               DownDelay:       -1,
-               UseCarrier:      -1,
-               ArpInterval:     -1,
-               ArpIpTargets:    nil,
-               ArpValidate:     -1,
-               ArpAllTargets:   -1,
-               Primary:         -1,
-               PrimaryReselect: -1,
-               FailOverMac:     -1,
-               XmitHashPolicy:  -1,
-               ResendIgmp:      -1,
-               NumPeerNotif:    -1,
-               AllSlavesActive: -1,
-               MinLinks:        -1,
-               LpInterval:      -1,
-               PackersPerSlave: -1,
-               LacpRate:        -1,
-               AdSelect:        -1,
-       }
-}
-
-// Flag mask for bond options. Bond.Flagmask must be set to on for option to work.
-const (
-       BOND_MODE_MASK uint64 = 1 << (1 + iota)
-       BOND_ACTIVE_SLAVE_MASK
-       BOND_MIIMON_MASK
-       BOND_UPDELAY_MASK
-       BOND_DOWNDELAY_MASK
-       BOND_USE_CARRIER_MASK
-       BOND_ARP_INTERVAL_MASK
-       BOND_ARP_VALIDATE_MASK
-       BOND_ARP_ALL_TARGETS_MASK
-       BOND_PRIMARY_MASK
-       BOND_PRIMARY_RESELECT_MASK
-       BOND_FAIL_OVER_MAC_MASK
-       BOND_XMIT_HASH_POLICY_MASK
-       BOND_RESEND_IGMP_MASK
-       BOND_NUM_PEER_NOTIF_MASK
-       BOND_ALL_SLAVES_ACTIVE_MASK
-       BOND_MIN_LINKS_MASK
-       BOND_LP_INTERVAL_MASK
-       BOND_PACKETS_PER_SLAVE_MASK
-       BOND_LACP_RATE_MASK
-       BOND_AD_SELECT_MASK
-)
-
-// Attrs implementation.
-func (bond *Bond) Attrs() *LinkAttrs {
-       return &bond.LinkAttrs
-}
-
-// Type implementation fro Vxlan.
-func (bond *Bond) Type() string {
-       return "bond"
-}
-
-// Gretap devices must specify LocalIP and RemoteIP on create
-type Gretap struct {
-       LinkAttrs
-       IKey       uint32
-       OKey       uint32
-       EncapSport uint16
-       EncapDport uint16
-       Local      net.IP
-       Remote     net.IP
-       IFlags     uint16
-       OFlags     uint16
-       PMtuDisc   uint8
-       Ttl        uint8
-       Tos        uint8
-       EncapType  uint16
-       EncapFlags uint16
-       Link       uint32
-}
-
-func (gretap *Gretap) Attrs() *LinkAttrs {
-       return &gretap.LinkAttrs
-}
-
-func (gretap *Gretap) Type() string {
-       return "gretap"
-}
-
-type Iptun struct {
-       LinkAttrs
-       Ttl      uint8
-       Tos      uint8
-       PMtuDisc uint8
-       Link     uint32
-       Local    net.IP
-       Remote   net.IP
-}
-
-func (iptun *Iptun) Attrs() *LinkAttrs {
-       return &iptun.LinkAttrs
-}
-
-func (iptun *Iptun) Type() string {
-       return "ipip"
-}
-
-type Vti struct {
-       LinkAttrs
-       IKey   uint32
-       OKey   uint32
-       Link   uint32
-       Local  net.IP
-       Remote net.IP
-}
-
-func (vti *Vti) Attrs() *LinkAttrs {
-       return &vti.LinkAttrs
-}
-
-func (iptun *Vti) Type() string {
-       return "vti"
-}
-
-type Vrf struct {
-       LinkAttrs
-       Table uint32
-}
-
-func (vrf *Vrf) Attrs() *LinkAttrs {
-       return &vrf.LinkAttrs
-}
-
-func (vrf *Vrf) Type() string {
-       return "vrf"
-}
-
-// iproute2 supported devices;
-// vlan | veth | vcan | dummy | ifb | macvlan | macvtap |
-// bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan |
-// gre | gretap | ip6gre | ip6gretap | vti | nlmon |
-// bond_slave | ipvlan
diff --git a/vendor/github.com/vishvananda/netlink/link_linux.go b/vendor/github.com/vishvananda/netlink/link_linux.go
deleted file mode 100644 (file)
index fb2013a..0000000
+++ /dev/null
@@ -1,1696 +0,0 @@
-package netlink
-
-import (
-       "bytes"
-       "encoding/binary"
-       "fmt"
-       "net"
-       "os"
-       "syscall"
-       "unsafe"
-
-       "github.com/vishvananda/netlink/nl"
-       "github.com/vishvananda/netns"
-)
-
-const (
-       SizeofLinkStats32 = 0x5c
-       SizeofLinkStats64 = 0xd8
-       IFLA_STATS64      = 0x17 // syscall pkg does not contain this one
-)
-
-const (
-       TUNTAP_MODE_TUN  TuntapMode = syscall.IFF_TUN
-       TUNTAP_MODE_TAP  TuntapMode = syscall.IFF_TAP
-       TUNTAP_DEFAULTS  TuntapFlag = syscall.IFF_TUN_EXCL | syscall.IFF_ONE_QUEUE
-       TUNTAP_VNET_HDR  TuntapFlag = syscall.IFF_VNET_HDR
-       TUNTAP_TUN_EXCL  TuntapFlag = syscall.IFF_TUN_EXCL
-       TUNTAP_NO_PI     TuntapFlag = syscall.IFF_NO_PI
-       TUNTAP_ONE_QUEUE TuntapFlag = syscall.IFF_ONE_QUEUE
-)
-
-var lookupByDump = false
-
-var macvlanModes = [...]uint32{
-       0,
-       nl.MACVLAN_MODE_PRIVATE,
-       nl.MACVLAN_MODE_VEPA,
-       nl.MACVLAN_MODE_BRIDGE,
-       nl.MACVLAN_MODE_PASSTHRU,
-       nl.MACVLAN_MODE_SOURCE,
-}
-
-func ensureIndex(link *LinkAttrs) {
-       if link != nil && link.Index == 0 {
-               newlink, _ := LinkByName(link.Name)
-               if newlink != nil {
-                       link.Index = newlink.Attrs().Index
-               }
-       }
-}
-
-func (h *Handle) ensureIndex(link *LinkAttrs) {
-       if link != nil && link.Index == 0 {
-               newlink, _ := h.LinkByName(link.Name)
-               if newlink != nil {
-                       link.Index = newlink.Attrs().Index
-               }
-       }
-}
-
-func (h *Handle) LinkSetARPOff(link Link) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Change |= syscall.IFF_NOARP
-       msg.Flags |= syscall.IFF_NOARP
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func LinkSetARPOff(link Link) error {
-       return pkgHandle.LinkSetARPOff(link)
-}
-
-func (h *Handle) LinkSetARPOn(link Link) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Change |= syscall.IFF_NOARP
-       msg.Flags &= ^uint32(syscall.IFF_NOARP)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func LinkSetARPOn(link Link) error {
-       return pkgHandle.LinkSetARPOn(link)
-}
-
-func (h *Handle) SetPromiscOn(link Link) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Change = syscall.IFF_PROMISC
-       msg.Flags = syscall.IFF_PROMISC
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func SetPromiscOn(link Link) error {
-       return pkgHandle.SetPromiscOn(link)
-}
-
-func (h *Handle) SetPromiscOff(link Link) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Change = syscall.IFF_PROMISC
-       msg.Flags = 0 & ^syscall.IFF_PROMISC
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func SetPromiscOff(link Link) error {
-       return pkgHandle.SetPromiscOff(link)
-}
-
-// LinkSetUp enables the link device.
-// Equivalent to: `ip link set $link up`
-func LinkSetUp(link Link) error {
-       return pkgHandle.LinkSetUp(link)
-}
-
-// LinkSetUp enables the link device.
-// Equivalent to: `ip link set $link up`
-func (h *Handle) LinkSetUp(link Link) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_NEWLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Change = syscall.IFF_UP
-       msg.Flags = syscall.IFF_UP
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetDown disables link device.
-// Equivalent to: `ip link set $link down`
-func LinkSetDown(link Link) error {
-       return pkgHandle.LinkSetDown(link)
-}
-
-// LinkSetDown disables link device.
-// Equivalent to: `ip link set $link down`
-func (h *Handle) LinkSetDown(link Link) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_NEWLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Change = syscall.IFF_UP
-       msg.Flags = 0 & ^syscall.IFF_UP
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetMTU sets the mtu of the link device.
-// Equivalent to: `ip link set $link mtu $mtu`
-func LinkSetMTU(link Link, mtu int) error {
-       return pkgHandle.LinkSetMTU(link, mtu)
-}
-
-// LinkSetMTU sets the mtu of the link device.
-// Equivalent to: `ip link set $link mtu $mtu`
-func (h *Handle) LinkSetMTU(link Link, mtu int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       b := make([]byte, 4)
-       native.PutUint32(b, uint32(mtu))
-
-       data := nl.NewRtAttr(syscall.IFLA_MTU, b)
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetName sets the name of the link device.
-// Equivalent to: `ip link set $link name $name`
-func LinkSetName(link Link, name string) error {
-       return pkgHandle.LinkSetName(link, name)
-}
-
-// LinkSetName sets the name of the link device.
-// Equivalent to: `ip link set $link name $name`
-func (h *Handle) LinkSetName(link Link, name string) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       data := nl.NewRtAttr(syscall.IFLA_IFNAME, []byte(name))
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetAlias sets the alias of the link device.
-// Equivalent to: `ip link set dev $link alias $name`
-func LinkSetAlias(link Link, name string) error {
-       return pkgHandle.LinkSetAlias(link, name)
-}
-
-// LinkSetAlias sets the alias of the link device.
-// Equivalent to: `ip link set dev $link alias $name`
-func (h *Handle) LinkSetAlias(link Link, name string) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       data := nl.NewRtAttr(syscall.IFLA_IFALIAS, []byte(name))
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetHardwareAddr sets the hardware address of the link device.
-// Equivalent to: `ip link set $link address $hwaddr`
-func LinkSetHardwareAddr(link Link, hwaddr net.HardwareAddr) error {
-       return pkgHandle.LinkSetHardwareAddr(link, hwaddr)
-}
-
-// LinkSetHardwareAddr sets the hardware address of the link device.
-// Equivalent to: `ip link set $link address $hwaddr`
-func (h *Handle) LinkSetHardwareAddr(link Link, hwaddr net.HardwareAddr) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       data := nl.NewRtAttr(syscall.IFLA_ADDRESS, []byte(hwaddr))
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetVfHardwareAddr sets the hardware address of a vf for the link.
-// Equivalent to: `ip link set $link vf $vf mac $hwaddr`
-func LinkSetVfHardwareAddr(link Link, vf int, hwaddr net.HardwareAddr) error {
-       return pkgHandle.LinkSetVfHardwareAddr(link, vf, hwaddr)
-}
-
-// LinkSetVfHardwareAddr sets the hardware address of a vf for the link.
-// Equivalent to: `ip link set $link vf $vf mac $hwaddr`
-func (h *Handle) LinkSetVfHardwareAddr(link Link, vf int, hwaddr net.HardwareAddr) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       data := nl.NewRtAttr(nl.IFLA_VFINFO_LIST, nil)
-       info := nl.NewRtAttrChild(data, nl.IFLA_VF_INFO, nil)
-       vfmsg := nl.VfMac{
-               Vf: uint32(vf),
-       }
-       copy(vfmsg.Mac[:], []byte(hwaddr))
-       nl.NewRtAttrChild(info, nl.IFLA_VF_MAC, vfmsg.Serialize())
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetVfVlan sets the vlan of a vf for the link.
-// Equivalent to: `ip link set $link vf $vf vlan $vlan`
-func LinkSetVfVlan(link Link, vf, vlan int) error {
-       return pkgHandle.LinkSetVfVlan(link, vf, vlan)
-}
-
-// LinkSetVfVlan sets the vlan of a vf for the link.
-// Equivalent to: `ip link set $link vf $vf vlan $vlan`
-func (h *Handle) LinkSetVfVlan(link Link, vf, vlan int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       data := nl.NewRtAttr(nl.IFLA_VFINFO_LIST, nil)
-       info := nl.NewRtAttrChild(data, nl.IFLA_VF_INFO, nil)
-       vfmsg := nl.VfVlan{
-               Vf:   uint32(vf),
-               Vlan: uint32(vlan),
-       }
-       nl.NewRtAttrChild(info, nl.IFLA_VF_VLAN, vfmsg.Serialize())
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetVfTxRate sets the tx rate of a vf for the link.
-// Equivalent to: `ip link set $link vf $vf rate $rate`
-func LinkSetVfTxRate(link Link, vf, rate int) error {
-       return pkgHandle.LinkSetVfTxRate(link, vf, rate)
-}
-
-// LinkSetVfTxRate sets the tx rate of a vf for the link.
-// Equivalent to: `ip link set $link vf $vf rate $rate`
-func (h *Handle) LinkSetVfTxRate(link Link, vf, rate int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       data := nl.NewRtAttr(nl.IFLA_VFINFO_LIST, nil)
-       info := nl.NewRtAttrChild(data, nl.IFLA_VF_INFO, nil)
-       vfmsg := nl.VfTxRate{
-               Vf:   uint32(vf),
-               Rate: uint32(rate),
-       }
-       nl.NewRtAttrChild(info, nl.IFLA_VF_TX_RATE, vfmsg.Serialize())
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetMaster sets the master of the link device.
-// Equivalent to: `ip link set $link master $master`
-func LinkSetMaster(link Link, master *Bridge) error {
-       return pkgHandle.LinkSetMaster(link, master)
-}
-
-// LinkSetMaster sets the master of the link device.
-// Equivalent to: `ip link set $link master $master`
-func (h *Handle) LinkSetMaster(link Link, master *Bridge) error {
-       index := 0
-       if master != nil {
-               masterBase := master.Attrs()
-               h.ensureIndex(masterBase)
-               index = masterBase.Index
-       }
-       if index <= 0 {
-               return fmt.Errorf("Device does not exist")
-       }
-       return h.LinkSetMasterByIndex(link, index)
-}
-
-// LinkSetNoMaster removes the master of the link device.
-// Equivalent to: `ip link set $link nomaster`
-func LinkSetNoMaster(link Link) error {
-       return pkgHandle.LinkSetNoMaster(link)
-}
-
-// LinkSetNoMaster removes the master of the link device.
-// Equivalent to: `ip link set $link nomaster`
-func (h *Handle) LinkSetNoMaster(link Link) error {
-       return h.LinkSetMasterByIndex(link, 0)
-}
-
-// LinkSetMasterByIndex sets the master of the link device.
-// Equivalent to: `ip link set $link master $master`
-func LinkSetMasterByIndex(link Link, masterIndex int) error {
-       return pkgHandle.LinkSetMasterByIndex(link, masterIndex)
-}
-
-// LinkSetMasterByIndex sets the master of the link device.
-// Equivalent to: `ip link set $link master $master`
-func (h *Handle) LinkSetMasterByIndex(link Link, masterIndex int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       b := make([]byte, 4)
-       native.PutUint32(b, uint32(masterIndex))
-
-       data := nl.NewRtAttr(syscall.IFLA_MASTER, b)
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetNsPid puts the device into a new network namespace. The
-// pid must be a pid of a running process.
-// Equivalent to: `ip link set $link netns $pid`
-func LinkSetNsPid(link Link, nspid int) error {
-       return pkgHandle.LinkSetNsPid(link, nspid)
-}
-
-// LinkSetNsPid puts the device into a new network namespace. The
-// pid must be a pid of a running process.
-// Equivalent to: `ip link set $link netns $pid`
-func (h *Handle) LinkSetNsPid(link Link, nspid int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       b := make([]byte, 4)
-       native.PutUint32(b, uint32(nspid))
-
-       data := nl.NewRtAttr(syscall.IFLA_NET_NS_PID, b)
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetNsFd puts the device into a new network namespace. The
-// fd must be an open file descriptor to a network namespace.
-// Similar to: `ip link set $link netns $ns`
-func LinkSetNsFd(link Link, fd int) error {
-       return pkgHandle.LinkSetNsFd(link, fd)
-}
-
-// LinkSetNsFd puts the device into a new network namespace. The
-// fd must be an open file descriptor to a network namespace.
-// Similar to: `ip link set $link netns $ns`
-func (h *Handle) LinkSetNsFd(link Link, fd int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       b := make([]byte, 4)
-       native.PutUint32(b, uint32(fd))
-
-       data := nl.NewRtAttr(nl.IFLA_NET_NS_FD, b)
-       req.AddData(data)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// LinkSetXdpFd adds a bpf function to the driver. The fd must be a bpf
-// program loaded with bpf(type=BPF_PROG_TYPE_XDP)
-func LinkSetXdpFd(link Link, fd int) error {
-       base := link.Attrs()
-       ensureIndex(base)
-       req := nl.NewNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       addXdpAttrs(&LinkXdp{Fd: fd}, req)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func boolAttr(val bool) []byte {
-       var v uint8
-       if val {
-               v = 1
-       }
-       return nl.Uint8Attr(v)
-}
-
-type vxlanPortRange struct {
-       Lo, Hi uint16
-}
-
-func addVxlanAttrs(vxlan *Vxlan, linkInfo *nl.RtAttr) {
-       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_ID, nl.Uint32Attr(uint32(vxlan.VxlanId)))
-       if vxlan.VtepDevIndex != 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_LINK, nl.Uint32Attr(uint32(vxlan.VtepDevIndex)))
-       }
-       if vxlan.SrcAddr != nil {
-               ip := vxlan.SrcAddr.To4()
-               if ip != nil {
-                       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_LOCAL, []byte(ip))
-               } else {
-                       ip = vxlan.SrcAddr.To16()
-                       if ip != nil {
-                               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_LOCAL6, []byte(ip))
-                       }
-               }
-       }
-       if vxlan.Group != nil {
-               group := vxlan.Group.To4()
-               if group != nil {
-                       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_GROUP, []byte(group))
-               } else {
-                       group = vxlan.Group.To16()
-                       if group != nil {
-                               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_GROUP6, []byte(group))
-                       }
-               }
-       }
-
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_TTL, nl.Uint8Attr(uint8(vxlan.TTL)))
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_TOS, nl.Uint8Attr(uint8(vxlan.TOS)))
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_LEARNING, boolAttr(vxlan.Learning))
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_PROXY, boolAttr(vxlan.Proxy))
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_RSC, boolAttr(vxlan.RSC))
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_L2MISS, boolAttr(vxlan.L2miss))
-       nl.NewRtAttrChild(data, nl.IFLA_VXLAN_L3MISS, boolAttr(vxlan.L3miss))
-
-       if vxlan.UDPCSum {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_UDP_CSUM, boolAttr(vxlan.UDPCSum))
-       }
-       if vxlan.GBP {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_GBP, []byte{})
-       }
-       if vxlan.NoAge {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_AGEING, nl.Uint32Attr(0))
-       } else if vxlan.Age > 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_AGEING, nl.Uint32Attr(uint32(vxlan.Age)))
-       }
-       if vxlan.Limit > 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_LIMIT, nl.Uint32Attr(uint32(vxlan.Limit)))
-       }
-       if vxlan.Port > 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_PORT, htons(uint16(vxlan.Port)))
-       }
-       if vxlan.PortLow > 0 || vxlan.PortHigh > 0 {
-               pr := vxlanPortRange{uint16(vxlan.PortLow), uint16(vxlan.PortHigh)}
-
-               buf := new(bytes.Buffer)
-               binary.Write(buf, binary.BigEndian, &pr)
-
-               nl.NewRtAttrChild(data, nl.IFLA_VXLAN_PORT_RANGE, buf.Bytes())
-       }
-}
-
-func addBondAttrs(bond *Bond, linkInfo *nl.RtAttr) {
-       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-       if bond.Mode >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_MODE, nl.Uint8Attr(uint8(bond.Mode)))
-       }
-       if bond.ActiveSlave >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_ACTIVE_SLAVE, nl.Uint32Attr(uint32(bond.ActiveSlave)))
-       }
-       if bond.Miimon >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_MIIMON, nl.Uint32Attr(uint32(bond.Miimon)))
-       }
-       if bond.UpDelay >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_UPDELAY, nl.Uint32Attr(uint32(bond.UpDelay)))
-       }
-       if bond.DownDelay >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_DOWNDELAY, nl.Uint32Attr(uint32(bond.DownDelay)))
-       }
-       if bond.UseCarrier >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_USE_CARRIER, nl.Uint8Attr(uint8(bond.UseCarrier)))
-       }
-       if bond.ArpInterval >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_ARP_INTERVAL, nl.Uint32Attr(uint32(bond.ArpInterval)))
-       }
-       if bond.ArpIpTargets != nil {
-               msg := nl.NewRtAttrChild(data, nl.IFLA_BOND_ARP_IP_TARGET, nil)
-               for i := range bond.ArpIpTargets {
-                       ip := bond.ArpIpTargets[i].To4()
-                       if ip != nil {
-                               nl.NewRtAttrChild(msg, i, []byte(ip))
-                               continue
-                       }
-                       ip = bond.ArpIpTargets[i].To16()
-                       if ip != nil {
-                               nl.NewRtAttrChild(msg, i, []byte(ip))
-                       }
-               }
-       }
-       if bond.ArpValidate >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_ARP_VALIDATE, nl.Uint32Attr(uint32(bond.ArpValidate)))
-       }
-       if bond.ArpAllTargets >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_ARP_ALL_TARGETS, nl.Uint32Attr(uint32(bond.ArpAllTargets)))
-       }
-       if bond.Primary >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_PRIMARY, nl.Uint32Attr(uint32(bond.Primary)))
-       }
-       if bond.PrimaryReselect >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_PRIMARY_RESELECT, nl.Uint8Attr(uint8(bond.PrimaryReselect)))
-       }
-       if bond.FailOverMac >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_FAIL_OVER_MAC, nl.Uint8Attr(uint8(bond.FailOverMac)))
-       }
-       if bond.XmitHashPolicy >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_XMIT_HASH_POLICY, nl.Uint8Attr(uint8(bond.XmitHashPolicy)))
-       }
-       if bond.ResendIgmp >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_RESEND_IGMP, nl.Uint32Attr(uint32(bond.ResendIgmp)))
-       }
-       if bond.NumPeerNotif >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_NUM_PEER_NOTIF, nl.Uint8Attr(uint8(bond.NumPeerNotif)))
-       }
-       if bond.AllSlavesActive >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_ALL_SLAVES_ACTIVE, nl.Uint8Attr(uint8(bond.AllSlavesActive)))
-       }
-       if bond.MinLinks >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_MIN_LINKS, nl.Uint32Attr(uint32(bond.MinLinks)))
-       }
-       if bond.LpInterval >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_LP_INTERVAL, nl.Uint32Attr(uint32(bond.LpInterval)))
-       }
-       if bond.PackersPerSlave >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_PACKETS_PER_SLAVE, nl.Uint32Attr(uint32(bond.PackersPerSlave)))
-       }
-       if bond.LacpRate >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_AD_LACP_RATE, nl.Uint8Attr(uint8(bond.LacpRate)))
-       }
-       if bond.AdSelect >= 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_BOND_AD_SELECT, nl.Uint8Attr(uint8(bond.AdSelect)))
-       }
-}
-
-// LinkAdd adds a new link device. The type and features of the device
-// are taken from the parameters in the link object.
-// Equivalent to: `ip link add $link`
-func LinkAdd(link Link) error {
-       return pkgHandle.LinkAdd(link)
-}
-
-// LinkAdd adds a new link device. The type and features of the device
-// are taken fromt the parameters in the link object.
-// Equivalent to: `ip link add $link`
-func (h *Handle) LinkAdd(link Link) error {
-       // TODO: set mtu and hardware address
-       // TODO: support extra data for macvlan
-       base := link.Attrs()
-
-       if base.Name == "" {
-               return fmt.Errorf("LinkAttrs.Name cannot be empty!")
-       }
-
-       if tuntap, ok := link.(*Tuntap); ok {
-               // TODO: support user
-               // TODO: support group
-               // TODO: multi_queue
-               // TODO: support non- persistent
-               if tuntap.Mode < syscall.IFF_TUN || tuntap.Mode > syscall.IFF_TAP {
-                       return fmt.Errorf("Tuntap.Mode %v unknown!", tuntap.Mode)
-               }
-               file, err := os.OpenFile("/dev/net/tun", os.O_RDWR, 0)
-               if err != nil {
-                       return err
-               }
-               defer file.Close()
-               var req ifReq
-               if tuntap.Flags == 0 {
-                       req.Flags = uint16(TUNTAP_DEFAULTS)
-               } else {
-                       req.Flags = uint16(tuntap.Flags)
-               }
-               req.Flags |= uint16(tuntap.Mode)
-               copy(req.Name[:15], base.Name)
-               _, _, errno := syscall.Syscall(syscall.SYS_IOCTL, file.Fd(), uintptr(syscall.TUNSETIFF), uintptr(unsafe.Pointer(&req)))
-               if errno != 0 {
-                       return fmt.Errorf("Tuntap IOCTL TUNSETIFF failed, errno %v", errno)
-               }
-               _, _, errno = syscall.Syscall(syscall.SYS_IOCTL, file.Fd(), uintptr(syscall.TUNSETPERSIST), 1)
-               if errno != 0 {
-                       return fmt.Errorf("Tuntap IOCTL TUNSETPERSIST failed, errno %v", errno)
-               }
-               h.ensureIndex(base)
-
-               // can't set master during create, so set it afterwards
-               if base.MasterIndex != 0 {
-                       // TODO: verify MasterIndex is actually a bridge?
-                       return h.LinkSetMasterByIndex(link, base.MasterIndex)
-               }
-               return nil
-       }
-
-       req := h.newNetlinkRequest(syscall.RTM_NEWLINK, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       // TODO: make it shorter
-       if base.Flags&net.FlagUp != 0 {
-               msg.Change = syscall.IFF_UP
-               msg.Flags = syscall.IFF_UP
-       }
-       if base.Flags&net.FlagBroadcast != 0 {
-               msg.Change |= syscall.IFF_BROADCAST
-               msg.Flags |= syscall.IFF_BROADCAST
-       }
-       if base.Flags&net.FlagLoopback != 0 {
-               msg.Change |= syscall.IFF_LOOPBACK
-               msg.Flags |= syscall.IFF_LOOPBACK
-       }
-       if base.Flags&net.FlagPointToPoint != 0 {
-               msg.Change |= syscall.IFF_POINTOPOINT
-               msg.Flags |= syscall.IFF_POINTOPOINT
-       }
-       if base.Flags&net.FlagMulticast != 0 {
-               msg.Change |= syscall.IFF_MULTICAST
-               msg.Flags |= syscall.IFF_MULTICAST
-       }
-       req.AddData(msg)
-
-       if base.ParentIndex != 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(base.ParentIndex))
-               data := nl.NewRtAttr(syscall.IFLA_LINK, b)
-               req.AddData(data)
-       } else if link.Type() == "ipvlan" {
-               return fmt.Errorf("Can't create ipvlan link without ParentIndex")
-       }
-
-       nameData := nl.NewRtAttr(syscall.IFLA_IFNAME, nl.ZeroTerminated(base.Name))
-       req.AddData(nameData)
-
-       if base.MTU > 0 {
-               mtu := nl.NewRtAttr(syscall.IFLA_MTU, nl.Uint32Attr(uint32(base.MTU)))
-               req.AddData(mtu)
-       }
-
-       if base.TxQLen >= 0 {
-               qlen := nl.NewRtAttr(syscall.IFLA_TXQLEN, nl.Uint32Attr(uint32(base.TxQLen)))
-               req.AddData(qlen)
-       }
-
-       if base.Namespace != nil {
-               var attr *nl.RtAttr
-               switch base.Namespace.(type) {
-               case NsPid:
-                       val := nl.Uint32Attr(uint32(base.Namespace.(NsPid)))
-                       attr = nl.NewRtAttr(syscall.IFLA_NET_NS_PID, val)
-               case NsFd:
-                       val := nl.Uint32Attr(uint32(base.Namespace.(NsFd)))
-                       attr = nl.NewRtAttr(nl.IFLA_NET_NS_FD, val)
-               }
-
-               req.AddData(attr)
-       }
-
-       if base.Xdp != nil {
-               addXdpAttrs(base.Xdp, req)
-       }
-
-       linkInfo := nl.NewRtAttr(syscall.IFLA_LINKINFO, nil)
-       nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_KIND, nl.NonZeroTerminated(link.Type()))
-
-       if vlan, ok := link.(*Vlan); ok {
-               b := make([]byte, 2)
-               native.PutUint16(b, uint16(vlan.VlanId))
-               data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-               nl.NewRtAttrChild(data, nl.IFLA_VLAN_ID, b)
-       } else if veth, ok := link.(*Veth); ok {
-               data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-               peer := nl.NewRtAttrChild(data, nl.VETH_INFO_PEER, nil)
-               nl.NewIfInfomsgChild(peer, syscall.AF_UNSPEC)
-               nl.NewRtAttrChild(peer, syscall.IFLA_IFNAME, nl.ZeroTerminated(veth.PeerName))
-               if base.TxQLen >= 0 {
-                       nl.NewRtAttrChild(peer, syscall.IFLA_TXQLEN, nl.Uint32Attr(uint32(base.TxQLen)))
-               }
-               if base.MTU > 0 {
-                       nl.NewRtAttrChild(peer, syscall.IFLA_MTU, nl.Uint32Attr(uint32(base.MTU)))
-               }
-
-       } else if vxlan, ok := link.(*Vxlan); ok {
-               addVxlanAttrs(vxlan, linkInfo)
-       } else if bond, ok := link.(*Bond); ok {
-               addBondAttrs(bond, linkInfo)
-       } else if ipv, ok := link.(*IPVlan); ok {
-               data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-               nl.NewRtAttrChild(data, nl.IFLA_IPVLAN_MODE, nl.Uint16Attr(uint16(ipv.Mode)))
-       } else if macv, ok := link.(*Macvlan); ok {
-               if macv.Mode != MACVLAN_MODE_DEFAULT {
-                       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-                       nl.NewRtAttrChild(data, nl.IFLA_MACVLAN_MODE, nl.Uint32Attr(macvlanModes[macv.Mode]))
-               }
-       } else if macv, ok := link.(*Macvtap); ok {
-               if macv.Mode != MACVLAN_MODE_DEFAULT {
-                       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-                       nl.NewRtAttrChild(data, nl.IFLA_MACVLAN_MODE, nl.Uint32Attr(macvlanModes[macv.Mode]))
-               }
-       } else if gretap, ok := link.(*Gretap); ok {
-               addGretapAttrs(gretap, linkInfo)
-       } else if iptun, ok := link.(*Iptun); ok {
-               addIptunAttrs(iptun, linkInfo)
-       } else if vti, ok := link.(*Vti); ok {
-               addVtiAttrs(vti, linkInfo)
-       } else if vrf, ok := link.(*Vrf); ok {
-               addVrfAttrs(vrf, linkInfo)
-       }
-
-       req.AddData(linkInfo)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       if err != nil {
-               return err
-       }
-
-       h.ensureIndex(base)
-
-       // can't set master during create, so set it afterwards
-       if base.MasterIndex != 0 {
-               // TODO: verify MasterIndex is actually a bridge?
-               return h.LinkSetMasterByIndex(link, base.MasterIndex)
-       }
-       return nil
-}
-
-// LinkDel deletes link device. Either Index or Name must be set in
-// the link object for it to be deleted. The other values are ignored.
-// Equivalent to: `ip link del $link`
-func LinkDel(link Link) error {
-       return pkgHandle.LinkDel(link)
-}
-
-// LinkDel deletes link device. Either Index or Name must be set in
-// the link object for it to be deleted. The other values are ignored.
-// Equivalent to: `ip link del $link`
-func (h *Handle) LinkDel(link Link) error {
-       base := link.Attrs()
-
-       h.ensureIndex(base)
-
-       req := h.newNetlinkRequest(syscall.RTM_DELLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func (h *Handle) linkByNameDump(name string) (Link, error) {
-       links, err := h.LinkList()
-       if err != nil {
-               return nil, err
-       }
-
-       for _, link := range links {
-               if link.Attrs().Name == name {
-                       return link, nil
-               }
-       }
-       return nil, fmt.Errorf("Link %s not found", name)
-}
-
-func (h *Handle) linkByAliasDump(alias string) (Link, error) {
-       links, err := h.LinkList()
-       if err != nil {
-               return nil, err
-       }
-
-       for _, link := range links {
-               if link.Attrs().Alias == alias {
-                       return link, nil
-               }
-       }
-       return nil, fmt.Errorf("Link alias %s not found", alias)
-}
-
-// LinkByName finds a link by name and returns a pointer to the object.
-func LinkByName(name string) (Link, error) {
-       return pkgHandle.LinkByName(name)
-}
-
-// LinkByName finds a link by name and returns a pointer to the object.
-func (h *Handle) LinkByName(name string) (Link, error) {
-       if h.lookupByDump {
-               return h.linkByNameDump(name)
-       }
-
-       req := h.newNetlinkRequest(syscall.RTM_GETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       req.AddData(msg)
-
-       nameData := nl.NewRtAttr(syscall.IFLA_IFNAME, nl.ZeroTerminated(name))
-       req.AddData(nameData)
-
-       link, err := execGetLink(req)
-       if err == syscall.EINVAL {
-               // older kernels don't support looking up via IFLA_IFNAME
-               // so fall back to dumping all links
-               h.lookupByDump = true
-               return h.linkByNameDump(name)
-       }
-
-       return link, err
-}
-
-// LinkByAlias finds a link by its alias and returns a pointer to the object.
-// If there are multiple links with the alias it returns the first one
-func LinkByAlias(alias string) (Link, error) {
-       return pkgHandle.LinkByAlias(alias)
-}
-
-// LinkByAlias finds a link by its alias and returns a pointer to the object.
-// If there are multiple links with the alias it returns the first one
-func (h *Handle) LinkByAlias(alias string) (Link, error) {
-       if h.lookupByDump {
-               return h.linkByAliasDump(alias)
-       }
-
-       req := h.newNetlinkRequest(syscall.RTM_GETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       req.AddData(msg)
-
-       nameData := nl.NewRtAttr(syscall.IFLA_IFALIAS, nl.ZeroTerminated(alias))
-       req.AddData(nameData)
-
-       link, err := execGetLink(req)
-       if err == syscall.EINVAL {
-               // older kernels don't support looking up via IFLA_IFALIAS
-               // so fall back to dumping all links
-               h.lookupByDump = true
-               return h.linkByAliasDump(alias)
-       }
-
-       return link, err
-}
-
-// LinkByIndex finds a link by index and returns a pointer to the object.
-func LinkByIndex(index int) (Link, error) {
-       return pkgHandle.LinkByIndex(index)
-}
-
-// LinkByIndex finds a link by index and returns a pointer to the object.
-func (h *Handle) LinkByIndex(index int) (Link, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       msg.Index = int32(index)
-       req.AddData(msg)
-
-       return execGetLink(req)
-}
-
-func execGetLink(req *nl.NetlinkRequest) (Link, error) {
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       if err != nil {
-               if errno, ok := err.(syscall.Errno); ok {
-                       if errno == syscall.ENODEV {
-                               return nil, fmt.Errorf("Link not found")
-                       }
-               }
-               return nil, err
-       }
-
-       switch {
-       case len(msgs) == 0:
-               return nil, fmt.Errorf("Link not found")
-
-       case len(msgs) == 1:
-               return LinkDeserialize(nil, msgs[0])
-
-       default:
-               return nil, fmt.Errorf("More than one link found")
-       }
-}
-
-// linkDeserialize deserializes a raw message received from netlink into
-// a link object.
-func LinkDeserialize(hdr *syscall.NlMsghdr, m []byte) (Link, error) {
-       msg := nl.DeserializeIfInfomsg(m)
-
-       attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-       if err != nil {
-               return nil, err
-       }
-
-       base := LinkAttrs{Index: int(msg.Index), RawFlags: msg.Flags, Flags: linkFlags(msg.Flags), EncapType: msg.EncapType()}
-       if msg.Flags&syscall.IFF_PROMISC != 0 {
-               base.Promisc = 1
-       }
-       var (
-               link     Link
-               stats32  []byte
-               stats64  []byte
-               linkType string
-       )
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case syscall.IFLA_LINKINFO:
-                       infos, err := nl.ParseRouteAttr(attr.Value)
-                       if err != nil {
-                               return nil, err
-                       }
-                       for _, info := range infos {
-                               switch info.Attr.Type {
-                               case nl.IFLA_INFO_KIND:
-                                       linkType = string(info.Value[:len(info.Value)-1])
-                                       switch linkType {
-                                       case "dummy":
-                                               link = &Dummy{}
-                                       case "ifb":
-                                               link = &Ifb{}
-                                       case "bridge":
-                                               link = &Bridge{}
-                                       case "vlan":
-                                               link = &Vlan{}
-                                       case "veth":
-                                               link = &Veth{}
-                                       case "vxlan":
-                                               link = &Vxlan{}
-                                       case "bond":
-                                               link = &Bond{}
-                                       case "ipvlan":
-                                               link = &IPVlan{}
-                                       case "macvlan":
-                                               link = &Macvlan{}
-                                       case "macvtap":
-                                               link = &Macvtap{}
-                                       case "gretap":
-                                               link = &Gretap{}
-                                       case "ipip":
-                                               link = &Iptun{}
-                                       case "vti":
-                                               link = &Vti{}
-                                       case "vrf":
-                                               link = &Vrf{}
-                                       default:
-                                               link = &GenericLink{LinkType: linkType}
-                                       }
-                               case nl.IFLA_INFO_DATA:
-                                       data, err := nl.ParseRouteAttr(info.Value)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                                       switch linkType {
-                                       case "vlan":
-                                               parseVlanData(link, data)
-                                       case "vxlan":
-                                               parseVxlanData(link, data)
-                                       case "bond":
-                                               parseBondData(link, data)
-                                       case "ipvlan":
-                                               parseIPVlanData(link, data)
-                                       case "macvlan":
-                                               parseMacvlanData(link, data)
-                                       case "macvtap":
-                                               parseMacvtapData(link, data)
-                                       case "gretap":
-                                               parseGretapData(link, data)
-                                       case "ipip":
-                                               parseIptunData(link, data)
-                                       case "vti":
-                                               parseVtiData(link, data)
-                                       case "vrf":
-                                               parseVrfData(link, data)
-                                       }
-                               }
-                       }
-               case syscall.IFLA_ADDRESS:
-                       var nonzero bool
-                       for _, b := range attr.Value {
-                               if b != 0 {
-                                       nonzero = true
-                               }
-                       }
-                       if nonzero {
-                               base.HardwareAddr = attr.Value[:]
-                       }
-               case syscall.IFLA_IFNAME:
-                       base.Name = string(attr.Value[:len(attr.Value)-1])
-               case syscall.IFLA_MTU:
-                       base.MTU = int(native.Uint32(attr.Value[0:4]))
-               case syscall.IFLA_LINK:
-                       base.ParentIndex = int(native.Uint32(attr.Value[0:4]))
-               case syscall.IFLA_MASTER:
-                       base.MasterIndex = int(native.Uint32(attr.Value[0:4]))
-               case syscall.IFLA_TXQLEN:
-                       base.TxQLen = int(native.Uint32(attr.Value[0:4]))
-               case syscall.IFLA_IFALIAS:
-                       base.Alias = string(attr.Value[:len(attr.Value)-1])
-               case syscall.IFLA_STATS:
-                       stats32 = attr.Value[:]
-               case IFLA_STATS64:
-                       stats64 = attr.Value[:]
-               case nl.IFLA_XDP:
-                       xdp, err := parseLinkXdp(attr.Value[:])
-                       if err != nil {
-                               return nil, err
-                       }
-                       base.Xdp = xdp
-               case syscall.IFLA_PROTINFO | syscall.NLA_F_NESTED:
-                       if hdr != nil && hdr.Type == syscall.RTM_NEWLINK &&
-                               msg.Family == syscall.AF_BRIDGE {
-                               attrs, err := nl.ParseRouteAttr(attr.Value[:])
-                               if err != nil {
-                                       return nil, err
-                               }
-                               base.Protinfo = parseProtinfo(attrs)
-                       }
-               case syscall.IFLA_OPERSTATE:
-                       base.OperState = LinkOperState(uint8(attr.Value[0]))
-               }
-       }
-
-       if stats64 != nil {
-               base.Statistics = parseLinkStats64(stats64)
-       } else if stats32 != nil {
-               base.Statistics = parseLinkStats32(stats32)
-       }
-
-       // Links that don't have IFLA_INFO_KIND are hardware devices
-       if link == nil {
-               link = &Device{}
-       }
-       *link.Attrs() = base
-
-       return link, nil
-}
-
-// LinkList gets a list of link devices.
-// Equivalent to: `ip link show`
-func LinkList() ([]Link, error) {
-       return pkgHandle.LinkList()
-}
-
-// LinkList gets a list of link devices.
-// Equivalent to: `ip link show`
-func (h *Handle) LinkList() ([]Link, error) {
-       // NOTE(vish): This duplicates functionality in net/iface_linux.go, but we need
-       //             to get the message ourselves to parse link type.
-       req := h.newNetlinkRequest(syscall.RTM_GETLINK, syscall.NLM_F_DUMP)
-
-       msg := nl.NewIfInfomsg(syscall.AF_UNSPEC)
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWLINK)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Link
-       for _, m := range msgs {
-               link, err := LinkDeserialize(nil, m)
-               if err != nil {
-                       return nil, err
-               }
-               res = append(res, link)
-       }
-
-       return res, nil
-}
-
-// LinkUpdate is used to pass information back from LinkSubscribe()
-type LinkUpdate struct {
-       nl.IfInfomsg
-       Header syscall.NlMsghdr
-       Link
-}
-
-// LinkSubscribe takes a chan down which notifications will be sent
-// when links change.  Close the 'done' chan to stop subscription.
-func LinkSubscribe(ch chan<- LinkUpdate, done <-chan struct{}) error {
-       return linkSubscribe(netns.None(), netns.None(), ch, done)
-}
-
-// LinkSubscribeAt works like LinkSubscribe plus it allows the caller
-// to choose the network namespace in which to subscribe (ns).
-func LinkSubscribeAt(ns netns.NsHandle, ch chan<- LinkUpdate, done <-chan struct{}) error {
-       return linkSubscribe(ns, netns.None(), ch, done)
-}
-
-func linkSubscribe(newNs, curNs netns.NsHandle, ch chan<- LinkUpdate, done <-chan struct{}) error {
-       s, err := nl.SubscribeAt(newNs, curNs, syscall.NETLINK_ROUTE, syscall.RTNLGRP_LINK)
-       if err != nil {
-               return err
-       }
-       if done != nil {
-               go func() {
-                       <-done
-                       s.Close()
-               }()
-       }
-       go func() {
-               defer close(ch)
-               for {
-                       msgs, err := s.Receive()
-                       if err != nil {
-                               return
-                       }
-                       for _, m := range msgs {
-                               ifmsg := nl.DeserializeIfInfomsg(m.Data)
-                               link, err := LinkDeserialize(&m.Header, m.Data)
-                               if err != nil {
-                                       return
-                               }
-                               ch <- LinkUpdate{IfInfomsg: *ifmsg, Header: m.Header, Link: link}
-                       }
-               }
-       }()
-
-       return nil
-}
-
-func LinkSetHairpin(link Link, mode bool) error {
-       return pkgHandle.LinkSetHairpin(link, mode)
-}
-
-func (h *Handle) LinkSetHairpin(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_MODE)
-}
-
-func LinkSetGuard(link Link, mode bool) error {
-       return pkgHandle.LinkSetGuard(link, mode)
-}
-
-func (h *Handle) LinkSetGuard(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_GUARD)
-}
-
-func LinkSetFastLeave(link Link, mode bool) error {
-       return pkgHandle.LinkSetFastLeave(link, mode)
-}
-
-func (h *Handle) LinkSetFastLeave(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_FAST_LEAVE)
-}
-
-func LinkSetLearning(link Link, mode bool) error {
-       return pkgHandle.LinkSetLearning(link, mode)
-}
-
-func (h *Handle) LinkSetLearning(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_LEARNING)
-}
-
-func LinkSetRootBlock(link Link, mode bool) error {
-       return pkgHandle.LinkSetRootBlock(link, mode)
-}
-
-func (h *Handle) LinkSetRootBlock(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_PROTECT)
-}
-
-func LinkSetFlood(link Link, mode bool) error {
-       return pkgHandle.LinkSetFlood(link, mode)
-}
-
-func (h *Handle) LinkSetFlood(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_UNICAST_FLOOD)
-}
-
-func LinkSetBrProxyArp(link Link, mode bool) error {
-       return pkgHandle.LinkSetBrProxyArp(link, mode)
-}
-
-func (h *Handle) LinkSetBrProxyArp(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_PROXYARP)
-}
-
-func LinkSetBrProxyArpWiFi(link Link, mode bool) error {
-       return pkgHandle.LinkSetBrProxyArpWiFi(link, mode)
-}
-
-func (h *Handle) LinkSetBrProxyArpWiFi(link Link, mode bool) error {
-       return h.setProtinfoAttr(link, mode, nl.IFLA_BRPORT_PROXYARP_WIFI)
-}
-
-func (h *Handle) setProtinfoAttr(link Link, mode bool, attr int) error {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       req := h.newNetlinkRequest(syscall.RTM_SETLINK, syscall.NLM_F_ACK)
-
-       msg := nl.NewIfInfomsg(syscall.AF_BRIDGE)
-       msg.Index = int32(base.Index)
-       req.AddData(msg)
-
-       br := nl.NewRtAttr(syscall.IFLA_PROTINFO|syscall.NLA_F_NESTED, nil)
-       nl.NewRtAttrChild(br, attr, boolToByte(mode))
-       req.AddData(br)
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       if err != nil {
-               return err
-       }
-       return nil
-}
-
-func parseVlanData(link Link, data []syscall.NetlinkRouteAttr) {
-       vlan := link.(*Vlan)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.IFLA_VLAN_ID:
-                       vlan.VlanId = int(native.Uint16(datum.Value[0:2]))
-               }
-       }
-}
-
-func parseVxlanData(link Link, data []syscall.NetlinkRouteAttr) {
-       vxlan := link.(*Vxlan)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.IFLA_VXLAN_ID:
-                       vxlan.VxlanId = int(native.Uint32(datum.Value[0:4]))
-               case nl.IFLA_VXLAN_LINK:
-                       vxlan.VtepDevIndex = int(native.Uint32(datum.Value[0:4]))
-               case nl.IFLA_VXLAN_LOCAL:
-                       vxlan.SrcAddr = net.IP(datum.Value[0:4])
-               case nl.IFLA_VXLAN_LOCAL6:
-                       vxlan.SrcAddr = net.IP(datum.Value[0:16])
-               case nl.IFLA_VXLAN_GROUP:
-                       vxlan.Group = net.IP(datum.Value[0:4])
-               case nl.IFLA_VXLAN_GROUP6:
-                       vxlan.Group = net.IP(datum.Value[0:16])
-               case nl.IFLA_VXLAN_TTL:
-                       vxlan.TTL = int(datum.Value[0])
-               case nl.IFLA_VXLAN_TOS:
-                       vxlan.TOS = int(datum.Value[0])
-               case nl.IFLA_VXLAN_LEARNING:
-                       vxlan.Learning = int8(datum.Value[0]) != 0
-               case nl.IFLA_VXLAN_PROXY:
-                       vxlan.Proxy = int8(datum.Value[0]) != 0
-               case nl.IFLA_VXLAN_RSC:
-                       vxlan.RSC = int8(datum.Value[0]) != 0
-               case nl.IFLA_VXLAN_L2MISS:
-                       vxlan.L2miss = int8(datum.Value[0]) != 0
-               case nl.IFLA_VXLAN_L3MISS:
-                       vxlan.L3miss = int8(datum.Value[0]) != 0
-               case nl.IFLA_VXLAN_UDP_CSUM:
-                       vxlan.UDPCSum = int8(datum.Value[0]) != 0
-               case nl.IFLA_VXLAN_GBP:
-                       vxlan.GBP = true
-               case nl.IFLA_VXLAN_AGEING:
-                       vxlan.Age = int(native.Uint32(datum.Value[0:4]))
-                       vxlan.NoAge = vxlan.Age == 0
-               case nl.IFLA_VXLAN_LIMIT:
-                       vxlan.Limit = int(native.Uint32(datum.Value[0:4]))
-               case nl.IFLA_VXLAN_PORT:
-                       vxlan.Port = int(ntohs(datum.Value[0:2]))
-               case nl.IFLA_VXLAN_PORT_RANGE:
-                       buf := bytes.NewBuffer(datum.Value[0:4])
-                       var pr vxlanPortRange
-                       if binary.Read(buf, binary.BigEndian, &pr) != nil {
-                               vxlan.PortLow = int(pr.Lo)
-                               vxlan.PortHigh = int(pr.Hi)
-                       }
-               }
-       }
-}
-
-func parseBondData(link Link, data []syscall.NetlinkRouteAttr) {
-       bond := link.(*Bond)
-       for i := range data {
-               switch data[i].Attr.Type {
-               case nl.IFLA_BOND_MODE:
-                       bond.Mode = BondMode(data[i].Value[0])
-               case nl.IFLA_BOND_ACTIVE_SLAVE:
-                       bond.ActiveSlave = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_MIIMON:
-                       bond.Miimon = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_UPDELAY:
-                       bond.UpDelay = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_DOWNDELAY:
-                       bond.DownDelay = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_USE_CARRIER:
-                       bond.UseCarrier = int(data[i].Value[0])
-               case nl.IFLA_BOND_ARP_INTERVAL:
-                       bond.ArpInterval = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_ARP_IP_TARGET:
-                       // TODO: implement
-               case nl.IFLA_BOND_ARP_VALIDATE:
-                       bond.ArpValidate = BondArpValidate(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_ARP_ALL_TARGETS:
-                       bond.ArpAllTargets = BondArpAllTargets(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_PRIMARY:
-                       bond.Primary = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_PRIMARY_RESELECT:
-                       bond.PrimaryReselect = BondPrimaryReselect(data[i].Value[0])
-               case nl.IFLA_BOND_FAIL_OVER_MAC:
-                       bond.FailOverMac = BondFailOverMac(data[i].Value[0])
-               case nl.IFLA_BOND_XMIT_HASH_POLICY:
-                       bond.XmitHashPolicy = BondXmitHashPolicy(data[i].Value[0])
-               case nl.IFLA_BOND_RESEND_IGMP:
-                       bond.ResendIgmp = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_NUM_PEER_NOTIF:
-                       bond.NumPeerNotif = int(data[i].Value[0])
-               case nl.IFLA_BOND_ALL_SLAVES_ACTIVE:
-                       bond.AllSlavesActive = int(data[i].Value[0])
-               case nl.IFLA_BOND_MIN_LINKS:
-                       bond.MinLinks = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_LP_INTERVAL:
-                       bond.LpInterval = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_PACKETS_PER_SLAVE:
-                       bond.PackersPerSlave = int(native.Uint32(data[i].Value[0:4]))
-               case nl.IFLA_BOND_AD_LACP_RATE:
-                       bond.LacpRate = BondLacpRate(data[i].Value[0])
-               case nl.IFLA_BOND_AD_SELECT:
-                       bond.AdSelect = BondAdSelect(data[i].Value[0])
-               case nl.IFLA_BOND_AD_INFO:
-                       // TODO: implement
-               }
-       }
-}
-
-func parseIPVlanData(link Link, data []syscall.NetlinkRouteAttr) {
-       ipv := link.(*IPVlan)
-       for _, datum := range data {
-               if datum.Attr.Type == nl.IFLA_IPVLAN_MODE {
-                       ipv.Mode = IPVlanMode(native.Uint32(datum.Value[0:4]))
-                       return
-               }
-       }
-}
-
-func parseMacvtapData(link Link, data []syscall.NetlinkRouteAttr) {
-       macv := link.(*Macvtap)
-       parseMacvlanData(&macv.Macvlan, data)
-}
-
-func parseMacvlanData(link Link, data []syscall.NetlinkRouteAttr) {
-       macv := link.(*Macvlan)
-       for _, datum := range data {
-               if datum.Attr.Type == nl.IFLA_MACVLAN_MODE {
-                       switch native.Uint32(datum.Value[0:4]) {
-                       case nl.MACVLAN_MODE_PRIVATE:
-                               macv.Mode = MACVLAN_MODE_PRIVATE
-                       case nl.MACVLAN_MODE_VEPA:
-                               macv.Mode = MACVLAN_MODE_VEPA
-                       case nl.MACVLAN_MODE_BRIDGE:
-                               macv.Mode = MACVLAN_MODE_BRIDGE
-                       case nl.MACVLAN_MODE_PASSTHRU:
-                               macv.Mode = MACVLAN_MODE_PASSTHRU
-                       case nl.MACVLAN_MODE_SOURCE:
-                               macv.Mode = MACVLAN_MODE_SOURCE
-                       }
-                       return
-               }
-       }
-}
-
-// copied from pkg/net_linux.go
-func linkFlags(rawFlags uint32) net.Flags {
-       var f net.Flags
-       if rawFlags&syscall.IFF_UP != 0 {
-               f |= net.FlagUp
-       }
-       if rawFlags&syscall.IFF_BROADCAST != 0 {
-               f |= net.FlagBroadcast
-       }
-       if rawFlags&syscall.IFF_LOOPBACK != 0 {
-               f |= net.FlagLoopback
-       }
-       if rawFlags&syscall.IFF_POINTOPOINT != 0 {
-               f |= net.FlagPointToPoint
-       }
-       if rawFlags&syscall.IFF_MULTICAST != 0 {
-               f |= net.FlagMulticast
-       }
-       return f
-}
-
-func addGretapAttrs(gretap *Gretap, linkInfo *nl.RtAttr) {
-       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-
-       ip := gretap.Local.To4()
-       if ip != nil {
-               nl.NewRtAttrChild(data, nl.IFLA_GRE_LOCAL, []byte(ip))
-       }
-       ip = gretap.Remote.To4()
-       if ip != nil {
-               nl.NewRtAttrChild(data, nl.IFLA_GRE_REMOTE, []byte(ip))
-       }
-
-       if gretap.IKey != 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_GRE_IKEY, htonl(gretap.IKey))
-               gretap.IFlags |= uint16(nl.GRE_KEY)
-       }
-
-       if gretap.OKey != 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_GRE_OKEY, htonl(gretap.OKey))
-               gretap.OFlags |= uint16(nl.GRE_KEY)
-       }
-
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_IFLAGS, htons(gretap.IFlags))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_OFLAGS, htons(gretap.OFlags))
-
-       if gretap.Link != 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_GRE_LINK, nl.Uint32Attr(gretap.Link))
-       }
-
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_PMTUDISC, nl.Uint8Attr(gretap.PMtuDisc))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_TTL, nl.Uint8Attr(gretap.Ttl))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_TOS, nl.Uint8Attr(gretap.Tos))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_ENCAP_TYPE, nl.Uint16Attr(gretap.EncapType))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_ENCAP_FLAGS, nl.Uint16Attr(gretap.EncapFlags))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_ENCAP_SPORT, htons(gretap.EncapSport))
-       nl.NewRtAttrChild(data, nl.IFLA_GRE_ENCAP_DPORT, htons(gretap.EncapDport))
-}
-
-func parseGretapData(link Link, data []syscall.NetlinkRouteAttr) {
-       gre := link.(*Gretap)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.IFLA_GRE_OKEY:
-                       gre.IKey = ntohl(datum.Value[0:4])
-               case nl.IFLA_GRE_IKEY:
-                       gre.OKey = ntohl(datum.Value[0:4])
-               case nl.IFLA_GRE_LOCAL:
-                       gre.Local = net.IP(datum.Value[0:4])
-               case nl.IFLA_GRE_REMOTE:
-                       gre.Remote = net.IP(datum.Value[0:4])
-               case nl.IFLA_GRE_ENCAP_SPORT:
-                       gre.EncapSport = ntohs(datum.Value[0:2])
-               case nl.IFLA_GRE_ENCAP_DPORT:
-                       gre.EncapDport = ntohs(datum.Value[0:2])
-               case nl.IFLA_GRE_IFLAGS:
-                       gre.IFlags = ntohs(datum.Value[0:2])
-               case nl.IFLA_GRE_OFLAGS:
-                       gre.OFlags = ntohs(datum.Value[0:2])
-
-               case nl.IFLA_GRE_TTL:
-                       gre.Ttl = uint8(datum.Value[0])
-               case nl.IFLA_GRE_TOS:
-                       gre.Tos = uint8(datum.Value[0])
-               case nl.IFLA_GRE_PMTUDISC:
-                       gre.PMtuDisc = uint8(datum.Value[0])
-               case nl.IFLA_GRE_ENCAP_TYPE:
-                       gre.EncapType = native.Uint16(datum.Value[0:2])
-               case nl.IFLA_GRE_ENCAP_FLAGS:
-                       gre.EncapFlags = native.Uint16(datum.Value[0:2])
-               }
-       }
-}
-
-func parseLinkStats32(data []byte) *LinkStatistics {
-       return (*LinkStatistics)((*LinkStatistics32)(unsafe.Pointer(&data[0:SizeofLinkStats32][0])).to64())
-}
-
-func parseLinkStats64(data []byte) *LinkStatistics {
-       return (*LinkStatistics)((*LinkStatistics64)(unsafe.Pointer(&data[0:SizeofLinkStats64][0])))
-}
-
-func addXdpAttrs(xdp *LinkXdp, req *nl.NetlinkRequest) {
-       attrs := nl.NewRtAttr(nl.IFLA_XDP|syscall.NLA_F_NESTED, nil)
-       b := make([]byte, 4)
-       native.PutUint32(b, uint32(xdp.Fd))
-       nl.NewRtAttrChild(attrs, nl.IFLA_XDP_FD, b)
-       req.AddData(attrs)
-}
-
-func parseLinkXdp(data []byte) (*LinkXdp, error) {
-       attrs, err := nl.ParseRouteAttr(data)
-       if err != nil {
-               return nil, err
-       }
-       xdp := &LinkXdp{}
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case nl.IFLA_XDP_FD:
-                       xdp.Fd = int(native.Uint32(attr.Value[0:4]))
-               case nl.IFLA_XDP_ATTACHED:
-                       xdp.Attached = attr.Value[0] != 0
-               }
-       }
-       return xdp, nil
-}
-
-func addIptunAttrs(iptun *Iptun, linkInfo *nl.RtAttr) {
-       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-
-       ip := iptun.Local.To4()
-       if ip != nil {
-               nl.NewRtAttrChild(data, nl.IFLA_IPTUN_LOCAL, []byte(ip))
-       }
-
-       ip = iptun.Remote.To4()
-       if ip != nil {
-               nl.NewRtAttrChild(data, nl.IFLA_IPTUN_REMOTE, []byte(ip))
-       }
-
-       if iptun.Link != 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_IPTUN_LINK, nl.Uint32Attr(iptun.Link))
-       }
-       nl.NewRtAttrChild(data, nl.IFLA_IPTUN_PMTUDISC, nl.Uint8Attr(iptun.PMtuDisc))
-       nl.NewRtAttrChild(data, nl.IFLA_IPTUN_TTL, nl.Uint8Attr(iptun.Ttl))
-       nl.NewRtAttrChild(data, nl.IFLA_IPTUN_TOS, nl.Uint8Attr(iptun.Tos))
-}
-
-func parseIptunData(link Link, data []syscall.NetlinkRouteAttr) {
-       iptun := link.(*Iptun)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.IFLA_IPTUN_LOCAL:
-                       iptun.Local = net.IP(datum.Value[0:4])
-               case nl.IFLA_IPTUN_REMOTE:
-                       iptun.Remote = net.IP(datum.Value[0:4])
-               case nl.IFLA_IPTUN_TTL:
-                       iptun.Ttl = uint8(datum.Value[0])
-               case nl.IFLA_IPTUN_TOS:
-                       iptun.Tos = uint8(datum.Value[0])
-               case nl.IFLA_IPTUN_PMTUDISC:
-                       iptun.PMtuDisc = uint8(datum.Value[0])
-               }
-       }
-}
-
-func addVtiAttrs(vti *Vti, linkInfo *nl.RtAttr) {
-       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-
-       ip := vti.Local.To4()
-       if ip != nil {
-               nl.NewRtAttrChild(data, nl.IFLA_VTI_LOCAL, []byte(ip))
-       }
-
-       ip = vti.Remote.To4()
-       if ip != nil {
-               nl.NewRtAttrChild(data, nl.IFLA_VTI_REMOTE, []byte(ip))
-       }
-
-       if vti.Link != 0 {
-               nl.NewRtAttrChild(data, nl.IFLA_VTI_LINK, nl.Uint32Attr(vti.Link))
-       }
-
-       nl.NewRtAttrChild(data, nl.IFLA_VTI_IKEY, htonl(vti.IKey))
-       nl.NewRtAttrChild(data, nl.IFLA_VTI_OKEY, htonl(vti.OKey))
-}
-
-func parseVtiData(link Link, data []syscall.NetlinkRouteAttr) {
-       vti := link.(*Vti)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.IFLA_VTI_LOCAL:
-                       vti.Local = net.IP(datum.Value[0:4])
-               case nl.IFLA_VTI_REMOTE:
-                       vti.Remote = net.IP(datum.Value[0:4])
-               case nl.IFLA_VTI_IKEY:
-                       vti.IKey = ntohl(datum.Value[0:4])
-               case nl.IFLA_VTI_OKEY:
-                       vti.OKey = ntohl(datum.Value[0:4])
-               }
-       }
-}
-
-func addVrfAttrs(vrf *Vrf, linkInfo *nl.RtAttr) {
-       data := nl.NewRtAttrChild(linkInfo, nl.IFLA_INFO_DATA, nil)
-       b := make([]byte, 4)
-       native.PutUint32(b, uint32(vrf.Table))
-       nl.NewRtAttrChild(data, nl.IFLA_VRF_TABLE, b)
-}
-
-func parseVrfData(link Link, data []syscall.NetlinkRouteAttr) {
-       vrf := link.(*Vrf)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.IFLA_VRF_TABLE:
-                       vrf.Table = native.Uint32(datum.Value[0:4])
-               }
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/link_test.go b/vendor/github.com/vishvananda/netlink/link_test.go
deleted file mode 100644 (file)
index 9d77147..0000000
+++ /dev/null
@@ -1,1119 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "bytes"
-       "net"
-       "os"
-       "syscall"
-       "testing"
-       "time"
-
-       "github.com/vishvananda/netns"
-)
-
-const (
-       testTxQLen    int = 100
-       defaultTxQLen int = 1000
-)
-
-func testLinkAddDel(t *testing.T, link Link) {
-       links, err := LinkList()
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkAdd(link); err != nil {
-               t.Fatal(err)
-       }
-
-       base := link.Attrs()
-
-       result, err := LinkByName(base.Name)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       rBase := result.Attrs()
-
-       if vlan, ok := link.(*Vlan); ok {
-               other, ok := result.(*Vlan)
-               if !ok {
-                       t.Fatal("Result of create is not a vlan")
-               }
-               if vlan.VlanId != other.VlanId {
-                       t.Fatal("Link.VlanId id doesn't match")
-               }
-       }
-
-       if veth, ok := result.(*Veth); ok {
-               if rBase.TxQLen != base.TxQLen {
-                       t.Fatalf("qlen is %d, should be %d", rBase.TxQLen, base.TxQLen)
-               }
-               if rBase.MTU != base.MTU {
-                       t.Fatalf("MTU is %d, should be %d", rBase.MTU, base.MTU)
-               }
-
-               if original, ok := link.(*Veth); ok {
-                       if original.PeerName != "" {
-                               var peer *Veth
-                               other, err := LinkByName(original.PeerName)
-                               if err != nil {
-                                       t.Fatalf("Peer %s not created", veth.PeerName)
-                               }
-                               if peer, ok = other.(*Veth); !ok {
-                                       t.Fatalf("Peer %s is incorrect type", veth.PeerName)
-                               }
-                               if peer.TxQLen != testTxQLen {
-                                       t.Fatalf("TxQLen of peer is %d, should be %d", peer.TxQLen, testTxQLen)
-                               }
-                       }
-               }
-       } else {
-               // recent kernels set the parent index for veths in the response
-               if rBase.ParentIndex == 0 && base.ParentIndex != 0 {
-                       t.Fatalf("Created link doesn't have parent %d but it should", base.ParentIndex)
-               } else if rBase.ParentIndex != 0 && base.ParentIndex == 0 {
-                       t.Fatalf("Created link has parent %d but it shouldn't", rBase.ParentIndex)
-               } else if rBase.ParentIndex != 0 && base.ParentIndex != 0 {
-                       if rBase.ParentIndex != base.ParentIndex {
-                               t.Fatalf("Link.ParentIndex doesn't match %d != %d", rBase.ParentIndex, base.ParentIndex)
-                       }
-               }
-       }
-
-       if vxlan, ok := link.(*Vxlan); ok {
-               other, ok := result.(*Vxlan)
-               if !ok {
-                       t.Fatal("Result of create is not a vxlan")
-               }
-               compareVxlan(t, vxlan, other)
-       }
-
-       if ipv, ok := link.(*IPVlan); ok {
-               other, ok := result.(*IPVlan)
-               if !ok {
-                       t.Fatal("Result of create is not a ipvlan")
-               }
-               if ipv.Mode != other.Mode {
-                       t.Fatalf("Got unexpected mode: %d, expected: %d", other.Mode, ipv.Mode)
-               }
-       }
-
-       if macv, ok := link.(*Macvlan); ok {
-               other, ok := result.(*Macvlan)
-               if !ok {
-                       t.Fatal("Result of create is not a macvlan")
-               }
-               if macv.Mode != other.Mode {
-                       t.Fatalf("Got unexpected mode: %d, expected: %d", other.Mode, macv.Mode)
-               }
-       }
-
-       if macv, ok := link.(*Macvtap); ok {
-               other, ok := result.(*Macvtap)
-               if !ok {
-                       t.Fatal("Result of create is not a macvtap")
-               }
-               if macv.Mode != other.Mode {
-                       t.Fatalf("Got unexpected mode: %d, expected: %d", other.Mode, macv.Mode)
-               }
-       }
-
-       if _, ok := link.(*Vti); ok {
-               _, ok := result.(*Vti)
-               if !ok {
-                       t.Fatal("Result of create is not a vti")
-               }
-       }
-
-       if bond, ok := link.(*Bond); ok {
-               other, ok := result.(*Bond)
-               if !ok {
-                       t.Fatal("Result of create is not a bond")
-               }
-               if bond.Mode != other.Mode {
-                       t.Fatalf("Got unexpected mode: %d, expected: %d", other.Mode, bond.Mode)
-               }
-       }
-
-       if _, ok := link.(*Iptun); ok {
-               _, ok := result.(*Iptun)
-               if !ok {
-                       t.Fatal("Result of create is not a iptun")
-               }
-       }
-
-       if err = LinkDel(link); err != nil {
-               t.Fatal(err)
-       }
-
-       links, err = LinkList()
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       for _, l := range links {
-               if l.Attrs().Name == link.Attrs().Name {
-                       t.Fatal("Link not removed properly")
-               }
-       }
-}
-
-func compareVxlan(t *testing.T, expected, actual *Vxlan) {
-
-       if actual.VxlanId != expected.VxlanId {
-               t.Fatal("Vxlan.VxlanId doesn't match")
-       }
-       if expected.SrcAddr != nil && !actual.SrcAddr.Equal(expected.SrcAddr) {
-               t.Fatal("Vxlan.SrcAddr doesn't match")
-       }
-       if expected.Group != nil && !actual.Group.Equal(expected.Group) {
-               t.Fatal("Vxlan.Group doesn't match")
-       }
-       if expected.TTL != -1 && actual.TTL != expected.TTL {
-               t.Fatal("Vxlan.TTL doesn't match")
-       }
-       if expected.TOS != -1 && actual.TOS != expected.TOS {
-               t.Fatal("Vxlan.TOS doesn't match")
-       }
-       if actual.Learning != expected.Learning {
-               t.Fatal("Vxlan.Learning doesn't match")
-       }
-       if actual.Proxy != expected.Proxy {
-               t.Fatal("Vxlan.Proxy doesn't match")
-       }
-       if actual.RSC != expected.RSC {
-               t.Fatal("Vxlan.RSC doesn't match")
-       }
-       if actual.L2miss != expected.L2miss {
-               t.Fatal("Vxlan.L2miss doesn't match")
-       }
-       if actual.L3miss != expected.L3miss {
-               t.Fatal("Vxlan.L3miss doesn't match")
-       }
-       if actual.GBP != expected.GBP {
-               t.Fatal("Vxlan.GBP doesn't match")
-       }
-       if expected.NoAge {
-               if !actual.NoAge {
-                       t.Fatal("Vxlan.NoAge doesn't match")
-               }
-       } else if expected.Age > 0 && actual.Age != expected.Age {
-               t.Fatal("Vxlan.Age doesn't match")
-       }
-       if expected.Limit > 0 && actual.Limit != expected.Limit {
-               t.Fatal("Vxlan.Limit doesn't match")
-       }
-       if expected.Port > 0 && actual.Port != expected.Port {
-               t.Fatal("Vxlan.Port doesn't match")
-       }
-       if expected.PortLow > 0 || expected.PortHigh > 0 {
-               if actual.PortLow != expected.PortLow {
-                       t.Fatal("Vxlan.PortLow doesn't match")
-               }
-               if actual.PortHigh != expected.PortHigh {
-                       t.Fatal("Vxlan.PortHigh doesn't match")
-               }
-       }
-}
-
-func TestLinkAddDelDummy(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       testLinkAddDel(t, &Dummy{LinkAttrs{Name: "foo"}})
-}
-
-func TestLinkAddDelIfb(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       testLinkAddDel(t, &Ifb{LinkAttrs{Name: "foo"}})
-}
-
-func TestLinkAddDelBridge(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       testLinkAddDel(t, &Bridge{LinkAttrs{Name: "foo", MTU: 1400}})
-}
-
-func TestLinkAddDelGretap(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       testLinkAddDel(t, &Gretap{
-               LinkAttrs: LinkAttrs{Name: "foo"},
-               IKey:      0x101,
-               OKey:      0x101,
-               PMtuDisc:  1,
-               Local:     net.IPv4(127, 0, 0, 1),
-               Remote:    net.IPv4(127, 0, 0, 1)})
-}
-
-func TestLinkAddDelVlan(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       parent := &Dummy{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       testLinkAddDel(t, &Vlan{LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index}, 900})
-
-       if err := LinkDel(parent); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkAddDelMacvlan(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       parent := &Dummy{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       testLinkAddDel(t, &Macvlan{
-               LinkAttrs: LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index},
-               Mode:      MACVLAN_MODE_PRIVATE,
-       })
-
-       testLinkAddDel(t, &Macvlan{
-               LinkAttrs: LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index},
-               Mode:      MACVLAN_MODE_BRIDGE,
-       })
-
-       testLinkAddDel(t, &Macvlan{
-               LinkAttrs: LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index},
-               Mode:      MACVLAN_MODE_VEPA,
-       })
-
-       if err := LinkDel(parent); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkAddDelMacvtap(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       parent := &Dummy{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       testLinkAddDel(t, &Macvtap{
-               Macvlan: Macvlan{
-                       LinkAttrs: LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index},
-                       Mode:      MACVLAN_MODE_PRIVATE,
-               },
-       })
-
-       testLinkAddDel(t, &Macvtap{
-               Macvlan: Macvlan{
-                       LinkAttrs: LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index},
-                       Mode:      MACVLAN_MODE_BRIDGE,
-               },
-       })
-
-       testLinkAddDel(t, &Macvtap{
-               Macvlan: Macvlan{
-                       LinkAttrs: LinkAttrs{Name: "bar", ParentIndex: parent.Attrs().Index},
-                       Mode:      MACVLAN_MODE_VEPA,
-               },
-       })
-
-       if err := LinkDel(parent); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkAddDelVeth(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       veth := &Veth{LinkAttrs: LinkAttrs{Name: "foo", TxQLen: testTxQLen, MTU: 1400}, PeerName: "bar"}
-       testLinkAddDel(t, veth)
-}
-
-func TestLinkAddDelBond(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       bond := NewLinkBond(LinkAttrs{Name: "foo"})
-       bond.Mode = StringToBondModeMap["802.3ad"]
-       testLinkAddDel(t, bond)
-}
-
-func TestLinkAddVethWithDefaultTxQLen(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       la := NewLinkAttrs()
-       la.Name = "foo"
-
-       veth := &Veth{LinkAttrs: la, PeerName: "bar"}
-       if err := LinkAdd(veth); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if veth, ok := link.(*Veth); !ok {
-               t.Fatalf("unexpected link type: %T", link)
-       } else {
-               if veth.TxQLen != defaultTxQLen {
-                       t.Fatalf("TxQLen is %d, should be %d", veth.TxQLen, defaultTxQLen)
-               }
-       }
-       peer, err := LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if veth, ok := peer.(*Veth); !ok {
-               t.Fatalf("unexpected link type: %T", link)
-       } else {
-               if veth.TxQLen != defaultTxQLen {
-                       t.Fatalf("TxQLen is %d, should be %d", veth.TxQLen, defaultTxQLen)
-               }
-       }
-}
-
-func TestLinkAddVethWithZeroTxQLen(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       la := NewLinkAttrs()
-       la.Name = "foo"
-       la.TxQLen = 0
-
-       veth := &Veth{LinkAttrs: la, PeerName: "bar"}
-       if err := LinkAdd(veth); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if veth, ok := link.(*Veth); !ok {
-               t.Fatalf("unexpected link type: %T", link)
-       } else {
-               if veth.TxQLen != 0 {
-                       t.Fatalf("TxQLen is %d, should be %d", veth.TxQLen, 0)
-               }
-       }
-       peer, err := LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if veth, ok := peer.(*Veth); !ok {
-               t.Fatalf("unexpected link type: %T", link)
-       } else {
-               if veth.TxQLen != 0 {
-                       t.Fatalf("TxQLen is %d, should be %d", veth.TxQLen, 0)
-               }
-       }
-}
-
-func TestLinkAddDummyWithTxQLen(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       la := NewLinkAttrs()
-       la.Name = "foo"
-       la.TxQLen = 1500
-
-       dummy := &Dummy{LinkAttrs: la}
-       if err := LinkAdd(dummy); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if dummy, ok := link.(*Dummy); !ok {
-               t.Fatalf("unexpected link type: %T", link)
-       } else {
-               if dummy.TxQLen != 1500 {
-                       t.Fatalf("TxQLen is %d, should be %d", dummy.TxQLen, 1500)
-               }
-       }
-}
-
-func TestLinkAddDelBridgeMaster(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       master := &Bridge{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(master); err != nil {
-               t.Fatal(err)
-       }
-       testLinkAddDel(t, &Dummy{LinkAttrs{Name: "bar", MasterIndex: master.Attrs().Index}})
-
-       if err := LinkDel(master); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkSetUnsetResetMaster(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       master := &Bridge{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(master); err != nil {
-               t.Fatal(err)
-       }
-
-       newmaster := &Bridge{LinkAttrs{Name: "bar"}}
-       if err := LinkAdd(newmaster); err != nil {
-               t.Fatal(err)
-       }
-
-       slave := &Dummy{LinkAttrs{Name: "baz"}}
-       if err := LinkAdd(slave); err != nil {
-               t.Fatal(err)
-       }
-
-       nonexistsmaster := &Bridge{LinkAttrs{Name: "foobar"}}
-
-       if err := LinkSetMaster(slave, nonexistsmaster); err == nil {
-               t.Fatal("error expected")
-       }
-
-       if err := LinkSetMaster(slave, master); err != nil {
-               t.Fatal(err)
-       }
-
-       link, err := LinkByName("baz")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().MasterIndex != master.Attrs().Index {
-               t.Fatal("Master not set properly")
-       }
-
-       if err := LinkSetMaster(slave, newmaster); err != nil {
-               t.Fatal(err)
-       }
-
-       link, err = LinkByName("baz")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().MasterIndex != newmaster.Attrs().Index {
-               t.Fatal("Master not reset properly")
-       }
-
-       if err := LinkSetNoMaster(slave); err != nil {
-               t.Fatal(err)
-       }
-
-       link, err = LinkByName("baz")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().MasterIndex != 0 {
-               t.Fatal("Master not unset properly")
-       }
-       if err := LinkDel(slave); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkDel(newmaster); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkDel(master); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkSetNs(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       basens, err := netns.Get()
-       if err != nil {
-               t.Fatal("Failed to get basens")
-       }
-       defer basens.Close()
-
-       newns, err := netns.New()
-       if err != nil {
-               t.Fatal("Failed to create newns")
-       }
-       defer newns.Close()
-
-       link := &Veth{LinkAttrs{Name: "foo"}, "bar"}
-       if err := LinkAdd(link); err != nil {
-               t.Fatal(err)
-       }
-
-       peer, err := LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       LinkSetNsFd(peer, int(basens))
-       if err != nil {
-               t.Fatal("Failed to set newns for link")
-       }
-
-       _, err = LinkByName("bar")
-       if err == nil {
-               t.Fatal("Link bar is still in newns")
-       }
-
-       err = netns.Set(basens)
-       if err != nil {
-               t.Fatal("Failed to set basens")
-       }
-
-       peer, err = LinkByName("bar")
-       if err != nil {
-               t.Fatal("Link is not in basens")
-       }
-
-       if err := LinkDel(peer); err != nil {
-               t.Fatal(err)
-       }
-
-       err = netns.Set(newns)
-       if err != nil {
-               t.Fatal("Failed to set newns")
-       }
-
-       _, err = LinkByName("foo")
-       if err == nil {
-               t.Fatal("Other half of veth pair not deleted")
-       }
-
-}
-
-func TestLinkAddDelVxlan(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       parent := &Dummy{
-               LinkAttrs{Name: "foo"},
-       }
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       vxlan := Vxlan{
-               LinkAttrs: LinkAttrs{
-                       Name: "bar",
-               },
-               VxlanId:      10,
-               VtepDevIndex: parent.Index,
-               Learning:     true,
-               L2miss:       true,
-               L3miss:       true,
-       }
-
-       testLinkAddDel(t, &vxlan)
-       if err := LinkDel(parent); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkAddDelVxlanGbp(t *testing.T) {
-       if os.Getenv("TRAVIS_BUILD_DIR") != "" {
-               t.Skipf("Kernel in travis is too old for this test")
-       }
-
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       parent := &Dummy{
-               LinkAttrs{Name: "foo"},
-       }
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       vxlan := Vxlan{
-               LinkAttrs: LinkAttrs{
-                       Name: "bar",
-               },
-               VxlanId:      10,
-               VtepDevIndex: parent.Index,
-               Learning:     true,
-               L2miss:       true,
-               L3miss:       true,
-               GBP:          true,
-       }
-
-       testLinkAddDel(t, &vxlan)
-       if err := LinkDel(parent); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkAddDelIPVlanL2(t *testing.T) {
-       if os.Getenv("TRAVIS_BUILD_DIR") != "" {
-               t.Skipf("Kernel in travis is too old for this test")
-       }
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       parent := &Dummy{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       ipv := IPVlan{
-               LinkAttrs: LinkAttrs{
-                       Name:        "bar",
-                       ParentIndex: parent.Index,
-               },
-               Mode: IPVLAN_MODE_L2,
-       }
-
-       testLinkAddDel(t, &ipv)
-}
-
-func TestLinkAddDelIPVlanL3(t *testing.T) {
-       if os.Getenv("TRAVIS_BUILD_DIR") != "" {
-               t.Skipf("Kernel in travis is too old for this test")
-       }
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       parent := &Dummy{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(parent); err != nil {
-               t.Fatal(err)
-       }
-
-       ipv := IPVlan{
-               LinkAttrs: LinkAttrs{
-                       Name:        "bar",
-                       ParentIndex: parent.Index,
-               },
-               Mode: IPVLAN_MODE_L3,
-       }
-
-       testLinkAddDel(t, &ipv)
-}
-
-func TestLinkAddDelIPVlanNoParent(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       ipv := IPVlan{
-               LinkAttrs: LinkAttrs{
-                       Name: "bar",
-               },
-               Mode: IPVLAN_MODE_L3,
-       }
-       err := LinkAdd(&ipv)
-       if err == nil {
-               t.Fatal("Add should fail if ipvlan creating without ParentIndex")
-       }
-       if err.Error() != "Can't create ipvlan link without ParentIndex" {
-               t.Fatalf("Error should be about missing ParentIndex, got %q", err)
-       }
-}
-
-func TestLinkByIndex(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       dummy := &Dummy{LinkAttrs{Name: "dummy"}}
-       if err := LinkAdd(dummy); err != nil {
-               t.Fatal(err)
-       }
-
-       found, err := LinkByIndex(dummy.Index)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if found.Attrs().Index != dummy.Attrs().Index {
-               t.Fatalf("Indices don't match: %v != %v", found.Attrs().Index, dummy.Attrs().Index)
-       }
-
-       LinkDel(dummy)
-
-       // test not found
-       _, err = LinkByIndex(dummy.Attrs().Index)
-       if err == nil {
-               t.Fatalf("LinkByIndex(%v) found deleted link", err)
-       }
-}
-
-func TestLinkSet(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       iface := &Dummy{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(iface); err != nil {
-               t.Fatal(err)
-       }
-
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       err = LinkSetName(link, "bar")
-       if err != nil {
-               t.Fatalf("Could not change interface name: %v", err)
-       }
-
-       link, err = LinkByName("bar")
-       if err != nil {
-               t.Fatalf("Interface name not changed: %v", err)
-       }
-
-       err = LinkSetMTU(link, 1400)
-       if err != nil {
-               t.Fatalf("Could not set MTU: %v", err)
-       }
-
-       link, err = LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().MTU != 1400 {
-               t.Fatal("MTU not changed!")
-       }
-
-       addr, err := net.ParseMAC("00:12:34:56:78:AB")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       err = LinkSetHardwareAddr(link, addr)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       link, err = LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if !bytes.Equal(link.Attrs().HardwareAddr, addr) {
-               t.Fatalf("hardware address not changed!")
-       }
-
-       err = LinkSetAlias(link, "barAlias")
-       if err != nil {
-               t.Fatalf("Could not set alias: %v", err)
-       }
-
-       link, err = LinkByName("bar")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().Alias != "barAlias" {
-               t.Fatalf("alias not changed!")
-       }
-
-       link, err = LinkByAlias("barAlias")
-       if err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkSetARP(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       iface := &Veth{LinkAttrs: LinkAttrs{Name: "foo", TxQLen: testTxQLen, MTU: 1500}, PeerName: "banana"}
-       if err := LinkAdd(iface); err != nil {
-               t.Fatal(err)
-       }
-
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       err = LinkSetARPOff(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       link, err = LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().RawFlags&syscall.IFF_NOARP != uint32(syscall.IFF_NOARP) {
-               t.Fatalf("NOARP was not set!")
-       }
-
-       err = LinkSetARPOn(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       link, err = LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if link.Attrs().RawFlags&syscall.IFF_NOARP != 0 {
-               t.Fatalf("NOARP is still set!")
-       }
-}
-
-func expectLinkUpdate(ch <-chan LinkUpdate, ifaceName string, up bool) bool {
-       for {
-               timeout := time.After(time.Minute)
-               select {
-               case update := <-ch:
-                       if ifaceName == update.Link.Attrs().Name && (update.IfInfomsg.Flags&syscall.IFF_UP != 0) == up {
-                               return true
-                       }
-               case <-timeout:
-                       return false
-               }
-       }
-}
-
-func TestLinkSubscribe(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       ch := make(chan LinkUpdate)
-       done := make(chan struct{})
-       defer close(done)
-       if err := LinkSubscribe(ch, done); err != nil {
-               t.Fatal(err)
-       }
-
-       link := &Veth{LinkAttrs{Name: "foo", TxQLen: testTxQLen, MTU: 1400}, "bar"}
-       if err := LinkAdd(link); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectLinkUpdate(ch, "foo", false) {
-               t.Fatal("Add update not received as expected")
-       }
-
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectLinkUpdate(ch, "foo", true) {
-               t.Fatal("Link Up update not received as expected")
-       }
-
-       if err := LinkDel(link); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectLinkUpdate(ch, "foo", false) {
-               t.Fatal("Del update not received as expected")
-       }
-}
-
-func TestLinkSubscribeAt(t *testing.T) {
-       skipUnlessRoot(t)
-
-       // Create an handle on a custom netns
-       newNs, err := netns.New()
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer newNs.Close()
-
-       nh, err := NewHandleAt(newNs)
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer nh.Delete()
-
-       // Subscribe for Link events on the custom netns
-       ch := make(chan LinkUpdate)
-       done := make(chan struct{})
-       defer close(done)
-       if err := LinkSubscribeAt(newNs, ch, done); err != nil {
-               t.Fatal(err)
-       }
-
-       link := &Veth{LinkAttrs{Name: "test", TxQLen: testTxQLen, MTU: 1400}, "bar"}
-       if err := nh.LinkAdd(link); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectLinkUpdate(ch, "test", false) {
-               t.Fatal("Add update not received as expected")
-       }
-
-       if err := nh.LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectLinkUpdate(ch, "test", true) {
-               t.Fatal("Link Up update not received as expected")
-       }
-
-       if err := nh.LinkDel(link); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectLinkUpdate(ch, "test", false) {
-               t.Fatal("Del update not received as expected")
-       }
-}
-
-func TestLinkStats(t *testing.T) {
-       defer setUpNetlinkTest(t)()
-
-       // Create a veth pair and verify the cross-stats once both
-       // ends are brought up and some ICMPv6 packets are exchanged
-       v0 := "v0"
-       v1 := "v1"
-
-       vethLink := &Veth{LinkAttrs: LinkAttrs{Name: v0}, PeerName: v1}
-       if err := LinkAdd(vethLink); err != nil {
-               t.Fatal(err)
-       }
-
-       veth0, err := LinkByName(v0)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(veth0); err != nil {
-               t.Fatal(err)
-       }
-
-       veth1, err := LinkByName(v1)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(veth1); err != nil {
-               t.Fatal(err)
-       }
-
-       time.Sleep(2 * time.Second)
-
-       // verify statistics
-       veth0, err = LinkByName(v0)
-       if err != nil {
-               t.Fatal(err)
-       }
-       veth1, err = LinkByName(v1)
-       if err != nil {
-               t.Fatal(err)
-       }
-       v0Stats := veth0.Attrs().Statistics
-       v1Stats := veth1.Attrs().Statistics
-       if v0Stats.RxPackets != v1Stats.TxPackets || v0Stats.TxPackets != v1Stats.RxPackets ||
-               v0Stats.RxBytes != v1Stats.TxBytes || v0Stats.TxBytes != v1Stats.RxBytes {
-               t.Fatalf("veth ends counters differ:\n%v\n%v", v0Stats, v1Stats)
-       }
-}
-
-func TestLinkXdp(t *testing.T) {
-       links, err := LinkList()
-       if err != nil {
-               t.Fatal(err)
-       }
-       var testXdpLink Link
-       for _, link := range links {
-               if link.Attrs().Xdp != nil && !link.Attrs().Xdp.Attached {
-                       testXdpLink = link
-                       break
-               }
-       }
-       if testXdpLink == nil {
-               t.Skipf("No link supporting XDP found")
-       }
-       fd, err := loadSimpleBpf(BPF_PROG_TYPE_XDP, 2 /*XDP_PASS*/)
-       if err != nil {
-               t.Skipf("Loading bpf program failed: %s", err)
-       }
-       if err := LinkSetXdpFd(testXdpLink, fd); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetXdpFd(testXdpLink, -1); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestLinkAddDelIptun(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       testLinkAddDel(t, &Iptun{
-               LinkAttrs: LinkAttrs{Name: "iptunfoo"},
-               PMtuDisc:  1,
-               Local:     net.IPv4(127, 0, 0, 1),
-               Remote:    net.IPv4(127, 0, 0, 1)})
-}
-
-func TestLinkAddDelVti(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       testLinkAddDel(t, &Vti{
-               LinkAttrs: LinkAttrs{Name: "vtifoo"},
-               IKey:      0x101,
-               OKey:      0x101,
-               Local:     net.IPv4(127, 0, 0, 1),
-               Remote:    net.IPv4(127, 0, 0, 1)})
-}
-
-func TestLinkSubscribeWithProtinfo(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       master := &Bridge{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(master); err != nil {
-               t.Fatal(err)
-       }
-
-       slave := &Veth{
-               LinkAttrs: LinkAttrs{
-                       Name:        "bar",
-                       TxQLen:      testTxQLen,
-                       MTU:         1400,
-                       MasterIndex: master.Attrs().Index,
-               },
-               PeerName: "bar-peer",
-       }
-       if err := LinkAdd(slave); err != nil {
-               t.Fatal(err)
-       }
-
-       ch := make(chan LinkUpdate)
-       done := make(chan struct{})
-       defer close(done)
-       if err := LinkSubscribe(ch, done); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkSetHairpin(slave, true); err != nil {
-               t.Fatal(err)
-       }
-
-       select {
-       case update := <-ch:
-               if !(update.Attrs().Name == "bar" && update.Attrs().Protinfo != nil &&
-                       update.Attrs().Protinfo.Hairpin) {
-                       t.Fatal("Hairpin update not received as expected")
-               }
-       case <-time.After(time.Minute):
-               t.Fatal("Hairpin update timed out")
-       }
-
-       if err := LinkDel(slave); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkDel(master); err != nil {
-               t.Fatal(err)
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/link_tuntap_linux.go b/vendor/github.com/vishvananda/netlink/link_tuntap_linux.go
deleted file mode 100644 (file)
index 310bd33..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-package netlink
-
-// ideally golang.org/x/sys/unix would define IfReq but it only has
-// IFNAMSIZ, hence this minimalistic implementation
-const (
-       SizeOfIfReq = 40
-       IFNAMSIZ    = 16
-)
-
-type ifReq struct {
-       Name  [IFNAMSIZ]byte
-       Flags uint16
-       pad   [SizeOfIfReq - IFNAMSIZ - 2]byte
-}
diff --git a/vendor/github.com/vishvananda/netlink/neigh.go b/vendor/github.com/vishvananda/netlink/neigh.go
deleted file mode 100644 (file)
index 0e5eb90..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-)
-
-// Neigh represents a link layer neighbor from netlink.
-type Neigh struct {
-       LinkIndex    int
-       Family       int
-       State        int
-       Type         int
-       Flags        int
-       IP           net.IP
-       HardwareAddr net.HardwareAddr
-}
-
-// String returns $ip/$hwaddr $label
-func (neigh *Neigh) String() string {
-       return fmt.Sprintf("%s %s", neigh.IP, neigh.HardwareAddr)
-}
diff --git a/vendor/github.com/vishvananda/netlink/neigh_linux.go b/vendor/github.com/vishvananda/netlink/neigh_linux.go
deleted file mode 100644 (file)
index f069db2..0000000
+++ /dev/null
@@ -1,250 +0,0 @@
-package netlink
-
-import (
-       "net"
-       "syscall"
-       "unsafe"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-const (
-       NDA_UNSPEC = iota
-       NDA_DST
-       NDA_LLADDR
-       NDA_CACHEINFO
-       NDA_PROBES
-       NDA_VLAN
-       NDA_PORT
-       NDA_VNI
-       NDA_IFINDEX
-       NDA_MAX = NDA_IFINDEX
-)
-
-// Neighbor Cache Entry States.
-const (
-       NUD_NONE       = 0x00
-       NUD_INCOMPLETE = 0x01
-       NUD_REACHABLE  = 0x02
-       NUD_STALE      = 0x04
-       NUD_DELAY      = 0x08
-       NUD_PROBE      = 0x10
-       NUD_FAILED     = 0x20
-       NUD_NOARP      = 0x40
-       NUD_PERMANENT  = 0x80
-)
-
-// Neighbor Flags
-const (
-       NTF_USE    = 0x01
-       NTF_SELF   = 0x02
-       NTF_MASTER = 0x04
-       NTF_PROXY  = 0x08
-       NTF_ROUTER = 0x80
-)
-
-type Ndmsg struct {
-       Family uint8
-       Index  uint32
-       State  uint16
-       Flags  uint8
-       Type   uint8
-}
-
-func deserializeNdmsg(b []byte) *Ndmsg {
-       var dummy Ndmsg
-       return (*Ndmsg)(unsafe.Pointer(&b[0:unsafe.Sizeof(dummy)][0]))
-}
-
-func (msg *Ndmsg) Serialize() []byte {
-       return (*(*[unsafe.Sizeof(*msg)]byte)(unsafe.Pointer(msg)))[:]
-}
-
-func (msg *Ndmsg) Len() int {
-       return int(unsafe.Sizeof(*msg))
-}
-
-// NeighAdd will add an IP to MAC mapping to the ARP table
-// Equivalent to: `ip neigh add ....`
-func NeighAdd(neigh *Neigh) error {
-       return pkgHandle.NeighAdd(neigh)
-}
-
-// NeighAdd will add an IP to MAC mapping to the ARP table
-// Equivalent to: `ip neigh add ....`
-func (h *Handle) NeighAdd(neigh *Neigh) error {
-       return h.neighAdd(neigh, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL)
-}
-
-// NeighSet will add or replace an IP to MAC mapping to the ARP table
-// Equivalent to: `ip neigh replace....`
-func NeighSet(neigh *Neigh) error {
-       return pkgHandle.NeighSet(neigh)
-}
-
-// NeighSet will add or replace an IP to MAC mapping to the ARP table
-// Equivalent to: `ip neigh replace....`
-func (h *Handle) NeighSet(neigh *Neigh) error {
-       return h.neighAdd(neigh, syscall.NLM_F_CREATE|syscall.NLM_F_REPLACE)
-}
-
-// NeighAppend will append an entry to FDB
-// Equivalent to: `bridge fdb append...`
-func NeighAppend(neigh *Neigh) error {
-       return pkgHandle.NeighAppend(neigh)
-}
-
-// NeighAppend will append an entry to FDB
-// Equivalent to: `bridge fdb append...`
-func (h *Handle) NeighAppend(neigh *Neigh) error {
-       return h.neighAdd(neigh, syscall.NLM_F_CREATE|syscall.NLM_F_APPEND)
-}
-
-// NeighAppend will append an entry to FDB
-// Equivalent to: `bridge fdb append...`
-func neighAdd(neigh *Neigh, mode int) error {
-       return pkgHandle.neighAdd(neigh, mode)
-}
-
-// NeighAppend will append an entry to FDB
-// Equivalent to: `bridge fdb append...`
-func (h *Handle) neighAdd(neigh *Neigh, mode int) error {
-       req := h.newNetlinkRequest(syscall.RTM_NEWNEIGH, mode|syscall.NLM_F_ACK)
-       return neighHandle(neigh, req)
-}
-
-// NeighDel will delete an IP address from a link device.
-// Equivalent to: `ip addr del $addr dev $link`
-func NeighDel(neigh *Neigh) error {
-       return pkgHandle.NeighDel(neigh)
-}
-
-// NeighDel will delete an IP address from a link device.
-// Equivalent to: `ip addr del $addr dev $link`
-func (h *Handle) NeighDel(neigh *Neigh) error {
-       req := h.newNetlinkRequest(syscall.RTM_DELNEIGH, syscall.NLM_F_ACK)
-       return neighHandle(neigh, req)
-}
-
-func neighHandle(neigh *Neigh, req *nl.NetlinkRequest) error {
-       var family int
-       if neigh.Family > 0 {
-               family = neigh.Family
-       } else {
-               family = nl.GetIPFamily(neigh.IP)
-       }
-
-       msg := Ndmsg{
-               Family: uint8(family),
-               Index:  uint32(neigh.LinkIndex),
-               State:  uint16(neigh.State),
-               Type:   uint8(neigh.Type),
-               Flags:  uint8(neigh.Flags),
-       }
-       req.AddData(&msg)
-
-       ipData := neigh.IP.To4()
-       if ipData == nil {
-               ipData = neigh.IP.To16()
-       }
-
-       dstData := nl.NewRtAttr(NDA_DST, ipData)
-       req.AddData(dstData)
-
-       if neigh.Flags != NTF_PROXY || neigh.HardwareAddr != nil {
-               hwData := nl.NewRtAttr(NDA_LLADDR, []byte(neigh.HardwareAddr))
-               req.AddData(hwData)
-       }
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// NeighList gets a list of IP-MAC mappings in the system (ARP table).
-// Equivalent to: `ip neighbor show`.
-// The list can be filtered by link and ip family.
-func NeighList(linkIndex, family int) ([]Neigh, error) {
-       return pkgHandle.NeighList(linkIndex, family)
-}
-
-// NeighProxyList gets a list of neighbor proxies in the system.
-// Equivalent to: `ip neighbor show proxy`.
-// The list can be filtered by link and ip family.
-func NeighProxyList(linkIndex, family int) ([]Neigh, error) {
-       return pkgHandle.NeighProxyList(linkIndex, family)
-}
-
-// NeighList gets a list of IP-MAC mappings in the system (ARP table).
-// Equivalent to: `ip neighbor show`.
-// The list can be filtered by link and ip family.
-func (h *Handle) NeighList(linkIndex, family int) ([]Neigh, error) {
-       return h.neighList(linkIndex, family, 0)
-}
-
-// NeighProxyList gets a list of neighbor proxies in the system.
-// Equivalent to: `ip neighbor show proxy`.
-// The list can be filtered by link, ip family.
-func (h *Handle) NeighProxyList(linkIndex, family int) ([]Neigh, error) {
-       return h.neighList(linkIndex, family, NTF_PROXY)
-}
-
-func (h *Handle) neighList(linkIndex, family, flags int) ([]Neigh, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETNEIGH, syscall.NLM_F_DUMP)
-       msg := Ndmsg{
-               Family: uint8(family),
-               Index:  uint32(linkIndex),
-               Flags:  uint8(flags),
-       }
-       req.AddData(&msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWNEIGH)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Neigh
-       for _, m := range msgs {
-               ndm := deserializeNdmsg(m)
-               if linkIndex != 0 && int(ndm.Index) != linkIndex {
-                       // Ignore messages from other interfaces
-                       continue
-               }
-
-               neigh, err := NeighDeserialize(m)
-               if err != nil {
-                       continue
-               }
-
-               res = append(res, *neigh)
-       }
-
-       return res, nil
-}
-
-func NeighDeserialize(m []byte) (*Neigh, error) {
-       msg := deserializeNdmsg(m)
-
-       neigh := Neigh{
-               LinkIndex: int(msg.Index),
-               Family:    int(msg.Family),
-               State:     int(msg.State),
-               Type:      int(msg.Type),
-               Flags:     int(msg.Flags),
-       }
-
-       attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-       if err != nil {
-               return nil, err
-       }
-
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case NDA_DST:
-                       neigh.IP = net.IP(attr.Value)
-               case NDA_LLADDR:
-                       neigh.HardwareAddr = net.HardwareAddr(attr.Value)
-               }
-       }
-
-       return &neigh, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/neigh_test.go b/vendor/github.com/vishvananda/netlink/neigh_test.go
deleted file mode 100644 (file)
index 8ad8b32..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "net"
-       "testing"
-)
-
-type arpEntry struct {
-       ip  net.IP
-       mac net.HardwareAddr
-}
-
-type proxyEntry struct {
-       ip  net.IP
-       dev int
-}
-
-func parseMAC(s string) net.HardwareAddr {
-       m, err := net.ParseMAC(s)
-       if err != nil {
-               panic(err)
-       }
-       return m
-}
-
-func dumpContains(dump []Neigh, e arpEntry) bool {
-       for _, n := range dump {
-               if n.IP.Equal(e.ip) && (n.State&NUD_INCOMPLETE) == 0 {
-                       return true
-               }
-       }
-       return false
-}
-
-func dumpContainsProxy(dump []Neigh, p proxyEntry) bool {
-       for _, n := range dump {
-               if n.IP.Equal(p.ip) && (n.LinkIndex == p.dev) && (n.Flags&NTF_PROXY) == NTF_PROXY {
-                       return true
-               }
-       }
-       return false
-}
-
-func TestNeighAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       dummy := Dummy{LinkAttrs{Name: "neigh0"}}
-       if err := LinkAdd(&dummy); err != nil {
-               t.Fatal(err)
-       }
-
-       ensureIndex(dummy.Attrs())
-
-       arpTable := []arpEntry{
-               {net.ParseIP("10.99.0.1"), parseMAC("aa:bb:cc:dd:00:01")},
-               {net.ParseIP("10.99.0.2"), parseMAC("aa:bb:cc:dd:00:02")},
-               {net.ParseIP("10.99.0.3"), parseMAC("aa:bb:cc:dd:00:03")},
-               {net.ParseIP("10.99.0.4"), parseMAC("aa:bb:cc:dd:00:04")},
-               {net.ParseIP("10.99.0.5"), parseMAC("aa:bb:cc:dd:00:05")},
-       }
-
-       // Add the arpTable
-       for _, entry := range arpTable {
-               err := NeighAdd(&Neigh{
-                       LinkIndex:    dummy.Index,
-                       State:        NUD_REACHABLE,
-                       IP:           entry.ip,
-                       HardwareAddr: entry.mac,
-               })
-
-               if err != nil {
-                       t.Errorf("Failed to NeighAdd: %v", err)
-               }
-       }
-
-       // Dump and see that all added entries are there
-       dump, err := NeighList(dummy.Index, 0)
-       if err != nil {
-               t.Errorf("Failed to NeighList: %v", err)
-       }
-
-       for _, entry := range arpTable {
-               if !dumpContains(dump, entry) {
-                       t.Errorf("Dump does not contain: %v", entry)
-               }
-       }
-
-       // Delete the arpTable
-       for _, entry := range arpTable {
-               err := NeighDel(&Neigh{
-                       LinkIndex:    dummy.Index,
-                       IP:           entry.ip,
-                       HardwareAddr: entry.mac,
-               })
-
-               if err != nil {
-                       t.Errorf("Failed to NeighDel: %v", err)
-               }
-       }
-
-       // TODO: seems not working because of cache
-       //// Dump and see that none of deleted entries are there
-       //dump, err = NeighList(dummy.Index, 0)
-       //if err != nil {
-       //t.Errorf("Failed to NeighList: %v", err)
-       //}
-
-       //for _, entry := range arpTable {
-       //if dumpContains(dump, entry) {
-       //t.Errorf("Dump contains: %v", entry)
-       //}
-       //}
-
-       if err := LinkDel(&dummy); err != nil {
-               t.Fatal(err)
-       }
-}
-
-func TestNeighAddDelProxy(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       dummy := Dummy{LinkAttrs{Name: "neigh0"}}
-       if err := LinkAdd(&dummy); err != nil {
-               t.Fatal(err)
-       }
-
-       ensureIndex(dummy.Attrs())
-
-       proxyTable := []proxyEntry{
-               {net.ParseIP("10.99.0.1"), dummy.Index},
-               {net.ParseIP("10.99.0.2"), dummy.Index},
-               {net.ParseIP("10.99.0.3"), dummy.Index},
-               {net.ParseIP("10.99.0.4"), dummy.Index},
-               {net.ParseIP("10.99.0.5"), dummy.Index},
-       }
-
-       // Add the proxyTable
-       for _, entry := range proxyTable {
-               err := NeighAdd(&Neigh{
-                       LinkIndex: dummy.Index,
-                       Flags:     NTF_PROXY,
-                       IP:        entry.ip,
-               })
-
-               if err != nil {
-                       t.Errorf("Failed to NeighAdd: %v", err)
-               }
-       }
-
-       // Dump and see that all added entries are there
-       dump, err := NeighProxyList(dummy.Index, 0)
-       if err != nil {
-               t.Errorf("Failed to NeighList: %v", err)
-       }
-
-       for _, entry := range proxyTable {
-               if !dumpContainsProxy(dump, entry) {
-                       t.Errorf("Dump does not contain: %v", entry)
-               }
-       }
-
-       // Delete the proxyTable
-       for _, entry := range proxyTable {
-               err := NeighDel(&Neigh{
-                       LinkIndex: dummy.Index,
-                       Flags:     NTF_PROXY,
-                       IP:        entry.ip,
-               })
-
-               if err != nil {
-                       t.Errorf("Failed to NeighDel: %v", err)
-               }
-       }
-
-       // Dump and see that none of deleted entries are there
-       dump, err = NeighProxyList(dummy.Index, 0)
-       if err != nil {
-               t.Errorf("Failed to NeighList: %v", err)
-       }
-
-       for _, entry := range proxyTable {
-               if dumpContainsProxy(dump, entry) {
-                       t.Errorf("Dump contains: %v", entry)
-               }
-       }
-
-       if err := LinkDel(&dummy); err != nil {
-               t.Fatal(err)
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/netlink.go b/vendor/github.com/vishvananda/netlink/netlink.go
deleted file mode 100644 (file)
index fb15952..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// Package netlink provides a simple library for netlink. Netlink is
-// the interface a user-space program in linux uses to communicate with
-// the kernel. It can be used to add and remove interfaces, set up ip
-// addresses and routes, and confiugre ipsec. Netlink communication
-// requires elevated privileges, so in most cases this code needs to
-// be run as root. The low level primitives for netlink are contained
-// in the nl subpackage. This package attempts to provide a high-level
-// interface that is loosly modeled on the iproute2 cli.
-package netlink
-
-import (
-       "errors"
-       "net"
-)
-
-var (
-       // ErrNotImplemented is returned when a requested feature is not implemented.
-       ErrNotImplemented = errors.New("not implemented")
-)
-
-// ParseIPNet parses a string in ip/net format and returns a net.IPNet.
-// This is valuable because addresses in netlink are often IPNets and
-// ParseCIDR returns an IPNet with the IP part set to the base IP of the
-// range.
-func ParseIPNet(s string) (*net.IPNet, error) {
-       ip, ipNet, err := net.ParseCIDR(s)
-       if err != nil {
-               return nil, err
-       }
-       return &net.IPNet{IP: ip, Mask: ipNet.Mask}, nil
-}
-
-// NewIPNet generates an IPNet from an ip address using a netmask of 32 or 128.
-func NewIPNet(ip net.IP) *net.IPNet {
-       if ip.To4() != nil {
-               return &net.IPNet{IP: ip, Mask: net.CIDRMask(32, 32)}
-       }
-       return &net.IPNet{IP: ip, Mask: net.CIDRMask(128, 128)}
-}
diff --git a/vendor/github.com/vishvananda/netlink/netlink_linux.go b/vendor/github.com/vishvananda/netlink/netlink_linux.go
deleted file mode 100644 (file)
index a20d293..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package netlink
-
-import "github.com/vishvananda/netlink/nl"
-
-// Family type definitions
-const (
-       FAMILY_ALL  = nl.FAMILY_ALL
-       FAMILY_V4   = nl.FAMILY_V4
-       FAMILY_V6   = nl.FAMILY_V6
-       FAMILY_MPLS = nl.FAMILY_MPLS
-)
diff --git a/vendor/github.com/vishvananda/netlink/netlink_test.go b/vendor/github.com/vishvananda/netlink/netlink_test.go
deleted file mode 100644 (file)
index 5037b7f..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-package netlink
-
-import (
-       "log"
-       "os"
-       "runtime"
-       "testing"
-
-       "github.com/vishvananda/netns"
-)
-
-type tearDownNetlinkTest func()
-
-func skipUnlessRoot(t *testing.T) {
-       if os.Getuid() != 0 {
-               msg := "Skipped test because it requires root privileges."
-               log.Printf(msg)
-               t.Skip(msg)
-       }
-}
-
-func setUpNetlinkTest(t *testing.T) tearDownNetlinkTest {
-       skipUnlessRoot(t)
-
-       // new temporary namespace so we don't pollute the host
-       // lock thread since the namespace is thread local
-       runtime.LockOSThread()
-       var err error
-       ns, err := netns.New()
-       if err != nil {
-               t.Fatal("Failed to create newns", ns)
-       }
-
-       return func() {
-               ns.Close()
-               runtime.UnlockOSThread()
-       }
-}
-
-func setUpMPLSNetlinkTest(t *testing.T) tearDownNetlinkTest {
-       if _, err := os.Stat("/proc/sys/net/mpls/platform_labels"); err != nil {
-               msg := "Skipped test because it requires MPLS support."
-               log.Printf(msg)
-               t.Skip(msg)
-       }
-       f := setUpNetlinkTest(t)
-       setUpF := func(path, value string) {
-               file, err := os.Create(path)
-               defer file.Close()
-               if err != nil {
-                       t.Fatalf("Failed to open %s: %s", path, err)
-               }
-               file.WriteString(value)
-       }
-       setUpF("/proc/sys/net/mpls/platform_labels", "1024")
-       setUpF("/proc/sys/net/mpls/conf/lo/input", "1")
-       return f
-}
diff --git a/vendor/github.com/vishvananda/netlink/netlink_unspecified.go b/vendor/github.com/vishvananda/netlink/netlink_unspecified.go
deleted file mode 100644 (file)
index 2d57c16..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// +build !linux
-
-package netlink
-
-import "net"
-
-func LinkSetUp(link Link) error {
-       return ErrNotImplemented
-}
-
-func LinkSetDown(link Link) error {
-       return ErrNotImplemented
-}
-
-func LinkSetMTU(link Link, mtu int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetMaster(link Link, master *Bridge) error {
-       return ErrNotImplemented
-}
-
-func LinkSetNsPid(link Link, nspid int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetNsFd(link Link, fd int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetName(link Link, name string) error {
-       return ErrNotImplemented
-}
-
-func LinkSetAlias(link Link, name string) error {
-       return ErrNotImplemented
-}
-
-func LinkSetHardwareAddr(link Link, hwaddr net.HardwareAddr) error {
-       return ErrNotImplemented
-}
-
-func LinkSetVfHardwareAddr(link Link, vf int, hwaddr net.HardwareAddr) error {
-       return ErrNotImplemented
-}
-
-func LinkSetVfVlan(link Link, vf, vlan int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetVfTxRate(link Link, vf, rate int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetNoMaster(link Link) error {
-       return ErrNotImplemented
-}
-
-func LinkSetMasterByIndex(link Link, masterIndex int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetXdpFd(link Link, fd int) error {
-       return ErrNotImplemented
-}
-
-func LinkSetARPOff(link Link) error {
-       return ErrNotImplemented
-}
-
-func LinkSetARPOn(link Link) error {
-       return ErrNotImplemented
-}
-
-func LinkByName(name string) (Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func LinkByAlias(alias string) (Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func LinkByIndex(index int) (Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func LinkSetHairpin(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkSetGuard(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkSetFastLeave(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkSetLearning(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkSetRootBlock(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkSetFlood(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkAdd(link Link) error {
-       return ErrNotImplemented
-}
-
-func LinkDel(link Link) error {
-       return ErrNotImplemented
-}
-
-func SetHairpin(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func SetGuard(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func SetFastLeave(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func SetLearning(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func SetRootBlock(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func SetFlood(link Link, mode bool) error {
-       return ErrNotImplemented
-}
-
-func LinkList() ([]Link, error) {
-       return nil, ErrNotImplemented
-}
-
-func AddrAdd(link Link, addr *Addr) error {
-       return ErrNotImplemented
-}
-
-func AddrDel(link Link, addr *Addr) error {
-       return ErrNotImplemented
-}
-
-func AddrList(link Link, family int) ([]Addr, error) {
-       return nil, ErrNotImplemented
-}
-
-func RouteAdd(route *Route) error {
-       return ErrNotImplemented
-}
-
-func RouteDel(route *Route) error {
-       return ErrNotImplemented
-}
-
-func RouteList(link Link, family int) ([]Route, error) {
-       return nil, ErrNotImplemented
-}
-
-func XfrmPolicyAdd(policy *XfrmPolicy) error {
-       return ErrNotImplemented
-}
-
-func XfrmPolicyDel(policy *XfrmPolicy) error {
-       return ErrNotImplemented
-}
-
-func XfrmPolicyList(family int) ([]XfrmPolicy, error) {
-       return nil, ErrNotImplemented
-}
-
-func XfrmStateAdd(policy *XfrmState) error {
-       return ErrNotImplemented
-}
-
-func XfrmStateDel(policy *XfrmState) error {
-       return ErrNotImplemented
-}
-
-func XfrmStateList(family int) ([]XfrmState, error) {
-       return nil, ErrNotImplemented
-}
-
-func NeighAdd(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func NeighSet(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func NeighAppend(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func NeighDel(neigh *Neigh) error {
-       return ErrNotImplemented
-}
-
-func NeighList(linkIndex, family int) ([]Neigh, error) {
-       return nil, ErrNotImplemented
-}
-
-func NeighDeserialize(m []byte) (*Neigh, error) {
-       return nil, ErrNotImplemented
-}
-
-func SocketGet(local, remote net.Addr) (*Socket, error) {
-       return nil, ErrNotImplemented
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/addr_linux.go b/vendor/github.com/vishvananda/netlink/nl/addr_linux.go
deleted file mode 100644 (file)
index fe362e9..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-package nl
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-type IfAddrmsg struct {
-       syscall.IfAddrmsg
-}
-
-func NewIfAddrmsg(family int) *IfAddrmsg {
-       return &IfAddrmsg{
-               IfAddrmsg: syscall.IfAddrmsg{
-                       Family: uint8(family),
-               },
-       }
-}
-
-// struct ifaddrmsg {
-//   __u8    ifa_family;
-//   __u8    ifa_prefixlen;  /* The prefix length    */
-//   __u8    ifa_flags;  /* Flags      */
-//   __u8    ifa_scope;  /* Address scope    */
-//   __u32   ifa_index;  /* Link index     */
-// };
-
-// type IfAddrmsg struct {
-//     Family    uint8
-//     Prefixlen uint8
-//     Flags     uint8
-//     Scope     uint8
-//     Index     uint32
-// }
-// SizeofIfAddrmsg     = 0x8
-
-func DeserializeIfAddrmsg(b []byte) *IfAddrmsg {
-       return (*IfAddrmsg)(unsafe.Pointer(&b[0:syscall.SizeofIfAddrmsg][0]))
-}
-
-func (msg *IfAddrmsg) Serialize() []byte {
-       return (*(*[syscall.SizeofIfAddrmsg]byte)(unsafe.Pointer(msg)))[:]
-}
-
-func (msg *IfAddrmsg) Len() int {
-       return syscall.SizeofIfAddrmsg
-}
-
-// struct ifa_cacheinfo {
-//     __u32   ifa_prefered;
-//     __u32   ifa_valid;
-//     __u32   cstamp; /* created timestamp, hundredths of seconds */
-//     __u32   tstamp; /* updated timestamp, hundredths of seconds */
-// };
-
-const IFA_CACHEINFO = 6
-const SizeofIfaCacheInfo = 0x10
-
-type IfaCacheInfo struct {
-       IfaPrefered uint32
-       IfaValid    uint32
-       Cstamp      uint32
-       Tstamp      uint32
-}
-
-func (msg *IfaCacheInfo) Len() int {
-       return SizeofIfaCacheInfo
-}
-
-func DeserializeIfaCacheInfo(b []byte) *IfaCacheInfo {
-       return (*IfaCacheInfo)(unsafe.Pointer(&b[0:SizeofIfaCacheInfo][0]))
-}
-
-func (msg *IfaCacheInfo) Serialize() []byte {
-       return (*(*[SizeofIfaCacheInfo]byte)(unsafe.Pointer(msg)))[:]
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/addr_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/addr_linux_test.go
deleted file mode 100644 (file)
index 07b0201..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "syscall"
-       "testing"
-)
-
-func (msg *IfAddrmsg) write(b []byte) {
-       native := NativeEndian()
-       b[0] = msg.Family
-       b[1] = msg.Prefixlen
-       b[2] = msg.Flags
-       b[3] = msg.Scope
-       native.PutUint32(b[4:8], msg.Index)
-}
-
-func (msg *IfAddrmsg) serializeSafe() []byte {
-       len := syscall.SizeofIfAddrmsg
-       b := make([]byte, len)
-       msg.write(b)
-       return b
-}
-
-func deserializeIfAddrmsgSafe(b []byte) *IfAddrmsg {
-       var msg = IfAddrmsg{}
-       binary.Read(bytes.NewReader(b[0:syscall.SizeofIfAddrmsg]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestIfAddrmsgDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, syscall.SizeofIfAddrmsg)
-       rand.Read(orig)
-       safemsg := deserializeIfAddrmsgSafe(orig)
-       msg := DeserializeIfAddrmsg(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *IfaCacheInfo) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.IfaPrefered))
-       native.PutUint32(b[4:8], uint32(msg.IfaValid))
-       native.PutUint32(b[8:12], uint32(msg.Cstamp))
-       native.PutUint32(b[12:16], uint32(msg.Tstamp))
-}
-
-func (msg *IfaCacheInfo) serializeSafe() []byte {
-       length := SizeofIfaCacheInfo
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeIfaCacheInfoSafe(b []byte) *IfaCacheInfo {
-       var msg = IfaCacheInfo{}
-       binary.Read(bytes.NewReader(b[0:SizeofIfaCacheInfo]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestIfaCacheInfoDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofIfaCacheInfo)
-       rand.Read(orig)
-       safemsg := deserializeIfaCacheInfoSafe(orig)
-       msg := DeserializeIfaCacheInfo(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go b/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go
deleted file mode 100644 (file)
index 6692b53..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-package nl
-
-import "unsafe"
-
-// Track the message sizes for the correct serialization/deserialization
-const (
-       SizeofNfgenmsg      = 4
-       SizeofNfattr        = 4
-       SizeofNfConntrack   = 376
-       SizeofNfctTupleHead = 52
-)
-
-var L4ProtoMap = map[uint8]string{
-       6:  "tcp",
-       17: "udp",
-}
-
-// All the following constants are coming from:
-// https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter/nfnetlink_conntrack.h
-
-// enum cntl_msg_types {
-//     IPCTNL_MSG_CT_NEW,
-//     IPCTNL_MSG_CT_GET,
-//     IPCTNL_MSG_CT_DELETE,
-//     IPCTNL_MSG_CT_GET_CTRZERO,
-//     IPCTNL_MSG_CT_GET_STATS_CPU,
-//     IPCTNL_MSG_CT_GET_STATS,
-//     IPCTNL_MSG_CT_GET_DYING,
-//     IPCTNL_MSG_CT_GET_UNCONFIRMED,
-//
-//     IPCTNL_MSG_MAX
-// };
-const (
-       IPCTNL_MSG_CT_GET    = 1
-       IPCTNL_MSG_CT_DELETE = 2
-)
-
-// #define NFNETLINK_V0        0
-const (
-       NFNETLINK_V0 = 0
-)
-
-// #define NLA_F_NESTED (1 << 15)
-const (
-       NLA_F_NESTED = (1 << 15)
-)
-
-// enum ctattr_type {
-//     CTA_UNSPEC,
-//     CTA_TUPLE_ORIG,
-//     CTA_TUPLE_REPLY,
-//     CTA_STATUS,
-//     CTA_PROTOINFO,
-//     CTA_HELP,
-//     CTA_NAT_SRC,
-// #define CTA_NAT     CTA_NAT_SRC     /* backwards compatibility */
-//     CTA_TIMEOUT,
-//     CTA_MARK,
-//     CTA_COUNTERS_ORIG,
-//     CTA_COUNTERS_REPLY,
-//     CTA_USE,
-//     CTA_ID,
-//     CTA_NAT_DST,
-//     CTA_TUPLE_MASTER,
-//     CTA_SEQ_ADJ_ORIG,
-//     CTA_NAT_SEQ_ADJ_ORIG    = CTA_SEQ_ADJ_ORIG,
-//     CTA_SEQ_ADJ_REPLY,
-//     CTA_NAT_SEQ_ADJ_REPLY   = CTA_SEQ_ADJ_REPLY,
-//     CTA_SECMARK,            /* obsolete */
-//     CTA_ZONE,
-//     CTA_SECCTX,
-//     CTA_TIMESTAMP,
-//     CTA_MARK_MASK,
-//     CTA_LABELS,
-//     CTA_LABELS_MASK,
-//     __CTA_MAX
-// };
-const (
-       CTA_TUPLE_ORIG  = 1
-       CTA_TUPLE_REPLY = 2
-       CTA_STATUS      = 3
-       CTA_TIMEOUT     = 8
-       CTA_MARK        = 9
-       CTA_PROTOINFO   = 4
-)
-
-// enum ctattr_tuple {
-//     CTA_TUPLE_UNSPEC,
-//     CTA_TUPLE_IP,
-//     CTA_TUPLE_PROTO,
-//     CTA_TUPLE_ZONE,
-//     __CTA_TUPLE_MAX
-// };
-// #define CTA_TUPLE_MAX (__CTA_TUPLE_MAX - 1)
-const (
-       CTA_TUPLE_IP    = 1
-       CTA_TUPLE_PROTO = 2
-)
-
-// enum ctattr_ip {
-//     CTA_IP_UNSPEC,
-//     CTA_IP_V4_SRC,
-//     CTA_IP_V4_DST,
-//     CTA_IP_V6_SRC,
-//     CTA_IP_V6_DST,
-//     __CTA_IP_MAX
-// };
-// #define CTA_IP_MAX (__CTA_IP_MAX - 1)
-const (
-       CTA_IP_V4_SRC = 1
-       CTA_IP_V4_DST = 2
-       CTA_IP_V6_SRC = 3
-       CTA_IP_V6_DST = 4
-)
-
-// enum ctattr_l4proto {
-//     CTA_PROTO_UNSPEC,
-//     CTA_PROTO_NUM,
-//     CTA_PROTO_SRC_PORT,
-//     CTA_PROTO_DST_PORT,
-//     CTA_PROTO_ICMP_ID,
-//     CTA_PROTO_ICMP_TYPE,
-//     CTA_PROTO_ICMP_CODE,
-//     CTA_PROTO_ICMPV6_ID,
-//     CTA_PROTO_ICMPV6_TYPE,
-//     CTA_PROTO_ICMPV6_CODE,
-//     __CTA_PROTO_MAX
-// };
-// #define CTA_PROTO_MAX (__CTA_PROTO_MAX - 1)
-const (
-       CTA_PROTO_NUM      = 1
-       CTA_PROTO_SRC_PORT = 2
-       CTA_PROTO_DST_PORT = 3
-)
-
-// enum ctattr_protoinfo {
-//     CTA_PROTOINFO_UNSPEC,
-//     CTA_PROTOINFO_TCP,
-//     CTA_PROTOINFO_DCCP,
-//     CTA_PROTOINFO_SCTP,
-//     __CTA_PROTOINFO_MAX
-// };
-// #define CTA_PROTOINFO_MAX (__CTA_PROTOINFO_MAX - 1)
-const (
-       CTA_PROTOINFO_TCP = 1
-)
-
-// enum ctattr_protoinfo_tcp {
-//     CTA_PROTOINFO_TCP_UNSPEC,
-//     CTA_PROTOINFO_TCP_STATE,
-//     CTA_PROTOINFO_TCP_WSCALE_ORIGINAL,
-//     CTA_PROTOINFO_TCP_WSCALE_REPLY,
-//     CTA_PROTOINFO_TCP_FLAGS_ORIGINAL,
-//     CTA_PROTOINFO_TCP_FLAGS_REPLY,
-//     __CTA_PROTOINFO_TCP_MAX
-// };
-// #define CTA_PROTOINFO_TCP_MAX (__CTA_PROTOINFO_TCP_MAX - 1)
-const (
-       CTA_PROTOINFO_TCP_STATE           = 1
-       CTA_PROTOINFO_TCP_WSCALE_ORIGINAL = 2
-       CTA_PROTOINFO_TCP_WSCALE_REPLY    = 3
-       CTA_PROTOINFO_TCP_FLAGS_ORIGINAL  = 4
-       CTA_PROTOINFO_TCP_FLAGS_REPLY     = 5
-)
-
-// /* General form of address family dependent message.
-//  */
-// struct nfgenmsg {
-//     __u8  nfgen_family;             /* AF_xxx */
-//     __u8  version;          /* nfnetlink version */
-//     __be16    res_id;               /* resource id */
-// };
-type Nfgenmsg struct {
-       NfgenFamily uint8
-       Version     uint8
-       ResId       uint16 // big endian
-}
-
-func (msg *Nfgenmsg) Len() int {
-       return SizeofNfgenmsg
-}
-
-func DeserializeNfgenmsg(b []byte) *Nfgenmsg {
-       return (*Nfgenmsg)(unsafe.Pointer(&b[0:SizeofNfgenmsg][0]))
-}
-
-func (msg *Nfgenmsg) Serialize() []byte {
-       return (*(*[SizeofNfgenmsg]byte)(unsafe.Pointer(msg)))[:]
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/link_linux.go b/vendor/github.com/vishvananda/netlink/nl/link_linux.go
deleted file mode 100644 (file)
index dd03852..0000000
+++ /dev/null
@@ -1,457 +0,0 @@
-package nl
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-const (
-       DEFAULT_CHANGE = 0xFFFFFFFF
-       // doesn't exist in syscall
-       IFLA_VFINFO_LIST = syscall.IFLA_IFALIAS + 1 + iota
-       IFLA_STATS64
-       IFLA_VF_PORTS
-       IFLA_PORT_SELF
-       IFLA_AF_SPEC
-       IFLA_GROUP
-       IFLA_NET_NS_FD
-       IFLA_EXT_MASK
-       IFLA_PROMISCUITY
-       IFLA_NUM_TX_QUEUES
-       IFLA_NUM_RX_QUEUES
-       IFLA_CARRIER
-       IFLA_PHYS_PORT_ID
-       IFLA_CARRIER_CHANGES
-       IFLA_PHYS_SWITCH_ID
-       IFLA_LINK_NETNSID
-       IFLA_PHYS_PORT_NAME
-       IFLA_PROTO_DOWN
-       IFLA_GSO_MAX_SEGS
-       IFLA_GSO_MAX_SIZE
-       IFLA_PAD
-       IFLA_XDP
-)
-
-const (
-       IFLA_INFO_UNSPEC = iota
-       IFLA_INFO_KIND
-       IFLA_INFO_DATA
-       IFLA_INFO_XSTATS
-       IFLA_INFO_MAX = IFLA_INFO_XSTATS
-)
-
-const (
-       IFLA_VLAN_UNSPEC = iota
-       IFLA_VLAN_ID
-       IFLA_VLAN_FLAGS
-       IFLA_VLAN_EGRESS_QOS
-       IFLA_VLAN_INGRESS_QOS
-       IFLA_VLAN_PROTOCOL
-       IFLA_VLAN_MAX = IFLA_VLAN_PROTOCOL
-)
-
-const (
-       VETH_INFO_UNSPEC = iota
-       VETH_INFO_PEER
-       VETH_INFO_MAX = VETH_INFO_PEER
-)
-
-const (
-       IFLA_VXLAN_UNSPEC = iota
-       IFLA_VXLAN_ID
-       IFLA_VXLAN_GROUP
-       IFLA_VXLAN_LINK
-       IFLA_VXLAN_LOCAL
-       IFLA_VXLAN_TTL
-       IFLA_VXLAN_TOS
-       IFLA_VXLAN_LEARNING
-       IFLA_VXLAN_AGEING
-       IFLA_VXLAN_LIMIT
-       IFLA_VXLAN_PORT_RANGE
-       IFLA_VXLAN_PROXY
-       IFLA_VXLAN_RSC
-       IFLA_VXLAN_L2MISS
-       IFLA_VXLAN_L3MISS
-       IFLA_VXLAN_PORT
-       IFLA_VXLAN_GROUP6
-       IFLA_VXLAN_LOCAL6
-       IFLA_VXLAN_UDP_CSUM
-       IFLA_VXLAN_UDP_ZERO_CSUM6_TX
-       IFLA_VXLAN_UDP_ZERO_CSUM6_RX
-       IFLA_VXLAN_REMCSUM_TX
-       IFLA_VXLAN_REMCSUM_RX
-       IFLA_VXLAN_GBP
-       IFLA_VXLAN_REMCSUM_NOPARTIAL
-       IFLA_VXLAN_FLOWBASED
-       IFLA_VXLAN_MAX = IFLA_VXLAN_FLOWBASED
-)
-
-const (
-       BRIDGE_MODE_UNSPEC = iota
-       BRIDGE_MODE_HAIRPIN
-)
-
-const (
-       IFLA_BRPORT_UNSPEC = iota
-       IFLA_BRPORT_STATE
-       IFLA_BRPORT_PRIORITY
-       IFLA_BRPORT_COST
-       IFLA_BRPORT_MODE
-       IFLA_BRPORT_GUARD
-       IFLA_BRPORT_PROTECT
-       IFLA_BRPORT_FAST_LEAVE
-       IFLA_BRPORT_LEARNING
-       IFLA_BRPORT_UNICAST_FLOOD
-       IFLA_BRPORT_PROXYARP
-       IFLA_BRPORT_LEARNING_SYNC
-       IFLA_BRPORT_PROXYARP_WIFI
-       IFLA_BRPORT_MAX = IFLA_BRPORT_PROXYARP_WIFI
-)
-
-const (
-       IFLA_IPVLAN_UNSPEC = iota
-       IFLA_IPVLAN_MODE
-       IFLA_IPVLAN_MAX = IFLA_IPVLAN_MODE
-)
-
-const (
-       IFLA_MACVLAN_UNSPEC = iota
-       IFLA_MACVLAN_MODE
-       IFLA_MACVLAN_FLAGS
-       IFLA_MACVLAN_MAX = IFLA_MACVLAN_FLAGS
-)
-
-const (
-       MACVLAN_MODE_PRIVATE  = 1
-       MACVLAN_MODE_VEPA     = 2
-       MACVLAN_MODE_BRIDGE   = 4
-       MACVLAN_MODE_PASSTHRU = 8
-       MACVLAN_MODE_SOURCE   = 16
-)
-
-const (
-       IFLA_BOND_UNSPEC = iota
-       IFLA_BOND_MODE
-       IFLA_BOND_ACTIVE_SLAVE
-       IFLA_BOND_MIIMON
-       IFLA_BOND_UPDELAY
-       IFLA_BOND_DOWNDELAY
-       IFLA_BOND_USE_CARRIER
-       IFLA_BOND_ARP_INTERVAL
-       IFLA_BOND_ARP_IP_TARGET
-       IFLA_BOND_ARP_VALIDATE
-       IFLA_BOND_ARP_ALL_TARGETS
-       IFLA_BOND_PRIMARY
-       IFLA_BOND_PRIMARY_RESELECT
-       IFLA_BOND_FAIL_OVER_MAC
-       IFLA_BOND_XMIT_HASH_POLICY
-       IFLA_BOND_RESEND_IGMP
-       IFLA_BOND_NUM_PEER_NOTIF
-       IFLA_BOND_ALL_SLAVES_ACTIVE
-       IFLA_BOND_MIN_LINKS
-       IFLA_BOND_LP_INTERVAL
-       IFLA_BOND_PACKETS_PER_SLAVE
-       IFLA_BOND_AD_LACP_RATE
-       IFLA_BOND_AD_SELECT
-       IFLA_BOND_AD_INFO
-)
-
-const (
-       IFLA_BOND_AD_INFO_UNSPEC = iota
-       IFLA_BOND_AD_INFO_AGGREGATOR
-       IFLA_BOND_AD_INFO_NUM_PORTS
-       IFLA_BOND_AD_INFO_ACTOR_KEY
-       IFLA_BOND_AD_INFO_PARTNER_KEY
-       IFLA_BOND_AD_INFO_PARTNER_MAC
-)
-
-const (
-       IFLA_BOND_SLAVE_UNSPEC = iota
-       IFLA_BOND_SLAVE_STATE
-       IFLA_BOND_SLAVE_MII_STATUS
-       IFLA_BOND_SLAVE_LINK_FAILURE_COUNT
-       IFLA_BOND_SLAVE_PERM_HWADDR
-       IFLA_BOND_SLAVE_QUEUE_ID
-       IFLA_BOND_SLAVE_AD_AGGREGATOR_ID
-)
-
-const (
-       IFLA_GRE_UNSPEC = iota
-       IFLA_GRE_LINK
-       IFLA_GRE_IFLAGS
-       IFLA_GRE_OFLAGS
-       IFLA_GRE_IKEY
-       IFLA_GRE_OKEY
-       IFLA_GRE_LOCAL
-       IFLA_GRE_REMOTE
-       IFLA_GRE_TTL
-       IFLA_GRE_TOS
-       IFLA_GRE_PMTUDISC
-       IFLA_GRE_ENCAP_LIMIT
-       IFLA_GRE_FLOWINFO
-       IFLA_GRE_FLAGS
-       IFLA_GRE_ENCAP_TYPE
-       IFLA_GRE_ENCAP_FLAGS
-       IFLA_GRE_ENCAP_SPORT
-       IFLA_GRE_ENCAP_DPORT
-       IFLA_GRE_COLLECT_METADATA
-       IFLA_GRE_MAX = IFLA_GRE_COLLECT_METADATA
-)
-
-const (
-       GRE_CSUM    = 0x8000
-       GRE_ROUTING = 0x4000
-       GRE_KEY     = 0x2000
-       GRE_SEQ     = 0x1000
-       GRE_STRICT  = 0x0800
-       GRE_REC     = 0x0700
-       GRE_FLAGS   = 0x00F8
-       GRE_VERSION = 0x0007
-)
-
-const (
-       IFLA_VF_INFO_UNSPEC = iota
-       IFLA_VF_INFO
-       IFLA_VF_INFO_MAX = IFLA_VF_INFO
-)
-
-const (
-       IFLA_VF_UNSPEC = iota
-       IFLA_VF_MAC    /* Hardware queue specific attributes */
-       IFLA_VF_VLAN
-       IFLA_VF_TX_RATE      /* Max TX Bandwidth Allocation */
-       IFLA_VF_SPOOFCHK     /* Spoof Checking on/off switch */
-       IFLA_VF_LINK_STATE   /* link state enable/disable/auto switch */
-       IFLA_VF_RATE         /* Min and Max TX Bandwidth Allocation */
-       IFLA_VF_RSS_QUERY_EN /* RSS Redirection Table and Hash Key query
-        * on/off switch
-        */
-       IFLA_VF_STATS /* network device statistics */
-       IFLA_VF_MAX   = IFLA_VF_STATS
-)
-
-const (
-       IFLA_VF_LINK_STATE_AUTO    = iota /* link state of the uplink */
-       IFLA_VF_LINK_STATE_ENABLE         /* link always up */
-       IFLA_VF_LINK_STATE_DISABLE        /* link always down */
-       IFLA_VF_LINK_STATE_MAX     = IFLA_VF_LINK_STATE_DISABLE
-)
-
-const (
-       IFLA_VF_STATS_RX_PACKETS = iota
-       IFLA_VF_STATS_TX_PACKETS
-       IFLA_VF_STATS_RX_BYTES
-       IFLA_VF_STATS_TX_BYTES
-       IFLA_VF_STATS_BROADCAST
-       IFLA_VF_STATS_MULTICAST
-       IFLA_VF_STATS_MAX = IFLA_VF_STATS_MULTICAST
-)
-
-const (
-       SizeofVfMac        = 0x24
-       SizeofVfVlan       = 0x0c
-       SizeofVfTxRate     = 0x08
-       SizeofVfRate       = 0x0c
-       SizeofVfSpoofchk   = 0x08
-       SizeofVfLinkState  = 0x08
-       SizeofVfRssQueryEn = 0x08
-)
-
-// struct ifla_vf_mac {
-//   __u32 vf;
-//   __u8 mac[32]; /* MAX_ADDR_LEN */
-// };
-
-type VfMac struct {
-       Vf  uint32
-       Mac [32]byte
-}
-
-func (msg *VfMac) Len() int {
-       return SizeofVfMac
-}
-
-func DeserializeVfMac(b []byte) *VfMac {
-       return (*VfMac)(unsafe.Pointer(&b[0:SizeofVfMac][0]))
-}
-
-func (msg *VfMac) Serialize() []byte {
-       return (*(*[SizeofVfMac]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct ifla_vf_vlan {
-//   __u32 vf;
-//   __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */
-//   __u32 qos;
-// };
-
-type VfVlan struct {
-       Vf   uint32
-       Vlan uint32
-       Qos  uint32
-}
-
-func (msg *VfVlan) Len() int {
-       return SizeofVfVlan
-}
-
-func DeserializeVfVlan(b []byte) *VfVlan {
-       return (*VfVlan)(unsafe.Pointer(&b[0:SizeofVfVlan][0]))
-}
-
-func (msg *VfVlan) Serialize() []byte {
-       return (*(*[SizeofVfVlan]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct ifla_vf_tx_rate {
-//   __u32 vf;
-//   __u32 rate; /* Max TX bandwidth in Mbps, 0 disables throttling */
-// };
-
-type VfTxRate struct {
-       Vf   uint32
-       Rate uint32
-}
-
-func (msg *VfTxRate) Len() int {
-       return SizeofVfTxRate
-}
-
-func DeserializeVfTxRate(b []byte) *VfTxRate {
-       return (*VfTxRate)(unsafe.Pointer(&b[0:SizeofVfTxRate][0]))
-}
-
-func (msg *VfTxRate) Serialize() []byte {
-       return (*(*[SizeofVfTxRate]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct ifla_vf_rate {
-//   __u32 vf;
-//   __u32 min_tx_rate; /* Min Bandwidth in Mbps */
-//   __u32 max_tx_rate; /* Max Bandwidth in Mbps */
-// };
-
-type VfRate struct {
-       Vf        uint32
-       MinTxRate uint32
-       MaxTxRate uint32
-}
-
-func (msg *VfRate) Len() int {
-       return SizeofVfRate
-}
-
-func DeserializeVfRate(b []byte) *VfRate {
-       return (*VfRate)(unsafe.Pointer(&b[0:SizeofVfRate][0]))
-}
-
-func (msg *VfRate) Serialize() []byte {
-       return (*(*[SizeofVfRate]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct ifla_vf_spoofchk {
-//   __u32 vf;
-//   __u32 setting;
-// };
-
-type VfSpoofchk struct {
-       Vf      uint32
-       Setting uint32
-}
-
-func (msg *VfSpoofchk) Len() int {
-       return SizeofVfSpoofchk
-}
-
-func DeserializeVfSpoofchk(b []byte) *VfSpoofchk {
-       return (*VfSpoofchk)(unsafe.Pointer(&b[0:SizeofVfSpoofchk][0]))
-}
-
-func (msg *VfSpoofchk) Serialize() []byte {
-       return (*(*[SizeofVfSpoofchk]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct ifla_vf_link_state {
-//   __u32 vf;
-//   __u32 link_state;
-// };
-
-type VfLinkState struct {
-       Vf        uint32
-       LinkState uint32
-}
-
-func (msg *VfLinkState) Len() int {
-       return SizeofVfLinkState
-}
-
-func DeserializeVfLinkState(b []byte) *VfLinkState {
-       return (*VfLinkState)(unsafe.Pointer(&b[0:SizeofVfLinkState][0]))
-}
-
-func (msg *VfLinkState) Serialize() []byte {
-       return (*(*[SizeofVfLinkState]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct ifla_vf_rss_query_en {
-//   __u32 vf;
-//   __u32 setting;
-// };
-
-type VfRssQueryEn struct {
-       Vf      uint32
-       Setting uint32
-}
-
-func (msg *VfRssQueryEn) Len() int {
-       return SizeofVfRssQueryEn
-}
-
-func DeserializeVfRssQueryEn(b []byte) *VfRssQueryEn {
-       return (*VfRssQueryEn)(unsafe.Pointer(&b[0:SizeofVfRssQueryEn][0]))
-}
-
-func (msg *VfRssQueryEn) Serialize() []byte {
-       return (*(*[SizeofVfRssQueryEn]byte)(unsafe.Pointer(msg)))[:]
-}
-
-const (
-       IFLA_XDP_UNSPEC   = iota
-       IFLA_XDP_FD       /* fd of xdp program to attach, or -1 to remove */
-       IFLA_XDP_ATTACHED /* read-only bool indicating if prog is attached */
-       IFLA_XDP_MAX      = IFLA_XDP_ATTACHED
-)
-
-const (
-       IFLA_IPTUN_UNSPEC = iota
-       IFLA_IPTUN_LINK
-       IFLA_IPTUN_LOCAL
-       IFLA_IPTUN_REMOTE
-       IFLA_IPTUN_TTL
-       IFLA_IPTUN_TOS
-       IFLA_IPTUN_ENCAP_LIMIT
-       IFLA_IPTUN_FLOWINFO
-       IFLA_IPTUN_FLAGS
-       IFLA_IPTUN_PROTO
-       IFLA_IPTUN_PMTUDISC
-       IFLA_IPTUN_6RD_PREFIX
-       IFLA_IPTUN_6RD_RELAY_PREFIX
-       IFLA_IPTUN_6RD_PREFIXLEN
-       IFLA_IPTUN_6RD_RELAY_PREFIXLEN
-       IFLA_IPTUN_MAX = IFLA_IPTUN_6RD_RELAY_PREFIXLEN
-)
-
-const (
-       IFLA_VTI_UNSPEC = iota
-       IFLA_VTI_LINK
-       IFLA_VTI_IKEY
-       IFLA_VTI_OKEY
-       IFLA_VTI_LOCAL
-       IFLA_VTI_REMOTE
-       IFLA_VTI_MAX = IFLA_VTI_REMOTE
-)
-
-const (
-       IFLA_VRF_UNSPEC = iota
-       IFLA_VRF_TABLE
-)
diff --git a/vendor/github.com/vishvananda/netlink/nl/link_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/link_linux_test.go
deleted file mode 100644 (file)
index ec8dff0..0000000
+++ /dev/null
@@ -1,199 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "testing"
-)
-
-func (msg *VfMac) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       copy(b[4:36], msg.Mac[:])
-}
-
-func (msg *VfMac) serializeSafe() []byte {
-       length := SizeofVfMac
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfMacSafe(b []byte) *VfMac {
-       var msg = VfMac{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfMac]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfMacDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfMac)
-       rand.Read(orig)
-       safemsg := deserializeVfMacSafe(orig)
-       msg := DeserializeVfMac(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *VfVlan) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       native.PutUint32(b[4:8], uint32(msg.Vlan))
-       native.PutUint32(b[8:12], uint32(msg.Qos))
-}
-
-func (msg *VfVlan) serializeSafe() []byte {
-       length := SizeofVfVlan
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfVlanSafe(b []byte) *VfVlan {
-       var msg = VfVlan{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfVlan]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfVlanDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfVlan)
-       rand.Read(orig)
-       safemsg := deserializeVfVlanSafe(orig)
-       msg := DeserializeVfVlan(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *VfTxRate) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       native.PutUint32(b[4:8], uint32(msg.Rate))
-}
-
-func (msg *VfTxRate) serializeSafe() []byte {
-       length := SizeofVfTxRate
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfTxRateSafe(b []byte) *VfTxRate {
-       var msg = VfTxRate{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfTxRate]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfTxRateDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfTxRate)
-       rand.Read(orig)
-       safemsg := deserializeVfTxRateSafe(orig)
-       msg := DeserializeVfTxRate(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *VfRate) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       native.PutUint32(b[4:8], uint32(msg.MinTxRate))
-       native.PutUint32(b[8:12], uint32(msg.MaxTxRate))
-}
-
-func (msg *VfRate) serializeSafe() []byte {
-       length := SizeofVfRate
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfRateSafe(b []byte) *VfRate {
-       var msg = VfRate{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfRate]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfRateDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfRate)
-       rand.Read(orig)
-       safemsg := deserializeVfRateSafe(orig)
-       msg := DeserializeVfRate(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *VfSpoofchk) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       native.PutUint32(b[4:8], uint32(msg.Setting))
-}
-
-func (msg *VfSpoofchk) serializeSafe() []byte {
-       length := SizeofVfSpoofchk
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfSpoofchkSafe(b []byte) *VfSpoofchk {
-       var msg = VfSpoofchk{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfSpoofchk]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfSpoofchkDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfSpoofchk)
-       rand.Read(orig)
-       safemsg := deserializeVfSpoofchkSafe(orig)
-       msg := DeserializeVfSpoofchk(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *VfLinkState) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       native.PutUint32(b[4:8], uint32(msg.LinkState))
-}
-
-func (msg *VfLinkState) serializeSafe() []byte {
-       length := SizeofVfLinkState
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfLinkStateSafe(b []byte) *VfLinkState {
-       var msg = VfLinkState{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfLinkState]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfLinkStateDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfLinkState)
-       rand.Read(orig)
-       safemsg := deserializeVfLinkStateSafe(orig)
-       msg := DeserializeVfLinkState(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *VfRssQueryEn) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], uint32(msg.Vf))
-       native.PutUint32(b[4:8], uint32(msg.Setting))
-}
-
-func (msg *VfRssQueryEn) serializeSafe() []byte {
-       length := SizeofVfRssQueryEn
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeVfRssQueryEnSafe(b []byte) *VfRssQueryEn {
-       var msg = VfRssQueryEn{}
-       binary.Read(bytes.NewReader(b[0:SizeofVfRssQueryEn]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestVfRssQueryEnDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofVfRssQueryEn)
-       rand.Read(orig)
-       safemsg := deserializeVfRssQueryEnSafe(orig)
-       msg := DeserializeVfRssQueryEn(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/mpls_linux.go b/vendor/github.com/vishvananda/netlink/nl/mpls_linux.go
deleted file mode 100644 (file)
index 3915b7e..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-package nl
-
-import "encoding/binary"
-
-const (
-       MPLS_LS_LABEL_SHIFT = 12
-       MPLS_LS_S_SHIFT     = 8
-)
-
-func EncodeMPLSStack(labels ...int) []byte {
-       b := make([]byte, 4*len(labels))
-       for idx, label := range labels {
-               l := label << MPLS_LS_LABEL_SHIFT
-               if idx == len(labels)-1 {
-                       l |= 1 << MPLS_LS_S_SHIFT
-               }
-               binary.BigEndian.PutUint32(b[idx*4:], uint32(l))
-       }
-       return b
-}
-
-func DecodeMPLSStack(buf []byte) []int {
-       if len(buf)%4 != 0 {
-               return nil
-       }
-       stack := make([]int, 0, len(buf)/4)
-       for len(buf) > 0 {
-               l := binary.BigEndian.Uint32(buf[:4])
-               buf = buf[4:]
-               stack = append(stack, int(l)>>MPLS_LS_LABEL_SHIFT)
-               if (l>>MPLS_LS_S_SHIFT)&1 > 0 {
-                       break
-               }
-       }
-       return stack
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/nl_linux.go b/vendor/github.com/vishvananda/netlink/nl/nl_linux.go
deleted file mode 100644 (file)
index 5820e84..0000000
+++ /dev/null
@@ -1,715 +0,0 @@
-// Package nl has low level primitives for making Netlink calls.
-package nl
-
-import (
-       "bytes"
-       "encoding/binary"
-       "fmt"
-       "net"
-       "runtime"
-       "sync"
-       "sync/atomic"
-       "syscall"
-       "unsafe"
-
-       "github.com/vishvananda/netns"
-)
-
-const (
-       // Family type definitions
-       FAMILY_ALL  = syscall.AF_UNSPEC
-       FAMILY_V4   = syscall.AF_INET
-       FAMILY_V6   = syscall.AF_INET6
-       FAMILY_MPLS = AF_MPLS
-)
-
-// SupportedNlFamilies contains the list of netlink families this netlink package supports
-var SupportedNlFamilies = []int{syscall.NETLINK_ROUTE, syscall.NETLINK_XFRM, syscall.NETLINK_NETFILTER}
-
-var nextSeqNr uint32
-
-// GetIPFamily returns the family type of a net.IP.
-func GetIPFamily(ip net.IP) int {
-       if len(ip) <= net.IPv4len {
-               return FAMILY_V4
-       }
-       if ip.To4() != nil {
-               return FAMILY_V4
-       }
-       return FAMILY_V6
-}
-
-var nativeEndian binary.ByteOrder
-
-// Get native endianness for the system
-func NativeEndian() binary.ByteOrder {
-       if nativeEndian == nil {
-               var x uint32 = 0x01020304
-               if *(*byte)(unsafe.Pointer(&x)) == 0x01 {
-                       nativeEndian = binary.BigEndian
-               } else {
-                       nativeEndian = binary.LittleEndian
-               }
-       }
-       return nativeEndian
-}
-
-// Byte swap a 16 bit value if we aren't big endian
-func Swap16(i uint16) uint16 {
-       if NativeEndian() == binary.BigEndian {
-               return i
-       }
-       return (i&0xff00)>>8 | (i&0xff)<<8
-}
-
-// Byte swap a 32 bit value if aren't big endian
-func Swap32(i uint32) uint32 {
-       if NativeEndian() == binary.BigEndian {
-               return i
-       }
-       return (i&0xff000000)>>24 | (i&0xff0000)>>8 | (i&0xff00)<<8 | (i&0xff)<<24
-}
-
-type NetlinkRequestData interface {
-       Len() int
-       Serialize() []byte
-}
-
-// IfInfomsg is related to links, but it is used for list requests as well
-type IfInfomsg struct {
-       syscall.IfInfomsg
-}
-
-// Create an IfInfomsg with family specified
-func NewIfInfomsg(family int) *IfInfomsg {
-       return &IfInfomsg{
-               IfInfomsg: syscall.IfInfomsg{
-                       Family: uint8(family),
-               },
-       }
-}
-
-func DeserializeIfInfomsg(b []byte) *IfInfomsg {
-       return (*IfInfomsg)(unsafe.Pointer(&b[0:syscall.SizeofIfInfomsg][0]))
-}
-
-func (msg *IfInfomsg) Serialize() []byte {
-       return (*(*[syscall.SizeofIfInfomsg]byte)(unsafe.Pointer(msg)))[:]
-}
-
-func (msg *IfInfomsg) Len() int {
-       return syscall.SizeofIfInfomsg
-}
-
-func (msg *IfInfomsg) EncapType() string {
-       switch msg.Type {
-       case 0:
-               return "generic"
-       case syscall.ARPHRD_ETHER:
-               return "ether"
-       case syscall.ARPHRD_EETHER:
-               return "eether"
-       case syscall.ARPHRD_AX25:
-               return "ax25"
-       case syscall.ARPHRD_PRONET:
-               return "pronet"
-       case syscall.ARPHRD_CHAOS:
-               return "chaos"
-       case syscall.ARPHRD_IEEE802:
-               return "ieee802"
-       case syscall.ARPHRD_ARCNET:
-               return "arcnet"
-       case syscall.ARPHRD_APPLETLK:
-               return "atalk"
-       case syscall.ARPHRD_DLCI:
-               return "dlci"
-       case syscall.ARPHRD_ATM:
-               return "atm"
-       case syscall.ARPHRD_METRICOM:
-               return "metricom"
-       case syscall.ARPHRD_IEEE1394:
-               return "ieee1394"
-       case syscall.ARPHRD_INFINIBAND:
-               return "infiniband"
-       case syscall.ARPHRD_SLIP:
-               return "slip"
-       case syscall.ARPHRD_CSLIP:
-               return "cslip"
-       case syscall.ARPHRD_SLIP6:
-               return "slip6"
-       case syscall.ARPHRD_CSLIP6:
-               return "cslip6"
-       case syscall.ARPHRD_RSRVD:
-               return "rsrvd"
-       case syscall.ARPHRD_ADAPT:
-               return "adapt"
-       case syscall.ARPHRD_ROSE:
-               return "rose"
-       case syscall.ARPHRD_X25:
-               return "x25"
-       case syscall.ARPHRD_HWX25:
-               return "hwx25"
-       case syscall.ARPHRD_PPP:
-               return "ppp"
-       case syscall.ARPHRD_HDLC:
-               return "hdlc"
-       case syscall.ARPHRD_LAPB:
-               return "lapb"
-       case syscall.ARPHRD_DDCMP:
-               return "ddcmp"
-       case syscall.ARPHRD_RAWHDLC:
-               return "rawhdlc"
-       case syscall.ARPHRD_TUNNEL:
-               return "ipip"
-       case syscall.ARPHRD_TUNNEL6:
-               return "tunnel6"
-       case syscall.ARPHRD_FRAD:
-               return "frad"
-       case syscall.ARPHRD_SKIP:
-               return "skip"
-       case syscall.ARPHRD_LOOPBACK:
-               return "loopback"
-       case syscall.ARPHRD_LOCALTLK:
-               return "ltalk"
-       case syscall.ARPHRD_FDDI:
-               return "fddi"
-       case syscall.ARPHRD_BIF:
-               return "bif"
-       case syscall.ARPHRD_SIT:
-               return "sit"
-       case syscall.ARPHRD_IPDDP:
-               return "ip/ddp"
-       case syscall.ARPHRD_IPGRE:
-               return "gre"
-       case syscall.ARPHRD_PIMREG:
-               return "pimreg"
-       case syscall.ARPHRD_HIPPI:
-               return "hippi"
-       case syscall.ARPHRD_ASH:
-               return "ash"
-       case syscall.ARPHRD_ECONET:
-               return "econet"
-       case syscall.ARPHRD_IRDA:
-               return "irda"
-       case syscall.ARPHRD_FCPP:
-               return "fcpp"
-       case syscall.ARPHRD_FCAL:
-               return "fcal"
-       case syscall.ARPHRD_FCPL:
-               return "fcpl"
-       case syscall.ARPHRD_FCFABRIC:
-               return "fcfb0"
-       case syscall.ARPHRD_FCFABRIC + 1:
-               return "fcfb1"
-       case syscall.ARPHRD_FCFABRIC + 2:
-               return "fcfb2"
-       case syscall.ARPHRD_FCFABRIC + 3:
-               return "fcfb3"
-       case syscall.ARPHRD_FCFABRIC + 4:
-               return "fcfb4"
-       case syscall.ARPHRD_FCFABRIC + 5:
-               return "fcfb5"
-       case syscall.ARPHRD_FCFABRIC + 6:
-               return "fcfb6"
-       case syscall.ARPHRD_FCFABRIC + 7:
-               return "fcfb7"
-       case syscall.ARPHRD_FCFABRIC + 8:
-               return "fcfb8"
-       case syscall.ARPHRD_FCFABRIC + 9:
-               return "fcfb9"
-       case syscall.ARPHRD_FCFABRIC + 10:
-               return "fcfb10"
-       case syscall.ARPHRD_FCFABRIC + 11:
-               return "fcfb11"
-       case syscall.ARPHRD_FCFABRIC + 12:
-               return "fcfb12"
-       case syscall.ARPHRD_IEEE802_TR:
-               return "tr"
-       case syscall.ARPHRD_IEEE80211:
-               return "ieee802.11"
-       case syscall.ARPHRD_IEEE80211_PRISM:
-               return "ieee802.11/prism"
-       case syscall.ARPHRD_IEEE80211_RADIOTAP:
-               return "ieee802.11/radiotap"
-       case syscall.ARPHRD_IEEE802154:
-               return "ieee802.15.4"
-
-       case 65534:
-               return "none"
-       case 65535:
-               return "void"
-       }
-       return fmt.Sprintf("unknown%d", msg.Type)
-}
-
-func rtaAlignOf(attrlen int) int {
-       return (attrlen + syscall.RTA_ALIGNTO - 1) & ^(syscall.RTA_ALIGNTO - 1)
-}
-
-func NewIfInfomsgChild(parent *RtAttr, family int) *IfInfomsg {
-       msg := NewIfInfomsg(family)
-       parent.children = append(parent.children, msg)
-       return msg
-}
-
-// Extend RtAttr to handle data and children
-type RtAttr struct {
-       syscall.RtAttr
-       Data     []byte
-       children []NetlinkRequestData
-}
-
-// Create a new Extended RtAttr object
-func NewRtAttr(attrType int, data []byte) *RtAttr {
-       return &RtAttr{
-               RtAttr: syscall.RtAttr{
-                       Type: uint16(attrType),
-               },
-               children: []NetlinkRequestData{},
-               Data:     data,
-       }
-}
-
-// Create a new RtAttr obj anc add it as a child of an existing object
-func NewRtAttrChild(parent *RtAttr, attrType int, data []byte) *RtAttr {
-       attr := NewRtAttr(attrType, data)
-       parent.children = append(parent.children, attr)
-       return attr
-}
-
-func (a *RtAttr) Len() int {
-       if len(a.children) == 0 {
-               return (syscall.SizeofRtAttr + len(a.Data))
-       }
-
-       l := 0
-       for _, child := range a.children {
-               l += rtaAlignOf(child.Len())
-       }
-       l += syscall.SizeofRtAttr
-       return rtaAlignOf(l + len(a.Data))
-}
-
-// Serialize the RtAttr into a byte array
-// This can't just unsafe.cast because it must iterate through children.
-func (a *RtAttr) Serialize() []byte {
-       native := NativeEndian()
-
-       length := a.Len()
-       buf := make([]byte, rtaAlignOf(length))
-
-       next := 4
-       if a.Data != nil {
-               copy(buf[next:], a.Data)
-               next += rtaAlignOf(len(a.Data))
-       }
-       if len(a.children) > 0 {
-               for _, child := range a.children {
-                       childBuf := child.Serialize()
-                       copy(buf[next:], childBuf)
-                       next += rtaAlignOf(len(childBuf))
-               }
-       }
-
-       if l := uint16(length); l != 0 {
-               native.PutUint16(buf[0:2], l)
-       }
-       native.PutUint16(buf[2:4], a.Type)
-       return buf
-}
-
-type NetlinkRequest struct {
-       syscall.NlMsghdr
-       Data    []NetlinkRequestData
-       RawData []byte
-       Sockets map[int]*SocketHandle
-}
-
-// Serialize the Netlink Request into a byte array
-func (req *NetlinkRequest) Serialize() []byte {
-       length := syscall.SizeofNlMsghdr
-       dataBytes := make([][]byte, len(req.Data))
-       for i, data := range req.Data {
-               dataBytes[i] = data.Serialize()
-               length = length + len(dataBytes[i])
-       }
-       length += len(req.RawData)
-
-       req.Len = uint32(length)
-       b := make([]byte, length)
-       hdr := (*(*[syscall.SizeofNlMsghdr]byte)(unsafe.Pointer(req)))[:]
-       next := syscall.SizeofNlMsghdr
-       copy(b[0:next], hdr)
-       for _, data := range dataBytes {
-               for _, dataByte := range data {
-                       b[next] = dataByte
-                       next = next + 1
-               }
-       }
-       // Add the raw data if any
-       if len(req.RawData) > 0 {
-               copy(b[next:length], req.RawData)
-       }
-       return b
-}
-
-func (req *NetlinkRequest) AddData(data NetlinkRequestData) {
-       if data != nil {
-               req.Data = append(req.Data, data)
-       }
-}
-
-// AddRawData adds raw bytes to the end of the NetlinkRequest object during serialization
-func (req *NetlinkRequest) AddRawData(data []byte) {
-       if data != nil {
-               req.RawData = append(req.RawData, data...)
-       }
-}
-
-// Execute the request against a the given sockType.
-// Returns a list of netlink messages in serialized format, optionally filtered
-// by resType.
-func (req *NetlinkRequest) Execute(sockType int, resType uint16) ([][]byte, error) {
-       var (
-               s   *NetlinkSocket
-               err error
-       )
-
-       if req.Sockets != nil {
-               if sh, ok := req.Sockets[sockType]; ok {
-                       s = sh.Socket
-                       req.Seq = atomic.AddUint32(&sh.Seq, 1)
-               }
-       }
-       sharedSocket := s != nil
-
-       if s == nil {
-               s, err = getNetlinkSocket(sockType)
-               if err != nil {
-                       return nil, err
-               }
-               defer s.Close()
-       } else {
-               s.Lock()
-               defer s.Unlock()
-       }
-
-       if err := s.Send(req); err != nil {
-               return nil, err
-       }
-
-       pid, err := s.GetPid()
-       if err != nil {
-               return nil, err
-       }
-
-       var res [][]byte
-
-done:
-       for {
-               msgs, err := s.Receive()
-               if err != nil {
-                       return nil, err
-               }
-               for _, m := range msgs {
-                       if m.Header.Seq != req.Seq {
-                               if sharedSocket {
-                                       continue
-                               }
-                               return nil, fmt.Errorf("Wrong Seq nr %d, expected %d", m.Header.Seq, req.Seq)
-                       }
-                       if m.Header.Pid != pid {
-                               return nil, fmt.Errorf("Wrong pid %d, expected %d", m.Header.Pid, pid)
-                       }
-                       if m.Header.Type == syscall.NLMSG_DONE {
-                               break done
-                       }
-                       if m.Header.Type == syscall.NLMSG_ERROR {
-                               native := NativeEndian()
-                               error := int32(native.Uint32(m.Data[0:4]))
-                               if error == 0 {
-                                       break done
-                               }
-                               return nil, syscall.Errno(-error)
-                       }
-                       if resType != 0 && m.Header.Type != resType {
-                               continue
-                       }
-                       res = append(res, m.Data)
-                       if m.Header.Flags&syscall.NLM_F_MULTI == 0 {
-                               break done
-                       }
-               }
-       }
-       return res, nil
-}
-
-// Create a new netlink request from proto and flags
-// Note the Len value will be inaccurate once data is added until
-// the message is serialized
-func NewNetlinkRequest(proto, flags int) *NetlinkRequest {
-       return &NetlinkRequest{
-               NlMsghdr: syscall.NlMsghdr{
-                       Len:   uint32(syscall.SizeofNlMsghdr),
-                       Type:  uint16(proto),
-                       Flags: syscall.NLM_F_REQUEST | uint16(flags),
-                       Seq:   atomic.AddUint32(&nextSeqNr, 1),
-               },
-       }
-}
-
-type NetlinkSocket struct {
-       fd  int
-       lsa syscall.SockaddrNetlink
-       sync.Mutex
-}
-
-func getNetlinkSocket(protocol int) (*NetlinkSocket, error) {
-       fd, err := syscall.Socket(syscall.AF_NETLINK, syscall.SOCK_RAW|syscall.SOCK_CLOEXEC, protocol)
-       if err != nil {
-               return nil, err
-       }
-       s := &NetlinkSocket{
-               fd: fd,
-       }
-       s.lsa.Family = syscall.AF_NETLINK
-       if err := syscall.Bind(fd, &s.lsa); err != nil {
-               syscall.Close(fd)
-               return nil, err
-       }
-
-       return s, nil
-}
-
-// GetNetlinkSocketAt opens a netlink socket in the network namespace newNs
-// and positions the thread back into the network namespace specified by curNs,
-// when done. If curNs is close, the function derives the current namespace and
-// moves back into it when done. If newNs is close, the socket will be opened
-// in the current network namespace.
-func GetNetlinkSocketAt(newNs, curNs netns.NsHandle, protocol int) (*NetlinkSocket, error) {
-       c, err := executeInNetns(newNs, curNs)
-       if err != nil {
-               return nil, err
-       }
-       defer c()
-       return getNetlinkSocket(protocol)
-}
-
-// executeInNetns sets execution of the code following this call to the
-// network namespace newNs, then moves the thread back to curNs if open,
-// otherwise to the current netns at the time the function was invoked
-// In case of success, the caller is expected to execute the returned function
-// at the end of the code that needs to be executed in the network namespace.
-// Example:
-// func jobAt(...) error {
-//      d, err := executeInNetns(...)
-//      if err != nil { return err}
-//      defer d()
-//      < code which needs to be executed in specific netns>
-//  }
-// TODO: his function probably belongs to netns pkg.
-func executeInNetns(newNs, curNs netns.NsHandle) (func(), error) {
-       var (
-               err       error
-               moveBack  func(netns.NsHandle) error
-               closeNs   func() error
-               unlockThd func()
-       )
-       restore := func() {
-               // order matters
-               if moveBack != nil {
-                       moveBack(curNs)
-               }
-               if closeNs != nil {
-                       closeNs()
-               }
-               if unlockThd != nil {
-                       unlockThd()
-               }
-       }
-       if newNs.IsOpen() {
-               runtime.LockOSThread()
-               unlockThd = runtime.UnlockOSThread
-               if !curNs.IsOpen() {
-                       if curNs, err = netns.Get(); err != nil {
-                               restore()
-                               return nil, fmt.Errorf("could not get current namespace while creating netlink socket: %v", err)
-                       }
-                       closeNs = curNs.Close
-               }
-               if err := netns.Set(newNs); err != nil {
-                       restore()
-                       return nil, fmt.Errorf("failed to set into network namespace %d while creating netlink socket: %v", newNs, err)
-               }
-               moveBack = netns.Set
-       }
-       return restore, nil
-}
-
-// Create a netlink socket with a given protocol (e.g. NETLINK_ROUTE)
-// and subscribe it to multicast groups passed in variable argument list.
-// Returns the netlink socket on which Receive() method can be called
-// to retrieve the messages from the kernel.
-func Subscribe(protocol int, groups ...uint) (*NetlinkSocket, error) {
-       fd, err := syscall.Socket(syscall.AF_NETLINK, syscall.SOCK_RAW, protocol)
-       if err != nil {
-               return nil, err
-       }
-       s := &NetlinkSocket{
-               fd: fd,
-       }
-       s.lsa.Family = syscall.AF_NETLINK
-
-       for _, g := range groups {
-               s.lsa.Groups |= (1 << (g - 1))
-       }
-
-       if err := syscall.Bind(fd, &s.lsa); err != nil {
-               syscall.Close(fd)
-               return nil, err
-       }
-
-       return s, nil
-}
-
-// SubscribeAt works like Subscribe plus let's the caller choose the network
-// namespace in which the socket would be opened (newNs). Then control goes back
-// to curNs if open, otherwise to the netns at the time this function was called.
-func SubscribeAt(newNs, curNs netns.NsHandle, protocol int, groups ...uint) (*NetlinkSocket, error) {
-       c, err := executeInNetns(newNs, curNs)
-       if err != nil {
-               return nil, err
-       }
-       defer c()
-       return Subscribe(protocol, groups...)
-}
-
-func (s *NetlinkSocket) Close() {
-       syscall.Close(s.fd)
-       s.fd = -1
-}
-
-func (s *NetlinkSocket) GetFd() int {
-       return s.fd
-}
-
-func (s *NetlinkSocket) Send(request *NetlinkRequest) error {
-       if s.fd < 0 {
-               return fmt.Errorf("Send called on a closed socket")
-       }
-       if err := syscall.Sendto(s.fd, request.Serialize(), 0, &s.lsa); err != nil {
-               return err
-       }
-       return nil
-}
-
-func (s *NetlinkSocket) Receive() ([]syscall.NetlinkMessage, error) {
-       if s.fd < 0 {
-               return nil, fmt.Errorf("Receive called on a closed socket")
-       }
-       rb := make([]byte, syscall.Getpagesize())
-       nr, _, err := syscall.Recvfrom(s.fd, rb, 0)
-       if err != nil {
-               return nil, err
-       }
-       if nr < syscall.NLMSG_HDRLEN {
-               return nil, fmt.Errorf("Got short response from netlink")
-       }
-       rb = rb[:nr]
-       return syscall.ParseNetlinkMessage(rb)
-}
-
-func (s *NetlinkSocket) GetPid() (uint32, error) {
-       lsa, err := syscall.Getsockname(s.fd)
-       if err != nil {
-               return 0, err
-       }
-       switch v := lsa.(type) {
-       case *syscall.SockaddrNetlink:
-               return v.Pid, nil
-       }
-       return 0, fmt.Errorf("Wrong socket type")
-}
-
-func ZeroTerminated(s string) []byte {
-       bytes := make([]byte, len(s)+1)
-       for i := 0; i < len(s); i++ {
-               bytes[i] = s[i]
-       }
-       bytes[len(s)] = 0
-       return bytes
-}
-
-func NonZeroTerminated(s string) []byte {
-       bytes := make([]byte, len(s))
-       for i := 0; i < len(s); i++ {
-               bytes[i] = s[i]
-       }
-       return bytes
-}
-
-func BytesToString(b []byte) string {
-       n := bytes.Index(b, []byte{0})
-       return string(b[:n])
-}
-
-func Uint8Attr(v uint8) []byte {
-       return []byte{byte(v)}
-}
-
-func Uint16Attr(v uint16) []byte {
-       native := NativeEndian()
-       bytes := make([]byte, 2)
-       native.PutUint16(bytes, v)
-       return bytes
-}
-
-func Uint32Attr(v uint32) []byte {
-       native := NativeEndian()
-       bytes := make([]byte, 4)
-       native.PutUint32(bytes, v)
-       return bytes
-}
-
-func Uint64Attr(v uint64) []byte {
-       native := NativeEndian()
-       bytes := make([]byte, 8)
-       native.PutUint64(bytes, v)
-       return bytes
-}
-
-func ParseRouteAttr(b []byte) ([]syscall.NetlinkRouteAttr, error) {
-       var attrs []syscall.NetlinkRouteAttr
-       for len(b) >= syscall.SizeofRtAttr {
-               a, vbuf, alen, err := netlinkRouteAttrAndValue(b)
-               if err != nil {
-                       return nil, err
-               }
-               ra := syscall.NetlinkRouteAttr{Attr: *a, Value: vbuf[:int(a.Len)-syscall.SizeofRtAttr]}
-               attrs = append(attrs, ra)
-               b = b[alen:]
-       }
-       return attrs, nil
-}
-
-func netlinkRouteAttrAndValue(b []byte) (*syscall.RtAttr, []byte, int, error) {
-       a := (*syscall.RtAttr)(unsafe.Pointer(&b[0]))
-       if int(a.Len) < syscall.SizeofRtAttr || int(a.Len) > len(b) {
-               return nil, nil, 0, syscall.EINVAL
-       }
-       return a, b[syscall.SizeofRtAttr:], rtaAlignOf(int(a.Len)), nil
-}
-
-// SocketHandle contains the netlink socket and the associated
-// sequence counter for a specific netlink family
-type SocketHandle struct {
-       Seq    uint32
-       Socket *NetlinkSocket
-}
-
-// Close closes the netlink socket
-func (sh *SocketHandle) Close() {
-       if sh.Socket != nil {
-               sh.Socket.Close()
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/nl_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/nl_linux_test.go
deleted file mode 100644 (file)
index 521a7ef..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "reflect"
-       "syscall"
-       "testing"
-)
-
-type testSerializer interface {
-       serializeSafe() []byte
-       Serialize() []byte
-}
-
-func testDeserializeSerialize(t *testing.T, orig []byte, safemsg testSerializer, msg testSerializer) {
-       if !reflect.DeepEqual(safemsg, msg) {
-               t.Fatal("Deserialization failed.\n", safemsg, "\n", msg)
-       }
-       safe := msg.serializeSafe()
-       if !bytes.Equal(safe, orig) {
-               t.Fatal("Safe serialization failed.\n", safe, "\n", orig)
-       }
-       b := msg.Serialize()
-       if !bytes.Equal(b, safe) {
-               t.Fatal("Serialization failed.\n", b, "\n", safe)
-       }
-}
-
-func (msg *IfInfomsg) write(b []byte) {
-       native := NativeEndian()
-       b[0] = msg.Family
-       // pad byte is skipped because it is not exported on linux/s390x
-       native.PutUint16(b[2:4], msg.Type)
-       native.PutUint32(b[4:8], uint32(msg.Index))
-       native.PutUint32(b[8:12], msg.Flags)
-       native.PutUint32(b[12:16], msg.Change)
-}
-
-func (msg *IfInfomsg) serializeSafe() []byte {
-       length := syscall.SizeofIfInfomsg
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeIfInfomsgSafe(b []byte) *IfInfomsg {
-       var msg = IfInfomsg{}
-       binary.Read(bytes.NewReader(b[0:syscall.SizeofIfInfomsg]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestIfInfomsgDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, syscall.SizeofIfInfomsg)
-       rand.Read(orig)
-       // zero out the pad byte
-       orig[1] = 0
-       safemsg := deserializeIfInfomsgSafe(orig)
-       msg := DeserializeIfInfomsg(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go b/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go
deleted file mode 100644 (file)
index dfc0be6..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// +build !linux
-
-package nl
-
-import "encoding/binary"
-
-var SupportedNlFamilies = []int{}
-
-func NativeEndian() binary.ByteOrder {
-       return nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/route_linux.go b/vendor/github.com/vishvananda/netlink/nl/route_linux.go
deleted file mode 100644 (file)
index 1a064d6..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-package nl
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-type RtMsg struct {
-       syscall.RtMsg
-}
-
-func NewRtMsg() *RtMsg {
-       return &RtMsg{
-               RtMsg: syscall.RtMsg{
-                       Table:    syscall.RT_TABLE_MAIN,
-                       Scope:    syscall.RT_SCOPE_UNIVERSE,
-                       Protocol: syscall.RTPROT_BOOT,
-                       Type:     syscall.RTN_UNICAST,
-               },
-       }
-}
-
-func NewRtDelMsg() *RtMsg {
-       return &RtMsg{
-               RtMsg: syscall.RtMsg{
-                       Table: syscall.RT_TABLE_MAIN,
-                       Scope: syscall.RT_SCOPE_NOWHERE,
-               },
-       }
-}
-
-func (msg *RtMsg) Len() int {
-       return syscall.SizeofRtMsg
-}
-
-func DeserializeRtMsg(b []byte) *RtMsg {
-       return (*RtMsg)(unsafe.Pointer(&b[0:syscall.SizeofRtMsg][0]))
-}
-
-func (msg *RtMsg) Serialize() []byte {
-       return (*(*[syscall.SizeofRtMsg]byte)(unsafe.Pointer(msg)))[:]
-}
-
-type RtNexthop struct {
-       syscall.RtNexthop
-       Children []NetlinkRequestData
-}
-
-func DeserializeRtNexthop(b []byte) *RtNexthop {
-       return (*RtNexthop)(unsafe.Pointer(&b[0:syscall.SizeofRtNexthop][0]))
-}
-
-func (msg *RtNexthop) Len() int {
-       if len(msg.Children) == 0 {
-               return syscall.SizeofRtNexthop
-       }
-
-       l := 0
-       for _, child := range msg.Children {
-               l += rtaAlignOf(child.Len())
-       }
-       l += syscall.SizeofRtNexthop
-       return rtaAlignOf(l)
-}
-
-func (msg *RtNexthop) Serialize() []byte {
-       length := msg.Len()
-       msg.RtNexthop.Len = uint16(length)
-       buf := make([]byte, length)
-       copy(buf, (*(*[syscall.SizeofRtNexthop]byte)(unsafe.Pointer(msg)))[:])
-       next := rtaAlignOf(syscall.SizeofRtNexthop)
-       if len(msg.Children) > 0 {
-               for _, child := range msg.Children {
-                       childBuf := child.Serialize()
-                       copy(buf[next:], childBuf)
-                       next += rtaAlignOf(len(childBuf))
-               }
-       }
-       return buf
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/route_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/route_linux_test.go
deleted file mode 100644 (file)
index ba9c410..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "syscall"
-       "testing"
-)
-
-func (msg *RtMsg) write(b []byte) {
-       native := NativeEndian()
-       b[0] = msg.Family
-       b[1] = msg.Dst_len
-       b[2] = msg.Src_len
-       b[3] = msg.Tos
-       b[4] = msg.Table
-       b[5] = msg.Protocol
-       b[6] = msg.Scope
-       b[7] = msg.Type
-       native.PutUint32(b[8:12], msg.Flags)
-}
-
-func (msg *RtMsg) serializeSafe() []byte {
-       len := syscall.SizeofRtMsg
-       b := make([]byte, len)
-       msg.write(b)
-       return b
-}
-
-func deserializeRtMsgSafe(b []byte) *RtMsg {
-       var msg = RtMsg{}
-       binary.Read(bytes.NewReader(b[0:syscall.SizeofRtMsg]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestRtMsgDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, syscall.SizeofRtMsg)
-       rand.Read(orig)
-       safemsg := deserializeRtMsgSafe(orig)
-       msg := DeserializeRtMsg(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/syscall.go b/vendor/github.com/vishvananda/netlink/nl/syscall.go
deleted file mode 100644 (file)
index 3473e53..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-package nl
-
-// syscall package lack of rule atributes type.
-// Thus there are defined below
-const (
-       FRA_UNSPEC  = iota
-       FRA_DST     /* destination address */
-       FRA_SRC     /* source address */
-       FRA_IIFNAME /* interface name */
-       FRA_GOTO    /* target to jump to (FR_ACT_GOTO) */
-       FRA_UNUSED2
-       FRA_PRIORITY /* priority/preference */
-       FRA_UNUSED3
-       FRA_UNUSED4
-       FRA_UNUSED5
-       FRA_FWMARK /* mark */
-       FRA_FLOW   /* flow/class id */
-       FRA_TUN_ID
-       FRA_SUPPRESS_IFGROUP
-       FRA_SUPPRESS_PREFIXLEN
-       FRA_TABLE  /* Extended table id */
-       FRA_FWMASK /* mask for netfilter mark */
-       FRA_OIFNAME
-)
-
-// ip rule netlink request types
-const (
-       FR_ACT_UNSPEC = iota
-       FR_ACT_TO_TBL /* Pass to fixed table */
-       FR_ACT_GOTO   /* Jump to another rule */
-       FR_ACT_NOP    /* No operation */
-       FR_ACT_RES3
-       FR_ACT_RES4
-       FR_ACT_BLACKHOLE   /* Drop without notification */
-       FR_ACT_UNREACHABLE /* Drop with ENETUNREACH */
-       FR_ACT_PROHIBIT    /* Drop with EACCES */
-)
-
-// socket diags related
-const (
-       SOCK_DIAG_BY_FAMILY = 20         /* linux.sock_diag.h */
-       TCPDIAG_NOCOOKIE    = 0xFFFFFFFF /* TCPDIAG_NOCOOKIE in net/ipv4/tcp_diag.h*/
-)
-
-const (
-       AF_MPLS = 28
-)
-
-const (
-       RTA_NEWDST     = 0x13
-       RTA_ENCAP_TYPE = 0x15
-       RTA_ENCAP      = 0x16
-)
-
-// RTA_ENCAP subtype
-const (
-       MPLS_IPTUNNEL_UNSPEC = iota
-       MPLS_IPTUNNEL_DST
-)
-
-// light weight tunnel encap types
-const (
-       LWTUNNEL_ENCAP_NONE = iota
-       LWTUNNEL_ENCAP_MPLS
-       LWTUNNEL_ENCAP_IP
-       LWTUNNEL_ENCAP_ILA
-       LWTUNNEL_ENCAP_IP6
-)
diff --git a/vendor/github.com/vishvananda/netlink/nl/tc_linux.go b/vendor/github.com/vishvananda/netlink/nl/tc_linux.go
deleted file mode 100644 (file)
index e91fb21..0000000
+++ /dev/null
@@ -1,675 +0,0 @@
-package nl
-
-import (
-       "unsafe"
-)
-
-// LinkLayer
-const (
-       LINKLAYER_UNSPEC = iota
-       LINKLAYER_ETHERNET
-       LINKLAYER_ATM
-)
-
-// ATM
-const (
-       ATM_CELL_PAYLOAD = 48
-       ATM_CELL_SIZE    = 53
-)
-
-const TC_LINKLAYER_MASK = 0x0F
-
-// Police
-const (
-       TCA_POLICE_UNSPEC = iota
-       TCA_POLICE_TBF
-       TCA_POLICE_RATE
-       TCA_POLICE_PEAKRATE
-       TCA_POLICE_AVRATE
-       TCA_POLICE_RESULT
-       TCA_POLICE_MAX = TCA_POLICE_RESULT
-)
-
-// Message types
-const (
-       TCA_UNSPEC = iota
-       TCA_KIND
-       TCA_OPTIONS
-       TCA_STATS
-       TCA_XSTATS
-       TCA_RATE
-       TCA_FCNT
-       TCA_STATS2
-       TCA_STAB
-       TCA_MAX = TCA_STAB
-)
-
-const (
-       TCA_ACT_TAB = 1
-       TCAA_MAX    = 1
-)
-
-const (
-       TCA_ACT_UNSPEC = iota
-       TCA_ACT_KIND
-       TCA_ACT_OPTIONS
-       TCA_ACT_INDEX
-       TCA_ACT_STATS
-       TCA_ACT_MAX
-)
-
-const (
-       TCA_PRIO_UNSPEC = iota
-       TCA_PRIO_MQ
-       TCA_PRIO_MAX = TCA_PRIO_MQ
-)
-
-const (
-       SizeofTcMsg          = 0x14
-       SizeofTcActionMsg    = 0x04
-       SizeofTcPrioMap      = 0x14
-       SizeofTcRateSpec     = 0x0c
-       SizeofTcNetemQopt    = 0x18
-       SizeofTcNetemCorr    = 0x0c
-       SizeofTcNetemReorder = 0x08
-       SizeofTcNetemCorrupt = 0x08
-       SizeofTcTbfQopt      = 2*SizeofTcRateSpec + 0x0c
-       SizeofTcHtbCopt      = 2*SizeofTcRateSpec + 0x14
-       SizeofTcHtbGlob      = 0x14
-       SizeofTcU32Key       = 0x10
-       SizeofTcU32Sel       = 0x10 // without keys
-       SizeofTcGen          = 0x14
-       SizeofTcMirred       = SizeofTcGen + 0x08
-       SizeofTcPolice       = 2*SizeofTcRateSpec + 0x20
-)
-
-// struct tcmsg {
-//   unsigned char tcm_family;
-//   unsigned char tcm__pad1;
-//   unsigned short  tcm__pad2;
-//   int   tcm_ifindex;
-//   __u32   tcm_handle;
-//   __u32   tcm_parent;
-//   __u32   tcm_info;
-// };
-
-type TcMsg struct {
-       Family  uint8
-       Pad     [3]byte
-       Ifindex int32
-       Handle  uint32
-       Parent  uint32
-       Info    uint32
-}
-
-func (msg *TcMsg) Len() int {
-       return SizeofTcMsg
-}
-
-func DeserializeTcMsg(b []byte) *TcMsg {
-       return (*TcMsg)(unsafe.Pointer(&b[0:SizeofTcMsg][0]))
-}
-
-func (x *TcMsg) Serialize() []byte {
-       return (*(*[SizeofTcMsg]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tcamsg {
-//   unsigned char tca_family;
-//   unsigned char tca__pad1;
-//   unsigned short  tca__pad2;
-// };
-
-type TcActionMsg struct {
-       Family uint8
-       Pad    [3]byte
-}
-
-func (msg *TcActionMsg) Len() int {
-       return SizeofTcActionMsg
-}
-
-func DeserializeTcActionMsg(b []byte) *TcActionMsg {
-       return (*TcActionMsg)(unsafe.Pointer(&b[0:SizeofTcActionMsg][0]))
-}
-
-func (x *TcActionMsg) Serialize() []byte {
-       return (*(*[SizeofTcActionMsg]byte)(unsafe.Pointer(x)))[:]
-}
-
-const (
-       TC_PRIO_MAX = 15
-)
-
-// struct tc_prio_qopt {
-//     int bands;      /* Number of bands */
-//     __u8  priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
-// };
-
-type TcPrioMap struct {
-       Bands   int32
-       Priomap [TC_PRIO_MAX + 1]uint8
-}
-
-func (msg *TcPrioMap) Len() int {
-       return SizeofTcPrioMap
-}
-
-func DeserializeTcPrioMap(b []byte) *TcPrioMap {
-       return (*TcPrioMap)(unsafe.Pointer(&b[0:SizeofTcPrioMap][0]))
-}
-
-func (x *TcPrioMap) Serialize() []byte {
-       return (*(*[SizeofTcPrioMap]byte)(unsafe.Pointer(x)))[:]
-}
-
-const (
-       TCA_TBF_UNSPEC = iota
-       TCA_TBF_PARMS
-       TCA_TBF_RTAB
-       TCA_TBF_PTAB
-       TCA_TBF_RATE64
-       TCA_TBF_PRATE64
-       TCA_TBF_BURST
-       TCA_TBF_PBURST
-       TCA_TBF_MAX = TCA_TBF_PBURST
-)
-
-// struct tc_ratespec {
-//   unsigned char cell_log;
-//   __u8    linklayer; /* lower 4 bits */
-//   unsigned short  overhead;
-//   short   cell_align;
-//   unsigned short  mpu;
-//   __u32   rate;
-// };
-
-type TcRateSpec struct {
-       CellLog   uint8
-       Linklayer uint8
-       Overhead  uint16
-       CellAlign int16
-       Mpu       uint16
-       Rate      uint32
-}
-
-func (msg *TcRateSpec) Len() int {
-       return SizeofTcRateSpec
-}
-
-func DeserializeTcRateSpec(b []byte) *TcRateSpec {
-       return (*TcRateSpec)(unsafe.Pointer(&b[0:SizeofTcRateSpec][0]))
-}
-
-func (x *TcRateSpec) Serialize() []byte {
-       return (*(*[SizeofTcRateSpec]byte)(unsafe.Pointer(x)))[:]
-}
-
-/**
-* NETEM
- */
-
-const (
-       TCA_NETEM_UNSPEC = iota
-       TCA_NETEM_CORR
-       TCA_NETEM_DELAY_DIST
-       TCA_NETEM_REORDER
-       TCA_NETEM_CORRUPT
-       TCA_NETEM_LOSS
-       TCA_NETEM_RATE
-       TCA_NETEM_ECN
-       TCA_NETEM_RATE64
-       TCA_NETEM_MAX = TCA_NETEM_RATE64
-)
-
-// struct tc_netem_qopt {
-//     __u32   latency;        /* added delay (us) */
-//     __u32   limit;          /* fifo limit (packets) */
-//     __u32   loss;           /* random packet loss (0=none ~0=100%) */
-//     __u32   gap;            /* re-ordering gap (0 for none) */
-//     __u32   duplicate;      /* random packet dup  (0=none ~0=100%) */
-//     __u32   jitter;         /* random jitter in latency (us) */
-// };
-
-type TcNetemQopt struct {
-       Latency   uint32
-       Limit     uint32
-       Loss      uint32
-       Gap       uint32
-       Duplicate uint32
-       Jitter    uint32
-}
-
-func (msg *TcNetemQopt) Len() int {
-       return SizeofTcNetemQopt
-}
-
-func DeserializeTcNetemQopt(b []byte) *TcNetemQopt {
-       return (*TcNetemQopt)(unsafe.Pointer(&b[0:SizeofTcNetemQopt][0]))
-}
-
-func (x *TcNetemQopt) Serialize() []byte {
-       return (*(*[SizeofTcNetemQopt]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tc_netem_corr {
-//  __u32   delay_corr; /* delay correlation */
-//  __u32   loss_corr;  /* packet loss correlation */
-//  __u32   dup_corr;   /* duplicate correlation  */
-// };
-
-type TcNetemCorr struct {
-       DelayCorr uint32
-       LossCorr  uint32
-       DupCorr   uint32
-}
-
-func (msg *TcNetemCorr) Len() int {
-       return SizeofTcNetemCorr
-}
-
-func DeserializeTcNetemCorr(b []byte) *TcNetemCorr {
-       return (*TcNetemCorr)(unsafe.Pointer(&b[0:SizeofTcNetemCorr][0]))
-}
-
-func (x *TcNetemCorr) Serialize() []byte {
-       return (*(*[SizeofTcNetemCorr]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tc_netem_reorder {
-//  __u32   probability;
-//  __u32   correlation;
-// };
-
-type TcNetemReorder struct {
-       Probability uint32
-       Correlation uint32
-}
-
-func (msg *TcNetemReorder) Len() int {
-       return SizeofTcNetemReorder
-}
-
-func DeserializeTcNetemReorder(b []byte) *TcNetemReorder {
-       return (*TcNetemReorder)(unsafe.Pointer(&b[0:SizeofTcNetemReorder][0]))
-}
-
-func (x *TcNetemReorder) Serialize() []byte {
-       return (*(*[SizeofTcNetemReorder]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tc_netem_corrupt {
-//  __u32   probability;
-//  __u32   correlation;
-// };
-
-type TcNetemCorrupt struct {
-       Probability uint32
-       Correlation uint32
-}
-
-func (msg *TcNetemCorrupt) Len() int {
-       return SizeofTcNetemCorrupt
-}
-
-func DeserializeTcNetemCorrupt(b []byte) *TcNetemCorrupt {
-       return (*TcNetemCorrupt)(unsafe.Pointer(&b[0:SizeofTcNetemCorrupt][0]))
-}
-
-func (x *TcNetemCorrupt) Serialize() []byte {
-       return (*(*[SizeofTcNetemCorrupt]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tc_tbf_qopt {
-//   struct tc_ratespec rate;
-//   struct tc_ratespec peakrate;
-//   __u32   limit;
-//   __u32   buffer;
-//   __u32   mtu;
-// };
-
-type TcTbfQopt struct {
-       Rate     TcRateSpec
-       Peakrate TcRateSpec
-       Limit    uint32
-       Buffer   uint32
-       Mtu      uint32
-}
-
-func (msg *TcTbfQopt) Len() int {
-       return SizeofTcTbfQopt
-}
-
-func DeserializeTcTbfQopt(b []byte) *TcTbfQopt {
-       return (*TcTbfQopt)(unsafe.Pointer(&b[0:SizeofTcTbfQopt][0]))
-}
-
-func (x *TcTbfQopt) Serialize() []byte {
-       return (*(*[SizeofTcTbfQopt]byte)(unsafe.Pointer(x)))[:]
-}
-
-const (
-       TCA_HTB_UNSPEC = iota
-       TCA_HTB_PARMS
-       TCA_HTB_INIT
-       TCA_HTB_CTAB
-       TCA_HTB_RTAB
-       TCA_HTB_DIRECT_QLEN
-       TCA_HTB_RATE64
-       TCA_HTB_CEIL64
-       TCA_HTB_MAX = TCA_HTB_CEIL64
-)
-
-//struct tc_htb_opt {
-//     struct tc_ratespec      rate;
-//     struct tc_ratespec      ceil;
-//     __u32   buffer;
-//     __u32   cbuffer;
-//     __u32   quantum;
-//     __u32   level;          /* out only */
-//     __u32   prio;
-//};
-
-type TcHtbCopt struct {
-       Rate    TcRateSpec
-       Ceil    TcRateSpec
-       Buffer  uint32
-       Cbuffer uint32
-       Quantum uint32
-       Level   uint32
-       Prio    uint32
-}
-
-func (msg *TcHtbCopt) Len() int {
-       return SizeofTcHtbCopt
-}
-
-func DeserializeTcHtbCopt(b []byte) *TcHtbCopt {
-       return (*TcHtbCopt)(unsafe.Pointer(&b[0:SizeofTcHtbCopt][0]))
-}
-
-func (x *TcHtbCopt) Serialize() []byte {
-       return (*(*[SizeofTcHtbCopt]byte)(unsafe.Pointer(x)))[:]
-}
-
-type TcHtbGlob struct {
-       Version      uint32
-       Rate2Quantum uint32
-       Defcls       uint32
-       Debug        uint32
-       DirectPkts   uint32
-}
-
-func (msg *TcHtbGlob) Len() int {
-       return SizeofTcHtbGlob
-}
-
-func DeserializeTcHtbGlob(b []byte) *TcHtbGlob {
-       return (*TcHtbGlob)(unsafe.Pointer(&b[0:SizeofTcHtbGlob][0]))
-}
-
-func (x *TcHtbGlob) Serialize() []byte {
-       return (*(*[SizeofTcHtbGlob]byte)(unsafe.Pointer(x)))[:]
-}
-
-const (
-       TCA_U32_UNSPEC = iota
-       TCA_U32_CLASSID
-       TCA_U32_HASH
-       TCA_U32_LINK
-       TCA_U32_DIVISOR
-       TCA_U32_SEL
-       TCA_U32_POLICE
-       TCA_U32_ACT
-       TCA_U32_INDEV
-       TCA_U32_PCNT
-       TCA_U32_MARK
-       TCA_U32_MAX = TCA_U32_MARK
-)
-
-// struct tc_u32_key {
-//   __be32    mask;
-//   __be32    val;
-//   int   off;
-//   int   offmask;
-// };
-
-type TcU32Key struct {
-       Mask    uint32 // big endian
-       Val     uint32 // big endian
-       Off     int32
-       OffMask int32
-}
-
-func (msg *TcU32Key) Len() int {
-       return SizeofTcU32Key
-}
-
-func DeserializeTcU32Key(b []byte) *TcU32Key {
-       return (*TcU32Key)(unsafe.Pointer(&b[0:SizeofTcU32Key][0]))
-}
-
-func (x *TcU32Key) Serialize() []byte {
-       return (*(*[SizeofTcU32Key]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tc_u32_sel {
-//   unsigned char   flags;
-//   unsigned char   offshift;
-//   unsigned char   nkeys;
-//
-//   __be16      offmask;
-//   __u16     off;
-//   short     offoff;
-//
-//   short     hoff;
-//   __be32      hmask;
-//   struct tc_u32_key keys[0];
-// };
-
-const (
-       TC_U32_TERMINAL  = 1 << iota
-       TC_U32_OFFSET    = 1 << iota
-       TC_U32_VAROFFSET = 1 << iota
-       TC_U32_EAT       = 1 << iota
-)
-
-type TcU32Sel struct {
-       Flags    uint8
-       Offshift uint8
-       Nkeys    uint8
-       Pad      uint8
-       Offmask  uint16 // big endian
-       Off      uint16
-       Offoff   int16
-       Hoff     int16
-       Hmask    uint32 // big endian
-       Keys     []TcU32Key
-}
-
-func (msg *TcU32Sel) Len() int {
-       return SizeofTcU32Sel + int(msg.Nkeys)*SizeofTcU32Key
-}
-
-func DeserializeTcU32Sel(b []byte) *TcU32Sel {
-       x := &TcU32Sel{}
-       copy((*(*[SizeofTcU32Sel]byte)(unsafe.Pointer(x)))[:], b)
-       next := SizeofTcU32Sel
-       var i uint8
-       for i = 0; i < x.Nkeys; i++ {
-               x.Keys = append(x.Keys, *DeserializeTcU32Key(b[next:]))
-               next += SizeofTcU32Key
-       }
-       return x
-}
-
-func (x *TcU32Sel) Serialize() []byte {
-       // This can't just unsafe.cast because it must iterate through keys.
-       buf := make([]byte, x.Len())
-       copy(buf, (*(*[SizeofTcU32Sel]byte)(unsafe.Pointer(x)))[:])
-       next := SizeofTcU32Sel
-       for _, key := range x.Keys {
-               keyBuf := key.Serialize()
-               copy(buf[next:], keyBuf)
-               next += SizeofTcU32Key
-       }
-       return buf
-}
-
-type TcGen struct {
-       Index   uint32
-       Capab   uint32
-       Action  int32
-       Refcnt  int32
-       Bindcnt int32
-}
-
-func (msg *TcGen) Len() int {
-       return SizeofTcGen
-}
-
-func DeserializeTcGen(b []byte) *TcGen {
-       return (*TcGen)(unsafe.Pointer(&b[0:SizeofTcGen][0]))
-}
-
-func (x *TcGen) Serialize() []byte {
-       return (*(*[SizeofTcGen]byte)(unsafe.Pointer(x)))[:]
-}
-
-// #define tc_gen \
-//   __u32                 index; \
-//   __u32                 capab; \
-//   int                   action; \
-//   int                   refcnt; \
-//   int                   bindcnt
-
-const (
-       TCA_ACT_GACT = 5
-)
-
-const (
-       TCA_GACT_UNSPEC = iota
-       TCA_GACT_TM
-       TCA_GACT_PARMS
-       TCA_GACT_PROB
-       TCA_GACT_MAX = TCA_GACT_PROB
-)
-
-type TcGact TcGen
-
-const (
-       TCA_ACT_BPF = 13
-)
-
-const (
-       TCA_ACT_BPF_UNSPEC = iota
-       TCA_ACT_BPF_TM
-       TCA_ACT_BPF_PARMS
-       TCA_ACT_BPF_OPS_LEN
-       TCA_ACT_BPF_OPS
-       TCA_ACT_BPF_FD
-       TCA_ACT_BPF_NAME
-       TCA_ACT_BPF_MAX = TCA_ACT_BPF_NAME
-)
-
-const (
-       TCA_BPF_FLAG_ACT_DIRECT uint32 = 1 << iota
-)
-
-const (
-       TCA_BPF_UNSPEC = iota
-       TCA_BPF_ACT
-       TCA_BPF_POLICE
-       TCA_BPF_CLASSID
-       TCA_BPF_OPS_LEN
-       TCA_BPF_OPS
-       TCA_BPF_FD
-       TCA_BPF_NAME
-       TCA_BPF_FLAGS
-       TCA_BPF_MAX = TCA_BPF_FLAGS
-)
-
-type TcBpf TcGen
-
-const (
-       TCA_ACT_MIRRED = 8
-)
-
-const (
-       TCA_MIRRED_UNSPEC = iota
-       TCA_MIRRED_TM
-       TCA_MIRRED_PARMS
-       TCA_MIRRED_MAX = TCA_MIRRED_PARMS
-)
-
-// struct tc_mirred {
-//     tc_gen;
-//     int                     eaction;   /* one of IN/EGRESS_MIRROR/REDIR */
-//     __u32                   ifindex;  /* ifindex of egress port */
-// };
-
-type TcMirred struct {
-       TcGen
-       Eaction int32
-       Ifindex uint32
-}
-
-func (msg *TcMirred) Len() int {
-       return SizeofTcMirred
-}
-
-func DeserializeTcMirred(b []byte) *TcMirred {
-       return (*TcMirred)(unsafe.Pointer(&b[0:SizeofTcMirred][0]))
-}
-
-func (x *TcMirred) Serialize() []byte {
-       return (*(*[SizeofTcMirred]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct tc_police {
-//     __u32                   index;
-//     int                     action;
-//     __u32                   limit;
-//     __u32                   burst;
-//     __u32                   mtu;
-//     struct tc_ratespec      rate;
-//     struct tc_ratespec      peakrate;
-//     int                             refcnt;
-//     int                             bindcnt;
-//     __u32                   capab;
-// };
-
-type TcPolice struct {
-       Index    uint32
-       Action   int32
-       Limit    uint32
-       Burst    uint32
-       Mtu      uint32
-       Rate     TcRateSpec
-       PeakRate TcRateSpec
-       Refcnt   int32
-       Bindcnt  int32
-       Capab    uint32
-}
-
-func (msg *TcPolice) Len() int {
-       return SizeofTcPolice
-}
-
-func DeserializeTcPolice(b []byte) *TcPolice {
-       return (*TcPolice)(unsafe.Pointer(&b[0:SizeofTcPolice][0]))
-}
-
-func (x *TcPolice) Serialize() []byte {
-       return (*(*[SizeofTcPolice]byte)(unsafe.Pointer(x)))[:]
-}
-
-const (
-       TCA_FW_UNSPEC = iota
-       TCA_FW_CLASSID
-       TCA_FW_POLICE
-       TCA_FW_INDEV
-       TCA_FW_ACT
-       TCA_FW_MASK
-       TCA_FW_MAX = TCA_FW_MASK
-)
diff --git a/vendor/github.com/vishvananda/netlink/nl/tc_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/tc_linux_test.go
deleted file mode 100644 (file)
index 148b2b0..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "testing"
-)
-
-/* TcMsg */
-func (msg *TcMsg) write(b []byte) {
-       native := NativeEndian()
-       b[0] = msg.Family
-       copy(b[1:4], msg.Pad[:])
-       native.PutUint32(b[4:8], uint32(msg.Ifindex))
-       native.PutUint32(b[8:12], msg.Handle)
-       native.PutUint32(b[12:16], msg.Parent)
-       native.PutUint32(b[16:20], msg.Info)
-}
-
-func (msg *TcMsg) serializeSafe() []byte {
-       length := SizeofTcMsg
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeTcMsgSafe(b []byte) *TcMsg {
-       var msg = TcMsg{}
-       binary.Read(bytes.NewReader(b[0:SizeofTcMsg]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestTcMsgDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofTcMsg)
-       rand.Read(orig)
-       safemsg := deserializeTcMsgSafe(orig)
-       msg := DeserializeTcMsg(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-/* TcActionMsg */
-func (msg *TcActionMsg) write(b []byte) {
-       b[0] = msg.Family
-       copy(b[1:4], msg.Pad[:])
-}
-
-func (msg *TcActionMsg) serializeSafe() []byte {
-       length := SizeofTcActionMsg
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeTcActionMsgSafe(b []byte) *TcActionMsg {
-       var msg = TcActionMsg{}
-       binary.Read(bytes.NewReader(b[0:SizeofTcActionMsg]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestTcActionMsgDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofTcActionMsg)
-       rand.Read(orig)
-       safemsg := deserializeTcActionMsgSafe(orig)
-       msg := DeserializeTcActionMsg(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-/* TcRateSpec */
-func (msg *TcRateSpec) write(b []byte) {
-       native := NativeEndian()
-       b[0] = msg.CellLog
-       b[1] = msg.Linklayer
-       native.PutUint16(b[2:4], msg.Overhead)
-       native.PutUint16(b[4:6], uint16(msg.CellAlign))
-       native.PutUint16(b[6:8], msg.Mpu)
-       native.PutUint32(b[8:12], msg.Rate)
-}
-
-func (msg *TcRateSpec) serializeSafe() []byte {
-       length := SizeofTcRateSpec
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeTcRateSpecSafe(b []byte) *TcRateSpec {
-       var msg = TcRateSpec{}
-       binary.Read(bytes.NewReader(b[0:SizeofTcRateSpec]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestTcRateSpecDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofTcRateSpec)
-       rand.Read(orig)
-       safemsg := deserializeTcRateSpecSafe(orig)
-       msg := DeserializeTcRateSpec(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-/* TcTbfQopt */
-func (msg *TcTbfQopt) write(b []byte) {
-       native := NativeEndian()
-       msg.Rate.write(b[0:SizeofTcRateSpec])
-       start := SizeofTcRateSpec
-       msg.Peakrate.write(b[start : start+SizeofTcRateSpec])
-       start += SizeofTcRateSpec
-       native.PutUint32(b[start:start+4], msg.Limit)
-       start += 4
-       native.PutUint32(b[start:start+4], msg.Buffer)
-       start += 4
-       native.PutUint32(b[start:start+4], msg.Mtu)
-}
-
-func (msg *TcTbfQopt) serializeSafe() []byte {
-       length := SizeofTcTbfQopt
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeTcTbfQoptSafe(b []byte) *TcTbfQopt {
-       var msg = TcTbfQopt{}
-       binary.Read(bytes.NewReader(b[0:SizeofTcTbfQopt]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestTcTbfQoptDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofTcTbfQopt)
-       rand.Read(orig)
-       safemsg := deserializeTcTbfQoptSafe(orig)
-       msg := DeserializeTcTbfQopt(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-/* TcHtbCopt */
-func (msg *TcHtbCopt) write(b []byte) {
-       native := NativeEndian()
-       msg.Rate.write(b[0:SizeofTcRateSpec])
-       start := SizeofTcRateSpec
-       msg.Ceil.write(b[start : start+SizeofTcRateSpec])
-       start += SizeofTcRateSpec
-       native.PutUint32(b[start:start+4], msg.Buffer)
-       start += 4
-       native.PutUint32(b[start:start+4], msg.Cbuffer)
-       start += 4
-       native.PutUint32(b[start:start+4], msg.Quantum)
-       start += 4
-       native.PutUint32(b[start:start+4], msg.Level)
-       start += 4
-       native.PutUint32(b[start:start+4], msg.Prio)
-}
-
-func (msg *TcHtbCopt) serializeSafe() []byte {
-       length := SizeofTcHtbCopt
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeTcHtbCoptSafe(b []byte) *TcHtbCopt {
-       var msg = TcHtbCopt{}
-       binary.Read(bytes.NewReader(b[0:SizeofTcHtbCopt]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestTcHtbCoptDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofTcHtbCopt)
-       rand.Read(orig)
-       safemsg := deserializeTcHtbCoptSafe(orig)
-       msg := DeserializeTcHtbCopt(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_linux.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_linux.go
deleted file mode 100644 (file)
index 09a2ffa..0000000
+++ /dev/null
@@ -1,296 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "net"
-       "unsafe"
-)
-
-// Infinity for packet and byte counts
-const (
-       XFRM_INF = ^uint64(0)
-)
-
-type XfrmMsgType uint8
-
-type XfrmMsg interface {
-       Type() XfrmMsgType
-}
-
-// Message Types
-const (
-       XFRM_MSG_BASE        XfrmMsgType = 0x10
-       XFRM_MSG_NEWSA                   = 0x10
-       XFRM_MSG_DELSA                   = 0x11
-       XFRM_MSG_GETSA                   = 0x12
-       XFRM_MSG_NEWPOLICY               = 0x13
-       XFRM_MSG_DELPOLICY               = 0x14
-       XFRM_MSG_GETPOLICY               = 0x15
-       XFRM_MSG_ALLOCSPI                = 0x16
-       XFRM_MSG_ACQUIRE                 = 0x17
-       XFRM_MSG_EXPIRE                  = 0x18
-       XFRM_MSG_UPDPOLICY               = 0x19
-       XFRM_MSG_UPDSA                   = 0x1a
-       XFRM_MSG_POLEXPIRE               = 0x1b
-       XFRM_MSG_FLUSHSA                 = 0x1c
-       XFRM_MSG_FLUSHPOLICY             = 0x1d
-       XFRM_MSG_NEWAE                   = 0x1e
-       XFRM_MSG_GETAE                   = 0x1f
-       XFRM_MSG_REPORT                  = 0x20
-       XFRM_MSG_MIGRATE                 = 0x21
-       XFRM_MSG_NEWSADINFO              = 0x22
-       XFRM_MSG_GETSADINFO              = 0x23
-       XFRM_MSG_NEWSPDINFO              = 0x24
-       XFRM_MSG_GETSPDINFO              = 0x25
-       XFRM_MSG_MAPPING                 = 0x26
-       XFRM_MSG_MAX                     = 0x26
-       XFRM_NR_MSGTYPES                 = 0x17
-)
-
-// Attribute types
-const (
-       /* Netlink message attributes.  */
-       XFRMA_UNSPEC         = 0x00
-       XFRMA_ALG_AUTH       = 0x01 /* struct xfrm_algo */
-       XFRMA_ALG_CRYPT      = 0x02 /* struct xfrm_algo */
-       XFRMA_ALG_COMP       = 0x03 /* struct xfrm_algo */
-       XFRMA_ENCAP          = 0x04 /* struct xfrm_algo + struct xfrm_encap_tmpl */
-       XFRMA_TMPL           = 0x05 /* 1 or more struct xfrm_user_tmpl */
-       XFRMA_SA             = 0x06 /* struct xfrm_usersa_info  */
-       XFRMA_POLICY         = 0x07 /* struct xfrm_userpolicy_info */
-       XFRMA_SEC_CTX        = 0x08 /* struct xfrm_sec_ctx */
-       XFRMA_LTIME_VAL      = 0x09
-       XFRMA_REPLAY_VAL     = 0x0a
-       XFRMA_REPLAY_THRESH  = 0x0b
-       XFRMA_ETIMER_THRESH  = 0x0c
-       XFRMA_SRCADDR        = 0x0d /* xfrm_address_t */
-       XFRMA_COADDR         = 0x0e /* xfrm_address_t */
-       XFRMA_LASTUSED       = 0x0f /* unsigned long  */
-       XFRMA_POLICY_TYPE    = 0x10 /* struct xfrm_userpolicy_type */
-       XFRMA_MIGRATE        = 0x11
-       XFRMA_ALG_AEAD       = 0x12 /* struct xfrm_algo_aead */
-       XFRMA_KMADDRESS      = 0x13 /* struct xfrm_user_kmaddress */
-       XFRMA_ALG_AUTH_TRUNC = 0x14 /* struct xfrm_algo_auth */
-       XFRMA_MARK           = 0x15 /* struct xfrm_mark */
-       XFRMA_TFCPAD         = 0x16 /* __u32 */
-       XFRMA_REPLAY_ESN_VAL = 0x17 /* struct xfrm_replay_esn */
-       XFRMA_SA_EXTRA_FLAGS = 0x18 /* __u32 */
-       XFRMA_MAX            = 0x18
-)
-
-const (
-       SizeofXfrmAddress     = 0x10
-       SizeofXfrmSelector    = 0x38
-       SizeofXfrmLifetimeCfg = 0x40
-       SizeofXfrmLifetimeCur = 0x20
-       SizeofXfrmId          = 0x18
-       SizeofXfrmMark        = 0x08
-)
-
-// Netlink groups
-const (
-       XFRMNLGRP_NONE    = 0x0
-       XFRMNLGRP_ACQUIRE = 0x1
-       XFRMNLGRP_EXPIRE  = 0x2
-       XFRMNLGRP_SA      = 0x3
-       XFRMNLGRP_POLICY  = 0x4
-       XFRMNLGRP_AEVENTS = 0x5
-       XFRMNLGRP_REPORT  = 0x6
-       XFRMNLGRP_MIGRATE = 0x7
-       XFRMNLGRP_MAPPING = 0x8
-       __XFRMNLGRP_MAX   = 0x9
-)
-
-// typedef union {
-//   __be32    a4;
-//   __be32    a6[4];
-// } xfrm_address_t;
-
-type XfrmAddress [SizeofXfrmAddress]byte
-
-func (x *XfrmAddress) ToIP() net.IP {
-       var empty = [12]byte{}
-       ip := make(net.IP, net.IPv6len)
-       if bytes.Equal(x[4:16], empty[:]) {
-               ip[10] = 0xff
-               ip[11] = 0xff
-               copy(ip[12:16], x[0:4])
-       } else {
-               copy(ip[:], x[:])
-       }
-       return ip
-}
-
-func (x *XfrmAddress) ToIPNet(prefixlen uint8) *net.IPNet {
-       ip := x.ToIP()
-       if GetIPFamily(ip) == FAMILY_V4 {
-               return &net.IPNet{IP: ip, Mask: net.CIDRMask(int(prefixlen), 32)}
-       }
-       return &net.IPNet{IP: ip, Mask: net.CIDRMask(int(prefixlen), 128)}
-}
-
-func (x *XfrmAddress) FromIP(ip net.IP) {
-       var empty = [16]byte{}
-       if len(ip) < net.IPv4len {
-               copy(x[4:16], empty[:])
-       } else if GetIPFamily(ip) == FAMILY_V4 {
-               copy(x[0:4], ip.To4()[0:4])
-               copy(x[4:16], empty[:12])
-       } else {
-               copy(x[0:16], ip.To16()[0:16])
-       }
-}
-
-func DeserializeXfrmAddress(b []byte) *XfrmAddress {
-       return (*XfrmAddress)(unsafe.Pointer(&b[0:SizeofXfrmAddress][0]))
-}
-
-func (x *XfrmAddress) Serialize() []byte {
-       return (*(*[SizeofXfrmAddress]byte)(unsafe.Pointer(x)))[:]
-}
-
-// struct xfrm_selector {
-//   xfrm_address_t  daddr;
-//   xfrm_address_t  saddr;
-//   __be16  dport;
-//   __be16  dport_mask;
-//   __be16  sport;
-//   __be16  sport_mask;
-//   __u16 family;
-//   __u8  prefixlen_d;
-//   __u8  prefixlen_s;
-//   __u8  proto;
-//   int ifindex;
-//   __kernel_uid32_t  user;
-// };
-
-type XfrmSelector struct {
-       Daddr      XfrmAddress
-       Saddr      XfrmAddress
-       Dport      uint16 // big endian
-       DportMask  uint16 // big endian
-       Sport      uint16 // big endian
-       SportMask  uint16 // big endian
-       Family     uint16
-       PrefixlenD uint8
-       PrefixlenS uint8
-       Proto      uint8
-       Pad        [3]byte
-       Ifindex    int32
-       User       uint32
-}
-
-func (msg *XfrmSelector) Len() int {
-       return SizeofXfrmSelector
-}
-
-func DeserializeXfrmSelector(b []byte) *XfrmSelector {
-       return (*XfrmSelector)(unsafe.Pointer(&b[0:SizeofXfrmSelector][0]))
-}
-
-func (msg *XfrmSelector) Serialize() []byte {
-       return (*(*[SizeofXfrmSelector]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_lifetime_cfg {
-//   __u64 soft_byte_limit;
-//   __u64 hard_byte_limit;
-//   __u64 soft_packet_limit;
-//   __u64 hard_packet_limit;
-//   __u64 soft_add_expires_seconds;
-//   __u64 hard_add_expires_seconds;
-//   __u64 soft_use_expires_seconds;
-//   __u64 hard_use_expires_seconds;
-// };
-//
-
-type XfrmLifetimeCfg struct {
-       SoftByteLimit         uint64
-       HardByteLimit         uint64
-       SoftPacketLimit       uint64
-       HardPacketLimit       uint64
-       SoftAddExpiresSeconds uint64
-       HardAddExpiresSeconds uint64
-       SoftUseExpiresSeconds uint64
-       HardUseExpiresSeconds uint64
-}
-
-func (msg *XfrmLifetimeCfg) Len() int {
-       return SizeofXfrmLifetimeCfg
-}
-
-func DeserializeXfrmLifetimeCfg(b []byte) *XfrmLifetimeCfg {
-       return (*XfrmLifetimeCfg)(unsafe.Pointer(&b[0:SizeofXfrmLifetimeCfg][0]))
-}
-
-func (msg *XfrmLifetimeCfg) Serialize() []byte {
-       return (*(*[SizeofXfrmLifetimeCfg]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_lifetime_cur {
-//   __u64 bytes;
-//   __u64 packets;
-//   __u64 add_time;
-//   __u64 use_time;
-// };
-
-type XfrmLifetimeCur struct {
-       Bytes   uint64
-       Packets uint64
-       AddTime uint64
-       UseTime uint64
-}
-
-func (msg *XfrmLifetimeCur) Len() int {
-       return SizeofXfrmLifetimeCur
-}
-
-func DeserializeXfrmLifetimeCur(b []byte) *XfrmLifetimeCur {
-       return (*XfrmLifetimeCur)(unsafe.Pointer(&b[0:SizeofXfrmLifetimeCur][0]))
-}
-
-func (msg *XfrmLifetimeCur) Serialize() []byte {
-       return (*(*[SizeofXfrmLifetimeCur]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_id {
-//   xfrm_address_t  daddr;
-//   __be32    spi;
-//   __u8    proto;
-// };
-
-type XfrmId struct {
-       Daddr XfrmAddress
-       Spi   uint32 // big endian
-       Proto uint8
-       Pad   [3]byte
-}
-
-func (msg *XfrmId) Len() int {
-       return SizeofXfrmId
-}
-
-func DeserializeXfrmId(b []byte) *XfrmId {
-       return (*XfrmId)(unsafe.Pointer(&b[0:SizeofXfrmId][0]))
-}
-
-func (msg *XfrmId) Serialize() []byte {
-       return (*(*[SizeofXfrmId]byte)(unsafe.Pointer(msg)))[:]
-}
-
-type XfrmMark struct {
-       Value uint32
-       Mask  uint32
-}
-
-func (msg *XfrmMark) Len() int {
-       return SizeofXfrmMark
-}
-
-func DeserializeXfrmMark(b []byte) *XfrmMark {
-       return (*XfrmMark)(unsafe.Pointer(&b[0:SizeofXfrmMark][0]))
-}
-
-func (msg *XfrmMark) Serialize() []byte {
-       return (*(*[SizeofXfrmMark]byte)(unsafe.Pointer(msg)))[:]
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_linux_test.go
deleted file mode 100644 (file)
index 04404d7..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "testing"
-)
-
-func (msg *XfrmAddress) write(b []byte) {
-       copy(b[0:SizeofXfrmAddress], msg[:])
-}
-
-func (msg *XfrmAddress) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmAddress)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmAddressSafe(b []byte) *XfrmAddress {
-       var msg = XfrmAddress{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmAddress]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmAddressDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmAddress)
-       rand.Read(orig)
-       safemsg := deserializeXfrmAddressSafe(orig)
-       msg := DeserializeXfrmAddress(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmSelector) write(b []byte) {
-       const AddrEnd = SizeofXfrmAddress * 2
-       native := NativeEndian()
-       msg.Daddr.write(b[0:SizeofXfrmAddress])
-       msg.Saddr.write(b[SizeofXfrmAddress:AddrEnd])
-       native.PutUint16(b[AddrEnd:AddrEnd+2], msg.Dport)
-       native.PutUint16(b[AddrEnd+2:AddrEnd+4], msg.DportMask)
-       native.PutUint16(b[AddrEnd+4:AddrEnd+6], msg.Sport)
-       native.PutUint16(b[AddrEnd+6:AddrEnd+8], msg.SportMask)
-       native.PutUint16(b[AddrEnd+8:AddrEnd+10], msg.Family)
-       b[AddrEnd+10] = msg.PrefixlenD
-       b[AddrEnd+11] = msg.PrefixlenS
-       b[AddrEnd+12] = msg.Proto
-       copy(b[AddrEnd+13:AddrEnd+16], msg.Pad[:])
-       native.PutUint32(b[AddrEnd+16:AddrEnd+20], uint32(msg.Ifindex))
-       native.PutUint32(b[AddrEnd+20:AddrEnd+24], msg.User)
-}
-
-func (msg *XfrmSelector) serializeSafe() []byte {
-       length := SizeofXfrmSelector
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmSelectorSafe(b []byte) *XfrmSelector {
-       var msg = XfrmSelector{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmSelector]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmSelectorDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmSelector)
-       rand.Read(orig)
-       safemsg := deserializeXfrmSelectorSafe(orig)
-       msg := DeserializeXfrmSelector(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmLifetimeCfg) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint64(b[0:8], msg.SoftByteLimit)
-       native.PutUint64(b[8:16], msg.HardByteLimit)
-       native.PutUint64(b[16:24], msg.SoftPacketLimit)
-       native.PutUint64(b[24:32], msg.HardPacketLimit)
-       native.PutUint64(b[32:40], msg.SoftAddExpiresSeconds)
-       native.PutUint64(b[40:48], msg.HardAddExpiresSeconds)
-       native.PutUint64(b[48:56], msg.SoftUseExpiresSeconds)
-       native.PutUint64(b[56:64], msg.HardUseExpiresSeconds)
-}
-
-func (msg *XfrmLifetimeCfg) serializeSafe() []byte {
-       length := SizeofXfrmLifetimeCfg
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmLifetimeCfgSafe(b []byte) *XfrmLifetimeCfg {
-       var msg = XfrmLifetimeCfg{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmLifetimeCfg]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmLifetimeCfgDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmLifetimeCfg)
-       rand.Read(orig)
-       safemsg := deserializeXfrmLifetimeCfgSafe(orig)
-       msg := DeserializeXfrmLifetimeCfg(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmLifetimeCur) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint64(b[0:8], msg.Bytes)
-       native.PutUint64(b[8:16], msg.Packets)
-       native.PutUint64(b[16:24], msg.AddTime)
-       native.PutUint64(b[24:32], msg.UseTime)
-}
-
-func (msg *XfrmLifetimeCur) serializeSafe() []byte {
-       length := SizeofXfrmLifetimeCur
-       b := make([]byte, length)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmLifetimeCurSafe(b []byte) *XfrmLifetimeCur {
-       var msg = XfrmLifetimeCur{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmLifetimeCur]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmLifetimeCurDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmLifetimeCur)
-       rand.Read(orig)
-       safemsg := deserializeXfrmLifetimeCurSafe(orig)
-       msg := DeserializeXfrmLifetimeCur(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmId) write(b []byte) {
-       native := NativeEndian()
-       msg.Daddr.write(b[0:SizeofXfrmAddress])
-       native.PutUint32(b[SizeofXfrmAddress:SizeofXfrmAddress+4], msg.Spi)
-       b[SizeofXfrmAddress+4] = msg.Proto
-       copy(b[SizeofXfrmAddress+5:SizeofXfrmAddress+8], msg.Pad[:])
-}
-
-func (msg *XfrmId) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmId)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmIdSafe(b []byte) *XfrmId {
-       var msg = XfrmId{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmId]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmIdDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmId)
-       rand.Read(orig)
-       safemsg := deserializeXfrmIdSafe(orig)
-       msg := DeserializeXfrmId(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux.go
deleted file mode 100644 (file)
index 715df4c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-package nl
-
-import (
-       "unsafe"
-)
-
-const (
-       SizeofXfrmUserExpire = 0xe8
-)
-
-// struct xfrm_user_expire {
-//     struct xfrm_usersa_info         state;
-//     __u8                            hard;
-// };
-
-type XfrmUserExpire struct {
-       XfrmUsersaInfo XfrmUsersaInfo
-       Hard           uint8
-       Pad            [7]byte
-}
-
-func (msg *XfrmUserExpire) Len() int {
-       return SizeofXfrmUserExpire
-}
-
-func DeserializeXfrmUserExpire(b []byte) *XfrmUserExpire {
-       return (*XfrmUserExpire)(unsafe.Pointer(&b[0:SizeofXfrmUserExpire][0]))
-}
-
-func (msg *XfrmUserExpire) Serialize() []byte {
-       return (*(*[SizeofXfrmUserExpire]byte)(unsafe.Pointer(msg)))[:]
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux_test.go
deleted file mode 100644 (file)
index 3602caf..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "testing"
-)
-
-func (msg *XfrmUserExpire) write(b []byte) {
-       msg.XfrmUsersaInfo.write(b[0:SizeofXfrmUsersaInfo])
-       b[SizeofXfrmUsersaInfo] = msg.Hard
-       copy(b[SizeofXfrmUsersaInfo+1:SizeofXfrmUserExpire], msg.Pad[:])
-}
-
-func (msg *XfrmUserExpire) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUserExpire)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUserExpireSafe(b []byte) *XfrmUserExpire {
-       var msg = XfrmUserExpire{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUserExpire]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUserExpireDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUserExpire)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUserExpireSafe(orig)
-       msg := DeserializeXfrmUserExpire(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux.go
deleted file mode 100644 (file)
index 66f7e03..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-package nl
-
-import (
-       "unsafe"
-)
-
-const (
-       SizeofXfrmUserpolicyId   = 0x40
-       SizeofXfrmUserpolicyInfo = 0xa8
-       SizeofXfrmUserTmpl       = 0x40
-)
-
-// struct xfrm_userpolicy_id {
-//   struct xfrm_selector    sel;
-//   __u32       index;
-//   __u8        dir;
-// };
-//
-
-type XfrmUserpolicyId struct {
-       Sel   XfrmSelector
-       Index uint32
-       Dir   uint8
-       Pad   [3]byte
-}
-
-func (msg *XfrmUserpolicyId) Len() int {
-       return SizeofXfrmUserpolicyId
-}
-
-func DeserializeXfrmUserpolicyId(b []byte) *XfrmUserpolicyId {
-       return (*XfrmUserpolicyId)(unsafe.Pointer(&b[0:SizeofXfrmUserpolicyId][0]))
-}
-
-func (msg *XfrmUserpolicyId) Serialize() []byte {
-       return (*(*[SizeofXfrmUserpolicyId]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_userpolicy_info {
-//   struct xfrm_selector    sel;
-//   struct xfrm_lifetime_cfg  lft;
-//   struct xfrm_lifetime_cur  curlft;
-//   __u32       priority;
-//   __u32       index;
-//   __u8        dir;
-//   __u8        action;
-// #define XFRM_POLICY_ALLOW 0
-// #define XFRM_POLICY_BLOCK 1
-//   __u8        flags;
-// #define XFRM_POLICY_LOCALOK 1 /* Allow user to override global policy */
-//   /* Automatically expand selector to include matching ICMP payloads. */
-// #define XFRM_POLICY_ICMP  2
-//   __u8        share;
-// };
-
-type XfrmUserpolicyInfo struct {
-       Sel      XfrmSelector
-       Lft      XfrmLifetimeCfg
-       Curlft   XfrmLifetimeCur
-       Priority uint32
-       Index    uint32
-       Dir      uint8
-       Action   uint8
-       Flags    uint8
-       Share    uint8
-       Pad      [4]byte
-}
-
-func (msg *XfrmUserpolicyInfo) Len() int {
-       return SizeofXfrmUserpolicyInfo
-}
-
-func DeserializeXfrmUserpolicyInfo(b []byte) *XfrmUserpolicyInfo {
-       return (*XfrmUserpolicyInfo)(unsafe.Pointer(&b[0:SizeofXfrmUserpolicyInfo][0]))
-}
-
-func (msg *XfrmUserpolicyInfo) Serialize() []byte {
-       return (*(*[SizeofXfrmUserpolicyInfo]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_user_tmpl {
-//   struct xfrm_id    id;
-//   __u16     family;
-//   xfrm_address_t    saddr;
-//   __u32     reqid;
-//   __u8      mode;
-//   __u8      share;
-//   __u8      optional;
-//   __u32     aalgos;
-//   __u32     ealgos;
-//   __u32     calgos;
-// }
-
-type XfrmUserTmpl struct {
-       XfrmId   XfrmId
-       Family   uint16
-       Pad1     [2]byte
-       Saddr    XfrmAddress
-       Reqid    uint32
-       Mode     uint8
-       Share    uint8
-       Optional uint8
-       Pad2     byte
-       Aalgos   uint32
-       Ealgos   uint32
-       Calgos   uint32
-}
-
-func (msg *XfrmUserTmpl) Len() int {
-       return SizeofXfrmUserTmpl
-}
-
-func DeserializeXfrmUserTmpl(b []byte) *XfrmUserTmpl {
-       return (*XfrmUserTmpl)(unsafe.Pointer(&b[0:SizeofXfrmUserTmpl][0]))
-}
-
-func (msg *XfrmUserTmpl) Serialize() []byte {
-       return (*(*[SizeofXfrmUserTmpl]byte)(unsafe.Pointer(msg)))[:]
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux_test.go
deleted file mode 100644 (file)
index 08a604b..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "testing"
-)
-
-func (msg *XfrmUserpolicyId) write(b []byte) {
-       native := NativeEndian()
-       msg.Sel.write(b[0:SizeofXfrmSelector])
-       native.PutUint32(b[SizeofXfrmSelector:SizeofXfrmSelector+4], msg.Index)
-       b[SizeofXfrmSelector+4] = msg.Dir
-       copy(b[SizeofXfrmSelector+5:SizeofXfrmSelector+8], msg.Pad[:])
-}
-
-func (msg *XfrmUserpolicyId) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUserpolicyId)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUserpolicyIdSafe(b []byte) *XfrmUserpolicyId {
-       var msg = XfrmUserpolicyId{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUserpolicyId]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUserpolicyIdDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUserpolicyId)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUserpolicyIdSafe(orig)
-       msg := DeserializeXfrmUserpolicyId(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmUserpolicyInfo) write(b []byte) {
-       const CfgEnd = SizeofXfrmSelector + SizeofXfrmLifetimeCfg
-       const CurEnd = CfgEnd + SizeofXfrmLifetimeCur
-       native := NativeEndian()
-       msg.Sel.write(b[0:SizeofXfrmSelector])
-       msg.Lft.write(b[SizeofXfrmSelector:CfgEnd])
-       msg.Curlft.write(b[CfgEnd:CurEnd])
-       native.PutUint32(b[CurEnd:CurEnd+4], msg.Priority)
-       native.PutUint32(b[CurEnd+4:CurEnd+8], msg.Index)
-       b[CurEnd+8] = msg.Dir
-       b[CurEnd+9] = msg.Action
-       b[CurEnd+10] = msg.Flags
-       b[CurEnd+11] = msg.Share
-       copy(b[CurEnd+12:CurEnd+16], msg.Pad[:])
-}
-
-func (msg *XfrmUserpolicyInfo) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUserpolicyInfo)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUserpolicyInfoSafe(b []byte) *XfrmUserpolicyInfo {
-       var msg = XfrmUserpolicyInfo{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUserpolicyInfo]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUserpolicyInfoDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUserpolicyInfo)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUserpolicyInfoSafe(orig)
-       msg := DeserializeXfrmUserpolicyInfo(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmUserTmpl) write(b []byte) {
-       const AddrEnd = SizeofXfrmId + 4 + SizeofXfrmAddress
-       native := NativeEndian()
-       msg.XfrmId.write(b[0:SizeofXfrmId])
-       native.PutUint16(b[SizeofXfrmId:SizeofXfrmId+2], msg.Family)
-       copy(b[SizeofXfrmId+2:SizeofXfrmId+4], msg.Pad1[:])
-       msg.Saddr.write(b[SizeofXfrmId+4 : AddrEnd])
-       native.PutUint32(b[AddrEnd:AddrEnd+4], msg.Reqid)
-       b[AddrEnd+4] = msg.Mode
-       b[AddrEnd+5] = msg.Share
-       b[AddrEnd+6] = msg.Optional
-       b[AddrEnd+7] = msg.Pad2
-       native.PutUint32(b[AddrEnd+8:AddrEnd+12], msg.Aalgos)
-       native.PutUint32(b[AddrEnd+12:AddrEnd+16], msg.Ealgos)
-       native.PutUint32(b[AddrEnd+16:AddrEnd+20], msg.Calgos)
-}
-
-func (msg *XfrmUserTmpl) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUserTmpl)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUserTmplSafe(b []byte) *XfrmUserTmpl {
-       var msg = XfrmUserTmpl{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUserTmpl]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUserTmplDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUserTmpl)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUserTmplSafe(orig)
-       msg := DeserializeXfrmUserTmpl(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux.go
deleted file mode 100644 (file)
index b6290fd..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-package nl
-
-import (
-       "unsafe"
-)
-
-const (
-       SizeofXfrmUsersaId       = 0x18
-       SizeofXfrmStats          = 0x0c
-       SizeofXfrmUsersaInfo     = 0xe0
-       SizeofXfrmUserSpiInfo    = 0xe8
-       SizeofXfrmAlgo           = 0x44
-       SizeofXfrmAlgoAuth       = 0x48
-       SizeofXfrmAlgoAEAD       = 0x48
-       SizeofXfrmEncapTmpl      = 0x18
-       SizeofXfrmUsersaFlush    = 0x8
-       SizeofXfrmReplayStateEsn = 0x18
-)
-
-const (
-       XFRM_STATE_NOECN      = 1
-       XFRM_STATE_DECAP_DSCP = 2
-       XFRM_STATE_NOPMTUDISC = 4
-       XFRM_STATE_WILDRECV   = 8
-       XFRM_STATE_ICMP       = 16
-       XFRM_STATE_AF_UNSPEC  = 32
-       XFRM_STATE_ALIGN4     = 64
-       XFRM_STATE_ESN        = 128
-)
-
-// struct xfrm_usersa_id {
-//   xfrm_address_t      daddr;
-//   __be32        spi;
-//   __u16       family;
-//   __u8        proto;
-// };
-
-type XfrmUsersaId struct {
-       Daddr  XfrmAddress
-       Spi    uint32 // big endian
-       Family uint16
-       Proto  uint8
-       Pad    byte
-}
-
-func (msg *XfrmUsersaId) Len() int {
-       return SizeofXfrmUsersaId
-}
-
-func DeserializeXfrmUsersaId(b []byte) *XfrmUsersaId {
-       return (*XfrmUsersaId)(unsafe.Pointer(&b[0:SizeofXfrmUsersaId][0]))
-}
-
-func (msg *XfrmUsersaId) Serialize() []byte {
-       return (*(*[SizeofXfrmUsersaId]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_stats {
-//   __u32 replay_window;
-//   __u32 replay;
-//   __u32 integrity_failed;
-// };
-
-type XfrmStats struct {
-       ReplayWindow    uint32
-       Replay          uint32
-       IntegrityFailed uint32
-}
-
-func (msg *XfrmStats) Len() int {
-       return SizeofXfrmStats
-}
-
-func DeserializeXfrmStats(b []byte) *XfrmStats {
-       return (*XfrmStats)(unsafe.Pointer(&b[0:SizeofXfrmStats][0]))
-}
-
-func (msg *XfrmStats) Serialize() []byte {
-       return (*(*[SizeofXfrmStats]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_usersa_info {
-//   struct xfrm_selector    sel;
-//   struct xfrm_id      id;
-//   xfrm_address_t      saddr;
-//   struct xfrm_lifetime_cfg  lft;
-//   struct xfrm_lifetime_cur  curlft;
-//   struct xfrm_stats   stats;
-//   __u32       seq;
-//   __u32       reqid;
-//   __u16       family;
-//   __u8        mode;   /* XFRM_MODE_xxx */
-//   __u8        replay_window;
-//   __u8        flags;
-// #define XFRM_STATE_NOECN  1
-// #define XFRM_STATE_DECAP_DSCP 2
-// #define XFRM_STATE_NOPMTUDISC 4
-// #define XFRM_STATE_WILDRECV 8
-// #define XFRM_STATE_ICMP   16
-// #define XFRM_STATE_AF_UNSPEC  32
-// #define XFRM_STATE_ALIGN4 64
-// #define XFRM_STATE_ESN    128
-// };
-//
-// #define XFRM_SA_XFLAG_DONT_ENCAP_DSCP 1
-//
-
-type XfrmUsersaInfo struct {
-       Sel          XfrmSelector
-       Id           XfrmId
-       Saddr        XfrmAddress
-       Lft          XfrmLifetimeCfg
-       Curlft       XfrmLifetimeCur
-       Stats        XfrmStats
-       Seq          uint32
-       Reqid        uint32
-       Family       uint16
-       Mode         uint8
-       ReplayWindow uint8
-       Flags        uint8
-       Pad          [7]byte
-}
-
-func (msg *XfrmUsersaInfo) Len() int {
-       return SizeofXfrmUsersaInfo
-}
-
-func DeserializeXfrmUsersaInfo(b []byte) *XfrmUsersaInfo {
-       return (*XfrmUsersaInfo)(unsafe.Pointer(&b[0:SizeofXfrmUsersaInfo][0]))
-}
-
-func (msg *XfrmUsersaInfo) Serialize() []byte {
-       return (*(*[SizeofXfrmUsersaInfo]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_userspi_info {
-//     struct xfrm_usersa_info         info;
-//     __u32                           min;
-//     __u32                           max;
-// };
-
-type XfrmUserSpiInfo struct {
-       XfrmUsersaInfo XfrmUsersaInfo
-       Min            uint32
-       Max            uint32
-}
-
-func (msg *XfrmUserSpiInfo) Len() int {
-       return SizeofXfrmUserSpiInfo
-}
-
-func DeserializeXfrmUserSpiInfo(b []byte) *XfrmUserSpiInfo {
-       return (*XfrmUserSpiInfo)(unsafe.Pointer(&b[0:SizeofXfrmUserSpiInfo][0]))
-}
-
-func (msg *XfrmUserSpiInfo) Serialize() []byte {
-       return (*(*[SizeofXfrmUserSpiInfo]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_algo {
-//   char    alg_name[64];
-//   unsigned int  alg_key_len;    /* in bits */
-//   char    alg_key[0];
-// };
-
-type XfrmAlgo struct {
-       AlgName   [64]byte
-       AlgKeyLen uint32
-       AlgKey    []byte
-}
-
-func (msg *XfrmAlgo) Len() int {
-       return SizeofXfrmAlgo + int(msg.AlgKeyLen/8)
-}
-
-func DeserializeXfrmAlgo(b []byte) *XfrmAlgo {
-       ret := XfrmAlgo{}
-       copy(ret.AlgName[:], b[0:64])
-       ret.AlgKeyLen = *(*uint32)(unsafe.Pointer(&b[64]))
-       ret.AlgKey = b[68:ret.Len()]
-       return &ret
-}
-
-func (msg *XfrmAlgo) Serialize() []byte {
-       b := make([]byte, msg.Len())
-       copy(b[0:64], msg.AlgName[:])
-       copy(b[64:68], (*(*[4]byte)(unsafe.Pointer(&msg.AlgKeyLen)))[:])
-       copy(b[68:msg.Len()], msg.AlgKey[:])
-       return b
-}
-
-// struct xfrm_algo_auth {
-//   char    alg_name[64];
-//   unsigned int  alg_key_len;    /* in bits */
-//   unsigned int  alg_trunc_len;  /* in bits */
-//   char    alg_key[0];
-// };
-
-type XfrmAlgoAuth struct {
-       AlgName     [64]byte
-       AlgKeyLen   uint32
-       AlgTruncLen uint32
-       AlgKey      []byte
-}
-
-func (msg *XfrmAlgoAuth) Len() int {
-       return SizeofXfrmAlgoAuth + int(msg.AlgKeyLen/8)
-}
-
-func DeserializeXfrmAlgoAuth(b []byte) *XfrmAlgoAuth {
-       ret := XfrmAlgoAuth{}
-       copy(ret.AlgName[:], b[0:64])
-       ret.AlgKeyLen = *(*uint32)(unsafe.Pointer(&b[64]))
-       ret.AlgTruncLen = *(*uint32)(unsafe.Pointer(&b[68]))
-       ret.AlgKey = b[72:ret.Len()]
-       return &ret
-}
-
-func (msg *XfrmAlgoAuth) Serialize() []byte {
-       b := make([]byte, msg.Len())
-       copy(b[0:64], msg.AlgName[:])
-       copy(b[64:68], (*(*[4]byte)(unsafe.Pointer(&msg.AlgKeyLen)))[:])
-       copy(b[68:72], (*(*[4]byte)(unsafe.Pointer(&msg.AlgTruncLen)))[:])
-       copy(b[72:msg.Len()], msg.AlgKey[:])
-       return b
-}
-
-// struct xfrm_algo_aead {
-//   char    alg_name[64];
-//   unsigned int  alg_key_len;  /* in bits */
-//   unsigned int  alg_icv_len;  /* in bits */
-//   char    alg_key[0];
-// }
-
-type XfrmAlgoAEAD struct {
-       AlgName   [64]byte
-       AlgKeyLen uint32
-       AlgICVLen uint32
-       AlgKey    []byte
-}
-
-func (msg *XfrmAlgoAEAD) Len() int {
-       return SizeofXfrmAlgoAEAD + int(msg.AlgKeyLen/8)
-}
-
-func DeserializeXfrmAlgoAEAD(b []byte) *XfrmAlgoAEAD {
-       ret := XfrmAlgoAEAD{}
-       copy(ret.AlgName[:], b[0:64])
-       ret.AlgKeyLen = *(*uint32)(unsafe.Pointer(&b[64]))
-       ret.AlgICVLen = *(*uint32)(unsafe.Pointer(&b[68]))
-       ret.AlgKey = b[72:ret.Len()]
-       return &ret
-}
-
-func (msg *XfrmAlgoAEAD) Serialize() []byte {
-       b := make([]byte, msg.Len())
-       copy(b[0:64], msg.AlgName[:])
-       copy(b[64:68], (*(*[4]byte)(unsafe.Pointer(&msg.AlgKeyLen)))[:])
-       copy(b[68:72], (*(*[4]byte)(unsafe.Pointer(&msg.AlgICVLen)))[:])
-       copy(b[72:msg.Len()], msg.AlgKey[:])
-       return b
-}
-
-// struct xfrm_encap_tmpl {
-//   __u16   encap_type;
-//   __be16    encap_sport;
-//   __be16    encap_dport;
-//   xfrm_address_t  encap_oa;
-// };
-
-type XfrmEncapTmpl struct {
-       EncapType  uint16
-       EncapSport uint16 // big endian
-       EncapDport uint16 // big endian
-       Pad        [2]byte
-       EncapOa    XfrmAddress
-}
-
-func (msg *XfrmEncapTmpl) Len() int {
-       return SizeofXfrmEncapTmpl
-}
-
-func DeserializeXfrmEncapTmpl(b []byte) *XfrmEncapTmpl {
-       return (*XfrmEncapTmpl)(unsafe.Pointer(&b[0:SizeofXfrmEncapTmpl][0]))
-}
-
-func (msg *XfrmEncapTmpl) Serialize() []byte {
-       return (*(*[SizeofXfrmEncapTmpl]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_usersa_flush {
-//    __u8 proto;
-// };
-
-type XfrmUsersaFlush struct {
-       Proto uint8
-}
-
-func (msg *XfrmUsersaFlush) Len() int {
-       return SizeofXfrmUsersaFlush
-}
-
-func DeserializeXfrmUsersaFlush(b []byte) *XfrmUsersaFlush {
-       return (*XfrmUsersaFlush)(unsafe.Pointer(&b[0:SizeofXfrmUsersaFlush][0]))
-}
-
-func (msg *XfrmUsersaFlush) Serialize() []byte {
-       return (*(*[SizeofXfrmUsersaFlush]byte)(unsafe.Pointer(msg)))[:]
-}
-
-// struct xfrm_replay_state_esn {
-//     unsigned int    bmp_len;
-//     __u32           oseq;
-//     __u32           seq;
-//     __u32           oseq_hi;
-//     __u32           seq_hi;
-//     __u32           replay_window;
-//     __u32           bmp[0];
-// };
-
-type XfrmReplayStateEsn struct {
-       BmpLen       uint32
-       OSeq         uint32
-       Seq          uint32
-       OSeqHi       uint32
-       SeqHi        uint32
-       ReplayWindow uint32
-       Bmp          []uint32
-}
-
-func (msg *XfrmReplayStateEsn) Serialize() []byte {
-       // We deliberately do not pass Bmp, as it gets set by the kernel.
-       return (*(*[SizeofXfrmReplayStateEsn]byte)(unsafe.Pointer(msg)))[:]
-}
diff --git a/vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux_test.go b/vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux_test.go
deleted file mode 100644 (file)
index 5ede308..0000000
+++ /dev/null
@@ -1,304 +0,0 @@
-package nl
-
-import (
-       "bytes"
-       "crypto/rand"
-       "encoding/binary"
-       "testing"
-)
-
-func (msg *XfrmUsersaId) write(b []byte) {
-       native := NativeEndian()
-       msg.Daddr.write(b[0:SizeofXfrmAddress])
-       native.PutUint32(b[SizeofXfrmAddress:SizeofXfrmAddress+4], msg.Spi)
-       native.PutUint16(b[SizeofXfrmAddress+4:SizeofXfrmAddress+6], msg.Family)
-       b[SizeofXfrmAddress+6] = msg.Proto
-       b[SizeofXfrmAddress+7] = msg.Pad
-}
-
-func (msg *XfrmUsersaId) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUsersaId)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUsersaIdSafe(b []byte) *XfrmUsersaId {
-       var msg = XfrmUsersaId{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUsersaId]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUsersaIdDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUsersaId)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUsersaIdSafe(orig)
-       msg := DeserializeXfrmUsersaId(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmStats) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], msg.ReplayWindow)
-       native.PutUint32(b[4:8], msg.Replay)
-       native.PutUint32(b[8:12], msg.IntegrityFailed)
-}
-
-func (msg *XfrmStats) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmStats)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmStatsSafe(b []byte) *XfrmStats {
-       var msg = XfrmStats{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmStats]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmStatsDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmStats)
-       rand.Read(orig)
-       safemsg := deserializeXfrmStatsSafe(orig)
-       msg := DeserializeXfrmStats(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmUsersaInfo) write(b []byte) {
-       const IdEnd = SizeofXfrmSelector + SizeofXfrmId
-       const AddressEnd = IdEnd + SizeofXfrmAddress
-       const CfgEnd = AddressEnd + SizeofXfrmLifetimeCfg
-       const CurEnd = CfgEnd + SizeofXfrmLifetimeCur
-       const StatsEnd = CurEnd + SizeofXfrmStats
-       native := NativeEndian()
-       msg.Sel.write(b[0:SizeofXfrmSelector])
-       msg.Id.write(b[SizeofXfrmSelector:IdEnd])
-       msg.Saddr.write(b[IdEnd:AddressEnd])
-       msg.Lft.write(b[AddressEnd:CfgEnd])
-       msg.Curlft.write(b[CfgEnd:CurEnd])
-       msg.Stats.write(b[CurEnd:StatsEnd])
-       native.PutUint32(b[StatsEnd:StatsEnd+4], msg.Seq)
-       native.PutUint32(b[StatsEnd+4:StatsEnd+8], msg.Reqid)
-       native.PutUint16(b[StatsEnd+8:StatsEnd+10], msg.Family)
-       b[StatsEnd+10] = msg.Mode
-       b[StatsEnd+11] = msg.ReplayWindow
-       b[StatsEnd+12] = msg.Flags
-       copy(b[StatsEnd+13:StatsEnd+20], msg.Pad[:])
-}
-
-func (msg *XfrmUsersaInfo) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUsersaInfo)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUsersaInfoSafe(b []byte) *XfrmUsersaInfo {
-       var msg = XfrmUsersaInfo{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUsersaInfo]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUsersaInfoDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUsersaInfo)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUsersaInfoSafe(orig)
-       msg := DeserializeXfrmUsersaInfo(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmAlgo) write(b []byte) {
-       native := NativeEndian()
-       copy(b[0:64], msg.AlgName[:])
-       native.PutUint32(b[64:68], msg.AlgKeyLen)
-       copy(b[68:msg.Len()], msg.AlgKey[:])
-}
-
-func (msg *XfrmAlgo) serializeSafe() []byte {
-       b := make([]byte, msg.Len())
-       msg.write(b)
-       return b
-}
-
-func (msg *XfrmUserSpiInfo) write(b []byte) {
-       native := NativeEndian()
-       msg.XfrmUsersaInfo.write(b[0:SizeofXfrmUsersaInfo])
-       native.PutUint32(b[SizeofXfrmUsersaInfo:SizeofXfrmUsersaInfo+4], msg.Min)
-       native.PutUint32(b[SizeofXfrmUsersaInfo+4:SizeofXfrmUsersaInfo+8], msg.Max)
-}
-
-func (msg *XfrmUserSpiInfo) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmUserSpiInfo)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmUserSpiInfoSafe(b []byte) *XfrmUserSpiInfo {
-       var msg = XfrmUserSpiInfo{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmUserSpiInfo]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmUserSpiInfoDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmUserSpiInfo)
-       rand.Read(orig)
-       safemsg := deserializeXfrmUserSpiInfoSafe(orig)
-       msg := DeserializeXfrmUserSpiInfo(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func deserializeXfrmAlgoSafe(b []byte) *XfrmAlgo {
-       var msg = XfrmAlgo{}
-       copy(msg.AlgName[:], b[0:64])
-       binary.Read(bytes.NewReader(b[64:68]), NativeEndian(), &msg.AlgKeyLen)
-       msg.AlgKey = b[68:msg.Len()]
-       return &msg
-}
-
-func TestXfrmAlgoDeserializeSerialize(t *testing.T) {
-       native := NativeEndian()
-       // use a 32 byte key len
-       var orig = make([]byte, SizeofXfrmAlgo+32)
-       rand.Read(orig)
-       // set the key len to 256 bits
-       var KeyLen uint32 = 0x00000100
-       // Little Endian    Big Endian
-       // orig[64] = 0     orig[64] = 0
-       // orig[65] = 1     orig[65] = 0
-       // orig[66] = 0     orig[66] = 1
-       // orig[67] = 0     orig[67] = 0
-       native.PutUint32(orig[64:68], KeyLen)
-       safemsg := deserializeXfrmAlgoSafe(orig)
-       msg := DeserializeXfrmAlgo(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmAlgoAuth) write(b []byte) {
-       native := NativeEndian()
-       copy(b[0:64], msg.AlgName[:])
-       native.PutUint32(b[64:68], msg.AlgKeyLen)
-       native.PutUint32(b[68:72], msg.AlgTruncLen)
-       copy(b[72:msg.Len()], msg.AlgKey[:])
-}
-
-func (msg *XfrmAlgoAuth) serializeSafe() []byte {
-       b := make([]byte, msg.Len())
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmAlgoAuthSafe(b []byte) *XfrmAlgoAuth {
-       var msg = XfrmAlgoAuth{}
-       copy(msg.AlgName[:], b[0:64])
-       binary.Read(bytes.NewReader(b[64:68]), NativeEndian(), &msg.AlgKeyLen)
-       binary.Read(bytes.NewReader(b[68:72]), NativeEndian(), &msg.AlgTruncLen)
-       msg.AlgKey = b[72:msg.Len()]
-       return &msg
-}
-
-func TestXfrmAlgoAuthDeserializeSerialize(t *testing.T) {
-       native := NativeEndian()
-       // use a 32 byte key len
-       var orig = make([]byte, SizeofXfrmAlgoAuth+32)
-       rand.Read(orig)
-       // set the key len to 256 bits
-       var KeyLen uint32 = 0x00000100
-       // Little Endian    Big Endian
-       // orig[64] = 0     orig[64] = 0
-       // orig[65] = 1     orig[65] = 0
-       // orig[66] = 0     orig[66] = 1
-       // orig[67] = 0     orig[67] = 0
-       native.PutUint32(orig[64:68], KeyLen)
-       safemsg := deserializeXfrmAlgoAuthSafe(orig)
-       msg := DeserializeXfrmAlgoAuth(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmEncapTmpl) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint16(b[0:2], msg.EncapType)
-       native.PutUint16(b[2:4], msg.EncapSport)
-       native.PutUint16(b[4:6], msg.EncapDport)
-       copy(b[6:8], msg.Pad[:])
-       msg.EncapOa.write(b[8:SizeofXfrmAddress])
-}
-
-func (msg *XfrmEncapTmpl) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmEncapTmpl)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmEncapTmplSafe(b []byte) *XfrmEncapTmpl {
-       var msg = XfrmEncapTmpl{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmEncapTmpl]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmEncapTmplDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmEncapTmpl)
-       rand.Read(orig)
-       safemsg := deserializeXfrmEncapTmplSafe(orig)
-       msg := DeserializeXfrmEncapTmpl(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmMark) write(b []byte) {
-       native := NativeEndian()
-       native.PutUint32(b[0:4], msg.Value)
-       native.PutUint32(b[4:8], msg.Mask)
-}
-
-func (msg *XfrmMark) serializeSafe() []byte {
-       b := make([]byte, SizeofXfrmMark)
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmMarkSafe(b []byte) *XfrmMark {
-       var msg = XfrmMark{}
-       binary.Read(bytes.NewReader(b[0:SizeofXfrmMark]), NativeEndian(), &msg)
-       return &msg
-}
-
-func TestXfrmMarkDeserializeSerialize(t *testing.T) {
-       var orig = make([]byte, SizeofXfrmMark)
-       rand.Read(orig)
-       safemsg := deserializeXfrmMarkSafe(orig)
-       msg := DeserializeXfrmMark(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
-
-func (msg *XfrmAlgoAEAD) write(b []byte) {
-       native := NativeEndian()
-       copy(b[0:64], msg.AlgName[:])
-       native.PutUint32(b[64:68], msg.AlgKeyLen)
-       native.PutUint32(b[68:72], msg.AlgICVLen)
-       copy(b[72:msg.Len()], msg.AlgKey[:])
-}
-
-func (msg *XfrmAlgoAEAD) serializeSafe() []byte {
-       b := make([]byte, msg.Len())
-       msg.write(b)
-       return b
-}
-
-func deserializeXfrmAlgoAEADSafe(b []byte) *XfrmAlgoAEAD {
-       var msg = XfrmAlgoAEAD{}
-       copy(msg.AlgName[:], b[0:64])
-       binary.Read(bytes.NewReader(b[64:68]), NativeEndian(), &msg.AlgKeyLen)
-       binary.Read(bytes.NewReader(b[68:72]), NativeEndian(), &msg.AlgICVLen)
-       msg.AlgKey = b[72:msg.Len()]
-       return &msg
-}
-
-func TestXfrmXfrmAlgoAeadDeserializeSerialize(t *testing.T) {
-       native := NativeEndian()
-       // use a 32 byte key len
-       var orig = make([]byte, SizeofXfrmAlgoAEAD+36)
-       rand.Read(orig)
-       // set the key len to (256 + 32) bits
-       var KeyLen uint32 = 0x00000120
-       native.PutUint32(orig[64:68], KeyLen)
-       safemsg := deserializeXfrmAlgoAEADSafe(orig)
-       msg := DeserializeXfrmAlgoAEAD(orig)
-       testDeserializeSerialize(t, orig, safemsg, msg)
-}
diff --git a/vendor/github.com/vishvananda/netlink/order.go b/vendor/github.com/vishvananda/netlink/order.go
deleted file mode 100644 (file)
index e28e153..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-package netlink
-
-import (
-       "encoding/binary"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-var (
-       native       = nl.NativeEndian()
-       networkOrder = binary.BigEndian
-)
-
-func htonl(val uint32) []byte {
-       bytes := make([]byte, 4)
-       binary.BigEndian.PutUint32(bytes, val)
-       return bytes
-}
-
-func htons(val uint16) []byte {
-       bytes := make([]byte, 2)
-       binary.BigEndian.PutUint16(bytes, val)
-       return bytes
-}
-
-func ntohl(buf []byte) uint32 {
-       return binary.BigEndian.Uint32(buf)
-}
-
-func ntohs(buf []byte) uint16 {
-       return binary.BigEndian.Uint16(buf)
-}
diff --git a/vendor/github.com/vishvananda/netlink/protinfo.go b/vendor/github.com/vishvananda/netlink/protinfo.go
deleted file mode 100644 (file)
index 0087c44..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-package netlink
-
-import (
-       "strings"
-)
-
-// Protinfo represents bridge flags from netlink.
-type Protinfo struct {
-       Hairpin      bool
-       Guard        bool
-       FastLeave    bool
-       RootBlock    bool
-       Learning     bool
-       Flood        bool
-       ProxyArp     bool
-       ProxyArpWiFi bool
-}
-
-// String returns a list of enabled flags
-func (prot *Protinfo) String() string {
-       var boolStrings []string
-       if prot.Hairpin {
-               boolStrings = append(boolStrings, "Hairpin")
-       }
-       if prot.Guard {
-               boolStrings = append(boolStrings, "Guard")
-       }
-       if prot.FastLeave {
-               boolStrings = append(boolStrings, "FastLeave")
-       }
-       if prot.RootBlock {
-               boolStrings = append(boolStrings, "RootBlock")
-       }
-       if prot.Learning {
-               boolStrings = append(boolStrings, "Learning")
-       }
-       if prot.Flood {
-               boolStrings = append(boolStrings, "Flood")
-       }
-       if prot.ProxyArp {
-               boolStrings = append(boolStrings, "ProxyArp")
-       }
-       if prot.ProxyArpWiFi {
-               boolStrings = append(boolStrings, "ProxyArpWiFi")
-       }
-       return strings.Join(boolStrings, " ")
-}
-
-func boolToByte(x bool) []byte {
-       if x {
-               return []byte{1}
-       }
-       return []byte{0}
-}
-
-func byteToBool(x byte) bool {
-       return uint8(x) != 0
-}
diff --git a/vendor/github.com/vishvananda/netlink/protinfo_linux.go b/vendor/github.com/vishvananda/netlink/protinfo_linux.go
deleted file mode 100644 (file)
index 10dd0d5..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-func LinkGetProtinfo(link Link) (Protinfo, error) {
-       return pkgHandle.LinkGetProtinfo(link)
-}
-
-func (h *Handle) LinkGetProtinfo(link Link) (Protinfo, error) {
-       base := link.Attrs()
-       h.ensureIndex(base)
-       var pi Protinfo
-       req := h.newNetlinkRequest(syscall.RTM_GETLINK, syscall.NLM_F_DUMP)
-       msg := nl.NewIfInfomsg(syscall.AF_BRIDGE)
-       req.AddData(msg)
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       if err != nil {
-               return pi, err
-       }
-
-       for _, m := range msgs {
-               ans := nl.DeserializeIfInfomsg(m)
-               if int(ans.Index) != base.Index {
-                       continue
-               }
-               attrs, err := nl.ParseRouteAttr(m[ans.Len():])
-               if err != nil {
-                       return pi, err
-               }
-               for _, attr := range attrs {
-                       if attr.Attr.Type != syscall.IFLA_PROTINFO|syscall.NLA_F_NESTED {
-                               continue
-                       }
-                       infos, err := nl.ParseRouteAttr(attr.Value)
-                       if err != nil {
-                               return pi, err
-                       }
-                       pi = *parseProtinfo(infos)
-
-                       return pi, nil
-               }
-       }
-       return pi, fmt.Errorf("Device with index %d not found", base.Index)
-}
-
-func parseProtinfo(infos []syscall.NetlinkRouteAttr) *Protinfo {
-       var pi Protinfo
-       for _, info := range infos {
-               switch info.Attr.Type {
-               case nl.IFLA_BRPORT_MODE:
-                       pi.Hairpin = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_GUARD:
-                       pi.Guard = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_FAST_LEAVE:
-                       pi.FastLeave = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_PROTECT:
-                       pi.RootBlock = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_LEARNING:
-                       pi.Learning = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_UNICAST_FLOOD:
-                       pi.Flood = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_PROXYARP:
-                       pi.ProxyArp = byteToBool(info.Value[0])
-               case nl.IFLA_BRPORT_PROXYARP_WIFI:
-                       pi.ProxyArpWiFi = byteToBool(info.Value[0])
-               }
-       }
-       return &pi
-}
diff --git a/vendor/github.com/vishvananda/netlink/protinfo_test.go b/vendor/github.com/vishvananda/netlink/protinfo_test.go
deleted file mode 100644 (file)
index 680f461..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "os"
-       "testing"
-)
-
-func TestProtinfo(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       master := &Bridge{LinkAttrs{Name: "foo"}}
-       if err := LinkAdd(master); err != nil {
-               t.Fatal(err)
-       }
-       iface1 := &Dummy{LinkAttrs{Name: "bar1", MasterIndex: master.Index}}
-       iface2 := &Dummy{LinkAttrs{Name: "bar2", MasterIndex: master.Index}}
-       iface3 := &Dummy{LinkAttrs{Name: "bar3"}}
-       iface4 := &Dummy{LinkAttrs{Name: "bar4", MasterIndex: master.Index}}
-
-       if err := LinkAdd(iface1); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(iface2); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(iface3); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkAdd(iface4); err != nil {
-               t.Fatal(err)
-       }
-
-       oldpi1, err := LinkGetProtinfo(iface1)
-       if err != nil {
-               t.Fatal(err)
-       }
-       oldpi2, err := LinkGetProtinfo(iface2)
-       if err != nil {
-               t.Fatal(err)
-       }
-       oldpi4, err := LinkGetProtinfo(iface4)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkSetHairpin(iface1, true); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkSetRootBlock(iface1, true); err != nil {
-               t.Fatal(err)
-       }
-
-       pi1, err := LinkGetProtinfo(iface1)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if !pi1.Hairpin {
-               t.Fatalf("Hairpin mode is not enabled for %s, but should", iface1.Name)
-       }
-       if !pi1.RootBlock {
-               t.Fatalf("RootBlock is not enabled for %s, but should", iface1.Name)
-       }
-       if pi1.ProxyArp != oldpi1.ProxyArp {
-               t.Fatalf("ProxyArp field was changed for %s but shouldn't", iface1.Name)
-       }
-       if pi1.ProxyArpWiFi != oldpi1.ProxyArp {
-               t.Fatalf("ProxyArpWiFi ProxyArp field was changed for %s but shouldn't", iface1.Name)
-       }
-       if pi1.Guard != oldpi1.Guard {
-               t.Fatalf("Guard field was changed for %s but shouldn't", iface1.Name)
-       }
-       if pi1.FastLeave != oldpi1.FastLeave {
-               t.Fatalf("FastLeave field was changed for %s but shouldn't", iface1.Name)
-       }
-       if pi1.Learning != oldpi1.Learning {
-               t.Fatalf("Learning field was changed for %s but shouldn't", iface1.Name)
-       }
-       if pi1.Flood != oldpi1.Flood {
-               t.Fatalf("Flood field was changed for %s but shouldn't", iface1.Name)
-       }
-
-       if err := LinkSetGuard(iface2, true); err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetLearning(iface2, false); err != nil {
-               t.Fatal(err)
-       }
-       pi2, err := LinkGetProtinfo(iface2)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if pi2.Hairpin {
-               t.Fatalf("Hairpin mode is enabled for %s, but shouldn't", iface2.Name)
-       }
-       if !pi2.Guard {
-               t.Fatalf("Guard is not enabled for %s, but should", iface2.Name)
-       }
-       if pi2.ProxyArp != oldpi2.ProxyArp {
-               t.Fatalf("ProxyArp field was changed for %s but shouldn't", iface2.Name)
-       }
-       if pi2.ProxyArpWiFi != oldpi2.ProxyArpWiFi {
-               t.Fatalf("ProxyArpWiFi field was changed for %s but shouldn't", iface2.Name)
-       }
-       if pi2.Learning {
-               t.Fatalf("Learning is enabled for %s, but shouldn't", iface2.Name)
-       }
-       if pi2.RootBlock != oldpi2.RootBlock {
-               t.Fatalf("RootBlock field was changed for %s but shouldn't", iface2.Name)
-       }
-       if pi2.FastLeave != oldpi2.FastLeave {
-               t.Fatalf("FastLeave field was changed for %s but shouldn't", iface2.Name)
-       }
-       if pi2.Flood != oldpi2.Flood {
-               t.Fatalf("Flood field was changed for %s but shouldn't", iface2.Name)
-       }
-
-       if err := LinkSetHairpin(iface3, true); err == nil || err.Error() != "operation not supported" {
-               t.Fatalf("Set protinfo attrs for link without master is not supported, but err: %s", err)
-       }
-
-       if os.Getenv("TRAVIS_BUILD_DIR") != "" {
-               t.Skipf("Skipped some tests because travis kernel is to old to support BR_PROXYARP.")
-       }
-
-       if err := LinkSetBrProxyArp(iface4, true); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := LinkSetBrProxyArpWiFi(iface4, true); err != nil {
-               t.Fatal(err)
-       }
-       pi4, err := LinkGetProtinfo(iface4)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if pi4.Hairpin != oldpi4.Hairpin {
-               t.Fatalf("Hairpin field was changed for %s but shouldn't", iface4.Name)
-       }
-       if pi4.Guard != oldpi4.Guard {
-               t.Fatalf("Guard field was changed for %s but shouldn't", iface4.Name)
-       }
-       if pi4.Learning != oldpi4.Learning {
-               t.Fatalf("Learning field was changed for %s but shouldn't", iface4.Name)
-       }
-       if !pi4.ProxyArp {
-               t.Fatalf("ProxyArp is not enabled for %s, but should", iface4.Name)
-       }
-       if !pi4.ProxyArpWiFi {
-               t.Fatalf("ProxyArpWiFi is not enabled for %s, but should", iface4.Name)
-       }
-       if pi4.RootBlock != oldpi4.RootBlock {
-               t.Fatalf("RootBlock field was changed for %s but shouldn't", iface4.Name)
-       }
-       if pi4.FastLeave != oldpi4.FastLeave {
-               t.Fatalf("FastLeave field was changed for %s but shouldn't", iface4.Name)
-       }
-       if pi4.Flood != oldpi4.Flood {
-               t.Fatalf("Flood field was changed for %s but shouldn't", iface4.Name)
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/qdisc.go b/vendor/github.com/vishvananda/netlink/qdisc.go
deleted file mode 100644 (file)
index 0ca86eb..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "math"
-)
-
-const (
-       HANDLE_NONE      = 0
-       HANDLE_INGRESS   = 0xFFFFFFF1
-       HANDLE_CLSACT    = HANDLE_INGRESS
-       HANDLE_ROOT      = 0xFFFFFFFF
-       PRIORITY_MAP_LEN = 16
-)
-const (
-       HANDLE_MIN_INGRESS = 0xFFFFFFF2
-       HANDLE_MIN_EGRESS  = 0xFFFFFFF3
-)
-
-type Qdisc interface {
-       Attrs() *QdiscAttrs
-       Type() string
-}
-
-// QdiscAttrs represents a netlink qdisc. A qdisc is associated with a link,
-// has a handle, a parent and a refcnt. The root qdisc of a device should
-// have parent == HANDLE_ROOT.
-type QdiscAttrs struct {
-       LinkIndex int
-       Handle    uint32
-       Parent    uint32
-       Refcnt    uint32 // read only
-}
-
-func (q QdiscAttrs) String() string {
-       return fmt.Sprintf("{LinkIndex: %d, Handle: %s, Parent: %s, Refcnt: %d}", q.LinkIndex, HandleStr(q.Handle), HandleStr(q.Parent), q.Refcnt)
-}
-
-func MakeHandle(major, minor uint16) uint32 {
-       return (uint32(major) << 16) | uint32(minor)
-}
-
-func MajorMinor(handle uint32) (uint16, uint16) {
-       return uint16((handle & 0xFFFF0000) >> 16), uint16(handle & 0x0000FFFFF)
-}
-
-func HandleStr(handle uint32) string {
-       switch handle {
-       case HANDLE_NONE:
-               return "none"
-       case HANDLE_INGRESS:
-               return "ingress"
-       case HANDLE_ROOT:
-               return "root"
-       default:
-               major, minor := MajorMinor(handle)
-               return fmt.Sprintf("%x:%x", major, minor)
-       }
-}
-
-func Percentage2u32(percentage float32) uint32 {
-       // FIXME this is most likely not the best way to convert from % to uint32
-       if percentage == 100 {
-               return math.MaxUint32
-       }
-       return uint32(math.MaxUint32 * (percentage / 100))
-}
-
-// PfifoFast is the default qdisc created by the kernel if one has not
-// been defined for the interface
-type PfifoFast struct {
-       QdiscAttrs
-       Bands       uint8
-       PriorityMap [PRIORITY_MAP_LEN]uint8
-}
-
-func (qdisc *PfifoFast) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *PfifoFast) Type() string {
-       return "pfifo_fast"
-}
-
-// Prio is a basic qdisc that works just like PfifoFast
-type Prio struct {
-       QdiscAttrs
-       Bands       uint8
-       PriorityMap [PRIORITY_MAP_LEN]uint8
-}
-
-func NewPrio(attrs QdiscAttrs) *Prio {
-       return &Prio{
-               QdiscAttrs:  attrs,
-               Bands:       3,
-               PriorityMap: [PRIORITY_MAP_LEN]uint8{1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1},
-       }
-}
-
-func (qdisc *Prio) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *Prio) Type() string {
-       return "prio"
-}
-
-// Htb is a classful qdisc that rate limits based on tokens
-type Htb struct {
-       QdiscAttrs
-       Version      uint32
-       Rate2Quantum uint32
-       Defcls       uint32
-       Debug        uint32
-       DirectPkts   uint32
-}
-
-func NewHtb(attrs QdiscAttrs) *Htb {
-       return &Htb{
-               QdiscAttrs:   attrs,
-               Version:      3,
-               Defcls:       0,
-               Rate2Quantum: 10,
-               Debug:        0,
-               DirectPkts:   0,
-       }
-}
-
-func (qdisc *Htb) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *Htb) Type() string {
-       return "htb"
-}
-
-// Netem is a classless qdisc that rate limits based on tokens
-
-type NetemQdiscAttrs struct {
-       Latency       uint32  // in us
-       DelayCorr     float32 // in %
-       Limit         uint32
-       Loss          float32 // in %
-       LossCorr      float32 // in %
-       Gap           uint32
-       Duplicate     float32 // in %
-       DuplicateCorr float32 // in %
-       Jitter        uint32  // in us
-       ReorderProb   float32 // in %
-       ReorderCorr   float32 // in %
-       CorruptProb   float32 // in %
-       CorruptCorr   float32 // in %
-}
-
-func (q NetemQdiscAttrs) String() string {
-       return fmt.Sprintf(
-               "{Latency: %d, Limit: %d, Loss: %f, Gap: %d, Duplicate: %f, Jitter: %d}",
-               q.Latency, q.Limit, q.Loss, q.Gap, q.Duplicate, q.Jitter,
-       )
-}
-
-type Netem struct {
-       QdiscAttrs
-       Latency       uint32
-       DelayCorr     uint32
-       Limit         uint32
-       Loss          uint32
-       LossCorr      uint32
-       Gap           uint32
-       Duplicate     uint32
-       DuplicateCorr uint32
-       Jitter        uint32
-       ReorderProb   uint32
-       ReorderCorr   uint32
-       CorruptProb   uint32
-       CorruptCorr   uint32
-}
-
-func (qdisc *Netem) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *Netem) Type() string {
-       return "netem"
-}
-
-// Tbf is a classless qdisc that rate limits based on tokens
-type Tbf struct {
-       QdiscAttrs
-       Rate     uint64
-       Limit    uint32
-       Buffer   uint32
-       Peakrate uint64
-       Minburst uint32
-       // TODO: handle other settings
-}
-
-func (qdisc *Tbf) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *Tbf) Type() string {
-       return "tbf"
-}
-
-// Ingress is a qdisc for adding ingress filters
-type Ingress struct {
-       QdiscAttrs
-}
-
-func (qdisc *Ingress) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *Ingress) Type() string {
-       return "ingress"
-}
-
-// GenericQdisc qdiscs represent types that are not currently understood
-// by this netlink library.
-type GenericQdisc struct {
-       QdiscAttrs
-       QdiscType string
-}
-
-func (qdisc *GenericQdisc) Attrs() *QdiscAttrs {
-       return &qdisc.QdiscAttrs
-}
-
-func (qdisc *GenericQdisc) Type() string {
-       return qdisc.QdiscType
-}
diff --git a/vendor/github.com/vishvananda/netlink/qdisc_linux.go b/vendor/github.com/vishvananda/netlink/qdisc_linux.go
deleted file mode 100644 (file)
index 2c0dedd..0000000
+++ /dev/null
@@ -1,527 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "io/ioutil"
-       "strconv"
-       "strings"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-// NOTE function is here because it uses other linux functions
-func NewNetem(attrs QdiscAttrs, nattrs NetemQdiscAttrs) *Netem {
-       var limit uint32 = 1000
-       var lossCorr, delayCorr, duplicateCorr uint32
-       var reorderProb, reorderCorr uint32
-       var corruptProb, corruptCorr uint32
-
-       latency := nattrs.Latency
-       loss := Percentage2u32(nattrs.Loss)
-       gap := nattrs.Gap
-       duplicate := Percentage2u32(nattrs.Duplicate)
-       jitter := nattrs.Jitter
-
-       // Correlation
-       if latency > 0 && jitter > 0 {
-               delayCorr = Percentage2u32(nattrs.DelayCorr)
-       }
-       if loss > 0 {
-               lossCorr = Percentage2u32(nattrs.LossCorr)
-       }
-       if duplicate > 0 {
-               duplicateCorr = Percentage2u32(nattrs.DuplicateCorr)
-       }
-       // FIXME should validate values(like loss/duplicate are percentages...)
-       latency = time2Tick(latency)
-
-       if nattrs.Limit != 0 {
-               limit = nattrs.Limit
-       }
-       // Jitter is only value if latency is > 0
-       if latency > 0 {
-               jitter = time2Tick(jitter)
-       }
-
-       reorderProb = Percentage2u32(nattrs.ReorderProb)
-       reorderCorr = Percentage2u32(nattrs.ReorderCorr)
-
-       if reorderProb > 0 {
-               // ERROR if lantency == 0
-               if gap == 0 {
-                       gap = 1
-               }
-       }
-
-       corruptProb = Percentage2u32(nattrs.CorruptProb)
-       corruptCorr = Percentage2u32(nattrs.CorruptCorr)
-
-       return &Netem{
-               QdiscAttrs:    attrs,
-               Latency:       latency,
-               DelayCorr:     delayCorr,
-               Limit:         limit,
-               Loss:          loss,
-               LossCorr:      lossCorr,
-               Gap:           gap,
-               Duplicate:     duplicate,
-               DuplicateCorr: duplicateCorr,
-               Jitter:        jitter,
-               ReorderProb:   reorderProb,
-               ReorderCorr:   reorderCorr,
-               CorruptProb:   corruptProb,
-               CorruptCorr:   corruptCorr,
-       }
-}
-
-// QdiscDel will delete a qdisc from the system.
-// Equivalent to: `tc qdisc del $qdisc`
-func QdiscDel(qdisc Qdisc) error {
-       return pkgHandle.QdiscDel(qdisc)
-}
-
-// QdiscDel will delete a qdisc from the system.
-// Equivalent to: `tc qdisc del $qdisc`
-func (h *Handle) QdiscDel(qdisc Qdisc) error {
-       return h.qdiscModify(syscall.RTM_DELQDISC, 0, qdisc)
-}
-
-// QdiscChange will change a qdisc in place
-// Equivalent to: `tc qdisc change $qdisc`
-// The parent and handle MUST NOT be changed.
-func QdiscChange(qdisc Qdisc) error {
-       return pkgHandle.QdiscChange(qdisc)
-}
-
-// QdiscChange will change a qdisc in place
-// Equivalent to: `tc qdisc change $qdisc`
-// The parent and handle MUST NOT be changed.
-func (h *Handle) QdiscChange(qdisc Qdisc) error {
-       return h.qdiscModify(syscall.RTM_NEWQDISC, 0, qdisc)
-}
-
-// QdiscReplace will replace a qdisc to the system.
-// Equivalent to: `tc qdisc replace $qdisc`
-// The handle MUST change.
-func QdiscReplace(qdisc Qdisc) error {
-       return pkgHandle.QdiscReplace(qdisc)
-}
-
-// QdiscReplace will replace a qdisc to the system.
-// Equivalent to: `tc qdisc replace $qdisc`
-// The handle MUST change.
-func (h *Handle) QdiscReplace(qdisc Qdisc) error {
-       return h.qdiscModify(
-               syscall.RTM_NEWQDISC,
-               syscall.NLM_F_CREATE|syscall.NLM_F_REPLACE,
-               qdisc)
-}
-
-// QdiscAdd will add a qdisc to the system.
-// Equivalent to: `tc qdisc add $qdisc`
-func QdiscAdd(qdisc Qdisc) error {
-       return pkgHandle.QdiscAdd(qdisc)
-}
-
-// QdiscAdd will add a qdisc to the system.
-// Equivalent to: `tc qdisc add $qdisc`
-func (h *Handle) QdiscAdd(qdisc Qdisc) error {
-       return h.qdiscModify(
-               syscall.RTM_NEWQDISC,
-               syscall.NLM_F_CREATE|syscall.NLM_F_EXCL,
-               qdisc)
-}
-
-func (h *Handle) qdiscModify(cmd, flags int, qdisc Qdisc) error {
-       req := h.newNetlinkRequest(cmd, flags|syscall.NLM_F_ACK)
-       base := qdisc.Attrs()
-       msg := &nl.TcMsg{
-               Family:  nl.FAMILY_ALL,
-               Ifindex: int32(base.LinkIndex),
-               Handle:  base.Handle,
-               Parent:  base.Parent,
-       }
-       req.AddData(msg)
-
-       // When deleting don't bother building the rest of the netlink payload
-       if cmd != syscall.RTM_DELQDISC {
-               if err := qdiscPayload(req, qdisc); err != nil {
-                       return err
-               }
-       }
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-func qdiscPayload(req *nl.NetlinkRequest, qdisc Qdisc) error {
-
-       req.AddData(nl.NewRtAttr(nl.TCA_KIND, nl.ZeroTerminated(qdisc.Type())))
-
-       options := nl.NewRtAttr(nl.TCA_OPTIONS, nil)
-       if prio, ok := qdisc.(*Prio); ok {
-               tcmap := nl.TcPrioMap{
-                       Bands:   int32(prio.Bands),
-                       Priomap: prio.PriorityMap,
-               }
-               options = nl.NewRtAttr(nl.TCA_OPTIONS, tcmap.Serialize())
-       } else if tbf, ok := qdisc.(*Tbf); ok {
-               opt := nl.TcTbfQopt{}
-               opt.Rate.Rate = uint32(tbf.Rate)
-               opt.Peakrate.Rate = uint32(tbf.Peakrate)
-               opt.Limit = tbf.Limit
-               opt.Buffer = tbf.Buffer
-               nl.NewRtAttrChild(options, nl.TCA_TBF_PARMS, opt.Serialize())
-               if tbf.Rate >= uint64(1<<32) {
-                       nl.NewRtAttrChild(options, nl.TCA_TBF_RATE64, nl.Uint64Attr(tbf.Rate))
-               }
-               if tbf.Peakrate >= uint64(1<<32) {
-                       nl.NewRtAttrChild(options, nl.TCA_TBF_PRATE64, nl.Uint64Attr(tbf.Peakrate))
-               }
-               if tbf.Peakrate > 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_TBF_PBURST, nl.Uint32Attr(tbf.Minburst))
-               }
-       } else if htb, ok := qdisc.(*Htb); ok {
-               opt := nl.TcHtbGlob{}
-               opt.Version = htb.Version
-               opt.Rate2Quantum = htb.Rate2Quantum
-               opt.Defcls = htb.Defcls
-               // TODO: Handle Debug properly. For now default to 0
-               opt.Debug = htb.Debug
-               opt.DirectPkts = htb.DirectPkts
-               nl.NewRtAttrChild(options, nl.TCA_HTB_INIT, opt.Serialize())
-               // nl.NewRtAttrChild(options, nl.TCA_HTB_DIRECT_QLEN, opt.Serialize())
-       } else if netem, ok := qdisc.(*Netem); ok {
-               opt := nl.TcNetemQopt{}
-               opt.Latency = netem.Latency
-               opt.Limit = netem.Limit
-               opt.Loss = netem.Loss
-               opt.Gap = netem.Gap
-               opt.Duplicate = netem.Duplicate
-               opt.Jitter = netem.Jitter
-               options = nl.NewRtAttr(nl.TCA_OPTIONS, opt.Serialize())
-               // Correlation
-               corr := nl.TcNetemCorr{}
-               corr.DelayCorr = netem.DelayCorr
-               corr.LossCorr = netem.LossCorr
-               corr.DupCorr = netem.DuplicateCorr
-
-               if corr.DelayCorr > 0 || corr.LossCorr > 0 || corr.DupCorr > 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_NETEM_CORR, corr.Serialize())
-               }
-               // Corruption
-               corruption := nl.TcNetemCorrupt{}
-               corruption.Probability = netem.CorruptProb
-               corruption.Correlation = netem.CorruptCorr
-               if corruption.Probability > 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_NETEM_CORRUPT, corruption.Serialize())
-               }
-               // Reorder
-               reorder := nl.TcNetemReorder{}
-               reorder.Probability = netem.ReorderProb
-               reorder.Correlation = netem.ReorderCorr
-               if reorder.Probability > 0 {
-                       nl.NewRtAttrChild(options, nl.TCA_NETEM_REORDER, reorder.Serialize())
-               }
-       } else if _, ok := qdisc.(*Ingress); ok {
-               // ingress filters must use the proper handle
-               if qdisc.Attrs().Parent != HANDLE_INGRESS {
-                       return fmt.Errorf("Ingress filters must set Parent to HANDLE_INGRESS")
-               }
-       }
-
-       req.AddData(options)
-       return nil
-}
-
-// QdiscList gets a list of qdiscs in the system.
-// Equivalent to: `tc qdisc show`.
-// The list can be filtered by link.
-func QdiscList(link Link) ([]Qdisc, error) {
-       return pkgHandle.QdiscList(link)
-}
-
-// QdiscList gets a list of qdiscs in the system.
-// Equivalent to: `tc qdisc show`.
-// The list can be filtered by link.
-func (h *Handle) QdiscList(link Link) ([]Qdisc, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETQDISC, syscall.NLM_F_DUMP)
-       index := int32(0)
-       if link != nil {
-               base := link.Attrs()
-               h.ensureIndex(base)
-               index = int32(base.Index)
-       }
-       msg := &nl.TcMsg{
-               Family:  nl.FAMILY_ALL,
-               Ifindex: index,
-       }
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWQDISC)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Qdisc
-       for _, m := range msgs {
-               msg := nl.DeserializeTcMsg(m)
-
-               attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-               if err != nil {
-                       return nil, err
-               }
-
-               // skip qdiscs from other interfaces
-               if link != nil && msg.Ifindex != index {
-                       continue
-               }
-
-               base := QdiscAttrs{
-                       LinkIndex: int(msg.Ifindex),
-                       Handle:    msg.Handle,
-                       Parent:    msg.Parent,
-                       Refcnt:    msg.Info,
-               }
-               var qdisc Qdisc
-               qdiscType := ""
-               for _, attr := range attrs {
-                       switch attr.Attr.Type {
-                       case nl.TCA_KIND:
-                               qdiscType = string(attr.Value[:len(attr.Value)-1])
-                               switch qdiscType {
-                               case "pfifo_fast":
-                                       qdisc = &PfifoFast{}
-                               case "prio":
-                                       qdisc = &Prio{}
-                               case "tbf":
-                                       qdisc = &Tbf{}
-                               case "ingress":
-                                       qdisc = &Ingress{}
-                               case "htb":
-                                       qdisc = &Htb{}
-                               case "netem":
-                                       qdisc = &Netem{}
-                               default:
-                                       qdisc = &GenericQdisc{QdiscType: qdiscType}
-                               }
-                       case nl.TCA_OPTIONS:
-                               switch qdiscType {
-                               case "pfifo_fast":
-                                       // pfifo returns TcPrioMap directly without wrapping it in rtattr
-                                       if err := parsePfifoFastData(qdisc, attr.Value); err != nil {
-                                               return nil, err
-                                       }
-                               case "prio":
-                                       // prio returns TcPrioMap directly without wrapping it in rtattr
-                                       if err := parsePrioData(qdisc, attr.Value); err != nil {
-                                               return nil, err
-                                       }
-                               case "tbf":
-                                       data, err := nl.ParseRouteAttr(attr.Value)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                                       if err := parseTbfData(qdisc, data); err != nil {
-                                               return nil, err
-                                       }
-                               case "htb":
-                                       data, err := nl.ParseRouteAttr(attr.Value)
-                                       if err != nil {
-                                               return nil, err
-                                       }
-                                       if err := parseHtbData(qdisc, data); err != nil {
-                                               return nil, err
-                                       }
-                               case "netem":
-                                       if err := parseNetemData(qdisc, attr.Value); err != nil {
-                                               return nil, err
-                                       }
-
-                                       // no options for ingress
-                               }
-                       }
-               }
-               *qdisc.Attrs() = base
-               res = append(res, qdisc)
-       }
-
-       return res, nil
-}
-
-func parsePfifoFastData(qdisc Qdisc, value []byte) error {
-       pfifo := qdisc.(*PfifoFast)
-       tcmap := nl.DeserializeTcPrioMap(value)
-       pfifo.PriorityMap = tcmap.Priomap
-       pfifo.Bands = uint8(tcmap.Bands)
-       return nil
-}
-
-func parsePrioData(qdisc Qdisc, value []byte) error {
-       prio := qdisc.(*Prio)
-       tcmap := nl.DeserializeTcPrioMap(value)
-       prio.PriorityMap = tcmap.Priomap
-       prio.Bands = uint8(tcmap.Bands)
-       return nil
-}
-
-func parseHtbData(qdisc Qdisc, data []syscall.NetlinkRouteAttr) error {
-       native = nl.NativeEndian()
-       htb := qdisc.(*Htb)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_HTB_INIT:
-                       opt := nl.DeserializeTcHtbGlob(datum.Value)
-                       htb.Version = opt.Version
-                       htb.Rate2Quantum = opt.Rate2Quantum
-                       htb.Defcls = opt.Defcls
-                       htb.Debug = opt.Debug
-                       htb.DirectPkts = opt.DirectPkts
-               case nl.TCA_HTB_DIRECT_QLEN:
-                       // TODO
-                       //htb.DirectQlen = native.uint32(datum.Value)
-               }
-       }
-       return nil
-}
-
-func parseNetemData(qdisc Qdisc, value []byte) error {
-       netem := qdisc.(*Netem)
-       opt := nl.DeserializeTcNetemQopt(value)
-       netem.Latency = opt.Latency
-       netem.Limit = opt.Limit
-       netem.Loss = opt.Loss
-       netem.Gap = opt.Gap
-       netem.Duplicate = opt.Duplicate
-       netem.Jitter = opt.Jitter
-       data, err := nl.ParseRouteAttr(value[nl.SizeofTcNetemQopt:])
-       if err != nil {
-               return err
-       }
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_NETEM_CORR:
-                       opt := nl.DeserializeTcNetemCorr(datum.Value)
-                       netem.DelayCorr = opt.DelayCorr
-                       netem.LossCorr = opt.LossCorr
-                       netem.DuplicateCorr = opt.DupCorr
-               case nl.TCA_NETEM_CORRUPT:
-                       opt := nl.DeserializeTcNetemCorrupt(datum.Value)
-                       netem.CorruptProb = opt.Probability
-                       netem.CorruptCorr = opt.Correlation
-               case nl.TCA_NETEM_REORDER:
-                       opt := nl.DeserializeTcNetemReorder(datum.Value)
-                       netem.ReorderProb = opt.Probability
-                       netem.ReorderCorr = opt.Correlation
-               }
-       }
-       return nil
-}
-
-func parseTbfData(qdisc Qdisc, data []syscall.NetlinkRouteAttr) error {
-       native = nl.NativeEndian()
-       tbf := qdisc.(*Tbf)
-       for _, datum := range data {
-               switch datum.Attr.Type {
-               case nl.TCA_TBF_PARMS:
-                       opt := nl.DeserializeTcTbfQopt(datum.Value)
-                       tbf.Rate = uint64(opt.Rate.Rate)
-                       tbf.Peakrate = uint64(opt.Peakrate.Rate)
-                       tbf.Limit = opt.Limit
-                       tbf.Buffer = opt.Buffer
-               case nl.TCA_TBF_RATE64:
-                       tbf.Rate = native.Uint64(datum.Value[0:8])
-               case nl.TCA_TBF_PRATE64:
-                       tbf.Peakrate = native.Uint64(datum.Value[0:8])
-               case nl.TCA_TBF_PBURST:
-                       tbf.Minburst = native.Uint32(datum.Value[0:4])
-               }
-       }
-       return nil
-}
-
-const (
-       TIME_UNITS_PER_SEC = 1000000
-)
-
-var (
-       tickInUsec  float64
-       clockFactor float64
-       hz          float64
-)
-
-func initClock() {
-       data, err := ioutil.ReadFile("/proc/net/psched")
-       if err != nil {
-               return
-       }
-       parts := strings.Split(strings.TrimSpace(string(data)), " ")
-       if len(parts) < 3 {
-               return
-       }
-       var vals [3]uint64
-       for i := range vals {
-               val, err := strconv.ParseUint(parts[i], 16, 32)
-               if err != nil {
-                       return
-               }
-               vals[i] = val
-       }
-       // compatibility
-       if vals[2] == 1000000000 {
-               vals[0] = vals[1]
-       }
-       clockFactor = float64(vals[2]) / TIME_UNITS_PER_SEC
-       tickInUsec = float64(vals[0]) / float64(vals[1]) * clockFactor
-       hz = float64(vals[0])
-}
-
-func TickInUsec() float64 {
-       if tickInUsec == 0.0 {
-               initClock()
-       }
-       return tickInUsec
-}
-
-func ClockFactor() float64 {
-       if clockFactor == 0.0 {
-               initClock()
-       }
-       return clockFactor
-}
-
-func Hz() float64 {
-       if hz == 0.0 {
-               initClock()
-       }
-       return hz
-}
-
-func time2Tick(time uint32) uint32 {
-       return uint32(float64(time) * TickInUsec())
-}
-
-func tick2Time(tick uint32) uint32 {
-       return uint32(float64(tick) / TickInUsec())
-}
-
-func time2Ktime(time uint32) uint32 {
-       return uint32(float64(time) * ClockFactor())
-}
-
-func ktime2Time(ktime uint32) uint32 {
-       return uint32(float64(ktime) / ClockFactor())
-}
-
-func burst(rate uint64, buffer uint32) uint32 {
-       return uint32(float64(rate) * float64(tick2Time(buffer)) / TIME_UNITS_PER_SEC)
-}
-
-func latency(rate uint64, limit, buffer uint32) float64 {
-       return TIME_UNITS_PER_SEC*(float64(limit)/float64(rate)) - float64(tick2Time(buffer))
-}
-
-func Xmittime(rate uint64, size uint32) float64 {
-       return TickInUsec() * TIME_UNITS_PER_SEC * (float64(size) / float64(rate))
-}
diff --git a/vendor/github.com/vishvananda/netlink/qdisc_test.go b/vendor/github.com/vishvananda/netlink/qdisc_test.go
deleted file mode 100644 (file)
index dff58f9..0000000
+++ /dev/null
@@ -1,347 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "testing"
-)
-
-func TestTbfAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       qdisc := &Tbf{
-               QdiscAttrs: QdiscAttrs{
-                       LinkIndex: link.Attrs().Index,
-                       Handle:    MakeHandle(1, 0),
-                       Parent:    HANDLE_ROOT,
-               },
-               Rate:   131072,
-               Limit:  1220703,
-               Buffer: 16793,
-       }
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       tbf, ok := qdiscs[0].(*Tbf)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if tbf.Rate != qdisc.Rate {
-               t.Fatal("Rate doesn't match")
-       }
-       if tbf.Limit != qdisc.Limit {
-               t.Fatal("Limit doesn't match")
-       }
-       if tbf.Buffer != qdisc.Buffer {
-               t.Fatal("Buffer doesn't match")
-       }
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestHtbAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(1, 0),
-               Parent:    HANDLE_ROOT,
-       }
-
-       qdisc := NewHtb(attrs)
-       qdisc.Rate2Quantum = 5
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       htb, ok := qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if htb.Defcls != qdisc.Defcls {
-               t.Fatal("Defcls doesn't match")
-       }
-       if htb.Rate2Quantum != qdisc.Rate2Quantum {
-               t.Fatal("Rate2Quantum doesn't match")
-       }
-       if htb.Debug != qdisc.Debug {
-               t.Fatal("Debug doesn't match")
-       }
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestPrioAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-       qdisc := NewPrio(QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(1, 0),
-               Parent:    HANDLE_ROOT,
-       })
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       _, ok := qdiscs[0].(*Prio)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestTbfAddHtbReplaceDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // Add
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(1, 0),
-               Parent:    HANDLE_ROOT,
-       }
-       qdisc := &Tbf{
-               QdiscAttrs: attrs,
-               Rate:       131072,
-               Limit:      1220703,
-               Buffer:     16793,
-       }
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       tbf, ok := qdiscs[0].(*Tbf)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if tbf.Rate != qdisc.Rate {
-               t.Fatal("Rate doesn't match")
-       }
-       if tbf.Limit != qdisc.Limit {
-               t.Fatal("Limit doesn't match")
-       }
-       if tbf.Buffer != qdisc.Buffer {
-               t.Fatal("Buffer doesn't match")
-       }
-       // Replace
-       // For replace to work, the handle MUST be different that the running one
-       attrs.Handle = MakeHandle(2, 0)
-       qdisc2 := NewHtb(attrs)
-       qdisc2.Rate2Quantum = 5
-       if err := QdiscReplace(qdisc2); err != nil {
-               t.Fatal(err)
-       }
-
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       htb, ok := qdiscs[0].(*Htb)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if htb.Defcls != qdisc2.Defcls {
-               t.Fatal("Defcls doesn't match")
-       }
-       if htb.Rate2Quantum != qdisc2.Rate2Quantum {
-               t.Fatal("Rate2Quantum doesn't match")
-       }
-       if htb.Debug != qdisc2.Debug {
-               t.Fatal("Debug doesn't match")
-       }
-
-       if err := QdiscDel(qdisc2); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
-
-func TestTbfAddTbfChangeDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := LinkAdd(&Ifb{LinkAttrs{Name: "foo"}}); err != nil {
-               t.Fatal(err)
-       }
-       link, err := LinkByName("foo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // Add
-       attrs := QdiscAttrs{
-               LinkIndex: link.Attrs().Index,
-               Handle:    MakeHandle(1, 0),
-               Parent:    HANDLE_ROOT,
-       }
-       qdisc := &Tbf{
-               QdiscAttrs: attrs,
-               Rate:       131072,
-               Limit:      1220703,
-               Buffer:     16793,
-       }
-       if err := QdiscAdd(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err := QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       tbf, ok := qdiscs[0].(*Tbf)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if tbf.Rate != qdisc.Rate {
-               t.Fatal("Rate doesn't match")
-       }
-       if tbf.Limit != qdisc.Limit {
-               t.Fatal("Limit doesn't match")
-       }
-       if tbf.Buffer != qdisc.Buffer {
-               t.Fatal("Buffer doesn't match")
-       }
-       // Change
-       // For change to work, the handle MUST not change
-       qdisc.Rate = 23456
-       if err := QdiscChange(qdisc); err != nil {
-               t.Fatal(err)
-       }
-
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 1 {
-               t.Fatal("Failed to add qdisc")
-       }
-       tbf, ok = qdiscs[0].(*Tbf)
-       if !ok {
-               t.Fatal("Qdisc is the wrong type")
-       }
-       if tbf.Rate != qdisc.Rate {
-               t.Fatal("Rate doesn't match")
-       }
-       if tbf.Limit != qdisc.Limit {
-               t.Fatal("Limit doesn't match")
-       }
-       if tbf.Buffer != qdisc.Buffer {
-               t.Fatal("Buffer doesn't match")
-       }
-
-       if err := QdiscDel(qdisc); err != nil {
-               t.Fatal(err)
-       }
-       qdiscs, err = QdiscList(link)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(qdiscs) != 0 {
-               t.Fatal("Failed to remove qdisc")
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/route.go b/vendor/github.com/vishvananda/netlink/route.go
deleted file mode 100644 (file)
index 03ac4b2..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-       "strings"
-)
-
-// Scope is an enum representing a route scope.
-type Scope uint8
-
-type NextHopFlag int
-
-type Destination interface {
-       Family() int
-       Decode([]byte) error
-       Encode() ([]byte, error)
-       String() string
-}
-
-type Encap interface {
-       Type() int
-       Decode([]byte) error
-       Encode() ([]byte, error)
-       String() string
-}
-
-// Route represents a netlink route.
-type Route struct {
-       LinkIndex  int
-       ILinkIndex int
-       Scope      Scope
-       Dst        *net.IPNet
-       Src        net.IP
-       Gw         net.IP
-       MultiPath  []*NexthopInfo
-       Protocol   int
-       Priority   int
-       Table      int
-       Type       int
-       Tos        int
-       Flags      int
-       MPLSDst    *int
-       NewDst     Destination
-       Encap      Encap
-}
-
-func (r Route) String() string {
-       elems := []string{}
-       if len(r.MultiPath) == 0 {
-               elems = append(elems, fmt.Sprintf("Ifindex: %d", r.LinkIndex))
-       }
-       if r.MPLSDst != nil {
-               elems = append(elems, fmt.Sprintf("Dst: %d", r.MPLSDst))
-       } else {
-               elems = append(elems, fmt.Sprintf("Dst: %s", r.Dst))
-       }
-       if r.NewDst != nil {
-               elems = append(elems, fmt.Sprintf("NewDst: %s", r.NewDst))
-       }
-       if r.Encap != nil {
-               elems = append(elems, fmt.Sprintf("Encap: %s", r.Encap))
-       }
-       elems = append(elems, fmt.Sprintf("Src: %s", r.Src))
-       if len(r.MultiPath) > 0 {
-               elems = append(elems, fmt.Sprintf("Gw: %s", r.MultiPath))
-       } else {
-               elems = append(elems, fmt.Sprintf("Gw: %s", r.Gw))
-       }
-       elems = append(elems, fmt.Sprintf("Flags: %s", r.ListFlags()))
-       elems = append(elems, fmt.Sprintf("Table: %d", r.Table))
-       return fmt.Sprintf("{%s}", strings.Join(elems, " "))
-}
-
-func (r *Route) SetFlag(flag NextHopFlag) {
-       r.Flags |= int(flag)
-}
-
-func (r *Route) ClearFlag(flag NextHopFlag) {
-       r.Flags &^= int(flag)
-}
-
-type flagString struct {
-       f NextHopFlag
-       s string
-}
-
-// RouteUpdate is sent when a route changes - type is RTM_NEWROUTE or RTM_DELROUTE
-type RouteUpdate struct {
-       Type uint16
-       Route
-}
-
-type NexthopInfo struct {
-       LinkIndex int
-       Hops      int
-       Gw        net.IP
-       Flags     int
-       NewDst    Destination
-       Encap     Encap
-}
-
-func (n *NexthopInfo) String() string {
-       elems := []string{}
-       elems = append(elems, fmt.Sprintf("Ifindex: %d", n.LinkIndex))
-       if n.NewDst != nil {
-               elems = append(elems, fmt.Sprintf("NewDst: %s", n.NewDst))
-       }
-       if n.Encap != nil {
-               elems = append(elems, fmt.Sprintf("Encap: %s", n.Encap))
-       }
-       elems = append(elems, fmt.Sprintf("Weight: %d", n.Hops+1))
-       elems = append(elems, fmt.Sprintf("Gw: %d", n.Gw))
-       elems = append(elems, fmt.Sprintf("Flags: %s", n.ListFlags()))
-       return fmt.Sprintf("{%s}", strings.Join(elems, " "))
-}
diff --git a/vendor/github.com/vishvananda/netlink/route_linux.go b/vendor/github.com/vishvananda/netlink/route_linux.go
deleted file mode 100644 (file)
index 9e0f1f9..0000000
+++ /dev/null
@@ -1,674 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-       "strings"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-       "github.com/vishvananda/netns"
-)
-
-// RtAttr is shared so it is in netlink_linux.go
-
-const (
-       SCOPE_UNIVERSE Scope = syscall.RT_SCOPE_UNIVERSE
-       SCOPE_SITE     Scope = syscall.RT_SCOPE_SITE
-       SCOPE_LINK     Scope = syscall.RT_SCOPE_LINK
-       SCOPE_HOST     Scope = syscall.RT_SCOPE_HOST
-       SCOPE_NOWHERE  Scope = syscall.RT_SCOPE_NOWHERE
-)
-
-const (
-       RT_FILTER_PROTOCOL uint64 = 1 << (1 + iota)
-       RT_FILTER_SCOPE
-       RT_FILTER_TYPE
-       RT_FILTER_TOS
-       RT_FILTER_IIF
-       RT_FILTER_OIF
-       RT_FILTER_DST
-       RT_FILTER_SRC
-       RT_FILTER_GW
-       RT_FILTER_TABLE
-)
-
-const (
-       FLAG_ONLINK    NextHopFlag = syscall.RTNH_F_ONLINK
-       FLAG_PERVASIVE NextHopFlag = syscall.RTNH_F_PERVASIVE
-)
-
-var testFlags = []flagString{
-       {f: FLAG_ONLINK, s: "onlink"},
-       {f: FLAG_PERVASIVE, s: "pervasive"},
-}
-
-func listFlags(flag int) []string {
-       var flags []string
-       for _, tf := range testFlags {
-               if flag&int(tf.f) != 0 {
-                       flags = append(flags, tf.s)
-               }
-       }
-       return flags
-}
-
-func (r *Route) ListFlags() []string {
-       return listFlags(r.Flags)
-}
-
-func (n *NexthopInfo) ListFlags() []string {
-       return listFlags(n.Flags)
-}
-
-type MPLSDestination struct {
-       Labels []int
-}
-
-func (d *MPLSDestination) Family() int {
-       return nl.FAMILY_MPLS
-}
-
-func (d *MPLSDestination) Decode(buf []byte) error {
-       d.Labels = nl.DecodeMPLSStack(buf)
-       return nil
-}
-
-func (d *MPLSDestination) Encode() ([]byte, error) {
-       return nl.EncodeMPLSStack(d.Labels...), nil
-}
-
-func (d *MPLSDestination) String() string {
-       s := make([]string, 0, len(d.Labels))
-       for _, l := range d.Labels {
-               s = append(s, fmt.Sprintf("%d", l))
-       }
-       return strings.Join(s, "/")
-}
-
-type MPLSEncap struct {
-       Labels []int
-}
-
-func (e *MPLSEncap) Type() int {
-       return nl.LWTUNNEL_ENCAP_MPLS
-}
-
-func (e *MPLSEncap) Decode(buf []byte) error {
-       if len(buf) < 4 {
-               return fmt.Errorf("Lack of bytes")
-       }
-       native := nl.NativeEndian()
-       l := native.Uint16(buf)
-       if len(buf) < int(l) {
-               return fmt.Errorf("Lack of bytes")
-       }
-       buf = buf[:l]
-       typ := native.Uint16(buf[2:])
-       if typ != nl.MPLS_IPTUNNEL_DST {
-               return fmt.Errorf("Unknown MPLS Encap Type: %d", typ)
-       }
-       e.Labels = nl.DecodeMPLSStack(buf[4:])
-       return nil
-}
-
-func (e *MPLSEncap) Encode() ([]byte, error) {
-       s := nl.EncodeMPLSStack(e.Labels...)
-       native := nl.NativeEndian()
-       hdr := make([]byte, 4)
-       native.PutUint16(hdr, uint16(len(s)+4))
-       native.PutUint16(hdr[2:], nl.MPLS_IPTUNNEL_DST)
-       return append(hdr, s...), nil
-}
-
-func (e *MPLSEncap) String() string {
-       s := make([]string, 0, len(e.Labels))
-       for _, l := range e.Labels {
-               s = append(s, fmt.Sprintf("%d", l))
-       }
-       return strings.Join(s, "/")
-}
-
-// RouteAdd will add a route to the system.
-// Equivalent to: `ip route add $route`
-func RouteAdd(route *Route) error {
-       return pkgHandle.RouteAdd(route)
-}
-
-// RouteAdd will add a route to the system.
-// Equivalent to: `ip route add $route`
-func (h *Handle) RouteAdd(route *Route) error {
-       flags := syscall.NLM_F_CREATE | syscall.NLM_F_EXCL | syscall.NLM_F_ACK
-       req := h.newNetlinkRequest(syscall.RTM_NEWROUTE, flags)
-       return h.routeHandle(route, req, nl.NewRtMsg())
-}
-
-// RouteReplace will add a route to the system.
-// Equivalent to: `ip route replace $route`
-func RouteReplace(route *Route) error {
-       return pkgHandle.RouteReplace(route)
-}
-
-// RouteReplace will add a route to the system.
-// Equivalent to: `ip route replace $route`
-func (h *Handle) RouteReplace(route *Route) error {
-       flags := syscall.NLM_F_CREATE | syscall.NLM_F_REPLACE | syscall.NLM_F_ACK
-       req := h.newNetlinkRequest(syscall.RTM_NEWROUTE, flags)
-       return h.routeHandle(route, req, nl.NewRtMsg())
-}
-
-// RouteDel will delete a route from the system.
-// Equivalent to: `ip route del $route`
-func RouteDel(route *Route) error {
-       return pkgHandle.RouteDel(route)
-}
-
-// RouteDel will delete a route from the system.
-// Equivalent to: `ip route del $route`
-func (h *Handle) RouteDel(route *Route) error {
-       req := h.newNetlinkRequest(syscall.RTM_DELROUTE, syscall.NLM_F_ACK)
-       return h.routeHandle(route, req, nl.NewRtDelMsg())
-}
-
-func (h *Handle) routeHandle(route *Route, req *nl.NetlinkRequest, msg *nl.RtMsg) error {
-       if (route.Dst == nil || route.Dst.IP == nil) && route.Src == nil && route.Gw == nil && route.MPLSDst == nil {
-               return fmt.Errorf("one of Dst.IP, Src, or Gw must not be nil")
-       }
-
-       family := -1
-       var rtAttrs []*nl.RtAttr
-
-       if route.Dst != nil && route.Dst.IP != nil {
-               dstLen, _ := route.Dst.Mask.Size()
-               msg.Dst_len = uint8(dstLen)
-               dstFamily := nl.GetIPFamily(route.Dst.IP)
-               family = dstFamily
-               var dstData []byte
-               if dstFamily == FAMILY_V4 {
-                       dstData = route.Dst.IP.To4()
-               } else {
-                       dstData = route.Dst.IP.To16()
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_DST, dstData))
-       } else if route.MPLSDst != nil {
-               family = nl.FAMILY_MPLS
-               msg.Dst_len = uint8(20)
-               msg.Type = syscall.RTN_UNICAST
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_DST, nl.EncodeMPLSStack(*route.MPLSDst)))
-       }
-
-       if route.NewDst != nil {
-               if family != -1 && family != route.NewDst.Family() {
-                       return fmt.Errorf("new destination and destination are not the same address family")
-               }
-               buf, err := route.NewDst.Encode()
-               if err != nil {
-                       return err
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(nl.RTA_NEWDST, buf))
-       }
-
-       if route.Encap != nil {
-               buf := make([]byte, 2)
-               native.PutUint16(buf, uint16(route.Encap.Type()))
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(nl.RTA_ENCAP_TYPE, buf))
-               buf, err := route.Encap.Encode()
-               if err != nil {
-                       return err
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(nl.RTA_ENCAP, buf))
-       }
-
-       if route.Src != nil {
-               srcFamily := nl.GetIPFamily(route.Src)
-               if family != -1 && family != srcFamily {
-                       return fmt.Errorf("source and destination ip are not the same IP family")
-               }
-               family = srcFamily
-               var srcData []byte
-               if srcFamily == FAMILY_V4 {
-                       srcData = route.Src.To4()
-               } else {
-                       srcData = route.Src.To16()
-               }
-               // The commonly used src ip for routes is actually PREFSRC
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_PREFSRC, srcData))
-       }
-
-       if route.Gw != nil {
-               gwFamily := nl.GetIPFamily(route.Gw)
-               if family != -1 && family != gwFamily {
-                       return fmt.Errorf("gateway, source, and destination ip are not the same IP family")
-               }
-               family = gwFamily
-               var gwData []byte
-               if gwFamily == FAMILY_V4 {
-                       gwData = route.Gw.To4()
-               } else {
-                       gwData = route.Gw.To16()
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_GATEWAY, gwData))
-       }
-
-       if len(route.MultiPath) > 0 {
-               buf := []byte{}
-               for _, nh := range route.MultiPath {
-                       rtnh := &nl.RtNexthop{
-                               RtNexthop: syscall.RtNexthop{
-                                       Hops:    uint8(nh.Hops),
-                                       Ifindex: int32(nh.LinkIndex),
-                                       Flags:   uint8(nh.Flags),
-                               },
-                       }
-                       children := []nl.NetlinkRequestData{}
-                       if nh.Gw != nil {
-                               gwFamily := nl.GetIPFamily(nh.Gw)
-                               if family != -1 && family != gwFamily {
-                                       return fmt.Errorf("gateway, source, and destination ip are not the same IP family")
-                               }
-                               if gwFamily == FAMILY_V4 {
-                                       children = append(children, nl.NewRtAttr(syscall.RTA_GATEWAY, []byte(nh.Gw.To4())))
-                               } else {
-                                       children = append(children, nl.NewRtAttr(syscall.RTA_GATEWAY, []byte(nh.Gw.To16())))
-                               }
-                       }
-                       if nh.NewDst != nil {
-                               if family != -1 && family != nh.NewDst.Family() {
-                                       return fmt.Errorf("new destination and destination are not the same address family")
-                               }
-                               buf, err := nh.NewDst.Encode()
-                               if err != nil {
-                                       return err
-                               }
-                               children = append(children, nl.NewRtAttr(nl.RTA_NEWDST, buf))
-                       }
-                       if nh.Encap != nil {
-                               buf := make([]byte, 2)
-                               native.PutUint16(buf, uint16(nh.Encap.Type()))
-                               rtAttrs = append(rtAttrs, nl.NewRtAttr(nl.RTA_ENCAP_TYPE, buf))
-                               buf, err := nh.Encap.Encode()
-                               if err != nil {
-                                       return err
-                               }
-                               children = append(children, nl.NewRtAttr(nl.RTA_ENCAP, buf))
-                       }
-                       rtnh.Children = children
-                       buf = append(buf, rtnh.Serialize()...)
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_MULTIPATH, buf))
-       }
-
-       if route.Table > 0 {
-               if route.Table >= 256 {
-                       msg.Table = syscall.RT_TABLE_UNSPEC
-                       b := make([]byte, 4)
-                       native.PutUint32(b, uint32(route.Table))
-                       rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_TABLE, b))
-               } else {
-                       msg.Table = uint8(route.Table)
-               }
-       }
-
-       if route.Priority > 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(route.Priority))
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_PRIORITY, b))
-       }
-       if route.Tos > 0 {
-               msg.Tos = uint8(route.Tos)
-       }
-       if route.Protocol > 0 {
-               msg.Protocol = uint8(route.Protocol)
-       }
-       if route.Type > 0 {
-               msg.Type = uint8(route.Type)
-       }
-
-       msg.Flags = uint32(route.Flags)
-       msg.Scope = uint8(route.Scope)
-       msg.Family = uint8(family)
-       req.AddData(msg)
-       for _, attr := range rtAttrs {
-               req.AddData(attr)
-       }
-
-       var (
-               b      = make([]byte, 4)
-               native = nl.NativeEndian()
-       )
-       native.PutUint32(b, uint32(route.LinkIndex))
-
-       req.AddData(nl.NewRtAttr(syscall.RTA_OIF, b))
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// RouteList gets a list of routes in the system.
-// Equivalent to: `ip route show`.
-// The list can be filtered by link and ip family.
-func RouteList(link Link, family int) ([]Route, error) {
-       return pkgHandle.RouteList(link, family)
-}
-
-// RouteList gets a list of routes in the system.
-// Equivalent to: `ip route show`.
-// The list can be filtered by link and ip family.
-func (h *Handle) RouteList(link Link, family int) ([]Route, error) {
-       var routeFilter *Route
-       if link != nil {
-               routeFilter = &Route{
-                       LinkIndex: link.Attrs().Index,
-               }
-       }
-       return h.RouteListFiltered(family, routeFilter, RT_FILTER_OIF)
-}
-
-// RouteListFiltered gets a list of routes in the system filtered with specified rules.
-// All rules must be defined in RouteFilter struct
-func RouteListFiltered(family int, filter *Route, filterMask uint64) ([]Route, error) {
-       return pkgHandle.RouteListFiltered(family, filter, filterMask)
-}
-
-// RouteListFiltered gets a list of routes in the system filtered with specified rules.
-// All rules must be defined in RouteFilter struct
-func (h *Handle) RouteListFiltered(family int, filter *Route, filterMask uint64) ([]Route, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETROUTE, syscall.NLM_F_DUMP)
-       infmsg := nl.NewIfInfomsg(family)
-       req.AddData(infmsg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWROUTE)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Route
-       for _, m := range msgs {
-               msg := nl.DeserializeRtMsg(m)
-               if msg.Flags&syscall.RTM_F_CLONED != 0 {
-                       // Ignore cloned routes
-                       continue
-               }
-               if msg.Table != syscall.RT_TABLE_MAIN {
-                       if filter == nil || filter != nil && filterMask&RT_FILTER_TABLE == 0 {
-                               // Ignore non-main tables
-                               continue
-                       }
-               }
-               route, err := deserializeRoute(m)
-               if err != nil {
-                       return nil, err
-               }
-               if filter != nil {
-                       switch {
-                       case filterMask&RT_FILTER_TABLE != 0 && route.Table != filter.Table:
-                               continue
-                       case filterMask&RT_FILTER_PROTOCOL != 0 && route.Protocol != filter.Protocol:
-                               continue
-                       case filterMask&RT_FILTER_SCOPE != 0 && route.Scope != filter.Scope:
-                               continue
-                       case filterMask&RT_FILTER_TYPE != 0 && route.Type != filter.Type:
-                               continue
-                       case filterMask&RT_FILTER_TOS != 0 && route.Tos != filter.Tos:
-                               continue
-                       case filterMask&RT_FILTER_OIF != 0 && route.LinkIndex != filter.LinkIndex:
-                               continue
-                       case filterMask&RT_FILTER_IIF != 0 && route.ILinkIndex != filter.ILinkIndex:
-                               continue
-                       case filterMask&RT_FILTER_GW != 0 && !route.Gw.Equal(filter.Gw):
-                               continue
-                       case filterMask&RT_FILTER_SRC != 0 && !route.Src.Equal(filter.Src):
-                               continue
-                       case filterMask&RT_FILTER_DST != 0:
-                               if filter.MPLSDst == nil || route.MPLSDst == nil || (*filter.MPLSDst) != (*route.MPLSDst) {
-                                       if filter.Dst == nil {
-                                               if route.Dst != nil {
-                                                       continue
-                                               }
-                                       } else {
-                                               if route.Dst == nil {
-                                                       continue
-                                               }
-                                               aMaskLen, aMaskBits := route.Dst.Mask.Size()
-                                               bMaskLen, bMaskBits := filter.Dst.Mask.Size()
-                                               if !(route.Dst.IP.Equal(filter.Dst.IP) && aMaskLen == bMaskLen && aMaskBits == bMaskBits) {
-                                                       continue
-                                               }
-                                       }
-                               }
-                       }
-               }
-               res = append(res, route)
-       }
-       return res, nil
-}
-
-// deserializeRoute decodes a binary netlink message into a Route struct
-func deserializeRoute(m []byte) (Route, error) {
-       msg := nl.DeserializeRtMsg(m)
-       attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-       if err != nil {
-               return Route{}, err
-       }
-       route := Route{
-               Scope:    Scope(msg.Scope),
-               Protocol: int(msg.Protocol),
-               Table:    int(msg.Table),
-               Type:     int(msg.Type),
-               Tos:      int(msg.Tos),
-               Flags:    int(msg.Flags),
-       }
-
-       native := nl.NativeEndian()
-       var encap, encapType syscall.NetlinkRouteAttr
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case syscall.RTA_GATEWAY:
-                       route.Gw = net.IP(attr.Value)
-               case syscall.RTA_PREFSRC:
-                       route.Src = net.IP(attr.Value)
-               case syscall.RTA_DST:
-                       if msg.Family == nl.FAMILY_MPLS {
-                               stack := nl.DecodeMPLSStack(attr.Value)
-                               if len(stack) == 0 || len(stack) > 1 {
-                                       return route, fmt.Errorf("invalid MPLS RTA_DST")
-                               }
-                               route.MPLSDst = &stack[0]
-                       } else {
-                               route.Dst = &net.IPNet{
-                                       IP:   attr.Value,
-                                       Mask: net.CIDRMask(int(msg.Dst_len), 8*len(attr.Value)),
-                               }
-                       }
-               case syscall.RTA_OIF:
-                       route.LinkIndex = int(native.Uint32(attr.Value[0:4]))
-               case syscall.RTA_IIF:
-                       route.ILinkIndex = int(native.Uint32(attr.Value[0:4]))
-               case syscall.RTA_PRIORITY:
-                       route.Priority = int(native.Uint32(attr.Value[0:4]))
-               case syscall.RTA_TABLE:
-                       route.Table = int(native.Uint32(attr.Value[0:4]))
-               case syscall.RTA_MULTIPATH:
-                       parseRtNexthop := func(value []byte) (*NexthopInfo, []byte, error) {
-                               if len(value) < syscall.SizeofRtNexthop {
-                                       return nil, nil, fmt.Errorf("Lack of bytes")
-                               }
-                               nh := nl.DeserializeRtNexthop(value)
-                               if len(value) < int(nh.RtNexthop.Len) {
-                                       return nil, nil, fmt.Errorf("Lack of bytes")
-                               }
-                               info := &NexthopInfo{
-                                       LinkIndex: int(nh.RtNexthop.Ifindex),
-                                       Hops:      int(nh.RtNexthop.Hops),
-                                       Flags:     int(nh.RtNexthop.Flags),
-                               }
-                               attrs, err := nl.ParseRouteAttr(value[syscall.SizeofRtNexthop:int(nh.RtNexthop.Len)])
-                               if err != nil {
-                                       return nil, nil, err
-                               }
-                               var encap, encapType syscall.NetlinkRouteAttr
-                               for _, attr := range attrs {
-                                       switch attr.Attr.Type {
-                                       case syscall.RTA_GATEWAY:
-                                               info.Gw = net.IP(attr.Value)
-                                       case nl.RTA_NEWDST:
-                                               var d Destination
-                                               switch msg.Family {
-                                               case nl.FAMILY_MPLS:
-                                                       d = &MPLSDestination{}
-                                               }
-                                               if err := d.Decode(attr.Value); err != nil {
-                                                       return nil, nil, err
-                                               }
-                                               info.NewDst = d
-                                       case nl.RTA_ENCAP_TYPE:
-                                               encapType = attr
-                                       case nl.RTA_ENCAP:
-                                               encap = attr
-                                       }
-                               }
-
-                               if len(encap.Value) != 0 && len(encapType.Value) != 0 {
-                                       typ := int(native.Uint16(encapType.Value[0:2]))
-                                       var e Encap
-                                       switch typ {
-                                       case nl.LWTUNNEL_ENCAP_MPLS:
-                                               e = &MPLSEncap{}
-                                               if err := e.Decode(encap.Value); err != nil {
-                                                       return nil, nil, err
-                                               }
-                                       }
-                                       info.Encap = e
-                               }
-
-                               return info, value[int(nh.RtNexthop.Len):], nil
-                       }
-                       rest := attr.Value
-                       for len(rest) > 0 {
-                               info, buf, err := parseRtNexthop(rest)
-                               if err != nil {
-                                       return route, err
-                               }
-                               route.MultiPath = append(route.MultiPath, info)
-                               rest = buf
-                       }
-               case nl.RTA_NEWDST:
-                       var d Destination
-                       switch msg.Family {
-                       case nl.FAMILY_MPLS:
-                               d = &MPLSDestination{}
-                       }
-                       if err := d.Decode(attr.Value); err != nil {
-                               return route, err
-                       }
-                       route.NewDst = d
-               case nl.RTA_ENCAP_TYPE:
-                       encapType = attr
-               case nl.RTA_ENCAP:
-                       encap = attr
-               }
-       }
-
-       if len(encap.Value) != 0 && len(encapType.Value) != 0 {
-               typ := int(native.Uint16(encapType.Value[0:2]))
-               var e Encap
-               switch typ {
-               case nl.LWTUNNEL_ENCAP_MPLS:
-                       e = &MPLSEncap{}
-                       if err := e.Decode(encap.Value); err != nil {
-                               return route, err
-                       }
-               }
-               route.Encap = e
-       }
-
-       return route, nil
-}
-
-// RouteGet gets a route to a specific destination from the host system.
-// Equivalent to: 'ip route get'.
-func RouteGet(destination net.IP) ([]Route, error) {
-       return pkgHandle.RouteGet(destination)
-}
-
-// RouteGet gets a route to a specific destination from the host system.
-// Equivalent to: 'ip route get'.
-func (h *Handle) RouteGet(destination net.IP) ([]Route, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETROUTE, syscall.NLM_F_REQUEST)
-       family := nl.GetIPFamily(destination)
-       var destinationData []byte
-       var bitlen uint8
-       if family == FAMILY_V4 {
-               destinationData = destination.To4()
-               bitlen = 32
-       } else {
-               destinationData = destination.To16()
-               bitlen = 128
-       }
-       msg := &nl.RtMsg{}
-       msg.Family = uint8(family)
-       msg.Dst_len = bitlen
-       req.AddData(msg)
-
-       rtaDst := nl.NewRtAttr(syscall.RTA_DST, destinationData)
-       req.AddData(rtaDst)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWROUTE)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []Route
-       for _, m := range msgs {
-               route, err := deserializeRoute(m)
-               if err != nil {
-                       return nil, err
-               }
-               res = append(res, route)
-       }
-       return res, nil
-
-}
-
-// RouteSubscribe takes a chan down which notifications will be sent
-// when routes are added or deleted. Close the 'done' chan to stop subscription.
-func RouteSubscribe(ch chan<- RouteUpdate, done <-chan struct{}) error {
-       return routeSubscribeAt(netns.None(), netns.None(), ch, done)
-}
-
-// RouteSubscribeAt works like RouteSubscribe plus it allows the caller
-// to choose the network namespace in which to subscribe (ns).
-func RouteSubscribeAt(ns netns.NsHandle, ch chan<- RouteUpdate, done <-chan struct{}) error {
-       return routeSubscribeAt(ns, netns.None(), ch, done)
-}
-
-func routeSubscribeAt(newNs, curNs netns.NsHandle, ch chan<- RouteUpdate, done <-chan struct{}) error {
-       s, err := nl.SubscribeAt(newNs, curNs, syscall.NETLINK_ROUTE, syscall.RTNLGRP_IPV4_ROUTE, syscall.RTNLGRP_IPV6_ROUTE)
-       if err != nil {
-               return err
-       }
-       if done != nil {
-               go func() {
-                       <-done
-                       s.Close()
-               }()
-       }
-       go func() {
-               defer close(ch)
-               for {
-                       msgs, err := s.Receive()
-                       if err != nil {
-                               return
-                       }
-                       for _, m := range msgs {
-                               route, err := deserializeRoute(m.Data)
-                               if err != nil {
-                                       return
-                               }
-                               ch <- RouteUpdate{Type: m.Header.Type, Route: route}
-                       }
-               }
-       }()
-
-       return nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/route_test.go b/vendor/github.com/vishvananda/netlink/route_test.go
deleted file mode 100644 (file)
index 2435001..0000000
+++ /dev/null
@@ -1,500 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "net"
-       "syscall"
-       "testing"
-       "time"
-
-       "github.com/vishvananda/netns"
-)
-
-func TestRouteAddDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // bring the interface up
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // add a gateway route
-       dst := &net.IPNet{
-               IP:   net.IPv4(192, 168, 0, 0),
-               Mask: net.CIDRMask(24, 32),
-       }
-
-       ip := net.IPv4(127, 1, 1, 1)
-       route := Route{LinkIndex: link.Attrs().Index, Dst: dst, Src: ip}
-       if err := RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err := RouteList(link, FAMILY_V4)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 1 {
-               t.Fatal("Route not added properly")
-       }
-
-       dstIP := net.IPv4(192, 168, 0, 42)
-       routeToDstIP, err := RouteGet(dstIP)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(routeToDstIP) == 0 {
-               t.Fatal("Default route not present")
-       }
-       if err := RouteDel(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err = RouteList(link, FAMILY_V4)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 0 {
-               t.Fatal("Route not removed properly")
-       }
-
-}
-
-func TestRouteReplace(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // bring the interface up
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // add a gateway route
-       dst := &net.IPNet{
-               IP:   net.IPv4(192, 168, 0, 0),
-               Mask: net.CIDRMask(24, 32),
-       }
-
-       ip := net.IPv4(127, 1, 1, 1)
-       route := Route{LinkIndex: link.Attrs().Index, Dst: dst, Src: ip}
-       if err := RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err := RouteList(link, FAMILY_V4)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 1 {
-               t.Fatal("Route not added properly")
-       }
-
-       ip = net.IPv4(127, 1, 1, 2)
-       route = Route{LinkIndex: link.Attrs().Index, Dst: dst, Src: ip}
-       if err := RouteReplace(&route); err != nil {
-               t.Fatal(err)
-       }
-
-       routes, err = RouteList(link, FAMILY_V4)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(routes) != 1 || !routes[0].Src.Equal(ip) {
-               t.Fatal("Route not replaced properly")
-       }
-
-       if err := RouteDel(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err = RouteList(link, FAMILY_V4)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 0 {
-               t.Fatal("Route not removed properly")
-       }
-
-}
-
-func TestRouteAddIncomplete(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // bring the interface up
-       if err = LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       route := Route{LinkIndex: link.Attrs().Index}
-       if err := RouteAdd(&route); err == nil {
-               t.Fatal("Adding incomplete route should fail")
-       }
-}
-
-func expectRouteUpdate(ch <-chan RouteUpdate, t uint16, dst net.IP) bool {
-       for {
-               timeout := time.After(time.Minute)
-               select {
-               case update := <-ch:
-                       if update.Type == t && update.Route.Dst.IP.Equal(dst) {
-                               return true
-                       }
-               case <-timeout:
-                       return false
-               }
-       }
-}
-
-func TestRouteSubscribe(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       ch := make(chan RouteUpdate)
-       done := make(chan struct{})
-       defer close(done)
-       if err := RouteSubscribe(ch, done); err != nil {
-               t.Fatal(err)
-       }
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // bring the interface up
-       if err = LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // add a gateway route
-       dst := &net.IPNet{
-               IP:   net.IPv4(192, 168, 0, 0),
-               Mask: net.CIDRMask(24, 32),
-       }
-
-       ip := net.IPv4(127, 1, 1, 1)
-       route := Route{LinkIndex: link.Attrs().Index, Dst: dst, Src: ip}
-       if err := RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectRouteUpdate(ch, syscall.RTM_NEWROUTE, dst.IP) {
-               t.Fatal("Add update not received as expected")
-       }
-       if err := RouteDel(&route); err != nil {
-               t.Fatal(err)
-       }
-       if !expectRouteUpdate(ch, syscall.RTM_DELROUTE, dst.IP) {
-               t.Fatal("Del update not received as expected")
-       }
-}
-
-func TestRouteSubscribeAt(t *testing.T) {
-       skipUnlessRoot(t)
-
-       // Create an handle on a custom netns
-       newNs, err := netns.New()
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer newNs.Close()
-
-       nh, err := NewHandleAt(newNs)
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer nh.Delete()
-
-       // Subscribe for Route events on the custom netns
-       ch := make(chan RouteUpdate)
-       done := make(chan struct{})
-       defer close(done)
-       if err := RouteSubscribeAt(newNs, ch, done); err != nil {
-               t.Fatal(err)
-       }
-
-       // get loopback interface
-       link, err := nh.LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // bring the interface up
-       if err = nh.LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // add a gateway route
-       dst := &net.IPNet{
-               IP:   net.IPv4(192, 169, 0, 0),
-               Mask: net.CIDRMask(24, 32),
-       }
-
-       ip := net.IPv4(127, 100, 1, 1)
-       route := Route{LinkIndex: link.Attrs().Index, Dst: dst, Src: ip}
-       if err := nh.RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-
-       if !expectRouteUpdate(ch, syscall.RTM_NEWROUTE, dst.IP) {
-               t.Fatal("Add update not received as expected")
-       }
-       if err := nh.RouteDel(&route); err != nil {
-               t.Fatal(err)
-       }
-       if !expectRouteUpdate(ch, syscall.RTM_DELROUTE, dst.IP) {
-               t.Fatal("Del update not received as expected")
-       }
-}
-
-func TestRouteExtraFields(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       // bring the interface up
-       if err = LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // add a gateway route
-       dst := &net.IPNet{
-               IP:   net.IPv4(1, 1, 1, 1),
-               Mask: net.CIDRMask(32, 32),
-       }
-
-       src := net.IPv4(127, 3, 3, 3)
-       route := Route{
-               LinkIndex: link.Attrs().Index,
-               Dst:       dst,
-               Src:       src,
-               Scope:     syscall.RT_SCOPE_LINK,
-               Priority:  13,
-               Table:     syscall.RT_TABLE_MAIN,
-               Type:      syscall.RTN_UNICAST,
-               Tos:       14,
-       }
-       if err := RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err := RouteListFiltered(FAMILY_V4, &Route{
-               Dst:   dst,
-               Src:   src,
-               Scope: syscall.RT_SCOPE_LINK,
-               Table: syscall.RT_TABLE_MAIN,
-               Type:  syscall.RTN_UNICAST,
-               Tos:   14,
-       }, RT_FILTER_DST|RT_FILTER_SRC|RT_FILTER_SCOPE|RT_FILTER_TABLE|RT_FILTER_TYPE|RT_FILTER_TOS)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 1 {
-               t.Fatal("Route not added properly")
-       }
-
-       if routes[0].Scope != syscall.RT_SCOPE_LINK {
-               t.Fatal("Invalid Scope. Route not added properly")
-       }
-       if routes[0].Priority != 13 {
-               t.Fatal("Invalid Priority. Route not added properly")
-       }
-       if routes[0].Table != syscall.RT_TABLE_MAIN {
-               t.Fatal("Invalid Scope. Route not added properly")
-       }
-       if routes[0].Type != syscall.RTN_UNICAST {
-               t.Fatal("Invalid Type. Route not added properly")
-       }
-       if routes[0].Tos != 14 {
-               t.Fatal("Invalid Tos. Route not added properly")
-       }
-}
-
-func TestRouteMultiPath(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       // bring the interface up
-       if err = LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       // add a gateway route
-       dst := &net.IPNet{
-               IP:   net.IPv4(192, 168, 0, 0),
-               Mask: net.CIDRMask(24, 32),
-       }
-
-       idx := link.Attrs().Index
-       route := Route{Dst: dst, MultiPath: []*NexthopInfo{&NexthopInfo{LinkIndex: idx}, &NexthopInfo{LinkIndex: idx}}}
-       if err := RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err := RouteList(nil, FAMILY_V4)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 1 {
-               t.Fatal("MultiPath Route not added properly")
-       }
-       if len(routes[0].MultiPath) != 2 {
-               t.Fatal("MultiPath Route not added properly")
-       }
-}
-
-func TestFilterDefaultRoute(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-       // bring the interface up
-       if err = LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       address := &Addr{
-               IPNet: &net.IPNet{
-                       IP:   net.IPv4(127, 0, 0, 2),
-                       Mask: net.CIDRMask(24, 32),
-               },
-       }
-       if err = AddrAdd(link, address); err != nil {
-               t.Fatal(err)
-       }
-
-       // Add default route
-       gw := net.IPv4(127, 0, 0, 2)
-
-       defaultRoute := Route{
-               Dst: nil,
-               Gw:  gw,
-       }
-
-       if err := RouteAdd(&defaultRoute); err != nil {
-               t.Fatal(err)
-       }
-
-       // add an extra route
-       dst := &net.IPNet{
-               IP:   net.IPv4(192, 168, 0, 0),
-               Mask: net.CIDRMask(24, 32),
-       }
-
-       extraRoute := Route{
-               Dst: dst,
-               Gw:  gw,
-       }
-
-       if err := RouteAdd(&extraRoute); err != nil {
-               t.Fatal(err)
-       }
-       var filterTests = []struct {
-               filter   *Route
-               mask     uint64
-               expected net.IP
-       }{
-               {
-                       &Route{Dst: nil},
-                       RT_FILTER_DST,
-                       gw,
-               },
-               {
-                       &Route{Dst: dst},
-                       RT_FILTER_DST,
-                       gw,
-               },
-       }
-
-       for _, f := range filterTests {
-               routes, err := RouteListFiltered(FAMILY_V4, f.filter, f.mask)
-               if err != nil {
-                       t.Fatal(err)
-               }
-               if len(routes) != 1 {
-                       t.Fatal("Route not filtered properly")
-               }
-               if !routes[0].Gw.Equal(gw) {
-                       t.Fatal("Unexpected Gateway")
-               }
-       }
-
-}
-
-func TestMPLSRouteAddDel(t *testing.T) {
-       tearDown := setUpMPLSNetlinkTest(t)
-       defer tearDown()
-
-       // get loopback interface
-       link, err := LinkByName("lo")
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       // bring the interface up
-       if err := LinkSetUp(link); err != nil {
-               t.Fatal(err)
-       }
-
-       mplsDst := 100
-       route := Route{
-               LinkIndex: link.Attrs().Index,
-               MPLSDst:   &mplsDst,
-               NewDst: &MPLSDestination{
-                       Labels: []int{200, 300},
-               },
-       }
-       if err := RouteAdd(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err := RouteList(link, FAMILY_MPLS)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 1 {
-               t.Fatal("Route not added properly")
-       }
-
-       if err := RouteDel(&route); err != nil {
-               t.Fatal(err)
-       }
-       routes, err = RouteList(link, FAMILY_MPLS)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(routes) != 0 {
-               t.Fatal("Route not removed properly")
-       }
-
-}
diff --git a/vendor/github.com/vishvananda/netlink/route_unspecified.go b/vendor/github.com/vishvananda/netlink/route_unspecified.go
deleted file mode 100644 (file)
index 2701862..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// +build !linux
-
-package netlink
-
-func (r *Route) ListFlags() []string {
-       return []string{}
-}
-
-func (n *NexthopInfo) ListFlags() []string {
-       return []string{}
-}
diff --git a/vendor/github.com/vishvananda/netlink/rule.go b/vendor/github.com/vishvananda/netlink/rule.go
deleted file mode 100644 (file)
index f0243de..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-)
-
-// Rule represents a netlink rule.
-type Rule struct {
-       Priority          int
-       Table             int
-       Mark              int
-       Mask              int
-       TunID             uint
-       Goto              int
-       Src               *net.IPNet
-       Dst               *net.IPNet
-       Flow              int
-       IifName           string
-       OifName           string
-       SuppressIfgroup   int
-       SuppressPrefixlen int
-}
-
-func (r Rule) String() string {
-       return fmt.Sprintf("ip rule %d: from %s table %d", r.Priority, r.Src, r.Table)
-}
-
-// NewRule return empty rules.
-func NewRule() *Rule {
-       return &Rule{
-               SuppressIfgroup:   -1,
-               SuppressPrefixlen: -1,
-               Priority:          -1,
-               Mark:              -1,
-               Mask:              -1,
-               Goto:              -1,
-               Flow:              -1,
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/rule_linux.go b/vendor/github.com/vishvananda/netlink/rule_linux.go
deleted file mode 100644 (file)
index f9cdc85..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-// RuleAdd adds a rule to the system.
-// Equivalent to: ip rule add
-func RuleAdd(rule *Rule) error {
-       return pkgHandle.RuleAdd(rule)
-}
-
-// RuleAdd adds a rule to the system.
-// Equivalent to: ip rule add
-func (h *Handle) RuleAdd(rule *Rule) error {
-       req := h.newNetlinkRequest(syscall.RTM_NEWRULE, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-       return ruleHandle(rule, req)
-}
-
-// RuleDel deletes a rule from the system.
-// Equivalent to: ip rule del
-func RuleDel(rule *Rule) error {
-       return pkgHandle.RuleDel(rule)
-}
-
-// RuleDel deletes a rule from the system.
-// Equivalent to: ip rule del
-func (h *Handle) RuleDel(rule *Rule) error {
-       req := h.newNetlinkRequest(syscall.RTM_DELRULE, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-       return ruleHandle(rule, req)
-}
-
-func ruleHandle(rule *Rule, req *nl.NetlinkRequest) error {
-       msg := nl.NewRtMsg()
-       msg.Family = syscall.AF_INET
-       var dstFamily uint8
-
-       var rtAttrs []*nl.RtAttr
-       if rule.Dst != nil && rule.Dst.IP != nil {
-               dstLen, _ := rule.Dst.Mask.Size()
-               msg.Dst_len = uint8(dstLen)
-               msg.Family = uint8(nl.GetIPFamily(rule.Dst.IP))
-               dstFamily = msg.Family
-               var dstData []byte
-               if msg.Family == syscall.AF_INET {
-                       dstData = rule.Dst.IP.To4()
-               } else {
-                       dstData = rule.Dst.IP.To16()
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_DST, dstData))
-       }
-
-       if rule.Src != nil && rule.Src.IP != nil {
-               msg.Family = uint8(nl.GetIPFamily(rule.Src.IP))
-               if dstFamily != 0 && dstFamily != msg.Family {
-                       return fmt.Errorf("source and destination ip are not the same IP family")
-               }
-               srcLen, _ := rule.Src.Mask.Size()
-               msg.Src_len = uint8(srcLen)
-               var srcData []byte
-               if msg.Family == syscall.AF_INET {
-                       srcData = rule.Src.IP.To4()
-               } else {
-                       srcData = rule.Src.IP.To16()
-               }
-               rtAttrs = append(rtAttrs, nl.NewRtAttr(syscall.RTA_SRC, srcData))
-       }
-
-       if rule.Table >= 0 {
-               msg.Table = uint8(rule.Table)
-               if rule.Table >= 256 {
-                       msg.Table = syscall.RT_TABLE_UNSPEC
-               }
-       }
-
-       req.AddData(msg)
-       for i := range rtAttrs {
-               req.AddData(rtAttrs[i])
-       }
-
-       native := nl.NativeEndian()
-
-       if rule.Priority >= 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.Priority))
-               req.AddData(nl.NewRtAttr(nl.FRA_PRIORITY, b))
-       }
-       if rule.Mark >= 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.Mark))
-               req.AddData(nl.NewRtAttr(nl.FRA_FWMARK, b))
-       }
-       if rule.Mask >= 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.Mask))
-               req.AddData(nl.NewRtAttr(nl.FRA_FWMASK, b))
-       }
-       if rule.Flow >= 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.Flow))
-               req.AddData(nl.NewRtAttr(nl.FRA_FLOW, b))
-       }
-       if rule.TunID > 0 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.TunID))
-               req.AddData(nl.NewRtAttr(nl.FRA_TUN_ID, b))
-       }
-       if rule.Table >= 256 {
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.Table))
-               req.AddData(nl.NewRtAttr(nl.FRA_TABLE, b))
-       }
-       if msg.Table > 0 {
-               if rule.SuppressPrefixlen >= 0 {
-                       b := make([]byte, 4)
-                       native.PutUint32(b, uint32(rule.SuppressPrefixlen))
-                       req.AddData(nl.NewRtAttr(nl.FRA_SUPPRESS_PREFIXLEN, b))
-               }
-               if rule.SuppressIfgroup >= 0 {
-                       b := make([]byte, 4)
-                       native.PutUint32(b, uint32(rule.SuppressIfgroup))
-                       req.AddData(nl.NewRtAttr(nl.FRA_SUPPRESS_IFGROUP, b))
-               }
-       }
-       if rule.IifName != "" {
-               req.AddData(nl.NewRtAttr(nl.FRA_IIFNAME, []byte(rule.IifName)))
-       }
-       if rule.OifName != "" {
-               req.AddData(nl.NewRtAttr(nl.FRA_OIFNAME, []byte(rule.OifName)))
-       }
-       if rule.Goto >= 0 {
-               msg.Type = nl.FR_ACT_NOP
-               b := make([]byte, 4)
-               native.PutUint32(b, uint32(rule.Goto))
-               req.AddData(nl.NewRtAttr(nl.FRA_GOTO, b))
-       }
-
-       _, err := req.Execute(syscall.NETLINK_ROUTE, 0)
-       return err
-}
-
-// RuleList lists rules in the system.
-// Equivalent to: ip rule list
-func RuleList(family int) ([]Rule, error) {
-       return pkgHandle.RuleList(family)
-}
-
-// RuleList lists rules in the system.
-// Equivalent to: ip rule list
-func (h *Handle) RuleList(family int) ([]Rule, error) {
-       req := h.newNetlinkRequest(syscall.RTM_GETRULE, syscall.NLM_F_DUMP|syscall.NLM_F_REQUEST)
-       msg := nl.NewIfInfomsg(family)
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_ROUTE, syscall.RTM_NEWRULE)
-       if err != nil {
-               return nil, err
-       }
-
-       native := nl.NativeEndian()
-       var res = make([]Rule, 0)
-       for i := range msgs {
-               msg := nl.DeserializeRtMsg(msgs[i])
-               attrs, err := nl.ParseRouteAttr(msgs[i][msg.Len():])
-               if err != nil {
-                       return nil, err
-               }
-
-               rule := NewRule()
-
-               for j := range attrs {
-                       switch attrs[j].Attr.Type {
-                       case syscall.RTA_TABLE:
-                               rule.Table = int(native.Uint32(attrs[j].Value[0:4]))
-                       case nl.FRA_SRC:
-                               rule.Src = &net.IPNet{
-                                       IP:   attrs[j].Value,
-                                       Mask: net.CIDRMask(int(msg.Src_len), 8*len(attrs[j].Value)),
-                               }
-                       case nl.FRA_DST:
-                               rule.Dst = &net.IPNet{
-                                       IP:   attrs[j].Value,
-                                       Mask: net.CIDRMask(int(msg.Dst_len), 8*len(attrs[j].Value)),
-                               }
-                       case nl.FRA_FWMARK:
-                               rule.Mark = int(native.Uint32(attrs[j].Value[0:4]))
-                       case nl.FRA_FWMASK:
-                               rule.Mask = int(native.Uint32(attrs[j].Value[0:4]))
-                       case nl.FRA_TUN_ID:
-                               rule.TunID = uint(native.Uint64(attrs[j].Value[0:4]))
-                       case nl.FRA_IIFNAME:
-                               rule.IifName = string(attrs[j].Value[:len(attrs[j].Value)-1])
-                       case nl.FRA_OIFNAME:
-                               rule.OifName = string(attrs[j].Value[:len(attrs[j].Value)-1])
-                       case nl.FRA_SUPPRESS_PREFIXLEN:
-                               i := native.Uint32(attrs[j].Value[0:4])
-                               if i != 0xffffffff {
-                                       rule.SuppressPrefixlen = int(i)
-                               }
-                       case nl.FRA_SUPPRESS_IFGROUP:
-                               i := native.Uint32(attrs[j].Value[0:4])
-                               if i != 0xffffffff {
-                                       rule.SuppressIfgroup = int(i)
-                               }
-                       case nl.FRA_FLOW:
-                               rule.Flow = int(native.Uint32(attrs[j].Value[0:4]))
-                       case nl.FRA_GOTO:
-                               rule.Goto = int(native.Uint32(attrs[j].Value[0:4]))
-                       case nl.FRA_PRIORITY:
-                               rule.Priority = int(native.Uint32(attrs[j].Value[0:4]))
-                       }
-               }
-               res = append(res, *rule)
-       }
-
-       return res, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/rule_test.go b/vendor/github.com/vishvananda/netlink/rule_test.go
deleted file mode 100644 (file)
index 7844877..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "net"
-       "syscall"
-       "testing"
-)
-
-func TestRuleAddDel(t *testing.T) {
-       skipUnlessRoot(t)
-
-       srcNet := &net.IPNet{IP: net.IPv4(172, 16, 0, 1), Mask: net.CIDRMask(16, 32)}
-       dstNet := &net.IPNet{IP: net.IPv4(172, 16, 1, 1), Mask: net.CIDRMask(24, 32)}
-
-       rulesBegin, err := RuleList(syscall.AF_INET)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       rule := NewRule()
-       rule.Table = syscall.RT_TABLE_MAIN
-       rule.Src = srcNet
-       rule.Dst = dstNet
-       rule.Priority = 5
-       rule.OifName = "lo"
-       rule.IifName = "lo"
-       if err := RuleAdd(rule); err != nil {
-               t.Fatal(err)
-       }
-
-       rules, err := RuleList(syscall.AF_INET)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(rules) != len(rulesBegin)+1 {
-               t.Fatal("Rule not added properly")
-       }
-
-       // find this rule
-       var found bool
-       for i := range rules {
-               if rules[i].Table == rule.Table &&
-                       rules[i].Src != nil && rules[i].Src.String() == srcNet.String() &&
-                       rules[i].Dst != nil && rules[i].Dst.String() == dstNet.String() &&
-                       rules[i].OifName == rule.OifName &&
-                       rules[i].Priority == rule.Priority &&
-                       rules[i].IifName == rule.IifName {
-                       found = true
-               }
-       }
-       if !found {
-               t.Fatal("Rule has diffrent options than one added")
-       }
-
-       if err := RuleDel(rule); err != nil {
-               t.Fatal(err)
-       }
-
-       rulesEnd, err := RuleList(syscall.AF_INET)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(rulesEnd) != len(rulesBegin) {
-               t.Fatal("Rule not removed properly")
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/socket.go b/vendor/github.com/vishvananda/netlink/socket.go
deleted file mode 100644 (file)
index 41aa726..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package netlink
-
-import "net"
-
-// SocketID identifies a single socket.
-type SocketID struct {
-       SourcePort      uint16
-       DestinationPort uint16
-       Source          net.IP
-       Destination     net.IP
-       Interface       uint32
-       Cookie          [2]uint32
-}
-
-// Socket represents a netlink socket.
-type Socket struct {
-       Family  uint8
-       State   uint8
-       Timer   uint8
-       Retrans uint8
-       ID      SocketID
-       Expires uint32
-       RQueue  uint32
-       WQueue  uint32
-       UID     uint32
-       INode   uint32
-}
diff --git a/vendor/github.com/vishvananda/netlink/socket_linux.go b/vendor/github.com/vishvananda/netlink/socket_linux.go
deleted file mode 100644 (file)
index b42b84f..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-package netlink
-
-import (
-       "errors"
-       "fmt"
-       "net"
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-const (
-       sizeofSocketID      = 0x30
-       sizeofSocketRequest = sizeofSocketID + 0x8
-       sizeofSocket        = sizeofSocketID + 0x18
-)
-
-type socketRequest struct {
-       Family   uint8
-       Protocol uint8
-       Ext      uint8
-       pad      uint8
-       States   uint32
-       ID       SocketID
-}
-
-type writeBuffer struct {
-       Bytes []byte
-       pos   int
-}
-
-func (b *writeBuffer) Write(c byte) {
-       b.Bytes[b.pos] = c
-       b.pos++
-}
-
-func (b *writeBuffer) Next(n int) []byte {
-       s := b.Bytes[b.pos : b.pos+n]
-       b.pos += n
-       return s
-}
-
-func (r *socketRequest) Serialize() []byte {
-       b := writeBuffer{Bytes: make([]byte, sizeofSocketRequest)}
-       b.Write(r.Family)
-       b.Write(r.Protocol)
-       b.Write(r.Ext)
-       b.Write(r.pad)
-       native.PutUint32(b.Next(4), r.States)
-       networkOrder.PutUint16(b.Next(2), r.ID.SourcePort)
-       networkOrder.PutUint16(b.Next(2), r.ID.DestinationPort)
-       copy(b.Next(4), r.ID.Source.To4())
-       b.Next(12)
-       copy(b.Next(4), r.ID.Destination.To4())
-       b.Next(12)
-       native.PutUint32(b.Next(4), r.ID.Interface)
-       native.PutUint32(b.Next(4), r.ID.Cookie[0])
-       native.PutUint32(b.Next(4), r.ID.Cookie[1])
-       return b.Bytes
-}
-
-func (r *socketRequest) Len() int { return sizeofSocketRequest }
-
-type readBuffer struct {
-       Bytes []byte
-       pos   int
-}
-
-func (b *readBuffer) Read() byte {
-       c := b.Bytes[b.pos]
-       b.pos++
-       return c
-}
-
-func (b *readBuffer) Next(n int) []byte {
-       s := b.Bytes[b.pos : b.pos+n]
-       b.pos += n
-       return s
-}
-
-func (s *Socket) deserialize(b []byte) error {
-       if len(b) < sizeofSocket {
-               return fmt.Errorf("socket data short read (%d); want %d", len(b), sizeofSocket)
-       }
-       rb := readBuffer{Bytes: b}
-       s.Family = rb.Read()
-       s.State = rb.Read()
-       s.Timer = rb.Read()
-       s.Retrans = rb.Read()
-       s.ID.SourcePort = networkOrder.Uint16(rb.Next(2))
-       s.ID.DestinationPort = networkOrder.Uint16(rb.Next(2))
-       s.ID.Source = net.IPv4(rb.Read(), rb.Read(), rb.Read(), rb.Read())
-       rb.Next(12)
-       s.ID.Destination = net.IPv4(rb.Read(), rb.Read(), rb.Read(), rb.Read())
-       rb.Next(12)
-       s.ID.Interface = native.Uint32(rb.Next(4))
-       s.ID.Cookie[0] = native.Uint32(rb.Next(4))
-       s.ID.Cookie[1] = native.Uint32(rb.Next(4))
-       s.Expires = native.Uint32(rb.Next(4))
-       s.RQueue = native.Uint32(rb.Next(4))
-       s.WQueue = native.Uint32(rb.Next(4))
-       s.UID = native.Uint32(rb.Next(4))
-       s.INode = native.Uint32(rb.Next(4))
-       return nil
-}
-
-// SocketGet returns the Socket identified by its local and remote addresses.
-func SocketGet(local, remote net.Addr) (*Socket, error) {
-       localTCP, ok := local.(*net.TCPAddr)
-       if !ok {
-               return nil, ErrNotImplemented
-       }
-       remoteTCP, ok := remote.(*net.TCPAddr)
-       if !ok {
-               return nil, ErrNotImplemented
-       }
-       localIP := localTCP.IP.To4()
-       if localIP == nil {
-               return nil, ErrNotImplemented
-       }
-       remoteIP := remoteTCP.IP.To4()
-       if remoteIP == nil {
-               return nil, ErrNotImplemented
-       }
-
-       s, err := nl.Subscribe(syscall.NETLINK_INET_DIAG)
-       if err != nil {
-               return nil, err
-       }
-       defer s.Close()
-       req := nl.NewNetlinkRequest(nl.SOCK_DIAG_BY_FAMILY, 0)
-       req.AddData(&socketRequest{
-               Family:   syscall.AF_INET,
-               Protocol: syscall.IPPROTO_TCP,
-               ID: SocketID{
-                       SourcePort:      uint16(localTCP.Port),
-                       DestinationPort: uint16(remoteTCP.Port),
-                       Source:          localIP,
-                       Destination:     remoteIP,
-                       Cookie:          [2]uint32{nl.TCPDIAG_NOCOOKIE, nl.TCPDIAG_NOCOOKIE},
-               },
-       })
-       s.Send(req)
-       msgs, err := s.Receive()
-       if err != nil {
-               return nil, err
-       }
-       if len(msgs) == 0 {
-               return nil, errors.New("no message nor error from netlink")
-       }
-       if len(msgs) > 2 {
-               return nil, fmt.Errorf("multiple (%d) matching sockets", len(msgs))
-       }
-       sock := &Socket{}
-       if err := sock.deserialize(msgs[0].Data); err != nil {
-               return nil, err
-       }
-       return sock, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/socket_test.go b/vendor/github.com/vishvananda/netlink/socket_test.go
deleted file mode 100644 (file)
index 4a24b89..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "log"
-       "net"
-       "os"
-       "os/user"
-       "strconv"
-       "testing"
-)
-
-func TestSocketGet(t *testing.T) {
-       if os.Getenv("TRAVIS_BUILD_DIR") != "" {
-               t.Skipf("Goroutines + network namespaces == inconsistent results")
-       }
-       addr, err := net.ResolveTCPAddr("tcp", "localhost:0")
-       if err != nil {
-               log.Fatal(err)
-       }
-       l, err := net.ListenTCP("tcp", addr)
-       if err != nil {
-               log.Fatal(err)
-       }
-       defer l.Close()
-
-       conn, err := net.Dial(l.Addr().Network(), l.Addr().String())
-       if err != nil {
-               t.Fatal(err)
-       }
-       defer conn.Close()
-
-       localAddr := conn.LocalAddr().(*net.TCPAddr)
-       remoteAddr := conn.RemoteAddr().(*net.TCPAddr)
-       socket, err := SocketGet(localAddr, remoteAddr)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if got, want := socket.ID.Source, localAddr.IP; !got.Equal(want) {
-               t.Fatalf("local ip = %v, want %v", got, want)
-       }
-       if got, want := socket.ID.Destination, remoteAddr.IP; !got.Equal(want) {
-               t.Fatalf("remote ip = %v, want %v", got, want)
-       }
-       if got, want := int(socket.ID.SourcePort), localAddr.Port; got != want {
-               t.Fatalf("local port = %d, want %d", got, want)
-       }
-       if got, want := int(socket.ID.DestinationPort), remoteAddr.Port; got != want {
-               t.Fatalf("remote port = %d, want %d", got, want)
-       }
-       u, err := user.Current()
-       if err != nil {
-               t.Fatal(err)
-       }
-       if got, want := strconv.Itoa(int(socket.UID)), u.Uid; got != want {
-               t.Fatalf("UID = %s, want %s", got, want)
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm.go b/vendor/github.com/vishvananda/netlink/xfrm.go
deleted file mode 100644 (file)
index 9962dcf..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "syscall"
-)
-
-// Proto is an enum representing an ipsec protocol.
-type Proto uint8
-
-const (
-       XFRM_PROTO_ROUTE2    Proto = syscall.IPPROTO_ROUTING
-       XFRM_PROTO_ESP       Proto = syscall.IPPROTO_ESP
-       XFRM_PROTO_AH        Proto = syscall.IPPROTO_AH
-       XFRM_PROTO_HAO       Proto = syscall.IPPROTO_DSTOPTS
-       XFRM_PROTO_COMP      Proto = 0x6c // NOTE not defined on darwin
-       XFRM_PROTO_IPSEC_ANY Proto = syscall.IPPROTO_RAW
-)
-
-func (p Proto) String() string {
-       switch p {
-       case XFRM_PROTO_ROUTE2:
-               return "route2"
-       case XFRM_PROTO_ESP:
-               return "esp"
-       case XFRM_PROTO_AH:
-               return "ah"
-       case XFRM_PROTO_HAO:
-               return "hao"
-       case XFRM_PROTO_COMP:
-               return "comp"
-       case XFRM_PROTO_IPSEC_ANY:
-               return "ipsec-any"
-       }
-       return fmt.Sprintf("%d", p)
-}
-
-// Mode is an enum representing an ipsec transport.
-type Mode uint8
-
-const (
-       XFRM_MODE_TRANSPORT Mode = iota
-       XFRM_MODE_TUNNEL
-       XFRM_MODE_ROUTEOPTIMIZATION
-       XFRM_MODE_IN_TRIGGER
-       XFRM_MODE_BEET
-       XFRM_MODE_MAX
-)
-
-func (m Mode) String() string {
-       switch m {
-       case XFRM_MODE_TRANSPORT:
-               return "transport"
-       case XFRM_MODE_TUNNEL:
-               return "tunnel"
-       case XFRM_MODE_ROUTEOPTIMIZATION:
-               return "ro"
-       case XFRM_MODE_IN_TRIGGER:
-               return "in_trigger"
-       case XFRM_MODE_BEET:
-               return "beet"
-       }
-       return fmt.Sprintf("%d", m)
-}
-
-// XfrmMark represents the mark associated to the state or policy
-type XfrmMark struct {
-       Value uint32
-       Mask  uint32
-}
-
-func (m *XfrmMark) String() string {
-       return fmt.Sprintf("(0x%x,0x%x)", m.Value, m.Mask)
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_monitor_linux.go b/vendor/github.com/vishvananda/netlink/xfrm_monitor_linux.go
deleted file mode 100644 (file)
index 7b98c9c..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "syscall"
-
-       "github.com/vishvananda/netns"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-type XfrmMsg interface {
-       Type() nl.XfrmMsgType
-}
-
-type XfrmMsgExpire struct {
-       XfrmState *XfrmState
-       Hard      bool
-}
-
-func (ue *XfrmMsgExpire) Type() nl.XfrmMsgType {
-       return nl.XFRM_MSG_EXPIRE
-}
-
-func parseXfrmMsgExpire(b []byte) *XfrmMsgExpire {
-       var e XfrmMsgExpire
-
-       msg := nl.DeserializeXfrmUserExpire(b)
-       e.XfrmState = xfrmStateFromXfrmUsersaInfo(&msg.XfrmUsersaInfo)
-       e.Hard = msg.Hard == 1
-
-       return &e
-}
-
-func XfrmMonitor(ch chan<- XfrmMsg, done <-chan struct{}, errorChan chan<- error,
-       types ...nl.XfrmMsgType) error {
-
-       groups, err := xfrmMcastGroups(types)
-       if err != nil {
-               return nil
-       }
-       s, err := nl.SubscribeAt(netns.None(), netns.None(), syscall.NETLINK_XFRM, groups...)
-       if err != nil {
-               return err
-       }
-
-       if done != nil {
-               go func() {
-                       <-done
-                       s.Close()
-               }()
-
-       }
-
-       go func() {
-               defer close(ch)
-               for {
-                       msgs, err := s.Receive()
-                       if err != nil {
-                               errorChan <- err
-                               return
-                       }
-                       for _, m := range msgs {
-                               switch m.Header.Type {
-                               case nl.XFRM_MSG_EXPIRE:
-                                       ch <- parseXfrmMsgExpire(m.Data)
-                               default:
-                                       errorChan <- fmt.Errorf("unsupported msg type: %x", m.Header.Type)
-                               }
-                       }
-               }
-       }()
-
-       return nil
-}
-
-func xfrmMcastGroups(types []nl.XfrmMsgType) ([]uint, error) {
-       groups := make([]uint, 0)
-
-       if len(types) == 0 {
-               return nil, fmt.Errorf("no xfrm msg type specified")
-       }
-
-       for _, t := range types {
-               var group uint
-
-               switch t {
-               case nl.XFRM_MSG_EXPIRE:
-                       group = nl.XFRMNLGRP_EXPIRE
-               default:
-                       return nil, fmt.Errorf("unsupported group: %x", t)
-               }
-
-               groups = append(groups, group)
-       }
-
-       return groups, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_monitor_test.go b/vendor/github.com/vishvananda/netlink/xfrm_monitor_test.go
deleted file mode 100644 (file)
index 74d3d81..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "testing"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-func TestXfrmMonitorExpire(t *testing.T) {
-       setUpNetlinkTest(t)()
-
-       ch := make(chan XfrmMsg)
-       done := make(chan struct{})
-       defer close(done)
-       errChan := make(chan error)
-       if err := XfrmMonitor(ch, nil, errChan, nl.XFRM_MSG_EXPIRE); err != nil {
-               t.Fatal(err)
-       }
-
-       // Program state with limits
-       state := getBaseState()
-       state.Limits.TimeHard = 2
-       state.Limits.TimeSoft = 1
-       if err := XfrmStateAdd(state); err != nil {
-               t.Fatal(err)
-       }
-
-       msg := (<-ch).(*XfrmMsgExpire)
-       if msg.XfrmState.Spi != state.Spi || msg.Hard {
-               t.Fatal("Received unexpected msg")
-       }
-
-       msg = (<-ch).(*XfrmMsgExpire)
-       if msg.XfrmState.Spi != state.Spi || !msg.Hard {
-               t.Fatal("Received unexpected msg")
-       }
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_policy.go b/vendor/github.com/vishvananda/netlink/xfrm_policy.go
deleted file mode 100644 (file)
index c97ec43..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-)
-
-// Dir is an enum representing an ipsec template direction.
-type Dir uint8
-
-const (
-       XFRM_DIR_IN Dir = iota
-       XFRM_DIR_OUT
-       XFRM_DIR_FWD
-       XFRM_SOCKET_IN
-       XFRM_SOCKET_OUT
-       XFRM_SOCKET_FWD
-)
-
-func (d Dir) String() string {
-       switch d {
-       case XFRM_DIR_IN:
-               return "dir in"
-       case XFRM_DIR_OUT:
-               return "dir out"
-       case XFRM_DIR_FWD:
-               return "dir fwd"
-       case XFRM_SOCKET_IN:
-               return "socket in"
-       case XFRM_SOCKET_OUT:
-               return "socket out"
-       case XFRM_SOCKET_FWD:
-               return "socket fwd"
-       }
-       return fmt.Sprintf("socket %d", d-XFRM_SOCKET_IN)
-}
-
-// XfrmPolicyTmpl encapsulates a rule for the base addresses of an ipsec
-// policy. These rules are matched with XfrmState to determine encryption
-// and authentication algorithms.
-type XfrmPolicyTmpl struct {
-       Dst   net.IP
-       Src   net.IP
-       Proto Proto
-       Mode  Mode
-       Spi   int
-       Reqid int
-}
-
-func (t XfrmPolicyTmpl) String() string {
-       return fmt.Sprintf("{Dst: %v, Src: %v, Proto: %s, Mode: %s, Spi: 0x%x, Reqid: 0x%x}",
-               t.Dst, t.Src, t.Proto, t.Mode, t.Spi, t.Reqid)
-}
-
-// XfrmPolicy represents an ipsec policy. It represents the overlay network
-// and has a list of XfrmPolicyTmpls representing the base addresses of
-// the policy.
-type XfrmPolicy struct {
-       Dst      *net.IPNet
-       Src      *net.IPNet
-       Proto    Proto
-       DstPort  int
-       SrcPort  int
-       Dir      Dir
-       Priority int
-       Index    int
-       Mark     *XfrmMark
-       Tmpls    []XfrmPolicyTmpl
-}
-
-func (p XfrmPolicy) String() string {
-       return fmt.Sprintf("{Dst: %v, Src: %v, Proto: %s, DstPort: %d, SrcPort: %d, Dir: %s, Priority: %d, Index: %d, Mark: %s, Tmpls: %s}",
-               p.Dst, p.Src, p.Proto, p.DstPort, p.SrcPort, p.Dir, p.Priority, p.Index, p.Mark, p.Tmpls)
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_policy_linux.go b/vendor/github.com/vishvananda/netlink/xfrm_policy_linux.go
deleted file mode 100644 (file)
index c3d4e42..0000000
+++ /dev/null
@@ -1,257 +0,0 @@
-package netlink
-
-import (
-       "syscall"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-func selFromPolicy(sel *nl.XfrmSelector, policy *XfrmPolicy) {
-       sel.Family = uint16(nl.FAMILY_V4)
-       if policy.Dst != nil {
-               sel.Family = uint16(nl.GetIPFamily(policy.Dst.IP))
-               sel.Daddr.FromIP(policy.Dst.IP)
-               prefixlenD, _ := policy.Dst.Mask.Size()
-               sel.PrefixlenD = uint8(prefixlenD)
-       }
-       if policy.Src != nil {
-               sel.Saddr.FromIP(policy.Src.IP)
-               prefixlenS, _ := policy.Src.Mask.Size()
-               sel.PrefixlenS = uint8(prefixlenS)
-       }
-       sel.Proto = uint8(policy.Proto)
-       sel.Dport = nl.Swap16(uint16(policy.DstPort))
-       sel.Sport = nl.Swap16(uint16(policy.SrcPort))
-       if sel.Dport != 0 {
-               sel.DportMask = ^uint16(0)
-       }
-       if sel.Sport != 0 {
-               sel.SportMask = ^uint16(0)
-       }
-}
-
-// XfrmPolicyAdd will add an xfrm policy to the system.
-// Equivalent to: `ip xfrm policy add $policy`
-func XfrmPolicyAdd(policy *XfrmPolicy) error {
-       return pkgHandle.XfrmPolicyAdd(policy)
-}
-
-// XfrmPolicyAdd will add an xfrm policy to the system.
-// Equivalent to: `ip xfrm policy add $policy`
-func (h *Handle) XfrmPolicyAdd(policy *XfrmPolicy) error {
-       return h.xfrmPolicyAddOrUpdate(policy, nl.XFRM_MSG_NEWPOLICY)
-}
-
-// XfrmPolicyUpdate will update an xfrm policy to the system.
-// Equivalent to: `ip xfrm policy update $policy`
-func XfrmPolicyUpdate(policy *XfrmPolicy) error {
-       return pkgHandle.XfrmPolicyUpdate(policy)
-}
-
-// XfrmPolicyUpdate will update an xfrm policy to the system.
-// Equivalent to: `ip xfrm policy update $policy`
-func (h *Handle) XfrmPolicyUpdate(policy *XfrmPolicy) error {
-       return h.xfrmPolicyAddOrUpdate(policy, nl.XFRM_MSG_UPDPOLICY)
-}
-
-func (h *Handle) xfrmPolicyAddOrUpdate(policy *XfrmPolicy, nlProto int) error {
-       req := h.newNetlinkRequest(nlProto, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-
-       msg := &nl.XfrmUserpolicyInfo{}
-       selFromPolicy(&msg.Sel, policy)
-       msg.Priority = uint32(policy.Priority)
-       msg.Index = uint32(policy.Index)
-       msg.Dir = uint8(policy.Dir)
-       msg.Lft.SoftByteLimit = nl.XFRM_INF
-       msg.Lft.HardByteLimit = nl.XFRM_INF
-       msg.Lft.SoftPacketLimit = nl.XFRM_INF
-       msg.Lft.HardPacketLimit = nl.XFRM_INF
-       req.AddData(msg)
-
-       tmplData := make([]byte, nl.SizeofXfrmUserTmpl*len(policy.Tmpls))
-       for i, tmpl := range policy.Tmpls {
-               start := i * nl.SizeofXfrmUserTmpl
-               userTmpl := nl.DeserializeXfrmUserTmpl(tmplData[start : start+nl.SizeofXfrmUserTmpl])
-               userTmpl.XfrmId.Daddr.FromIP(tmpl.Dst)
-               userTmpl.Saddr.FromIP(tmpl.Src)
-               userTmpl.XfrmId.Proto = uint8(tmpl.Proto)
-               userTmpl.XfrmId.Spi = nl.Swap32(uint32(tmpl.Spi))
-               userTmpl.Mode = uint8(tmpl.Mode)
-               userTmpl.Reqid = uint32(tmpl.Reqid)
-               userTmpl.Aalgos = ^uint32(0)
-               userTmpl.Ealgos = ^uint32(0)
-               userTmpl.Calgos = ^uint32(0)
-       }
-       if len(tmplData) > 0 {
-               tmpls := nl.NewRtAttr(nl.XFRMA_TMPL, tmplData)
-               req.AddData(tmpls)
-       }
-       if policy.Mark != nil {
-               out := nl.NewRtAttr(nl.XFRMA_MARK, writeMark(policy.Mark))
-               req.AddData(out)
-       }
-
-       _, err := req.Execute(syscall.NETLINK_XFRM, 0)
-       return err
-}
-
-// XfrmPolicyDel will delete an xfrm policy from the system. Note that
-// the Tmpls are ignored when matching the policy to delete.
-// Equivalent to: `ip xfrm policy del $policy`
-func XfrmPolicyDel(policy *XfrmPolicy) error {
-       return pkgHandle.XfrmPolicyDel(policy)
-}
-
-// XfrmPolicyDel will delete an xfrm policy from the system. Note that
-// the Tmpls are ignored when matching the policy to delete.
-// Equivalent to: `ip xfrm policy del $policy`
-func (h *Handle) XfrmPolicyDel(policy *XfrmPolicy) error {
-       _, err := h.xfrmPolicyGetOrDelete(policy, nl.XFRM_MSG_DELPOLICY)
-       return err
-}
-
-// XfrmPolicyList gets a list of xfrm policies in the system.
-// Equivalent to: `ip xfrm policy show`.
-// The list can be filtered by ip family.
-func XfrmPolicyList(family int) ([]XfrmPolicy, error) {
-       return pkgHandle.XfrmPolicyList(family)
-}
-
-// XfrmPolicyList gets a list of xfrm policies in the system.
-// Equivalent to: `ip xfrm policy show`.
-// The list can be filtered by ip family.
-func (h *Handle) XfrmPolicyList(family int) ([]XfrmPolicy, error) {
-       req := h.newNetlinkRequest(nl.XFRM_MSG_GETPOLICY, syscall.NLM_F_DUMP)
-
-       msg := nl.NewIfInfomsg(family)
-       req.AddData(msg)
-
-       msgs, err := req.Execute(syscall.NETLINK_XFRM, nl.XFRM_MSG_NEWPOLICY)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []XfrmPolicy
-       for _, m := range msgs {
-               if policy, err := parseXfrmPolicy(m, family); err == nil {
-                       res = append(res, *policy)
-               } else if err == familyError {
-                       continue
-               } else {
-                       return nil, err
-               }
-       }
-       return res, nil
-}
-
-// XfrmPolicyGet gets a the policy described by the index or selector, if found.
-// Equivalent to: `ip xfrm policy get { SELECTOR | index INDEX } dir DIR [ctx CTX ] [ mark MARK [ mask MASK ] ] [ ptype PTYPE ]`.
-func XfrmPolicyGet(policy *XfrmPolicy) (*XfrmPolicy, error) {
-       return pkgHandle.XfrmPolicyGet(policy)
-}
-
-// XfrmPolicyGet gets a the policy described by the index or selector, if found.
-// Equivalent to: `ip xfrm policy get { SELECTOR | index INDEX } dir DIR [ctx CTX ] [ mark MARK [ mask MASK ] ] [ ptype PTYPE ]`.
-func (h *Handle) XfrmPolicyGet(policy *XfrmPolicy) (*XfrmPolicy, error) {
-       return h.xfrmPolicyGetOrDelete(policy, nl.XFRM_MSG_GETPOLICY)
-}
-
-// XfrmPolicyFlush will flush the policies on the system.
-// Equivalent to: `ip xfrm policy flush`
-func XfrmPolicyFlush() error {
-       return pkgHandle.XfrmPolicyFlush()
-}
-
-// XfrmPolicyFlush will flush the policies on the system.
-// Equivalent to: `ip xfrm policy flush`
-func (h *Handle) XfrmPolicyFlush() error {
-       req := h.newNetlinkRequest(nl.XFRM_MSG_FLUSHPOLICY, syscall.NLM_F_ACK)
-       _, err := req.Execute(syscall.NETLINK_XFRM, 0)
-       return err
-}
-
-func (h *Handle) xfrmPolicyGetOrDelete(policy *XfrmPolicy, nlProto int) (*XfrmPolicy, error) {
-       req := h.newNetlinkRequest(nlProto, syscall.NLM_F_ACK)
-
-       msg := &nl.XfrmUserpolicyId{}
-       selFromPolicy(&msg.Sel, policy)
-       msg.Index = uint32(policy.Index)
-       msg.Dir = uint8(policy.Dir)
-       req.AddData(msg)
-
-       if policy.Mark != nil {
-               out := nl.NewRtAttr(nl.XFRMA_MARK, writeMark(policy.Mark))
-               req.AddData(out)
-       }
-
-       resType := nl.XFRM_MSG_NEWPOLICY
-       if nlProto == nl.XFRM_MSG_DELPOLICY {
-               resType = 0
-       }
-
-       msgs, err := req.Execute(syscall.NETLINK_XFRM, uint16(resType))
-       if err != nil {
-               return nil, err
-       }
-
-       if nlProto == nl.XFRM_MSG_DELPOLICY {
-               return nil, err
-       }
-
-       p, err := parseXfrmPolicy(msgs[0], FAMILY_ALL)
-       if err != nil {
-               return nil, err
-       }
-
-       return p, nil
-}
-
-func parseXfrmPolicy(m []byte, family int) (*XfrmPolicy, error) {
-       msg := nl.DeserializeXfrmUserpolicyInfo(m)
-
-       // This is mainly for the policy dump
-       if family != FAMILY_ALL && family != int(msg.Sel.Family) {
-               return nil, familyError
-       }
-
-       var policy XfrmPolicy
-
-       policy.Dst = msg.Sel.Daddr.ToIPNet(msg.Sel.PrefixlenD)
-       policy.Src = msg.Sel.Saddr.ToIPNet(msg.Sel.PrefixlenS)
-       policy.Proto = Proto(msg.Sel.Proto)
-       policy.DstPort = int(nl.Swap16(msg.Sel.Dport))
-       policy.SrcPort = int(nl.Swap16(msg.Sel.Sport))
-       policy.Priority = int(msg.Priority)
-       policy.Index = int(msg.Index)
-       policy.Dir = Dir(msg.Dir)
-
-       attrs, err := nl.ParseRouteAttr(m[msg.Len():])
-       if err != nil {
-               return nil, err
-       }
-
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case nl.XFRMA_TMPL:
-                       max := len(attr.Value)
-                       for i := 0; i < max; i += nl.SizeofXfrmUserTmpl {
-                               var resTmpl XfrmPolicyTmpl
-                               tmpl := nl.DeserializeXfrmUserTmpl(attr.Value[i : i+nl.SizeofXfrmUserTmpl])
-                               resTmpl.Dst = tmpl.XfrmId.Daddr.ToIP()
-                               resTmpl.Src = tmpl.Saddr.ToIP()
-                               resTmpl.Proto = Proto(tmpl.XfrmId.Proto)
-                               resTmpl.Mode = Mode(tmpl.Mode)
-                               resTmpl.Spi = int(nl.Swap32(tmpl.XfrmId.Spi))
-                               resTmpl.Reqid = int(tmpl.Reqid)
-                               policy.Tmpls = append(policy.Tmpls, resTmpl)
-                       }
-               case nl.XFRMA_MARK:
-                       mark := nl.DeserializeXfrmMark(attr.Value[:])
-                       policy.Mark = new(XfrmMark)
-                       policy.Mark.Value = mark.Value
-                       policy.Mark.Mask = mark.Mask
-               }
-       }
-
-       return &policy, nil
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_policy_test.go b/vendor/github.com/vishvananda/netlink/xfrm_policy_test.go
deleted file mode 100644 (file)
index 5b88421..0000000
+++ /dev/null
@@ -1,199 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "bytes"
-       "net"
-       "testing"
-)
-
-const zeroCIDR = "0.0.0.0/0"
-
-func TestXfrmPolicyAddUpdateDel(t *testing.T) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-
-       policy := getPolicy()
-       if err := XfrmPolicyAdd(policy); err != nil {
-               t.Fatal(err)
-       }
-       policies, err := XfrmPolicyList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(policies) != 1 {
-               t.Fatal("Policy not added properly")
-       }
-
-       if !comparePolicies(policy, &policies[0]) {
-               t.Fatalf("unexpected policy returned.\nExpected: %v.\nGot %v", policy, policies[0])
-       }
-
-       // Look for a specific policy
-       sp, err := XfrmPolicyGet(policy)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if !comparePolicies(policy, sp) {
-               t.Fatalf("unexpected policy returned")
-       }
-
-       // Modify the policy
-       policy.Priority = 100
-       if err := XfrmPolicyUpdate(policy); err != nil {
-               t.Fatal(err)
-       }
-       sp, err = XfrmPolicyGet(policy)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if sp.Priority != 100 {
-               t.Fatalf("failed to modify the policy")
-       }
-
-       if err = XfrmPolicyDel(policy); err != nil {
-               t.Fatal(err)
-       }
-
-       policies, err = XfrmPolicyList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(policies) != 0 {
-               t.Fatal("Policy not removed properly")
-       }
-
-       // Src and dst are not mandatory field. Creation should succeed
-       policy.Src = nil
-       policy.Dst = nil
-       if err = XfrmPolicyAdd(policy); err != nil {
-               t.Fatal(err)
-       }
-
-       sp, err = XfrmPolicyGet(policy)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if !comparePolicies(policy, sp) {
-               t.Fatalf("unexpected policy returned")
-       }
-
-       if err = XfrmPolicyDel(policy); err != nil {
-               t.Fatal(err)
-       }
-
-       if _, err := XfrmPolicyGet(policy); err == nil {
-               t.Fatalf("Unexpected success")
-       }
-}
-
-func TestXfrmPolicyFlush(t *testing.T) {
-       setUpNetlinkTest(t)()
-
-       p1 := getPolicy()
-       if err := XfrmPolicyAdd(p1); err != nil {
-               t.Fatal(err)
-       }
-
-       p1.Dir = XFRM_DIR_IN
-       s := p1.Src
-       p1.Src = p1.Dst
-       p1.Dst = s
-       if err := XfrmPolicyAdd(p1); err != nil {
-               t.Fatal(err)
-       }
-
-       policies, err := XfrmPolicyList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(policies) != 2 {
-               t.Fatalf("unexpected number of policies: %d", len(policies))
-       }
-
-       if err := XfrmPolicyFlush(); err != nil {
-               t.Fatal(err)
-       }
-
-       policies, err = XfrmPolicyList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(policies) != 0 {
-               t.Fatalf("unexpected number of policies: %d", len(policies))
-       }
-
-}
-
-func comparePolicies(a, b *XfrmPolicy) bool {
-       if a == b {
-               return true
-       }
-       if a == nil || b == nil {
-               return false
-       }
-       // Do not check Index which is assigned by kernel
-       return a.Dir == b.Dir && a.Priority == b.Priority &&
-               compareIPNet(a.Src, b.Src) && compareIPNet(a.Dst, b.Dst) &&
-               a.Mark.Value == b.Mark.Value && a.Mark.Mask == b.Mark.Mask &&
-               compareTemplates(a.Tmpls, b.Tmpls)
-}
-
-func compareTemplates(a, b []XfrmPolicyTmpl) bool {
-       if len(a) != len(b) {
-               return false
-       }
-       for i, ta := range a {
-               tb := b[i]
-               if !ta.Dst.Equal(tb.Dst) || !ta.Src.Equal(tb.Src) || ta.Spi != tb.Spi ||
-                       ta.Mode != tb.Mode || ta.Reqid != tb.Reqid || ta.Proto != tb.Proto {
-                       return false
-               }
-       }
-       return true
-}
-
-func compareIPNet(a, b *net.IPNet) bool {
-       if a == b {
-               return true
-       }
-       // For unspecified src/dst parseXfrmPolicy would set the zero address cidr
-       if (a == nil && b.String() == zeroCIDR) || (b == nil && a.String() == zeroCIDR) {
-               return true
-       }
-       if a == nil || b == nil {
-               return false
-       }
-       return a.IP.Equal(b.IP) && bytes.Equal(a.Mask, b.Mask)
-}
-
-func getPolicy() *XfrmPolicy {
-       src, _ := ParseIPNet("127.1.1.1/32")
-       dst, _ := ParseIPNet("127.1.1.2/32")
-       policy := &XfrmPolicy{
-               Src:     src,
-               Dst:     dst,
-               Proto:   17,
-               DstPort: 1234,
-               SrcPort: 5678,
-               Dir:     XFRM_DIR_OUT,
-               Mark: &XfrmMark{
-                       Value: 0xabff22,
-                       Mask:  0xffffffff,
-               },
-               Priority: 10,
-       }
-       tmpl := XfrmPolicyTmpl{
-               Src:   net.ParseIP("127.0.0.1"),
-               Dst:   net.ParseIP("127.0.0.2"),
-               Proto: XFRM_PROTO_ESP,
-               Mode:  XFRM_MODE_TUNNEL,
-               Spi:   0xabcdef99,
-       }
-       policy.Tmpls = append(policy.Tmpls, tmpl)
-       return policy
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_state.go b/vendor/github.com/vishvananda/netlink/xfrm_state.go
deleted file mode 100644 (file)
index 368a9b9..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "net"
-)
-
-// XfrmStateAlgo represents the algorithm to use for the ipsec encryption.
-type XfrmStateAlgo struct {
-       Name        string
-       Key         []byte
-       TruncateLen int // Auth only
-       ICVLen      int // AEAD only
-}
-
-func (a XfrmStateAlgo) String() string {
-       base := fmt.Sprintf("{Name: %s, Key: 0x%x", a.Name, a.Key)
-       if a.TruncateLen != 0 {
-               base = fmt.Sprintf("%s, Truncate length: %d", base, a.TruncateLen)
-       }
-       if a.ICVLen != 0 {
-               base = fmt.Sprintf("%s, ICV length: %d", base, a.ICVLen)
-       }
-       return fmt.Sprintf("%s}", base)
-}
-
-// EncapType is an enum representing the optional packet encapsulation.
-type EncapType uint8
-
-const (
-       XFRM_ENCAP_ESPINUDP_NONIKE EncapType = iota + 1
-       XFRM_ENCAP_ESPINUDP
-)
-
-func (e EncapType) String() string {
-       switch e {
-       case XFRM_ENCAP_ESPINUDP_NONIKE:
-               return "espinudp-non-ike"
-       case XFRM_ENCAP_ESPINUDP:
-               return "espinudp"
-       }
-       return "unknown"
-}
-
-// XfrmStateEncap represents the encapsulation to use for the ipsec encryption.
-type XfrmStateEncap struct {
-       Type            EncapType
-       SrcPort         int
-       DstPort         int
-       OriginalAddress net.IP
-}
-
-func (e XfrmStateEncap) String() string {
-       return fmt.Sprintf("{Type: %s, Srcport: %d, DstPort: %d, OriginalAddress: %v}",
-               e.Type, e.SrcPort, e.DstPort, e.OriginalAddress)
-}
-
-// XfrmStateLimits represents the configured limits for the state.
-type XfrmStateLimits struct {
-       ByteSoft    uint64
-       ByteHard    uint64
-       PacketSoft  uint64
-       PacketHard  uint64
-       TimeSoft    uint64
-       TimeHard    uint64
-       TimeUseSoft uint64
-       TimeUseHard uint64
-}
-
-// XfrmState represents the state of an ipsec policy. It optionally
-// contains an XfrmStateAlgo for encryption and one for authentication.
-type XfrmState struct {
-       Dst          net.IP
-       Src          net.IP
-       Proto        Proto
-       Mode         Mode
-       Spi          int
-       Reqid        int
-       ReplayWindow int
-       Limits       XfrmStateLimits
-       Mark         *XfrmMark
-       Auth         *XfrmStateAlgo
-       Crypt        *XfrmStateAlgo
-       Aead         *XfrmStateAlgo
-       Encap        *XfrmStateEncap
-       ESN          bool
-}
-
-func (sa XfrmState) String() string {
-       return fmt.Sprintf("Dst: %v, Src: %v, Proto: %s, Mode: %s, SPI: 0x%x, ReqID: 0x%x, ReplayWindow: %d, Mark: %v, Auth: %v, Crypt: %v, Aead: %v, Encap: %v, ESN: %t",
-               sa.Dst, sa.Src, sa.Proto, sa.Mode, sa.Spi, sa.Reqid, sa.ReplayWindow, sa.Mark, sa.Auth, sa.Crypt, sa.Aead, sa.Encap, sa.ESN)
-}
-func (sa XfrmState) Print(stats bool) string {
-       if !stats {
-               return sa.String()
-       }
-
-       return fmt.Sprintf("%s, ByteSoft: %s, ByteHard: %s, PacketSoft: %s, PacketHard: %s, TimeSoft: %d, TimeHard: %d, TimeUseSoft: %d, TimeUseHard: %d",
-               sa.String(), printLimit(sa.Limits.ByteSoft), printLimit(sa.Limits.ByteHard), printLimit(sa.Limits.PacketSoft), printLimit(sa.Limits.PacketHard),
-               sa.Limits.TimeSoft, sa.Limits.TimeHard, sa.Limits.TimeUseSoft, sa.Limits.TimeUseHard)
-}
-
-func printLimit(lmt uint64) string {
-       if lmt == ^uint64(0) {
-               return "(INF)"
-       }
-       return fmt.Sprintf("%d", lmt)
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_state_linux.go b/vendor/github.com/vishvananda/netlink/xfrm_state_linux.go
deleted file mode 100644 (file)
index 6a7bc0d..0000000
+++ /dev/null
@@ -1,444 +0,0 @@
-package netlink
-
-import (
-       "fmt"
-       "syscall"
-       "unsafe"
-
-       "github.com/vishvananda/netlink/nl"
-)
-
-func writeStateAlgo(a *XfrmStateAlgo) []byte {
-       algo := nl.XfrmAlgo{
-               AlgKeyLen: uint32(len(a.Key) * 8),
-               AlgKey:    a.Key,
-       }
-       end := len(a.Name)
-       if end > 64 {
-               end = 64
-       }
-       copy(algo.AlgName[:end], a.Name)
-       return algo.Serialize()
-}
-
-func writeStateAlgoAuth(a *XfrmStateAlgo) []byte {
-       algo := nl.XfrmAlgoAuth{
-               AlgKeyLen:   uint32(len(a.Key) * 8),
-               AlgTruncLen: uint32(a.TruncateLen),
-               AlgKey:      a.Key,
-       }
-       end := len(a.Name)
-       if end > 64 {
-               end = 64
-       }
-       copy(algo.AlgName[:end], a.Name)
-       return algo.Serialize()
-}
-
-func writeStateAlgoAead(a *XfrmStateAlgo) []byte {
-       algo := nl.XfrmAlgoAEAD{
-               AlgKeyLen: uint32(len(a.Key) * 8),
-               AlgICVLen: uint32(a.ICVLen),
-               AlgKey:    a.Key,
-       }
-       end := len(a.Name)
-       if end > 64 {
-               end = 64
-       }
-       copy(algo.AlgName[:end], a.Name)
-       return algo.Serialize()
-}
-
-func writeMark(m *XfrmMark) []byte {
-       mark := &nl.XfrmMark{
-               Value: m.Value,
-               Mask:  m.Mask,
-       }
-       if mark.Mask == 0 {
-               mark.Mask = ^uint32(0)
-       }
-       return mark.Serialize()
-}
-
-func writeReplayEsn(replayWindow int) []byte {
-       replayEsn := &nl.XfrmReplayStateEsn{
-               OSeq:         0,
-               Seq:          0,
-               OSeqHi:       0,
-               SeqHi:        0,
-               ReplayWindow: uint32(replayWindow),
-       }
-
-       // taken from iproute2/ip/xfrm_state.c:
-       replayEsn.BmpLen = uint32((replayWindow + (4 * 8) - 1) / (4 * 8))
-
-       return replayEsn.Serialize()
-}
-
-// XfrmStateAdd will add an xfrm state to the system.
-// Equivalent to: `ip xfrm state add $state`
-func XfrmStateAdd(state *XfrmState) error {
-       return pkgHandle.XfrmStateAdd(state)
-}
-
-// XfrmStateAdd will add an xfrm state to the system.
-// Equivalent to: `ip xfrm state add $state`
-func (h *Handle) XfrmStateAdd(state *XfrmState) error {
-       return h.xfrmStateAddOrUpdate(state, nl.XFRM_MSG_NEWSA)
-}
-
-// XfrmStateAllocSpi will allocate an xfrm state in the system.
-// Equivalent to: `ip xfrm state allocspi`
-func XfrmStateAllocSpi(state *XfrmState) (*XfrmState, error) {
-       return pkgHandle.xfrmStateAllocSpi(state)
-}
-
-// XfrmStateUpdate will update an xfrm state to the system.
-// Equivalent to: `ip xfrm state update $state`
-func XfrmStateUpdate(state *XfrmState) error {
-       return pkgHandle.XfrmStateUpdate(state)
-}
-
-// XfrmStateUpdate will update an xfrm state to the system.
-// Equivalent to: `ip xfrm state update $state`
-func (h *Handle) XfrmStateUpdate(state *XfrmState) error {
-       return h.xfrmStateAddOrUpdate(state, nl.XFRM_MSG_UPDSA)
-}
-
-func (h *Handle) xfrmStateAddOrUpdate(state *XfrmState, nlProto int) error {
-
-       // A state with spi 0 can't be deleted so don't allow it to be set
-       if state.Spi == 0 {
-               return fmt.Errorf("Spi must be set when adding xfrm state.")
-       }
-       req := h.newNetlinkRequest(nlProto, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-
-       msg := xfrmUsersaInfoFromXfrmState(state)
-
-       if state.ESN {
-               if state.ReplayWindow == 0 {
-                       return fmt.Errorf("ESN flag set without ReplayWindow")
-               }
-               msg.Flags |= nl.XFRM_STATE_ESN
-               msg.ReplayWindow = 0
-       }
-
-       limitsToLft(state.Limits, &msg.Lft)
-       req.AddData(msg)
-
-       if state.Auth != nil {
-               out := nl.NewRtAttr(nl.XFRMA_ALG_AUTH_TRUNC, writeStateAlgoAuth(state.Auth))
-               req.AddData(out)
-       }
-       if state.Crypt != nil {
-               out := nl.NewRtAttr(nl.XFRMA_ALG_CRYPT, writeStateAlgo(state.Crypt))
-               req.AddData(out)
-       }
-       if state.Aead != nil {
-               out := nl.NewRtAttr(nl.XFRMA_ALG_AEAD, writeStateAlgoAead(state.Aead))
-               req.AddData(out)
-       }
-       if state.Encap != nil {
-               encapData := make([]byte, nl.SizeofXfrmEncapTmpl)
-               encap := nl.DeserializeXfrmEncapTmpl(encapData)
-               encap.EncapType = uint16(state.Encap.Type)
-               encap.EncapSport = nl.Swap16(uint16(state.Encap.SrcPort))
-               encap.EncapDport = nl.Swap16(uint16(state.Encap.DstPort))
-               encap.EncapOa.FromIP(state.Encap.OriginalAddress)
-               out := nl.NewRtAttr(nl.XFRMA_ENCAP, encapData)
-               req.AddData(out)
-       }
-       if state.Mark != nil {
-               out := nl.NewRtAttr(nl.XFRMA_MARK, writeMark(state.Mark))
-               req.AddData(out)
-       }
-       if state.ESN {
-               out := nl.NewRtAttr(nl.XFRMA_REPLAY_ESN_VAL, writeReplayEsn(state.ReplayWindow))
-               req.AddData(out)
-       }
-
-       _, err := req.Execute(syscall.NETLINK_XFRM, 0)
-       return err
-}
-
-func (h *Handle) xfrmStateAllocSpi(state *XfrmState) (*XfrmState, error) {
-       req := h.newNetlinkRequest(nl.XFRM_MSG_ALLOCSPI,
-               syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
-
-       msg := &nl.XfrmUserSpiInfo{}
-       msg.XfrmUsersaInfo = *(xfrmUsersaInfoFromXfrmState(state))
-       // 1-255 is reserved by IANA for future use
-       msg.Min = 0x100
-       msg.Max = 0xffffffff
-       req.AddData(msg)
-
-       if state.Mark != nil {
-               out := nl.NewRtAttr(nl.XFRMA_MARK, writeMark(state.Mark))
-               req.AddData(out)
-       }
-
-       msgs, err := req.Execute(syscall.NETLINK_XFRM, 0)
-       if err != nil {
-               return nil, err
-       }
-
-       s, err := parseXfrmState(msgs[0], FAMILY_ALL)
-       if err != nil {
-               return nil, err
-       }
-
-       return s, err
-}
-
-// XfrmStateDel will delete an xfrm state from the system. Note that
-// the Algos are ignored when matching the state to delete.
-// Equivalent to: `ip xfrm state del $state`
-func XfrmStateDel(state *XfrmState) error {
-       return pkgHandle.XfrmStateDel(state)
-}
-
-// XfrmStateDel will delete an xfrm state from the system. Note that
-// the Algos are ignored when matching the state to delete.
-// Equivalent to: `ip xfrm state del $state`
-func (h *Handle) XfrmStateDel(state *XfrmState) error {
-       _, err := h.xfrmStateGetOrDelete(state, nl.XFRM_MSG_DELSA)
-       return err
-}
-
-// XfrmStateList gets a list of xfrm states in the system.
-// Equivalent to: `ip [-4|-6] xfrm state show`.
-// The list can be filtered by ip family.
-func XfrmStateList(family int) ([]XfrmState, error) {
-       return pkgHandle.XfrmStateList(family)
-}
-
-// XfrmStateList gets a list of xfrm states in the system.
-// Equivalent to: `ip xfrm state show`.
-// The list can be filtered by ip family.
-func (h *Handle) XfrmStateList(family int) ([]XfrmState, error) {
-       req := h.newNetlinkRequest(nl.XFRM_MSG_GETSA, syscall.NLM_F_DUMP)
-
-       msgs, err := req.Execute(syscall.NETLINK_XFRM, nl.XFRM_MSG_NEWSA)
-       if err != nil {
-               return nil, err
-       }
-
-       var res []XfrmState
-       for _, m := range msgs {
-               if state, err := parseXfrmState(m, family); err == nil {
-                       res = append(res, *state)
-               } else if err == familyError {
-                       continue
-               } else {
-                       return nil, err
-               }
-       }
-       return res, nil
-}
-
-// XfrmStateGet gets the xfrm state described by the ID, if found.
-// Equivalent to: `ip xfrm state get ID [ mark MARK [ mask MASK ] ]`.
-// Only the fields which constitue the SA ID must be filled in:
-// ID := [ src ADDR ] [ dst ADDR ] [ proto XFRM-PROTO ] [ spi SPI ]
-// mark is optional
-func XfrmStateGet(state *XfrmState) (*XfrmState, error) {
-       return pkgHandle.XfrmStateGet(state)
-}
-
-// XfrmStateGet gets the xfrm state described by the ID, if found.
-// Equivalent to: `ip xfrm state get ID [ mark MARK [ mask MASK ] ]`.
-// Only the fields which constitue the SA ID must be filled in:
-// ID := [ src ADDR ] [ dst ADDR ] [ proto XFRM-PROTO ] [ spi SPI ]
-// mark is optional
-func (h *Handle) XfrmStateGet(state *XfrmState) (*XfrmState, error) {
-       return h.xfrmStateGetOrDelete(state, nl.XFRM_MSG_GETSA)
-}
-
-func (h *Handle) xfrmStateGetOrDelete(state *XfrmState, nlProto int) (*XfrmState, error) {
-       req := h.newNetlinkRequest(nlProto, syscall.NLM_F_ACK)
-
-       msg := &nl.XfrmUsersaId{}
-       msg.Family = uint16(nl.GetIPFamily(state.Dst))
-       msg.Daddr.FromIP(state.Dst)
-       msg.Proto = uint8(state.Proto)
-       msg.Spi = nl.Swap32(uint32(state.Spi))
-       req.AddData(msg)
-
-       if state.Mark != nil {
-               out := nl.NewRtAttr(nl.XFRMA_MARK, writeMark(state.Mark))
-               req.AddData(out)
-       }
-       if state.Src != nil {
-               out := nl.NewRtAttr(nl.XFRMA_SRCADDR, state.Src.To16())
-               req.AddData(out)
-       }
-
-       resType := nl.XFRM_MSG_NEWSA
-       if nlProto == nl.XFRM_MSG_DELSA {
-               resType = 0
-       }
-
-       msgs, err := req.Execute(syscall.NETLINK_XFRM, uint16(resType))
-       if err != nil {
-               return nil, err
-       }
-
-       if nlProto == nl.XFRM_MSG_DELSA {
-               return nil, nil
-       }
-
-       s, err := parseXfrmState(msgs[0], FAMILY_ALL)
-       if err != nil {
-               return nil, err
-       }
-
-       return s, nil
-}
-
-var familyError = fmt.Errorf("family error")
-
-func xfrmStateFromXfrmUsersaInfo(msg *nl.XfrmUsersaInfo) *XfrmState {
-       var state XfrmState
-
-       state.Dst = msg.Id.Daddr.ToIP()
-       state.Src = msg.Saddr.ToIP()
-       state.Proto = Proto(msg.Id.Proto)
-       state.Mode = Mode(msg.Mode)
-       state.Spi = int(nl.Swap32(msg.Id.Spi))
-       state.Reqid = int(msg.Reqid)
-       state.ReplayWindow = int(msg.ReplayWindow)
-       lftToLimits(&msg.Lft, &state.Limits)
-
-       return &state
-}
-
-func parseXfrmState(m []byte, family int) (*XfrmState, error) {
-       msg := nl.DeserializeXfrmUsersaInfo(m)
-
-       // This is mainly for the state dump
-       if family != FAMILY_ALL && family != int(msg.Family) {
-               return nil, familyError
-       }
-
-       state := xfrmStateFromXfrmUsersaInfo(msg)
-
-       attrs, err := nl.ParseRouteAttr(m[nl.SizeofXfrmUsersaInfo:])
-       if err != nil {
-               return nil, err
-       }
-
-       for _, attr := range attrs {
-               switch attr.Attr.Type {
-               case nl.XFRMA_ALG_AUTH, nl.XFRMA_ALG_CRYPT:
-                       var resAlgo *XfrmStateAlgo
-                       if attr.Attr.Type == nl.XFRMA_ALG_AUTH {
-                               if state.Auth == nil {
-                                       state.Auth = new(XfrmStateAlgo)
-                               }
-                               resAlgo = state.Auth
-                       } else {
-                               state.Crypt = new(XfrmStateAlgo)
-                               resAlgo = state.Crypt
-                       }
-                       algo := nl.DeserializeXfrmAlgo(attr.Value[:])
-                       (*resAlgo).Name = nl.BytesToString(algo.AlgName[:])
-                       (*resAlgo).Key = algo.AlgKey
-               case nl.XFRMA_ALG_AUTH_TRUNC:
-                       if state.Auth == nil {
-                               state.Auth = new(XfrmStateAlgo)
-                       }
-                       algo := nl.DeserializeXfrmAlgoAuth(attr.Value[:])
-                       state.Auth.Name = nl.BytesToString(algo.AlgName[:])
-                       state.Auth.Key = algo.AlgKey
-                       state.Auth.TruncateLen = int(algo.AlgTruncLen)
-               case nl.XFRMA_ALG_AEAD:
-                       state.Aead = new(XfrmStateAlgo)
-                       algo := nl.DeserializeXfrmAlgoAEAD(attr.Value[:])
-                       state.Aead.Name = nl.BytesToString(algo.AlgName[:])
-                       state.Aead.Key = algo.AlgKey
-                       state.Aead.ICVLen = int(algo.AlgICVLen)
-               case nl.XFRMA_ENCAP:
-                       encap := nl.DeserializeXfrmEncapTmpl(attr.Value[:])
-                       state.Encap = new(XfrmStateEncap)
-                       state.Encap.Type = EncapType(encap.EncapType)
-                       state.Encap.SrcPort = int(nl.Swap16(encap.EncapSport))
-                       state.Encap.DstPort = int(nl.Swap16(encap.EncapDport))
-                       state.Encap.OriginalAddress = encap.EncapOa.ToIP()
-               case nl.XFRMA_MARK:
-                       mark := nl.DeserializeXfrmMark(attr.Value[:])
-                       state.Mark = new(XfrmMark)
-                       state.Mark.Value = mark.Value
-                       state.Mark.Mask = mark.Mask
-               }
-       }
-
-       return state, nil
-}
-
-// XfrmStateFlush will flush the xfrm state on the system.
-// proto = 0 means any transformation protocols
-// Equivalent to: `ip xfrm state flush [ proto XFRM-PROTO ]`
-func XfrmStateFlush(proto Proto) error {
-       return pkgHandle.XfrmStateFlush(proto)
-}
-
-// XfrmStateFlush will flush the xfrm state on the system.
-// proto = 0 means any transformation protocols
-// Equivalent to: `ip xfrm state flush [ proto XFRM-PROTO ]`
-func (h *Handle) XfrmStateFlush(proto Proto) error {
-       req := h.newNetlinkRequest(nl.XFRM_MSG_FLUSHSA, syscall.NLM_F_ACK)
-
-       req.AddData(&nl.XfrmUsersaFlush{Proto: uint8(proto)})
-
-       _, err := req.Execute(syscall.NETLINK_XFRM, 0)
-       if err != nil {
-               return err
-       }
-
-       return nil
-}
-
-func limitsToLft(lmts XfrmStateLimits, lft *nl.XfrmLifetimeCfg) {
-       if lmts.ByteSoft != 0 {
-               lft.SoftByteLimit = lmts.ByteSoft
-       } else {
-               lft.SoftByteLimit = nl.XFRM_INF
-       }
-       if lmts.ByteHard != 0 {
-               lft.HardByteLimit = lmts.ByteHard
-       } else {
-               lft.HardByteLimit = nl.XFRM_INF
-       }
-       if lmts.PacketSoft != 0 {
-               lft.SoftPacketLimit = lmts.PacketSoft
-       } else {
-               lft.SoftPacketLimit = nl.XFRM_INF
-       }
-       if lmts.PacketHard != 0 {
-               lft.HardPacketLimit = lmts.PacketHard
-       } else {
-               lft.HardPacketLimit = nl.XFRM_INF
-       }
-       lft.SoftAddExpiresSeconds = lmts.TimeSoft
-       lft.HardAddExpiresSeconds = lmts.TimeHard
-       lft.SoftUseExpiresSeconds = lmts.TimeUseSoft
-       lft.HardUseExpiresSeconds = lmts.TimeUseHard
-}
-
-func lftToLimits(lft *nl.XfrmLifetimeCfg, lmts *XfrmStateLimits) {
-       *lmts = *(*XfrmStateLimits)(unsafe.Pointer(lft))
-}
-
-func xfrmUsersaInfoFromXfrmState(state *XfrmState) *nl.XfrmUsersaInfo {
-       msg := &nl.XfrmUsersaInfo{}
-       msg.Family = uint16(nl.GetIPFamily(state.Dst))
-       msg.Id.Daddr.FromIP(state.Dst)
-       msg.Saddr.FromIP(state.Src)
-       msg.Id.Proto = uint8(state.Proto)
-       msg.Mode = uint8(state.Mode)
-       msg.Id.Spi = nl.Swap32(uint32(state.Spi))
-       msg.Reqid = uint32(state.Reqid)
-       msg.ReplayWindow = uint8(state.ReplayWindow)
-
-       return msg
-}
diff --git a/vendor/github.com/vishvananda/netlink/xfrm_state_test.go b/vendor/github.com/vishvananda/netlink/xfrm_state_test.go
deleted file mode 100644 (file)
index ec5dfb6..0000000
+++ /dev/null
@@ -1,270 +0,0 @@
-// +build linux
-
-package netlink
-
-import (
-       "bytes"
-       "encoding/hex"
-       "net"
-       "testing"
-)
-
-func TestXfrmStateAddGetDel(t *testing.T) {
-       for _, s := range []*XfrmState{getBaseState(), getAeadState()} {
-               testXfrmStateAddGetDel(t, s)
-       }
-}
-
-func testXfrmStateAddGetDel(t *testing.T, state *XfrmState) {
-       tearDown := setUpNetlinkTest(t)
-       defer tearDown()
-       if err := XfrmStateAdd(state); err != nil {
-               t.Fatal(err)
-       }
-       states, err := XfrmStateList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if len(states) != 1 {
-               t.Fatal("State not added properly")
-       }
-
-       if !compareStates(state, &states[0]) {
-               t.Fatalf("unexpected states returned")
-       }
-
-       // Get specific state
-       sa, err := XfrmStateGet(state)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if !compareStates(state, sa) {
-               t.Fatalf("unexpected state returned")
-       }
-
-       if err = XfrmStateDel(state); err != nil {
-               t.Fatal(err)
-       }
-
-       states, err = XfrmStateList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(states) != 0 {
-               t.Fatal("State not removed properly")
-       }
-
-       if _, err := XfrmStateGet(state); err == nil {
-               t.Fatalf("Unexpected success")
-       }
-}
-
-func TestXfrmStateAllocSpi(t *testing.T) {
-       setUpNetlinkTest(t)()
-
-       state := getBaseState()
-       state.Spi = 0
-       state.Auth = nil
-       state.Crypt = nil
-       rstate, err := XfrmStateAllocSpi(state)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if rstate.Spi == 0 {
-               t.Fatalf("SPI is not allocated")
-       }
-       rstate.Spi = 0
-       if !compareStates(state, rstate) {
-               t.Fatalf("State not properly allocated")
-       }
-}
-
-func TestXfrmStateFlush(t *testing.T) {
-       setUpNetlinkTest(t)()
-
-       state1 := getBaseState()
-       state2 := getBaseState()
-       state2.Src = net.ParseIP("127.1.0.1")
-       state2.Dst = net.ParseIP("127.1.0.2")
-       state2.Proto = XFRM_PROTO_AH
-       state2.Mode = XFRM_MODE_TUNNEL
-       state2.Spi = 20
-       state2.Mark = nil
-       state2.Crypt = nil
-
-       if err := XfrmStateAdd(state1); err != nil {
-               t.Fatal(err)
-       }
-       if err := XfrmStateAdd(state2); err != nil {
-               t.Fatal(err)
-       }
-
-       // flushing proto for which no state is present should return silently
-       if err := XfrmStateFlush(XFRM_PROTO_COMP); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := XfrmStateFlush(XFRM_PROTO_AH); err != nil {
-               t.Fatal(err)
-       }
-
-       if _, err := XfrmStateGet(state2); err == nil {
-               t.Fatalf("Unexpected success")
-       }
-
-       if err := XfrmStateAdd(state2); err != nil {
-               t.Fatal(err)
-       }
-
-       if err := XfrmStateFlush(0); err != nil {
-               t.Fatal(err)
-       }
-
-       states, err := XfrmStateList(FAMILY_ALL)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if len(states) != 0 {
-               t.Fatal("State not flushed properly")
-       }
-
-}
-
-func TestXfrmStateUpdateLimits(t *testing.T) {
-       setUpNetlinkTest(t)()
-
-       // Program state with limits
-       state := getBaseState()
-       state.Limits.TimeHard = 3600
-       state.Limits.TimeSoft = 60
-       state.Limits.PacketHard = 1000
-       state.Limits.PacketSoft = 50
-       state.Limits.ByteHard = 1000000
-       state.Limits.ByteSoft = 50000
-       state.Limits.TimeUseHard = 3000
-       state.Limits.TimeUseSoft = 1500
-       if err := XfrmStateAdd(state); err != nil {
-               t.Fatal(err)
-       }
-       // Verify limits
-       s, err := XfrmStateGet(state)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if !compareLimits(state, s) {
-               t.Fatalf("Incorrect time hard/soft retrieved: %s", s.Print(true))
-       }
-
-       // Update limits
-       state.Limits.TimeHard = 1800
-       state.Limits.TimeSoft = 30
-       state.Limits.PacketHard = 500
-       state.Limits.PacketSoft = 25
-       state.Limits.ByteHard = 500000
-       state.Limits.ByteSoft = 25000
-       state.Limits.TimeUseHard = 2000
-       state.Limits.TimeUseSoft = 1000
-       if err := XfrmStateUpdate(state); err != nil {
-               t.Fatal(err)
-       }
-
-       // Verify new limits
-       s, err = XfrmStateGet(state)
-       if err != nil {
-               t.Fatal(err)
-       }
-       if s.Limits.TimeHard != 1800 || s.Limits.TimeSoft != 30 {
-               t.Fatalf("Incorrect time hard retrieved: (%d, %d)", s.Limits.TimeHard, s.Limits.TimeSoft)
-       }
-}
-
-func getBaseState() *XfrmState {
-       return &XfrmState{
-               // Force 4 byte notation for the IPv4 addresses
-               Src:   net.ParseIP("127.0.0.1").To4(),
-               Dst:   net.ParseIP("127.0.0.2").To4(),
-               Proto: XFRM_PROTO_ESP,
-               Mode:  XFRM_MODE_TUNNEL,
-               Spi:   1,
-               Auth: &XfrmStateAlgo{
-                       Name: "hmac(sha256)",
-                       Key:  []byte("abcdefghijklmnopqrstuvwzyzABCDEF"),
-               },
-               Crypt: &XfrmStateAlgo{
-                       Name: "cbc(aes)",
-                       Key:  []byte("abcdefghijklmnopqrstuvwzyzABCDEF"),
-               },
-               Mark: &XfrmMark{
-                       Value: 0x12340000,
-                       Mask:  0xffff0000,
-               },
-       }
-}
-
-func getAeadState() *XfrmState {
-       // 128 key bits + 32 salt bits
-       k, _ := hex.DecodeString("d0562776bf0e75830ba3f7f8eb6c09b555aa1177")
-       return &XfrmState{
-               // Leave IPv4 addresses in Ipv4 in IPv6 notation
-               Src:   net.ParseIP("192.168.1.1"),
-               Dst:   net.ParseIP("192.168.2.2"),
-               Proto: XFRM_PROTO_ESP,
-               Mode:  XFRM_MODE_TUNNEL,
-               Spi:   2,
-               Aead: &XfrmStateAlgo{
-                       Name:   "rfc4106(gcm(aes))",
-                       Key:    k,
-                       ICVLen: 64,
-               },
-       }
-}
-
-func compareStates(a, b *XfrmState) bool {
-       if a == b {
-               return true
-       }
-       if a == nil || b == nil {
-               return false
-       }
-       return a.Src.Equal(b.Src) && a.Dst.Equal(b.Dst) &&
-               a.Mode == b.Mode && a.Spi == b.Spi && a.Proto == b.Proto &&
-               compareAlgo(a.Auth, b.Auth) &&
-               compareAlgo(a.Crypt, b.Crypt) &&
-               compareAlgo(a.Aead, b.Aead) &&
-               compareMarks(a.Mark, b.Mark)
-}
-
-func compareLimits(a, b *XfrmState) bool {
-       return a.Limits.TimeHard == b.Limits.TimeHard &&
-               a.Limits.TimeSoft == b.Limits.TimeSoft &&
-               a.Limits.PacketHard == b.Limits.PacketHard &&
-               a.Limits.PacketSoft == b.Limits.PacketSoft &&
-               a.Limits.ByteHard == b.Limits.ByteHard &&
-               a.Limits.ByteSoft == b.Limits.ByteSoft &&
-               a.Limits.TimeUseHard == b.Limits.TimeUseHard &&
-               a.Limits.TimeUseSoft == b.Limits.TimeUseSoft
-}
-
-func compareAlgo(a, b *XfrmStateAlgo) bool {
-       if a == b {
-               return true
-       }
-       if a == nil || b == nil {
-               return false
-       }
-       return a.Name == b.Name && bytes.Equal(a.Key, b.Key) &&
-               (a.TruncateLen == 0 || a.TruncateLen == b.TruncateLen) &&
-               (a.ICVLen == 0 || a.ICVLen == b.ICVLen)
-}
-
-func compareMarks(a, b *XfrmMark) bool {
-       if a == b {
-               return true
-       }
-       if a == nil || b == nil {
-               return false
-       }
-       return a.Value == b.Value && a.Mask == b.Mask
-}
diff --git a/vendor/github.com/vishvananda/netns/LICENSE b/vendor/github.com/vishvananda/netns/LICENSE
deleted file mode 100644 (file)
index 9f64db8..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   Copyright 2014 Vishvananda Ishaya.
-   Copyright 2014 Docker, Inc.
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/vendor/github.com/vishvananda/netns/README.md b/vendor/github.com/vishvananda/netns/README.md
deleted file mode 100644 (file)
index 6b45cfb..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-# netns - network namespaces in go #
-
-The netns package provides an ultra-simple interface for handling
-network namespaces in go. Changing namespaces requires elevated
-privileges, so in most cases this code needs to be run as root.
-
-## Local Build and Test ##
-
-You can use go get command:
-
-    go get github.com/vishvananda/netns
-
-Testing (requires root):
-
-    sudo -E go test github.com/vishvananda/netns
-
-## Example ##
-
-```go
-package main
-
-import (
-    "fmt"
-    "net"
-    "runtime"
-    "github.com/vishvananda/netns"
-)
-
-func main() {
-    // Lock the OS Thread so we don't accidentally switch namespaces
-    runtime.LockOSThread()
-    defer runtime.UnlockOSThread()
-
-    // Save the current network namespace
-    origns, _ := netns.Get()
-    defer origns.Close()
-
-    // Create a new network namespace
-    newns, _ := netns.New()
-    defer newns.Close()
-
-    // Do something with the network namespace
-    ifaces, _ := net.Interfaces()
-    fmt.Printf("Interfaces: %v\n", ifaces)
-
-    // Switch back to the original namespace
-    netns.Set(origns)
-}
-
-```
diff --git a/vendor/github.com/vishvananda/netns/netns.go b/vendor/github.com/vishvananda/netns/netns.go
deleted file mode 100644 (file)
index 1ba6b26..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Package netns allows ultra-simple network namespace handling. NsHandles
-// can be retrieved and set. Note that the current namespace is thread
-// local so actions that set and reset namespaces should use LockOSThread
-// to make sure the namespace doesn't change due to a goroutine switch.
-// It is best to close NsHandles when you are done with them. This can be
-// accomplished via a `defer ns.Close()` on the handle. Changing namespaces
-// requires elevated privileges, so in most cases this code needs to be run
-// as root.
-package netns
-
-import (
-       "fmt"
-       "syscall"
-)
-
-// NsHandle is a handle to a network namespace. It can be cast directly
-// to an int and used as a file descriptor.
-type NsHandle int
-
-// Equal determines if two network handles refer to the same network
-// namespace. This is done by comparing the device and inode that the
-// file descripors point to.
-func (ns NsHandle) Equal(other NsHandle) bool {
-       if ns == other {
-               return true
-       }
-       var s1, s2 syscall.Stat_t
-       if err := syscall.Fstat(int(ns), &s1); err != nil {
-               return false
-       }
-       if err := syscall.Fstat(int(other), &s2); err != nil {
-               return false
-       }
-       return (s1.Dev == s2.Dev) && (s1.Ino == s2.Ino)
-}
-
-// String shows the file descriptor number and its dev and inode.
-func (ns NsHandle) String() string {
-       var s syscall.Stat_t
-       if ns == -1 {
-               return "NS(None)"
-       }
-       if err := syscall.Fstat(int(ns), &s); err != nil {
-               return fmt.Sprintf("NS(%d: unknown)", ns)
-       }
-       return fmt.Sprintf("NS(%d: %d, %d)", ns, s.Dev, s.Ino)
-}
-
-// UniqueId returns a string which uniquely identifies the namespace
-// associated with the network handle.
-func (ns NsHandle) UniqueId() string {
-       var s syscall.Stat_t
-       if ns == -1 {
-               return "NS(none)"
-       }
-       if err := syscall.Fstat(int(ns), &s); err != nil {
-               return "NS(unknown)"
-       }
-       return fmt.Sprintf("NS(%d:%d)", s.Dev, s.Ino)
-}
-
-// IsOpen returns true if Close() has not been called.
-func (ns NsHandle) IsOpen() bool {
-       return ns != -1
-}
-
-// Close closes the NsHandle and resets its file descriptor to -1.
-// It is not safe to use an NsHandle after Close() is called.
-func (ns *NsHandle) Close() error {
-       if err := syscall.Close(int(*ns)); err != nil {
-               return err
-       }
-       (*ns) = -1
-       return nil
-}
-
-// None gets an empty (closed) NsHandle.
-func None() NsHandle {
-       return NsHandle(-1)
-}
diff --git a/vendor/github.com/vishvananda/netns/netns_linux.go b/vendor/github.com/vishvananda/netns/netns_linux.go
deleted file mode 100644 (file)
index 0f038d1..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-// +build linux
-
-package netns
-
-import (
-       "fmt"
-       "io/ioutil"
-       "os"
-       "path/filepath"
-       "runtime"
-       "strconv"
-       "strings"
-       "syscall"
-)
-
-// SYS_SETNS syscall allows changing the namespace of the current process.
-var SYS_SETNS = map[string]uintptr{
-       "386":     346,
-       "amd64":   308,
-       "arm64":   268,
-       "arm":     375,
-       "ppc64":   350,
-       "ppc64le": 350,
-       "s390x":   339,
-}[runtime.GOARCH]
-
-// Deprecated: use syscall pkg instead (go >= 1.5 needed).
-const (
-       CLONE_NEWUTS  = 0x04000000 /* New utsname group? */
-       CLONE_NEWIPC  = 0x08000000 /* New ipcs */
-       CLONE_NEWUSER = 0x10000000 /* New user namespace */
-       CLONE_NEWPID  = 0x20000000 /* New pid namespace */
-       CLONE_NEWNET  = 0x40000000 /* New network namespace */
-       CLONE_IO      = 0x80000000 /* Get io context */
-)
-
-// Setns sets namespace using syscall. Note that this should be a method
-// in syscall but it has not been added.
-func Setns(ns NsHandle, nstype int) (err error) {
-       _, _, e1 := syscall.Syscall(SYS_SETNS, uintptr(ns), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-// Set sets the current network namespace to the namespace represented
-// by NsHandle.
-func Set(ns NsHandle) (err error) {
-       return Setns(ns, CLONE_NEWNET)
-}
-
-// New creates a new network namespace and returns a handle to it.
-func New() (ns NsHandle, err error) {
-       if err := syscall.Unshare(CLONE_NEWNET); err != nil {
-               return -1, err
-       }
-       return Get()
-}
-
-// Get gets a handle to the current threads network namespace.
-func Get() (NsHandle, error) {
-       return GetFromThread(os.Getpid(), syscall.Gettid())
-}
-
-// GetFromPath gets a handle to a network namespace
-// identified by the path
-func GetFromPath(path string) (NsHandle, error) {
-       fd, err := syscall.Open(path, syscall.O_RDONLY, 0)
-       if err != nil {
-               return -1, err
-       }
-       return NsHandle(fd), nil
-}
-
-// GetFromName gets a handle to a named network namespace such as one
-// created by `ip netns add`.
-func GetFromName(name string) (NsHandle, error) {
-       return GetFromPath(fmt.Sprintf("/var/run/netns/%s", name))
-}
-
-// GetFromPid gets a handle to the network namespace of a given pid.
-func GetFromPid(pid int) (NsHandle, error) {
-       return GetFromPath(fmt.Sprintf("/proc/%d/ns/net", pid))
-}
-
-// GetFromThread gets a handle to the network namespace of a given pid and tid.
-func GetFromThread(pid, tid int) (NsHandle, error) {
-       return GetFromPath(fmt.Sprintf("/proc/%d/task/%d/ns/net", pid, tid))
-}
-
-// GetFromDocker gets a handle to the network namespace of a docker container.
-// Id is prefixed matched against the running docker containers, so a short
-// identifier can be used as long as it isn't ambiguous.
-func GetFromDocker(id string) (NsHandle, error) {
-       pid, err := getPidForContainer(id)
-       if err != nil {
-               return -1, err
-       }
-       return GetFromPid(pid)
-}
-
-// borrowed from docker/utils/utils.go
-func findCgroupMountpoint(cgroupType string) (string, error) {
-       output, err := ioutil.ReadFile("/proc/mounts")
-       if err != nil {
-               return "", err
-       }
-
-       // /proc/mounts has 6 fields per line, one mount per line, e.g.
-       // cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
-       for _, line := range strings.Split(string(output), "\n") {
-               parts := strings.Split(line, " ")
-               if len(parts) == 6 && parts[2] == "cgroup" {
-                       for _, opt := range strings.Split(parts[3], ",") {
-                               if opt == cgroupType {
-                                       return parts[1], nil
-                               }
-                       }
-               }
-       }
-
-       return "", fmt.Errorf("cgroup mountpoint not found for %s", cgroupType)
-}
-
-// Returns the relative path to the cgroup docker is running in.
-// borrowed from docker/utils/utils.go
-// modified to get the docker pid instead of using /proc/self
-func getThisCgroup(cgroupType string) (string, error) {
-       dockerpid, err := ioutil.ReadFile("/var/run/docker.pid")
-       if err != nil {
-               return "", err
-       }
-       result := strings.Split(string(dockerpid), "\n")
-       if len(result) == 0 || len(result[0]) == 0 {
-               return "", fmt.Errorf("docker pid not found in /var/run/docker.pid")
-       }
-       pid, err := strconv.Atoi(result[0])
-
-       output, err := ioutil.ReadFile(fmt.Sprintf("/proc/%d/cgroup", pid))
-       if err != nil {
-               return "", err
-       }
-       for _, line := range strings.Split(string(output), "\n") {
-               parts := strings.Split(line, ":")
-               // any type used by docker should work
-               if parts[1] == cgroupType {
-                       return parts[2], nil
-               }
-       }
-       return "", fmt.Errorf("cgroup '%s' not found in /proc/%d/cgroup", cgroupType, pid)
-}
-
-// Returns the first pid in a container.
-// borrowed from docker/utils/utils.go
-// modified to only return the first pid
-// modified to glob with id
-// modified to search for newer docker containers
-func getPidForContainer(id string) (int, error) {
-       pid := 0
-
-       // memory is chosen randomly, any cgroup used by docker works
-       cgroupType := "memory"
-
-       cgroupRoot, err := findCgroupMountpoint(cgroupType)
-       if err != nil {
-               return pid, err
-       }
-
-       cgroupThis, err := getThisCgroup(cgroupType)
-       if err != nil {
-               return pid, err
-       }
-
-       id += "*"
-
-       attempts := []string{
-               filepath.Join(cgroupRoot, cgroupThis, id, "tasks"),
-               // With more recent lxc versions use, cgroup will be in lxc/
-               filepath.Join(cgroupRoot, cgroupThis, "lxc", id, "tasks"),
-               // With more recent docker, cgroup will be in docker/
-               filepath.Join(cgroupRoot, cgroupThis, "docker", id, "tasks"),
-               // Even more recent docker versions under systemd use docker-<id>.scope/
-               filepath.Join(cgroupRoot, "system.slice", "docker-"+id+".scope", "tasks"),
-               // Even more recent docker versions under cgroup/systemd/docker/<id>/
-               filepath.Join(cgroupRoot, "..", "systemd", "docker", id, "tasks"),
-       }
-
-       var filename string
-       for _, attempt := range attempts {
-               filenames, _ := filepath.Glob(attempt)
-               if len(filenames) > 1 {
-                       return pid, fmt.Errorf("Ambiguous id supplied: %v", filenames)
-               } else if len(filenames) == 1 {
-                       filename = filenames[0]
-                       break
-               }
-       }
-
-       if filename == "" {
-               return pid, fmt.Errorf("Unable to find container: %v", id[:len(id)-1])
-       }
-
-       output, err := ioutil.ReadFile(filename)
-       if err != nil {
-               return pid, err
-       }
-
-       result := strings.Split(string(output), "\n")
-       if len(result) == 0 || len(result[0]) == 0 {
-               return pid, fmt.Errorf("No pid found for container")
-       }
-
-       pid, err = strconv.Atoi(result[0])
-       if err != nil {
-               return pid, fmt.Errorf("Invalid pid '%s': %s", result[0], err)
-       }
-
-       return pid, nil
-}
diff --git a/vendor/github.com/vishvananda/netns/netns_unspecified.go b/vendor/github.com/vishvananda/netns/netns_unspecified.go
deleted file mode 100644 (file)
index b2edc56..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// +build !linux
-
-package netns
-
-import (
-       "errors"
-)
-
-var (
-       ErrNotImplemented = errors.New("not implemented")
-)
-
-func Set(ns NsHandle) (err error) {
-       return ErrNotImplemented
-}
-
-func New() (ns NsHandle, err error) {
-       return -1, ErrNotImplemented
-}
-
-func Get() (NsHandle, error) {
-       return -1, ErrNotImplemented
-}
-
-func GetFromName(name string) (NsHandle, error) {
-       return -1, ErrNotImplemented
-}
-
-func GetFromPid(pid int) (NsHandle, error) {
-       return -1, ErrNotImplemented
-}
-
-func GetFromDocker(id string) (NsHandle, error) {
-       return -1, ErrNotImplemented
-}
diff --git a/vendor/golang.org/x/sys/AUTHORS b/vendor/golang.org/x/sys/AUTHORS
deleted file mode 100644 (file)
index 15167cd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# This source code refers to The Go Authors for copyright purposes.
-# The master list of authors is in the main Go distribution,
-# visible at http://tip.golang.org/AUTHORS.
diff --git a/vendor/golang.org/x/sys/CONTRIBUTORS b/vendor/golang.org/x/sys/CONTRIBUTORS
deleted file mode 100644 (file)
index 1c4577e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# This source code was written by the Go contributors.
-# The master list of contributors is in the main Go distribution,
-# visible at http://tip.golang.org/CONTRIBUTORS.
diff --git a/vendor/golang.org/x/sys/LICENSE b/vendor/golang.org/x/sys/LICENSE
deleted file mode 100644 (file)
index 6a66aea..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-   * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/golang.org/x/sys/PATENTS b/vendor/golang.org/x/sys/PATENTS
deleted file mode 100644 (file)
index 7330990..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Additional IP Rights Grant (Patents)
-
-"This implementation" means the copyrightable works distributed by
-Google as part of the Go project.
-
-Google hereby grants to You a perpetual, worldwide, non-exclusive,
-no-charge, royalty-free, irrevocable (except as stated in this section)
-patent license to make, have made, use, offer to sell, sell, import,
-transfer and otherwise run, modify and propagate the contents of this
-implementation of Go, where such license applies only to those patent
-claims, both currently owned or controlled by Google and acquired in
-the future, licensable by Google that are necessarily infringed by this
-implementation of Go.  This grant does not include claims that would be
-infringed only as a consequence of further modification of this
-implementation.  If you or your agent or exclusive licensee institute or
-order or agree to the institution of patent litigation against any
-entity (including a cross-claim or counterclaim in a lawsuit) alleging
-that this implementation of Go or any code incorporated within this
-implementation of Go constitutes direct or contributory patent
-infringement, or inducement of patent infringement, then any patent
-rights granted to you under this License for this implementation of Go
-shall terminate as of the date such litigation is filed.
diff --git a/vendor/golang.org/x/sys/unix/.gitignore b/vendor/golang.org/x/sys/unix/.gitignore
deleted file mode 100644 (file)
index e482715..0000000
+++ /dev/null
@@ -1 +0,0 @@
-_obj/
diff --git a/vendor/golang.org/x/sys/unix/asm.s b/vendor/golang.org/x/sys/unix/asm.s
deleted file mode 100644 (file)
index 8ed2fdb..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2014 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-TEXT Â·use(SB),NOSPLIT,$0
-       RET
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_386.s b/vendor/golang.org/x/sys/unix/asm_darwin_386.s
deleted file mode 100644 (file)
index 8a72783..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s b/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s
deleted file mode 100644 (file)
index 6321421..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_arm.s b/vendor/golang.org/x/sys/unix/asm_darwin_arm.s
deleted file mode 100644 (file)
index 333242d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-// +build arm,darwin
-
-#include "textflag.h"
-
-//
-// System call support for ARM, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       B       syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s b/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s
deleted file mode 100644 (file)
index 97e0174..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-// +build arm64,darwin
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       B       syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-80
-       B       syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-104
-       B       syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-56
-       B       syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-80
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s b/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
deleted file mode 100644 (file)
index d5ed672..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, DragonFly
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-64
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-88
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-112
-       JMP     syscall·Syscall9(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-64
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-88
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_freebsd_386.s b/vendor/golang.org/x/sys/unix/asm_freebsd_386.s
deleted file mode 100644 (file)
index c9a0a26..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, FreeBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s b/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s
deleted file mode 100644 (file)
index 3517247..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, FreeBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s b/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s
deleted file mode 100644 (file)
index 9227c87..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for ARM, FreeBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       B       syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_386.s b/vendor/golang.org/x/sys/unix/asm_linux_386.s
deleted file mode 100644 (file)
index 4db2909..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for 386, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
-
-TEXT Â·socketcall(SB),NOSPLIT,$0-36
-       JMP     syscall·socketcall(SB)
-
-TEXT Â·rawsocketcall(SB),NOSPLIT,$0-36
-       JMP     syscall·rawsocketcall(SB)
-
-TEXT Â·seek(SB),NOSPLIT,$0-28
-       JMP     syscall·seek(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_amd64.s b/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
deleted file mode 100644 (file)
index 44e25c6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for AMD64, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT Â·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT Â·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
-
-TEXT Â·gettimeofday(SB),NOSPLIT,$0-16
-       JMP     syscall·gettimeofday(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm.s b/vendor/golang.org/x/sys/unix/asm_linux_arm.s
deleted file mode 100644 (file)
index cf0b574..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for arm, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
-
-TEXT Â·seek(SB),NOSPLIT,$0-32
-       B       syscall·seek(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm64.s b/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
deleted file mode 100644 (file)
index 4be9bfe..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build arm64
-// +build !gccgo
-
-#include "textflag.h"
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       B       syscall·Syscall(SB)
-
-TEXT Â·Syscall6(SB),NOSPLIT,$0-80
-       B       syscall·Syscall6(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-56
-       B       syscall·RawSyscall(SB)
-
-TEXT Â·RawSyscall6(SB),NOSPLIT,$0-80
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
deleted file mode 100644 (file)
index 724e580..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build mips64 mips64le
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for mips64, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
deleted file mode 100644 (file)
index 8d231fe..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build ppc64 ppc64le
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for ppc64, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       BR      syscall·Syscall(SB)
-
-TEXT Â·Syscall6(SB),NOSPLIT,$0-80
-       BR      syscall·Syscall6(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-56
-       BR      syscall·RawSyscall(SB)
-
-TEXT Â·RawSyscall6(SB),NOSPLIT,$0-80
-       BR      syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_s390x.s b/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
deleted file mode 100644 (file)
index 1188985..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build s390x
-// +build linux
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for s390x, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT Â·Syscall(SB),NOSPLIT,$0-56
-       BR      syscall·Syscall(SB)
-
-TEXT Â·Syscall6(SB),NOSPLIT,$0-80
-       BR      syscall·Syscall6(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-56
-       BR      syscall·RawSyscall(SB)
-
-TEXT Â·RawSyscall6(SB),NOSPLIT,$0-80
-       BR      syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_netbsd_386.s b/vendor/golang.org/x/sys/unix/asm_netbsd_386.s
deleted file mode 100644 (file)
index 48bdcd7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, NetBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s b/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s
deleted file mode 100644 (file)
index 2ede05c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, NetBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s b/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s
deleted file mode 100644 (file)
index e892857..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for ARM, NetBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       B       syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_openbsd_386.s b/vendor/golang.org/x/sys/unix/asm_openbsd_386.s
deleted file mode 100644 (file)
index 00576f3..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, OpenBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT Â·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s b/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s
deleted file mode 100644 (file)
index 790ef77..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, OpenBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   Â·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   Â·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   Â·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT   Â·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   Â·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s b/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s
deleted file mode 100644 (file)
index 43ed17a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
-//
-
-TEXT Â·sysvicall6(SB),NOSPLIT,$0-64
-       JMP     syscall·sysvicall6(SB)
-
-TEXT Â·rawSysvicall6(SB),NOSPLIT,$0-64
-       JMP     syscall·rawSysvicall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/bluetooth_linux.go b/vendor/golang.org/x/sys/unix/bluetooth_linux.go
deleted file mode 100644 (file)
index 6e32296..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Bluetooth sockets and messages
-
-package unix
-
-// Bluetooth Protocols
-const (
-       BTPROTO_L2CAP  = 0
-       BTPROTO_HCI    = 1
-       BTPROTO_SCO    = 2
-       BTPROTO_RFCOMM = 3
-       BTPROTO_BNEP   = 4
-       BTPROTO_CMTP   = 5
-       BTPROTO_HIDP   = 6
-       BTPROTO_AVDTP  = 7
-)
-
-const (
-       HCI_CHANNEL_RAW     = 0
-       HCI_CHANNEL_USER    = 1
-       HCI_CHANNEL_MONITOR = 2
-       HCI_CHANNEL_CONTROL = 3
-)
-
-// Socketoption Level
-const (
-       SOL_BLUETOOTH = 0x112
-       SOL_HCI       = 0x0
-       SOL_L2CAP     = 0x6
-       SOL_RFCOMM    = 0x12
-       SOL_SCO       = 0x11
-)
diff --git a/vendor/golang.org/x/sys/unix/constants.go b/vendor/golang.org/x/sys/unix/constants.go
deleted file mode 100644 (file)
index a96f0eb..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package unix
-
-const (
-       R_OK = 0x4
-       W_OK = 0x2
-       X_OK = 0x1
-)
diff --git a/vendor/golang.org/x/sys/unix/env_unix.go b/vendor/golang.org/x/sys/unix/env_unix.go
deleted file mode 100644 (file)
index 45e281a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2010 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-// Unix environment variables.
-
-package unix
-
-import "syscall"
-
-func Getenv(key string) (value string, found bool) {
-       return syscall.Getenv(key)
-}
-
-func Setenv(key, value string) error {
-       return syscall.Setenv(key, value)
-}
-
-func Clearenv() {
-       syscall.Clearenv()
-}
-
-func Environ() []string {
-       return syscall.Environ()
-}
diff --git a/vendor/golang.org/x/sys/unix/env_unset.go b/vendor/golang.org/x/sys/unix/env_unset.go
deleted file mode 100644 (file)
index 9222262..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2014 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build go1.4
-
-package unix
-
-import "syscall"
-
-func Unsetenv(key string) error {
-       // This was added in Go 1.4.
-       return syscall.Unsetenv(key)
-}
diff --git a/vendor/golang.org/x/sys/unix/flock.go b/vendor/golang.org/x/sys/unix/flock.go
deleted file mode 100644 (file)
index ce67a59..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// +build linux darwin freebsd openbsd netbsd dragonfly
-
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd
-
-package unix
-
-import "unsafe"
-
-// fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux
-// systems by flock_linux_32bit.go to be SYS_FCNTL64.
-var fcntl64Syscall uintptr = SYS_FCNTL
-
-// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
-func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
-       _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
-       if errno == 0 {
-               return nil
-       }
-       return errno
-}
diff --git a/vendor/golang.org/x/sys/unix/flock_linux_32bit.go b/vendor/golang.org/x/sys/unix/flock_linux_32bit.go
deleted file mode 100644 (file)
index 362831c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// +build linux,386 linux,arm
-
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package unix
-
-func init() {
-       // On 32-bit Linux systems, the fcntl syscall that matches Go's
-       // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
-       fcntl64Syscall = SYS_FCNTL64
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo.go b/vendor/golang.org/x/sys/unix/gccgo.go
deleted file mode 100644 (file)
index 94c8232..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2015 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo
-
-package unix
-
-import "syscall"
-
-// We can't use the gc-syntax .s files for gccgo.  On the plus side
-// much of the functionality can be written directly in Go.
-
-//extern gccgoRealSyscall
-func realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r, errno uintptr)
-
-func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       syscall.Entersyscall()
-       r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-       syscall.Exitsyscall()
-       return r, 0, syscall.Errno(errno)
-}
-
-func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       syscall.Entersyscall()
-       r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
-       syscall.Exitsyscall()
-       return r, 0, syscall.Errno(errno)
-}
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       syscall.Entersyscall()
-       r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9)
-       syscall.Exitsyscall()
-       return r, 0, syscall.Errno(errno)
-}
-
-func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-       return r, 0, syscall.Errno(errno)
-}
-
-func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
-       return r, 0, syscall.Errno(errno)
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo_c.c b/vendor/golang.org/x/sys/unix/gccgo_c.c
deleted file mode 100644 (file)
index 07f6be0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2015 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo
-
-#include <errno.h>
-#include <stdint.h>
-#include <unistd.h>
-
-#define _STRINGIFY2_(x) #x
-#define _STRINGIFY_(x) _STRINGIFY2_(x)
-#define GOSYM_PREFIX _STRINGIFY_(__USER_LABEL_PREFIX__)
-
-// Call syscall from C code because the gccgo support for calling from
-// Go to C does not support varargs functions.
-
-struct ret {
-       uintptr_t r;
-       uintptr_t err;
-};
-
-struct ret
-gccgoRealSyscall(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7, uintptr_t a8, uintptr_t a9)
-{
-       struct ret r;
-
-       errno = 0;
-       r.r = syscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9);
-       r.err = errno;
-       return r;
-}
-
-// Define the use function in C so that it is not inlined.
-
-extern void use(void *) __asm__ (GOSYM_PREFIX GOPKGPATH ".use") __attribute__((noinline));
-
-void
-use(void *p __attribute__ ((unused)))
-{
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
deleted file mode 100644 (file)
index bffe1a7..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2015 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo,linux,amd64
-
-package unix
-
-import "syscall"
-
-//extern gettimeofday
-func realGettimeofday(*Timeval, *byte) int32
-
-func gettimeofday(tv *Timeval) (err syscall.Errno) {
-       r := realGettimeofday(tv, nil)
-       if r < 0 {
-               return syscall.GetErrno()
-       }
-       return 0
-}
diff --git a/vendor/golang.org/x/sys/unix/mkall.sh b/vendor/golang.org/x/sys/unix/mkall.sh
deleted file mode 100755 (executable)
index 3e224c5..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-#!/usr/bin/env bash
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# The unix package provides access to the raw system call
-# interface of the underlying operating system.  Porting Go to
-# a new architecture/operating system combination requires
-# some manual effort, though there are tools that automate
-# much of the process.  The auto-generated files have names
-# beginning with z.
-#
-# This script runs or (given -n) prints suggested commands to generate z files
-# for the current system.  Running those commands is not automatic.
-# This script is documentation more than anything else.
-#
-# * asm_${GOOS}_${GOARCH}.s
-#
-# This hand-written assembly file implements system call dispatch.
-# There are three entry points:
-#
-#      func Syscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr);
-#      func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr);
-#      func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr);
-#
-# The first and second are the standard ones; they differ only in
-# how many arguments can be passed to the kernel.
-# The third is for low-level use by the ForkExec wrapper;
-# unlike the first two, it does not call into the scheduler to
-# let it know that a system call is running.
-#
-# * syscall_${GOOS}.go
-#
-# This hand-written Go file implements system calls that need
-# special handling and lists "//sys" comments giving prototypes
-# for ones that can be auto-generated.  Mksyscall reads those
-# comments to generate the stubs.
-#
-# * syscall_${GOOS}_${GOARCH}.go
-#
-# Same as syscall_${GOOS}.go except that it contains code specific
-# to ${GOOS} on one particular architecture.
-#
-# * types_${GOOS}.c
-#
-# This hand-written C file includes standard C headers and then
-# creates typedef or enum names beginning with a dollar sign
-# (use of $ in variable names is a gcc extension).  The hardest
-# part about preparing this file is figuring out which headers to
-# include and which symbols need to be #defined to get the
-# actual data structures that pass through to the kernel system calls.
-# Some C libraries present alternate versions for binary compatibility
-# and translate them on the way in and out of system calls, but
-# there is almost always a #define that can get the real ones.
-# See types_darwin.c and types_linux.c for examples.
-#
-# * zerror_${GOOS}_${GOARCH}.go
-#
-# This machine-generated file defines the system's error numbers,
-# error strings, and signal numbers.  The generator is "mkerrors.sh".
-# Usually no arguments are needed, but mkerrors.sh will pass its
-# arguments on to godefs.
-#
-# * zsyscall_${GOOS}_${GOARCH}.go
-#
-# Generated by mksyscall.pl; see syscall_${GOOS}.go above.
-#
-# * zsysnum_${GOOS}_${GOARCH}.go
-#
-# Generated by mksysnum_${GOOS}.
-#
-# * ztypes_${GOOS}_${GOARCH}.go
-#
-# Generated by godefs; see types_${GOOS}.c above.
-
-GOOSARCH="${GOOS}_${GOARCH}"
-
-# defaults
-mksyscall="./mksyscall.pl"
-mkerrors="./mkerrors.sh"
-zerrors="zerrors_$GOOSARCH.go"
-mksysctl=""
-zsysctl="zsysctl_$GOOSARCH.go"
-mksysnum=
-mktypes=
-run="sh"
-
-case "$1" in
--syscalls)
-       for i in zsyscall*go
-       do
-               sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i
-               rm _$i
-       done
-       exit 0
-       ;;
--n)
-       run="cat"
-       shift
-esac
-
-case "$#" in
-0)
-       ;;
-*)
-       echo 'usage: mkall.sh [-n]' 1>&2
-       exit 2
-esac
-
-GOOSARCH_in=syscall_$GOOSARCH.go
-case "$GOOSARCH" in
-_* | *_ | _)
-       echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
-       exit 1
-       ;;
-darwin_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32"
-       mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk macosx)/usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-darwin_amd64)
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk macosx)/usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-darwin_arm)
-       mkerrors="$mkerrors"
-       mksysnum="./mksysnum_darwin.pl /usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-darwin_arm64)
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk iphoneos)/usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-dragonfly_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32 -dragonfly"
-       mksysnum="curl -s 'http://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master' | ./mksysnum_dragonfly.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-dragonfly_amd64)
-       mkerrors="$mkerrors -m64"
-       mksyscall="./mksyscall.pl -dragonfly"
-       mksysnum="curl -s 'http://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master' | ./mksysnum_dragonfly.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-freebsd_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32"
-       mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-freebsd_amd64)
-       mkerrors="$mkerrors -m64"
-       mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-freebsd_arm)
-       mkerrors="$mkerrors"
-       mksyscall="./mksyscall.pl -l32 -arm"
-       mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
-       # Let the type of C char be signed for making the bare syscall
-       # API consistent across over platforms.
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
-       ;;
-linux_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32"
-       mksysnum="./mksysnum_linux.pl /usr/include/asm/unistd_32.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-linux_amd64)
-       unistd_h=$(ls -1 /usr/include/asm/unistd_64.h /usr/include/x86_64-linux-gnu/asm/unistd_64.h 2>/dev/null | head -1)
-       if [ "$unistd_h" = "" ]; then
-               echo >&2 cannot find unistd_64.h
-               exit 1
-       fi
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_linux.pl $unistd_h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-linux_arm)
-       mkerrors="$mkerrors"
-       mksyscall="./mksyscall.pl -l32 -arm"
-       mksysnum="curl -s 'http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/arch/arm/include/uapi/asm/unistd.h' | ./mksysnum_linux.pl -"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-linux_arm64)
-       unistd_h=$(ls -1 /usr/include/asm/unistd.h /usr/include/asm-generic/unistd.h 2>/dev/null | head -1)
-       if [ "$unistd_h" = "" ]; then
-               echo >&2 cannot find unistd_64.h
-               exit 1
-       fi
-       mksysnum="./mksysnum_linux.pl $unistd_h"
-       # Let the type of C char be signed for making the bare syscall
-       # API consistent across over platforms.
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
-       ;;
-linux_ppc64)
-       GOOSARCH_in=syscall_linux_ppc64x.go
-       unistd_h=/usr/include/asm/unistd.h
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_linux.pl $unistd_h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-linux_ppc64le)
-       GOOSARCH_in=syscall_linux_ppc64x.go
-       unistd_h=/usr/include/powerpc64le-linux-gnu/asm/unistd.h
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_linux.pl $unistd_h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-linux_s390x)
-       GOOSARCH_in=syscall_linux_s390x.go
-       unistd_h=/usr/include/asm/unistd.h
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_linux.pl $unistd_h"
-       # Let the type of C char be signed to make the bare sys
-       # API more consistent between platforms.
-       # This is a deliberate departure from the way the syscall
-       # package generates its version of the types file.
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
-       ;;
-netbsd_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32 -netbsd"
-       mksysnum="curl -s 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_netbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-netbsd_amd64)
-       mkerrors="$mkerrors -m64"
-       mksyscall="./mksyscall.pl -netbsd"
-       mksysnum="curl -s 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_netbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-openbsd_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32 -openbsd"
-       mksysctl="./mksysctl_openbsd.pl"
-       zsysctl="zsysctl_openbsd.go"
-       mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-openbsd_amd64)
-       mkerrors="$mkerrors -m64"
-       mksyscall="./mksyscall.pl -openbsd"
-       mksysctl="./mksysctl_openbsd.pl"
-       zsysctl="zsysctl_openbsd.go"
-       mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-solaris_amd64)
-       mksyscall="./mksyscall_solaris.pl"
-       mkerrors="$mkerrors -m64"
-       mksysnum=
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-*)
-       echo 'unrecognized $GOOS_$GOARCH: ' "$GOOSARCH" 1>&2
-       exit 1
-       ;;
-esac
-
-(
-       if [ -n "$mkerrors" ]; then echo "$mkerrors |gofmt >$zerrors"; fi
-       case "$GOOS" in
-       *)
-               syscall_goos="syscall_$GOOS.go"
-               case "$GOOS" in
-               darwin | dragonfly | freebsd | netbsd | openbsd)
-                       syscall_goos="syscall_bsd.go $syscall_goos"
-                       ;;
-               esac
-               if [ -n "$mksyscall" ]; then echo "$mksyscall $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi
-               ;;
-       esac
-       if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi
-       if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
-       if [ -n "$mktypes" ]; then
-               echo "echo // +build $GOARCH,$GOOS > ztypes_$GOOSARCH.go";
-               echo "$mktypes types_$GOOS.go | go run mkpost.go >>ztypes_$GOOSARCH.go";
-       fi
-) | $run
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh
deleted file mode 100755 (executable)
index c40d788..0000000
+++ /dev/null
@@ -1,476 +0,0 @@
-#!/usr/bin/env bash
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# Generate Go code listing errors and other #defined constant
-# values (ENAMETOOLONG etc.), by asking the preprocessor
-# about the definitions.
-
-unset LANG
-export LC_ALL=C
-export LC_CTYPE=C
-
-if test -z "$GOARCH" -o -z "$GOOS"; then
-       echo 1>&2 "GOARCH or GOOS not defined in environment"
-       exit 1
-fi
-
-CC=${CC:-cc}
-
-if [[ "$GOOS" -eq "solaris" ]]; then
-       # Assumes GNU versions of utilities in PATH.
-       export PATH=/usr/gnu/bin:$PATH
-fi
-
-uname=$(uname)
-
-includes_Darwin='
-#define _DARWIN_C_SOURCE
-#define KERNEL
-#define _DARWIN_USE_64_BIT_INODE
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/ptrace.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <termios.h>
-'
-
-includes_DragonFly='
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <sys/ioctl.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <termios.h>
-#include <netinet/ip.h>
-#include <net/ip_mroute/ip_mroute.h>
-'
-
-includes_FreeBSD='
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <sys/ioctl.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <termios.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-#include <sys/extattr.h>
-
-#if __FreeBSD__ >= 10
-#define IFT_CARP       0xf8    // IFT_CARP is deprecated in FreeBSD 10
-#undef SIOCAIFADDR
-#define SIOCAIFADDR    _IOW(105, 26, struct oifaliasreq)       // ifaliasreq contains if_data
-#undef SIOCSIFPHYADDR
-#define SIOCSIFPHYADDR _IOW(105, 70, struct oifaliasreq)       // ifaliasreq contains if_data
-#endif
-'
-
-includes_Linux='
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
-#ifndef __LP64__
-#define _FILE_OFFSET_BITS 64
-#endif
-#define _GNU_SOURCE
-
-#include <bits/sockaddr.h>
-#include <sys/epoll.h>
-#include <sys/inotify.h>
-#include <sys/ioctl.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/prctl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <linux/if.h>
-#include <linux/if_arp.h>
-#include <linux/if_ether.h>
-#include <linux/if_tun.h>
-#include <linux/if_packet.h>
-#include <linux/if_addr.h>
-#include <linux/filter.h>
-#include <linux/netlink.h>
-#include <linux/reboot.h>
-#include <linux/rtnetlink.h>
-#include <linux/ptrace.h>
-#include <linux/sched.h>
-#include <linux/wait.h>
-#include <linux/icmpv6.h>
-#include <net/route.h>
-#include <asm/termbits.h>
-
-#ifndef MSG_FASTOPEN
-#define MSG_FASTOPEN    0x20000000
-#endif
-
-#ifndef PTRACE_GETREGS
-#define PTRACE_GETREGS 0xc
-#endif
-
-#ifndef PTRACE_SETREGS
-#define PTRACE_SETREGS 0xd
-#endif
-'
-
-includes_NetBSD='
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/termios.h>
-#include <sys/ttycom.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-#include <netinet/if_ether.h>
-
-// Needed since <sys/param.h> refers to it...
-#define schedppq 1
-'
-
-includes_OpenBSD='
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/termios.h>
-#include <sys/ttycom.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/if_var.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-#include <netinet/if_ether.h>
-#include <net/if_bridge.h>
-
-// We keep some constants not supported in OpenBSD 5.5 and beyond for
-// the promise of compatibility.
-#define EMUL_ENABLED           0x1
-#define EMUL_NATIVE            0x2
-#define IPV6_FAITH             0x1d
-#define IPV6_OPTIONS           0x1
-#define IPV6_RTHDR_STRICT      0x1
-#define IPV6_SOCKOPT_RESERVED1 0x3
-#define SIOCGIFGENERIC         0xc020693a
-#define SIOCSIFGENERIC         0x80206939
-#define WALTSIG                        0x4
-'
-
-includes_SunOS='
-#include <limits.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <sys/ioctl.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_arp.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <termios.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-'
-
-
-includes='
-#include <sys/types.h>
-#include <sys/file.h>
-#include <fcntl.h>
-#include <dirent.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <netinet/ip6.h>
-#include <netinet/tcp.h>
-#include <errno.h>
-#include <sys/signal.h>
-#include <signal.h>
-#include <sys/resource.h>
-#include <time.h>
-'
-ccflags="$@"
-
-# Write go tool cgo -godefs input.
-(
-       echo package unix
-       echo
-       echo '/*'
-       indirect="includes_$(uname)"
-       echo "${!indirect} $includes"
-       echo '*/'
-       echo 'import "C"'
-       echo 'import "syscall"'
-       echo
-       echo 'const ('
-
-       # The gcc command line prints all the #defines
-       # it encounters while processing the input
-       echo "${!indirect} $includes" | $CC -x c - -E -dM $ccflags |
-       awk '
-               $1 != "#define" || $2 ~ /\(/ || $3 == "" {next}
-
-               $2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next}  # 386 registers
-               $2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next}
-               $2 ~ /^(SCM_SRCRT)$/ {next}
-               $2 ~ /^(MAP_FAILED)$/ {next}
-               $2 ~ /^ELF_.*$/ {next}# <asm/elf.h> contains ELF_ARCH, etc.
-
-               $2 ~ /^EXTATTR_NAMESPACE_NAMES/ ||
-               $2 ~ /^EXTATTR_NAMESPACE_[A-Z]+_STRING/ {next}
-
-               $2 !~ /^ETH_/ &&
-               $2 !~ /^EPROC_/ &&
-               $2 !~ /^EQUIV_/ &&
-               $2 !~ /^EXPR_/ &&
-               $2 ~ /^E[A-Z0-9_]+$/ ||
-               $2 ~ /^B[0-9_]+$/ ||
-               $2 == "BOTHER" ||
-               $2 ~ /^CI?BAUD(EX)?$/ ||
-               $2 == "IBSHIFT" ||
-               $2 ~ /^V[A-Z0-9]+$/ ||
-               $2 ~ /^CS[A-Z0-9]/ ||
-               $2 ~ /^I(SIG|CANON|CRNL|UCLC|EXTEN|MAXBEL|STRIP|UTF8)$/ ||
-               $2 ~ /^IGN/ ||
-               $2 ~ /^IX(ON|ANY|OFF)$/ ||
-               $2 ~ /^IN(LCR|PCK)$/ ||
-               $2 ~ /(^FLU?SH)|(FLU?SH$)/ ||
-               $2 ~ /^C(LOCAL|READ|MSPAR|RTSCTS)$/ ||
-               $2 == "BRKINT" ||
-               $2 == "HUPCL" ||
-               $2 == "PENDIN" ||
-               $2 == "TOSTOP" ||
-               $2 == "XCASE" ||
-               $2 == "ALTWERASE" ||
-               $2 == "NOKERNINFO" ||
-               $2 ~ /^PAR/ ||
-               $2 ~ /^SIG[^_]/ ||
-               $2 ~ /^O[CNPFPL][A-Z]+[^_][A-Z]+$/ ||
-               $2 ~ /^(NL|CR|TAB|BS|VT|FF)DLY$/ ||
-               $2 ~ /^(NL|CR|TAB|BS|VT|FF)[0-9]$/ ||
-               $2 ~ /^O?XTABS$/ ||
-               $2 ~ /^TC[IO](ON|OFF)$/ ||
-               $2 ~ /^IN_/ ||
-               $2 ~ /^LOCK_(SH|EX|NB|UN)$/ ||
-               $2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|ICMP6|TCP|EVFILT|NOTE|EV|SHUT|PROT|MAP|PACKET|MSG|SCM|MCL|DT|MADV|PR)_/ ||
-               $2 == "ICMPV6_FILTER" ||
-               $2 == "SOMAXCONN" ||
-               $2 == "NAME_MAX" ||
-               $2 == "IFNAMSIZ" ||
-               $2 ~ /^CTL_(MAXNAME|NET|QUERY)$/ ||
-               $2 ~ /^SYSCTL_VERS/ ||
-               $2 ~ /^(MS|MNT)_/ ||
-               $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ ||
-               $2 ~ /^(O|F|FD|NAME|S|PTRACE|PT)_/ ||
-               $2 ~ /^LINUX_REBOOT_CMD_/ ||
-               $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ ||
-               $2 !~ "NLA_TYPE_MASK" &&
-               $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ ||
-               $2 ~ /^SIOC/ ||
-               $2 ~ /^TIOC/ ||
-               $2 ~ /^TCGET/ ||
-               $2 ~ /^TCSET/ ||
-               $2 ~ /^TC(FLSH|SBRKP?|XONC)$/ ||
-               $2 !~ "RTF_BITS" &&
-               $2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ ||
-               $2 ~ /^BIOC/ ||
-               $2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ ||
-               $2 ~ /^RLIMIT_(AS|CORE|CPU|DATA|FSIZE|NOFILE|STACK)|RLIM_INFINITY/ ||
-               $2 ~ /^PRIO_(PROCESS|PGRP|USER)/ ||
-               $2 ~ /^CLONE_[A-Z_]+/ ||
-               $2 !~ /^(BPF_TIMEVAL)$/ &&
-               $2 ~ /^(BPF|DLT)_/ ||
-               $2 ~ /^CLOCK_/ ||
-               $2 !~ "WMESGLEN" &&
-               $2 ~ /^W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", $2, $2)}
-               $2 ~ /^__WCOREFLAG$/ {next}
-               $2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
-
-               {next}
-       ' | sort
-
-       echo ')'
-) >_const.go
-
-# Pull out the error names for later.
-errors=$(
-       echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
-       sort
-)
-
-# Pull out the signal names for later.
-signals=$(
-       echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
-       egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT)' |
-       sort
-)
-
-# Again, writing regexps to a file.
-echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print "^\t" $2 "[ \t]*=" }' |
-       sort >_error.grep
-echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print "^\t" $2 "[ \t]*=" }' |
-       egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT)' |
-       sort >_signal.grep
-
-echo '// mkerrors.sh' "$@"
-echo '// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT'
-echo
-echo "// +build ${GOARCH},${GOOS}"
-echo
-go tool cgo -godefs -- "$@" _const.go >_error.out
-cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
-echo
-echo '// Errors'
-echo 'const ('
-cat _error.out | grep -f _error.grep | sed 's/=\(.*\)/= syscall.Errno(\1)/'
-echo ')'
-
-echo
-echo '// Signals'
-echo 'const ('
-cat _error.out | grep -f _signal.grep | sed 's/=\(.*\)/= syscall.Signal(\1)/'
-echo ')'
-
-# Run C program to print error and syscall strings.
-(
-       echo -E "
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <ctype.h>
-#include <string.h>
-#include <signal.h>
-
-#define nelem(x) (sizeof(x)/sizeof((x)[0]))
-
-enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
-
-int errors[] = {
-"
-       for i in $errors
-       do
-               echo -E '       '$i,
-       done
-
-       echo -E "
-};
-
-int signals[] = {
-"
-       for i in $signals
-       do
-               echo -E '       '$i,
-       done
-
-       # Use -E because on some systems bash builtin interprets \n itself.
-       echo -E '
-};
-
-static int
-intcmp(const void *a, const void *b)
-{
-       return *(int*)a - *(int*)b;
-}
-
-int
-main(void)
-{
-       int i, j, e;
-       char buf[1024], *p;
-
-       printf("\n\n// Error table\n");
-       printf("var errors = [...]string {\n");
-       qsort(errors, nelem(errors), sizeof errors[0], intcmp);
-       for(i=0; i<nelem(errors); i++) {
-               e = errors[i];
-               if(i > 0 && errors[i-1] == e)
-                       continue;
-               strcpy(buf, strerror(e));
-               // lowercase first letter: Bad -> bad, but STREAM -> STREAM.
-               if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
-                       buf[0] += a - A;
-               printf("\t%d: \"%s\",\n", e, buf);
-       }
-       printf("}\n\n");
-       
-       printf("\n\n// Signal table\n");
-       printf("var signals = [...]string {\n");
-       qsort(signals, nelem(signals), sizeof signals[0], intcmp);
-       for(i=0; i<nelem(signals); i++) {
-               e = signals[i];
-               if(i > 0 && signals[i-1] == e)
-                       continue;
-               strcpy(buf, strsignal(e));
-               // lowercase first letter: Bad -> bad, but STREAM -> STREAM.
-               if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
-                       buf[0] += a - A;
-               // cut trailing : number.
-               p = strrchr(buf, ":"[0]);
-               if(p)
-                       *p = '\0';
-               printf("\t%d: \"%s\",\n", e, buf);
-       }
-       printf("}\n\n");
-
-       return 0;
-}
-
-'
-) >_errors.c
-
-$CC $ccflags -o _errors _errors.c && $GORUN ./_errors && rm -f _errors.c _errors _const.go _error.grep _signal.grep _error.out
diff --git a/vendor/golang.org/x/sys/unix/mkpost.go b/vendor/golang.org/x/sys/unix/mkpost.go
deleted file mode 100644 (file)
index ed50d90..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-// mkpost processes the output of cgo -godefs to
-// modify the generated types. It is used to clean up
-// the sys API in an architecture specific manner.
-//
-// mkpost is run after cgo -godefs by mkall.sh.
-package main
-
-import (
-       "fmt"
-       "go/format"
-       "io/ioutil"
-       "log"
-       "os"
-       "regexp"
-)
-
-func main() {
-       b, err := ioutil.ReadAll(os.Stdin)
-       if err != nil {
-               log.Fatal(err)
-       }
-       s := string(b)
-
-       goarch := os.Getenv("GOARCH")
-       goos := os.Getenv("GOOS")
-       if goarch == "s390x" && goos == "linux" {
-               // Export the types of PtraceRegs fields.
-               re := regexp.MustCompile("ptrace(Psw|Fpregs|Per)")
-               s = re.ReplaceAllString(s, "Ptrace$1")
-
-               // Replace padding fields inserted by cgo with blank identifiers.
-               re = regexp.MustCompile("Pad_cgo[A-Za-z0-9_]*")
-               s = re.ReplaceAllString(s, "_")
-
-               // Replace other unwanted fields with blank identifiers.
-               re = regexp.MustCompile("X_[A-Za-z0-9_]*")
-               s = re.ReplaceAllString(s, "_")
-
-               // Replace the control_regs union with a blank identifier for now.
-               re = regexp.MustCompile("(Control_regs)\\s+\\[0\\]uint64")
-               s = re.ReplaceAllString(s, "_ [0]uint64")
-       }
-
-       // gofmt
-       b, err = format.Source([]byte(s))
-       if err != nil {
-               log.Fatal(err)
-       }
-
-       // Append this command to the header to show where the new file
-       // came from.
-       re := regexp.MustCompile("(cgo -godefs [a-zA-Z0-9_]+\\.go.*)")
-       b = re.ReplaceAll(b, []byte("$1 | go run mkpost.go"))
-
-       fmt.Printf("%s", b)
-}
diff --git a/vendor/golang.org/x/sys/unix/mksyscall.pl b/vendor/golang.org/x/sys/unix/mksyscall.pl
deleted file mode 100755 (executable)
index b1e7766..0000000
+++ /dev/null
@@ -1,323 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# This program reads a file containing function prototypes
-# (like syscall_darwin.go) and generates system call bodies.
-# The prototypes are marked by lines beginning with "//sys"
-# and read like func declarations if //sys is replaced by func, but:
-#      * The parameter lists must give a name for each argument.
-#        This includes return parameters.
-#      * The parameter lists must give a type for each argument:
-#        the (x, y, z int) shorthand is not allowed.
-#      * If the return parameter is an error number, it must be named errno.
-
-# A line beginning with //sysnb is like //sys, except that the
-# goroutine will not be suspended during the execution of the system
-# call.  This must only be used for system calls which can never
-# block, as otherwise the system call could cause all goroutines to
-# hang.
-
-use strict;
-
-my $cmdline = "mksyscall.pl " . join(' ', @ARGV);
-my $errors = 0;
-my $_32bit = "";
-my $plan9 = 0;
-my $openbsd = 0;
-my $netbsd = 0;
-my $dragonfly = 0;
-my $arm = 0; # 64-bit value should use (even, odd)-pair
-
-if($ARGV[0] eq "-b32") {
-       $_32bit = "big-endian";
-       shift;
-} elsif($ARGV[0] eq "-l32") {
-       $_32bit = "little-endian";
-       shift;
-}
-if($ARGV[0] eq "-plan9") {
-       $plan9 = 1;
-       shift;
-}
-if($ARGV[0] eq "-openbsd") {
-       $openbsd = 1;
-       shift;
-}
-if($ARGV[0] eq "-netbsd") {
-       $netbsd = 1;
-       shift;
-}
-if($ARGV[0] eq "-dragonfly") {
-       $dragonfly = 1;
-       shift;
-}
-if($ARGV[0] eq "-arm") {
-       $arm = 1;
-       shift;
-}
-
-if($ARGV[0] =~ /^-/) {
-       print STDERR "usage: mksyscall.pl [-b32 | -l32] [file ...]\n";
-       exit 1;
-}
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-sub parseparamlist($) {
-       my ($list) = @_;
-       $list =~ s/^\s*//;
-       $list =~ s/\s*$//;
-       if($list eq "") {
-               return ();
-       }
-       return split(/\s*,\s*/, $list);
-}
-
-sub parseparam($) {
-       my ($p) = @_;
-       if($p !~ /^(\S*) (\S*)$/) {
-               print STDERR "$ARGV:$.: malformed parameter: $p\n";
-               $errors = 1;
-               return ("xx", "int");
-       }
-       return ($1, $2);
-}
-
-my $text = "";
-while(<>) {
-       chomp;
-       s/\s+/ /g;
-       s/^\s+//;
-       s/\s+$//;
-       my $nonblock = /^\/\/sysnb /;
-       next if !/^\/\/sys / && !$nonblock;
-
-       # Line must be of the form
-       #       func Open(path string, mode int, perm int) (fd int, errno error)
-       # Split into name, in params, out params.
-       if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*((?i)SYS_[A-Z0-9_]+))?$/) {
-               print STDERR "$ARGV:$.: malformed //sys declaration\n";
-               $errors = 1;
-               next;
-       }
-       my ($func, $in, $out, $sysname) = ($2, $3, $4, $5);
-
-       # Split argument lists on comma.
-       my @in = parseparamlist($in);
-       my @out = parseparamlist($out);
-
-       # Try in vain to keep people from editing this file.
-       # The theory is that they jump into the middle of the file
-       # without reading the header.
-       $text .= "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n";
-
-       # Go function header.
-       my $out_decl = @out ? sprintf(" (%s)", join(', ', @out)) : "";
-       $text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out_decl;
-
-       # Check if err return available
-       my $errvar = "";
-       foreach my $p (@out) {
-               my ($name, $type) = parseparam($p);
-               if($type eq "error") {
-                       $errvar = $name;
-                       last;
-               }
-       }
-
-       # Prepare arguments to Syscall.
-       my @args = ();
-       my @uses = ();
-       my $n = 0;
-       foreach my $p (@in) {
-               my ($name, $type) = parseparam($p);
-               if($type =~ /^\*/) {
-                       push @args, "uintptr(unsafe.Pointer($name))";
-               } elsif($type eq "string" && $errvar ne "") {
-                       $text .= "\tvar _p$n *byte\n";
-                       $text .= "\t_p$n, $errvar = BytePtrFromString($name)\n";
-                       $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       push @uses, "use(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type eq "string") {
-                       print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n";
-                       $text .= "\tvar _p$n *byte\n";
-                       $text .= "\t_p$n, _ = BytePtrFromString($name)\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       push @uses, "use(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type =~ /^\[\](.*)/) {
-                       # Convert slice into pointer, length.
-                       # Have to be careful not to take address of &a[0] if len == 0:
-                       # pass dummy pointer in that case.
-                       # Used to pass nil, but some OSes or simulators reject write(fd, nil, 0).
-                       $text .= "\tvar _p$n unsafe.Pointer\n";
-                       $text .= "\tif len($name) > 0 {\n\t\t_p$n = unsafe.Pointer(\&${name}[0])\n\t}";
-                       $text .= " else {\n\t\t_p$n = unsafe.Pointer(&_zero)\n\t}";
-                       $text .= "\n";
-                       push @args, "uintptr(_p$n)", "uintptr(len($name))";
-                       $n++;
-               } elsif($type eq "int64" && ($openbsd || $netbsd)) {
-                       push @args, "0";
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name>>32)", "uintptr($name)";
-                       } elsif($_32bit eq "little-endian") {
-                               push @args, "uintptr($name)", "uintptr($name>>32)";
-                       } else {
-                               push @args, "uintptr($name)";
-                       }
-               } elsif($type eq "int64" && $dragonfly) {
-                       if ($func !~ /^extp(read|write)/i) {
-                               push @args, "0";
-                       }
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name>>32)", "uintptr($name)";
-                       } elsif($_32bit eq "little-endian") {
-                               push @args, "uintptr($name)", "uintptr($name>>32)";
-                       } else {
-                               push @args, "uintptr($name)";
-                       }
-               } elsif($type eq "int64" && $_32bit ne "") {
-                       if(@args % 2 && $arm) {
-                               # arm abi specifies 64-bit argument uses 
-                               # (even, odd) pair
-                               push @args, "0"
-                       }
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name>>32)", "uintptr($name)";
-                       } else {
-                               push @args, "uintptr($name)", "uintptr($name>>32)";
-                       }
-               } else {
-                       push @args, "uintptr($name)";
-               }
-       }
-
-       # Determine which form to use; pad args with zeros.
-       my $asm = "Syscall";
-       if ($nonblock) {
-               $asm = "RawSyscall";
-       }
-       if(@args <= 3) {
-               while(@args < 3) {
-                       push @args, "0";
-               }
-       } elsif(@args <= 6) {
-               $asm .= "6";
-               while(@args < 6) {
-                       push @args, "0";
-               }
-       } elsif(@args <= 9) {
-               $asm .= "9";
-               while(@args < 9) {
-                       push @args, "0";
-               }
-       } else {
-               print STDERR "$ARGV:$.: too many arguments to system call\n";
-       }
-
-       # System call number.
-       if($sysname eq "") {
-               $sysname = "SYS_$func";
-               $sysname =~ s/([a-z])([A-Z])/${1}_$2/g; # turn FooBar into Foo_Bar
-               $sysname =~ y/a-z/A-Z/;
-       }
-
-       # Actual call.
-       my $args = join(', ', @args);
-       my $call = "$asm($sysname, $args)";
-
-       # Assign return values.
-       my $body = "";
-       my @ret = ("_", "_", "_");
-       my $do_errno = 0;
-       for(my $i=0; $i<@out; $i++) {
-               my $p = $out[$i];
-               my ($name, $type) = parseparam($p);
-               my $reg = "";
-               if($name eq "err" && !$plan9) {
-                       $reg = "e1";
-                       $ret[2] = $reg;
-                       $do_errno = 1;
-               } elsif($name eq "err" && $plan9) {
-                       $ret[0] = "r0";
-                       $ret[2] = "e1";
-                       next;
-               } else {
-                       $reg = sprintf("r%d", $i);
-                       $ret[$i] = $reg;
-               }
-               if($type eq "bool") {
-                       $reg = "$reg != 0";
-               }
-               if($type eq "int64" && $_32bit ne "") {
-                       # 64-bit number in r1:r0 or r0:r1.
-                       if($i+2 > @out) {
-                               print STDERR "$ARGV:$.: not enough registers for int64 return\n";
-                       }
-                       if($_32bit eq "big-endian") {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i, $i+1);
-                       } else {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i+1, $i);
-                       }
-                       $ret[$i] = sprintf("r%d", $i);
-                       $ret[$i+1] = sprintf("r%d", $i+1);
-               }
-               if($reg ne "e1" || $plan9) {
-                       $body .= "\t$name = $type($reg)\n";
-               }
-       }
-       if ($ret[0] eq "_" && $ret[1] eq "_" && $ret[2] eq "_") {
-               $text .= "\t$call\n";
-       } else {
-               $text .= "\t$ret[0], $ret[1], $ret[2] := $call\n";
-       }
-       foreach my $use (@uses) {
-               $text .= "\t$use\n";
-       }
-       $text .= $body;
-       
-       if ($plan9 && $ret[2] eq "e1") {
-               $text .= "\tif int32(r0) == -1 {\n";
-               $text .= "\t\terr = e1\n";
-               $text .= "\t}\n";
-       } elsif ($do_errno) {
-               $text .= "\tif e1 != 0 {\n";
-               $text .= "\t\terr = errnoErr(e1)\n";
-               $text .= "\t}\n";
-       }
-       $text .= "\treturn\n";
-       $text .= "}\n\n";
-}
-
-chomp $text;
-chomp $text;
-
-if($errors) {
-       exit 1;
-}
-
-print <<EOF;
-// $cmdline
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-$text
-EOF
-exit 0;
diff --git a/vendor/golang.org/x/sys/unix/mksyscall_solaris.pl b/vendor/golang.org/x/sys/unix/mksyscall_solaris.pl
deleted file mode 100755 (executable)
index 06bade7..0000000
+++ /dev/null
@@ -1,294 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# This program reads a file containing function prototypes
-# (like syscall_solaris.go) and generates system call bodies.
-# The prototypes are marked by lines beginning with "//sys"
-# and read like func declarations if //sys is replaced by func, but:
-#      * The parameter lists must give a name for each argument.
-#        This includes return parameters.
-#      * The parameter lists must give a type for each argument:
-#        the (x, y, z int) shorthand is not allowed.
-#      * If the return parameter is an error number, it must be named err.
-#      * If go func name needs to be different than its libc name, 
-#      * or the function is not in libc, name could be specified
-#      * at the end, after "=" sign, like
-#        //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
-
-use strict;
-
-my $cmdline = "mksyscall_solaris.pl " . join(' ', @ARGV);
-my $errors = 0;
-my $_32bit = "";
-
-binmode STDOUT;
-
-if($ARGV[0] eq "-b32") {
-       $_32bit = "big-endian";
-       shift;
-} elsif($ARGV[0] eq "-l32") {
-       $_32bit = "little-endian";
-       shift;
-}
-
-if($ARGV[0] =~ /^-/) {
-       print STDERR "usage: mksyscall_solaris.pl [-b32 | -l32] [file ...]\n";
-       exit 1;
-}
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-sub parseparamlist($) {
-       my ($list) = @_;
-       $list =~ s/^\s*//;
-       $list =~ s/\s*$//;
-       if($list eq "") {
-               return ();
-       }
-       return split(/\s*,\s*/, $list);
-}
-
-sub parseparam($) {
-       my ($p) = @_;
-       if($p !~ /^(\S*) (\S*)$/) {
-               print STDERR "$ARGV:$.: malformed parameter: $p\n";
-               $errors = 1;
-               return ("xx", "int");
-       }
-       return ($1, $2);
-}
-
-my $package = "";
-my $text = "";
-my $dynimports = "";
-my $linknames = "";
-my @vars = ();
-while(<>) {
-       chomp;
-       s/\s+/ /g;
-       s/^\s+//;
-       s/\s+$//;
-       $package = $1 if !$package && /^package (\S+)$/;
-       my $nonblock = /^\/\/sysnb /;
-       next if !/^\/\/sys / && !$nonblock;
-
-       # Line must be of the form
-       #       func Open(path string, mode int, perm int) (fd int, err error)
-       # Split into name, in params, out params.
-       if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$/) {
-               print STDERR "$ARGV:$.: malformed //sys declaration\n";
-               $errors = 1;
-               next;
-       }
-       my ($nb, $func, $in, $out, $modname, $sysname) = ($1, $2, $3, $4, $5, $6);
-
-       # Split argument lists on comma.
-       my @in = parseparamlist($in);
-       my @out = parseparamlist($out);
-
-       # So file name.
-       if($modname eq "") {
-               $modname = "libc";
-       }
-
-       # System call name.
-       if($sysname eq "") {
-               $sysname = "$func";
-       }
-
-       # System call pointer variable name.
-       my $sysvarname = "proc$sysname";
-
-       my $strconvfunc = "BytePtrFromString";
-       my $strconvtype = "*byte";
-
-       $sysname =~ y/A-Z/a-z/; # All libc functions are lowercase.
-
-       # Runtime import of function to allow cross-platform builds.
-       $dynimports .= "//go:cgo_import_dynamic libc_${sysname} ${sysname} \"$modname.so\"\n";
-       # Link symbol to proc address variable.
-       $linknames .= "//go:linkname ${sysvarname} libc_${sysname}\n";
-       # Library proc address variable.
-       push @vars, $sysvarname;
-
-       # Go function header.
-       $out = join(', ', @out);
-       if($out ne "") {
-               $out = " ($out)";
-       }
-       if($text ne "") {
-               $text .= "\n"
-       }
-       $text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out;
-
-       # Check if err return available
-       my $errvar = "";
-       foreach my $p (@out) {
-               my ($name, $type) = parseparam($p);
-               if($type eq "error") {
-                       $errvar = $name;
-                       last;
-               }
-       }
-
-       # Prepare arguments to Syscall.
-       my @args = ();
-       my @uses = ();
-       my $n = 0;
-       foreach my $p (@in) {
-               my ($name, $type) = parseparam($p);
-               if($type =~ /^\*/) {
-                       push @args, "uintptr(unsafe.Pointer($name))";
-               } elsif($type eq "string" && $errvar ne "") {
-                       $text .= "\tvar _p$n $strconvtype\n";
-                       $text .= "\t_p$n, $errvar = $strconvfunc($name)\n";
-                       $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       push @uses, "use(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type eq "string") {
-                       print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n";
-                       $text .= "\tvar _p$n $strconvtype\n";
-                       $text .= "\t_p$n, _ = $strconvfunc($name)\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       push @uses, "use(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type =~ /^\[\](.*)/) {
-                       # Convert slice into pointer, length.
-                       # Have to be careful not to take address of &a[0] if len == 0:
-                       # pass nil in that case.
-                       $text .= "\tvar _p$n *$1\n";
-                       $text .= "\tif len($name) > 0 {\n\t\t_p$n = \&$name\[0]\n\t}\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))", "uintptr(len($name))";
-                       $n++;
-               } elsif($type eq "int64" && $_32bit ne "") {
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name >> 32)", "uintptr($name)";
-                       } else {
-                               push @args, "uintptr($name)", "uintptr($name >> 32)";
-                       }
-               } elsif($type eq "bool") {
-                       $text .= "\tvar _p$n uint32\n";
-                       $text .= "\tif $name {\n\t\t_p$n = 1\n\t} else {\n\t\t_p$n = 0\n\t}\n";
-                       push @args, "uintptr(_p$n)";
-                       $n++;
-               } else {
-                       push @args, "uintptr($name)";
-               }
-       }
-       my $nargs = @args;
-
-       # Determine which form to use; pad args with zeros.
-       my $asm = "sysvicall6";
-       if ($nonblock) {
-               $asm = "rawSysvicall6";
-       }
-       if(@args <= 6) {
-               while(@args < 6) {
-                       push @args, "0";
-               }
-       } else {
-               print STDERR "$ARGV:$.: too many arguments to system call\n";
-       }
-
-       # Actual call.
-       my $args = join(', ', @args);
-       my $call = "$asm(uintptr(unsafe.Pointer(&$sysvarname)), $nargs, $args)";
-
-       # Assign return values.
-       my $body = "";
-       my $failexpr = "";
-       my @ret = ("_", "_", "_");
-       my @pout= ();
-       my $do_errno = 0;
-       for(my $i=0; $i<@out; $i++) {
-               my $p = $out[$i];
-               my ($name, $type) = parseparam($p);
-               my $reg = "";
-               if($name eq "err") {
-                       $reg = "e1";
-                       $ret[2] = $reg;
-                       $do_errno = 1;
-               } else {
-                       $reg = sprintf("r%d", $i);
-                       $ret[$i] = $reg;
-               }
-               if($type eq "bool") {
-                       $reg = "$reg != 0";
-               }
-               if($type eq "int64" && $_32bit ne "") {
-                       # 64-bit number in r1:r0 or r0:r1.
-                       if($i+2 > @out) {
-                               print STDERR "$ARGV:$.: not enough registers for int64 return\n";
-                       }
-                       if($_32bit eq "big-endian") {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i, $i+1);
-                       } else {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i+1, $i);
-                       }
-                       $ret[$i] = sprintf("r%d", $i);
-                       $ret[$i+1] = sprintf("r%d", $i+1);
-               }
-               if($reg ne "e1") {
-                       $body .= "\t$name = $type($reg)\n";
-               }
-       }
-       if ($ret[0] eq "_" && $ret[1] eq "_" && $ret[2] eq "_") {
-               $text .= "\t$call\n";
-       } else {
-               $text .= "\t$ret[0], $ret[1], $ret[2] := $call\n";
-       }
-       foreach my $use (@uses) {
-               $text .= "\t$use\n";
-       }
-       $text .= $body;
-
-       if ($do_errno) {
-               $text .= "\tif e1 != 0 {\n";
-               $text .= "\t\terr = e1\n";
-               $text .= "\t}\n";
-       }
-       $text .= "\treturn\n";
-       $text .= "}\n";
-}
-
-if($errors) {
-       exit 1;
-}
-
-print <<EOF;
-// $cmdline
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package $package
-
-import (
-       "syscall"
-       "unsafe"
-)
-EOF
-
-print "import \"golang.org/x/sys/unix\"\n" if $package ne "unix";
-
-my $vardecls = "\t" . join(",\n\t", @vars);
-$vardecls .= " syscallFunc";
-
-chomp($_=<<EOF);
-
-$dynimports
-$linknames
-var (
-$vardecls
-)
-
-$text
-EOF
-print $_;
-exit 0;
diff --git a/vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl
deleted file mode 100755 (executable)
index be67afa..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-#!/usr/bin/env perl
-
-# Copyright 2011 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-#
-# Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
-#
-# Build a MIB with each entry being an array containing the level, type and
-# a hash that will contain additional entries if the current entry is a node.
-# We then walk this MIB and create a flattened sysctl name to OID hash.
-#
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $debug = 0;
-my %ctls = ();
-
-my @headers = qw (
-       sys/sysctl.h
-       sys/socket.h
-       sys/tty.h
-       sys/malloc.h
-       sys/mount.h
-       sys/namei.h
-       sys/sem.h
-       sys/shm.h
-       sys/vmmeter.h
-       uvm/uvm_param.h
-       uvm/uvm_swap_encrypt.h
-       ddb/db_var.h
-       net/if.h
-       net/if_pfsync.h
-       net/pipex.h
-       netinet/in.h
-       netinet/icmp_var.h
-       netinet/igmp_var.h
-       netinet/ip_ah.h
-       netinet/ip_carp.h
-       netinet/ip_divert.h
-       netinet/ip_esp.h
-       netinet/ip_ether.h
-       netinet/ip_gre.h
-       netinet/ip_ipcomp.h
-       netinet/ip_ipip.h
-       netinet/pim_var.h
-       netinet/tcp_var.h
-       netinet/udp_var.h
-       netinet6/in6.h
-       netinet6/ip6_divert.h
-       netinet6/pim6_var.h
-       netinet/icmp6.h
-       netmpls/mpls.h
-);
-
-my @ctls = qw (
-       kern
-       vm
-       fs
-       net
-       #debug                          # Special handling required
-       hw
-       #machdep                        # Arch specific
-       user
-       ddb
-       #vfs                            # Special handling required
-       fs.posix
-       kern.forkstat
-       kern.intrcnt
-       kern.malloc
-       kern.nchstats
-       kern.seminfo
-       kern.shminfo
-       kern.timecounter
-       kern.tty
-       kern.watchdog
-       net.bpf
-       net.ifq
-       net.inet
-       net.inet.ah
-       net.inet.carp
-       net.inet.divert
-       net.inet.esp
-       net.inet.etherip
-       net.inet.gre
-       net.inet.icmp
-       net.inet.igmp
-       net.inet.ip
-       net.inet.ip.ifq
-       net.inet.ipcomp
-       net.inet.ipip
-       net.inet.mobileip
-       net.inet.pfsync
-       net.inet.pim
-       net.inet.tcp
-       net.inet.udp
-       net.inet6
-       net.inet6.divert
-       net.inet6.ip6
-       net.inet6.icmp6
-       net.inet6.pim6
-       net.inet6.tcp6
-       net.inet6.udp6
-       net.mpls
-       net.mpls.ifq
-       net.key
-       net.pflow
-       net.pfsync
-       net.pipex
-       net.rt
-       vm.swapencrypt
-       #vfsgenctl                      # Special handling required
-);
-
-# Node name "fixups"
-my %ctl_map = (
-       "ipproto" => "net.inet",
-       "net.inet.ipproto" => "net.inet",
-       "net.inet6.ipv6proto" => "net.inet6",
-       "net.inet6.ipv6" => "net.inet6.ip6",
-       "net.inet.icmpv6" => "net.inet6.icmp6",
-       "net.inet6.divert6" => "net.inet6.divert",
-       "net.inet6.tcp6" => "net.inet.tcp",
-       "net.inet6.udp6" => "net.inet.udp",
-       "mpls" => "net.mpls",
-       "swpenc" => "vm.swapencrypt"
-);
-
-# Node mappings
-my %node_map = (
-       "net.inet.ip.ifq" => "net.ifq",
-       "net.inet.pfsync" => "net.pfsync",
-       "net.mpls.ifq" => "net.ifq"
-);
-
-my $ctlname;
-my %mib = ();
-my %sysctl = ();
-my $node;
-
-sub debug() {
-       print STDERR "$_[0]\n" if $debug;
-}
-
-# Walk the MIB and build a sysctl name to OID mapping.
-sub build_sysctl() {
-       my ($node, $name, $oid) = @_;
-       my %node = %{$node};
-       my @oid = @{$oid};
-
-       foreach my $key (sort keys %node) {
-               my @node = @{$node{$key}};
-               my $nodename = $name.($name ne '' ? '.' : '').$key;
-               my @nodeoid = (@oid, $node[0]);
-               if ($node[1] eq 'CTLTYPE_NODE') {
-                       if (exists $node_map{$nodename}) {
-                               $node = \%mib;
-                               $ctlname = $node_map{$nodename};
-                               foreach my $part (split /\./, $ctlname) {
-                                       $node = \%{@{$$node{$part}}[2]};
-                               }
-                       } else {
-                               $node = $node[2];
-                       }
-                       &build_sysctl($node, $nodename, \@nodeoid);
-               } elsif ($node[1] ne '') {
-                       $sysctl{$nodename} = \@nodeoid;
-               }
-       }
-}
-
-foreach my $ctl (@ctls) {
-       $ctls{$ctl} = $ctl;
-}
-
-# Build MIB
-foreach my $header (@headers) {
-       &debug("Processing $header...");
-       open HEADER, "/usr/include/$header" ||
-           print STDERR "Failed to open $header\n";
-       while (<HEADER>) {
-               if ($_ =~ /^#define\s+(CTL_NAMES)\s+{/ ||
-                   $_ =~ /^#define\s+(CTL_(.*)_NAMES)\s+{/ ||
-                   $_ =~ /^#define\s+((.*)CTL_NAMES)\s+{/) {
-                       if ($1 eq 'CTL_NAMES') {
-                               # Top level.
-                               $node = \%mib;
-                       } else {
-                               # Node.
-                               my $nodename = lc($2);
-                               if ($header =~ /^netinet\//) {
-                                       $ctlname = "net.inet.$nodename";
-                               } elsif ($header =~ /^netinet6\//) {
-                                       $ctlname = "net.inet6.$nodename";
-                               } elsif ($header =~ /^net\//) {
-                                       $ctlname = "net.$nodename";
-                               } else {
-                                       $ctlname = "$nodename";
-                                       $ctlname =~ s/^(fs|net|kern)_/$1\./;
-                               }
-                               if (exists $ctl_map{$ctlname}) {
-                                       $ctlname = $ctl_map{$ctlname};
-                               }
-                               if (not exists $ctls{$ctlname}) {
-                                       &debug("Ignoring $ctlname...");
-                                       next;
-                               }
-
-                               # Walk down from the top of the MIB.
-                               $node = \%mib;
-                               foreach my $part (split /\./, $ctlname) {
-                                       if (not exists $$node{$part}) {
-                                               &debug("Missing node $part");
-                                               $$node{$part} = [ 0, '', {} ];
-                                       }
-                                       $node = \%{@{$$node{$part}}[2]};
-                               }
-                       }
-
-                       # Populate current node with entries.
-                       my $i = -1;
-                       while (defined($_) && $_ !~ /^}/) {
-                               $_ = <HEADER>;
-                               $i++ if $_ =~ /{.*}/;
-                               next if $_ !~ /{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}/;
-                               $$node{$1} = [ $i, $2, {} ];
-                       }
-               }
-       }
-       close HEADER;
-}
-
-&build_sysctl(\%mib, "", []);
-
-print <<EOF;
-// mksysctl_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix;
-
-type mibentry struct {
-       ctlname string
-       ctloid []_C_int
-}
-
-var sysctlMib = []mibentry {
-EOF
-
-foreach my $name (sort keys %sysctl) {
-       my @oid = @{$sysctl{$name}};
-       print "\t{ \"$name\", []_C_int{ ", join(', ', @oid), " } }, \n";
-}
-
-print <<EOF;
-}
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_darwin.pl b/vendor/golang.org/x/sys/unix/mksysnum_darwin.pl
deleted file mode 100755 (executable)
index d3e5147..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for Darwin from sys/syscall.h
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_darwin.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^#define\s+SYS_(\w+)\s+([0-9]+)/){
-               my $name = $1;
-               my $num = $2;
-               $name =~ y/a-z/A-Z/;
-               print " SYS_$name = $num;"
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl b/vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl
deleted file mode 100755 (executable)
index 266a248..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for DragonFly from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_dragonfly.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$/){
-               my $num = $1;
-               my $proto = $2;
-               my $name = "SYS_$3";
-               $name =~ y/a-z/A-Z/;
-
-               # There are multiple entries for enosys and nosys, so comment them out.
-               if($name =~ /^SYS_E?NOSYS$/){
-                       $name = "// $name";
-               }
-               if($name eq 'SYS_SYS_EXIT'){
-                       $name = 'SYS_EXIT';
-               }
-
-               print " $name = $num;  // $proto\n";
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl b/vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl
deleted file mode 100755 (executable)
index b767e12..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for FreeBSD from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_freebsd.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^([0-9]+)\s+\S+\s+STD\s+({ \S+\s+(\w+).*)$/){
-               my $num = $1;
-               my $proto = $2;
-               my $name = "SYS_$3";
-               $name =~ y/a-z/A-Z/;
-
-               # There are multiple entries for enosys and nosys, so comment them out.
-               if($name =~ /^SYS_E?NOSYS$/){
-                       $name = "// $name";
-               }
-               if($name eq 'SYS_SYS_EXIT'){
-                       $name = 'SYS_EXIT';
-               }
-               if($name =~ /^SYS_CAP_+/ || $name =~ /^SYS___CAP_+/){
-                       next
-               }
-
-               print " $name = $num;  // $proto\n";
-
-               # We keep Capsicum syscall numbers for FreeBSD
-               # 9-STABLE here because we are not sure whether they
-               # are mature and stable.
-               if($num == 513){
-                       print " SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }\n";
-                       print " SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \\\n";
-                       print " SYS_CAP_ENTER = 516 // { int cap_enter(void); }\n";
-                       print " SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }\n";
-               }
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_linux.pl b/vendor/golang.org/x/sys/unix/mksysnum_linux.pl
deleted file mode 100755 (executable)
index 4d4017d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_linux.pl ". join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const(
-EOF
-
-sub fmt {
-       my ($name, $num) = @_;
-       if($num > 999){
-               # ignore deprecated syscalls that are no longer implemented
-               # https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/unistd.h?id=refs/heads/master#n716
-               return;
-       }
-       $name =~ y/a-z/A-Z/;
-       print " SYS_$name = $num;\n";
-}
-
-my $prev;
-open(GCC, "gcc -E -dD $ARGV[0] |") || die "can't run gcc";
-while(<GCC>){
-       if(/^#define __NR_syscalls\s+/) {
-               # ignore redefinitions of __NR_syscalls
-       }
-       elsif(/^#define __NR_(\w+)\s+([0-9]+)/){
-               $prev = $2;
-               fmt($1, $2);
-       }
-       elsif(/^#define __NR3264_(\w+)\s+([0-9]+)/){
-               $prev = $2;
-               fmt($1, $2);
-       }
-       elsif(/^#define __NR_(\w+)\s+\(\w+\+\s*([0-9]+)\)/){
-               fmt($1, $prev+$2)
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl b/vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl
deleted file mode 100755 (executable)
index e74616a..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for OpenBSD from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_netbsd.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-my $line = '';
-while(<>){
-       if($line =~ /^(.*)\\$/) {
-               # Handle continuation
-               $line = $1;
-               $_ =~ s/^\s+//;
-               $line .= $_;
-       } else {
-               # New line
-               $line = $_;
-       }
-       next if $line =~ /\\$/;
-       if($line =~ /^([0-9]+)\s+((STD)|(NOERR))\s+(RUMP\s+)?({\s+\S+\s*\*?\s*\|(\S+)\|(\S*)\|(\w+).*\s+})(\s+(\S+))?$/) {
-               my $num = $1;
-               my $proto = $6;
-               my $compat = $8;
-               my $name = "$7_$9";
-
-               $name = "$7_$11" if $11 ne '';
-               $name =~ y/a-z/A-Z/;
-
-               if($compat eq '' || $compat eq '30' || $compat eq '50') {
-                       print " $name = $num;  // $proto\n";
-               }
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl b/vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl
deleted file mode 100755 (executable)
index ae5aad5..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for OpenBSD from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?({ \S+\s+\*?(\w+).*)$/){
-               my $num = $1;
-               my $proto = $3;
-               my $name = $4;
-               $name =~ y/a-z/A-Z/;
-
-               # There are multiple entries for enosys and nosys, so comment them out.
-               if($name =~ /^SYS_E?NOSYS$/){
-                       $name = "// $name";
-               }
-               if($name eq 'SYS_SYS_EXIT'){
-                       $name = 'SYS_EXIT';
-               }
-
-               print " $name = $num;  // $proto\n";
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/race.go b/vendor/golang.org/x/sys/unix/race.go
deleted file mode 100644 (file)
index 3c7627e..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2012 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin,race linux,race freebsd,race
-
-package unix
-
-import (
-       "runtime"
-       "unsafe"
-)
-
-const raceenabled = true
-
-func raceAcquire(addr unsafe.Pointer) {
-       runtime.RaceAcquire(addr)
-}
-
-func raceReleaseMerge(addr unsafe.Pointer) {
-       runtime.RaceReleaseMerge(addr)
-}
-
-func raceReadRange(addr unsafe.Pointer, len int) {
-       runtime.RaceReadRange(addr, len)
-}
-
-func raceWriteRange(addr unsafe.Pointer, len int) {
-       runtime.RaceWriteRange(addr, len)
-}
diff --git a/vendor/golang.org/x/sys/unix/race0.go b/vendor/golang.org/x/sys/unix/race0.go
deleted file mode 100644 (file)
index f8678e0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2012 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
-
-package unix
-
-import (
-       "unsafe"
-)
-
-const raceenabled = false
-
-func raceAcquire(addr unsafe.Pointer) {
-}
-
-func raceReleaseMerge(addr unsafe.Pointer) {
-}
-
-func raceReadRange(addr unsafe.Pointer, len int) {
-}
-
-func raceWriteRange(addr unsafe.Pointer, len int) {
-}
diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
deleted file mode 100644 (file)
index d9ff473..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2011 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Socket control messages
-
-package unix
-
-import "unsafe"
-
-// UnixCredentials encodes credentials into a socket control message
-// for sending to another process. This can be used for
-// authentication.
-func UnixCredentials(ucred *Ucred) []byte {
-       b := make([]byte, CmsgSpace(SizeofUcred))
-       h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
-       h.Level = SOL_SOCKET
-       h.Type = SCM_CREDENTIALS
-       h.SetLen(CmsgLen(SizeofUcred))
-       *((*Ucred)(cmsgData(h))) = *ucred
-       return b
-}
-
-// ParseUnixCredentials decodes a socket control message that contains
-// credentials in a Ucred structure. To receive such a message, the
-// SO_PASSCRED option must be enabled on the socket.
-func ParseUnixCredentials(m *SocketControlMessage) (*Ucred, error) {
-       if m.Header.Level != SOL_SOCKET {
-               return nil, EINVAL
-       }
-       if m.Header.Type != SCM_CREDENTIALS {
-               return nil, EINVAL
-       }
-       ucred := *(*Ucred)(unsafe.Pointer(&m.Data[0]))
-       return &ucred, nil
-}
diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
deleted file mode 100644 (file)
index f1493a3..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright 2011 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-// Socket control messages
-
-package unix
-
-import "unsafe"
-
-// Round the length of a raw sockaddr up to align it properly.
-func cmsgAlignOf(salen int) int {
-       salign := sizeofPtr
-       // NOTE: It seems like 64-bit Darwin and DragonFly BSD kernels
-       // still require 32-bit aligned access to network subsystem.
-       if darwin64Bit || dragonfly64Bit {
-               salign = 4
-       }
-       return (salen + salign - 1) & ^(salign - 1)
-}
-
-// CmsgLen returns the value to store in the Len field of the Cmsghdr
-// structure, taking into account any necessary alignment.
-func CmsgLen(datalen int) int {
-       return cmsgAlignOf(SizeofCmsghdr) + datalen
-}
-
-// CmsgSpace returns the number of bytes an ancillary element with
-// payload of the passed data length occupies.
-func CmsgSpace(datalen int) int {
-       return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
-}
-
-func cmsgData(h *Cmsghdr) unsafe.Pointer {
-       return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)))
-}
-
-// SocketControlMessage represents a socket control message.
-type SocketControlMessage struct {
-       Header Cmsghdr
-       Data   []byte
-}
-
-// ParseSocketControlMessage parses b as an array of socket control
-// messages.
-func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) {
-       var msgs []SocketControlMessage
-       i := 0
-       for i+CmsgLen(0) <= len(b) {
-               h, dbuf, err := socketControlMessageHeaderAndData(b[i:])
-               if err != nil {
-                       return nil, err
-               }
-               m := SocketControlMessage{Header: *h, Data: dbuf}
-               msgs = append(msgs, m)
-               i += cmsgAlignOf(int(h.Len))
-       }
-       return msgs, nil
-}
-
-func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error) {
-       h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
-       if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) {
-               return nil, nil, EINVAL
-       }
-       return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
-}
-
-// UnixRights encodes a set of open file descriptors into a socket
-// control message for sending to another process.
-func UnixRights(fds ...int) []byte {
-       datalen := len(fds) * 4
-       b := make([]byte, CmsgSpace(datalen))
-       h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
-       h.Level = SOL_SOCKET
-       h.Type = SCM_RIGHTS
-       h.SetLen(CmsgLen(datalen))
-       data := cmsgData(h)
-       for _, fd := range fds {
-               *(*int32)(data) = int32(fd)
-               data = unsafe.Pointer(uintptr(data) + 4)
-       }
-       return b
-}
-
-// ParseUnixRights decodes a socket control message that contains an
-// integer array of open file descriptors from another process.
-func ParseUnixRights(m *SocketControlMessage) ([]int, error) {
-       if m.Header.Level != SOL_SOCKET {
-               return nil, EINVAL
-       }
-       if m.Header.Type != SCM_RIGHTS {
-               return nil, EINVAL
-       }
-       fds := make([]int, len(m.Data)>>2)
-       for i, j := 0, 0; i < len(m.Data); i += 4 {
-               fds[j] = int(*(*int32)(unsafe.Pointer(&m.Data[i])))
-               j++
-       }
-       return fds, nil
-}
diff --git a/vendor/golang.org/x/sys/unix/str.go b/vendor/golang.org/x/sys/unix/str.go
deleted file mode 100644 (file)
index 35ed664..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package unix
-
-func itoa(val int) string { // do it here rather than with fmt to avoid dependency
-       if val < 0 {
-               return "-" + uitoa(uint(-val))
-       }
-       return uitoa(uint(val))
-}
-
-func uitoa(val uint) string {
-       var buf [32]byte // big enough for int64
-       i := len(buf) - 1
-       for val >= 10 {
-               buf[i] = byte(val%10 + '0')
-               i--
-               val /= 10
-       }
-       buf[i] = byte(val + '0')
-       return string(buf[i:])
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall.go b/vendor/golang.org/x/sys/unix/syscall.go
deleted file mode 100644 (file)
index 571e699..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-// Package unix contains an interface to the low-level operating system
-// primitives.  OS details vary depending on the underlying system, and
-// by default, godoc will display OS-specific documentation for the current
-// system.  If you want godoc to display OS documentation for another
-// system, set $GOOS and $GOARCH to the desired system.  For example, if
-// you want to view documentation for freebsd/arm on linux/amd64, set $GOOS
-// to freebsd and $GOARCH to arm.
-// The primary use of this package is inside other packages that provide a more
-// portable interface to the system, such as "os", "time" and "net".  Use
-// those packages rather than this one if you can.
-// For details of the functions and data types in this package consult
-// the manuals for the appropriate operating system.
-// These calls return err == nil to indicate success; otherwise
-// err represents an operating system error describing the failure and
-// holds a value of type syscall.Errno.
-package unix
-
-import "unsafe"
-
-// ByteSliceFromString returns a NUL-terminated slice of bytes
-// containing the text of s. If s contains a NUL byte at any
-// location, it returns (nil, EINVAL).
-func ByteSliceFromString(s string) ([]byte, error) {
-       for i := 0; i < len(s); i++ {
-               if s[i] == 0 {
-                       return nil, EINVAL
-               }
-       }
-       a := make([]byte, len(s)+1)
-       copy(a, s)
-       return a, nil
-}
-
-// BytePtrFromString returns a pointer to a NUL-terminated array of
-// bytes containing the text of s. If s contains a NUL byte at any
-// location, it returns (nil, EINVAL).
-func BytePtrFromString(s string) (*byte, error) {
-       a, err := ByteSliceFromString(s)
-       if err != nil {
-               return nil, err
-       }
-       return &a[0], nil
-}
-
-// Single-word zero for use when we need a valid pointer to 0 bytes.
-// See mkunix.pl.
-var _zero uintptr
-
-func (ts *Timespec) Unix() (sec int64, nsec int64) {
-       return int64(ts.Sec), int64(ts.Nsec)
-}
-
-func (tv *Timeval) Unix() (sec int64, nsec int64) {
-       return int64(tv.Sec), int64(tv.Usec) * 1000
-}
-
-func (ts *Timespec) Nano() int64 {
-       return int64(ts.Sec)*1e9 + int64(ts.Nsec)
-}
-
-func (tv *Timeval) Nano() int64 {
-       return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
-}
-
-func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
-
-// use is a no-op, but the compiler cannot see that it is.
-// Calling use(p) ensures that p is kept live until that point.
-//go:noescape
-func use(p unsafe.Pointer)
diff --git a/vendor/golang.org/x/sys/unix/syscall_bsd.go b/vendor/golang.org/x/sys/unix/syscall_bsd.go
deleted file mode 100644 (file)
index e967176..0000000
+++ /dev/null
@@ -1,628 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd netbsd openbsd
-
-// BSD system call wrappers shared by *BSD based systems
-// including OS X (Darwin) and FreeBSD.  Like the other
-// syscall_*.go files it is compiled as Go code but also
-// used as input to mksyscall which parses the //sys
-// lines and generates system call stubs.
-
-package unix
-
-import (
-       "runtime"
-       "syscall"
-       "unsafe"
-)
-
-/*
- * Wrapped
- */
-
-//sysnb        getgroups(ngid int, gid *_Gid_t) (n int, err error)
-//sysnb        setgroups(ngid int, gid *_Gid_t) (err error)
-
-func Getgroups() (gids []int, err error) {
-       n, err := getgroups(0, nil)
-       if err != nil {
-               return nil, err
-       }
-       if n == 0 {
-               return nil, nil
-       }
-
-       // Sanity check group count.  Max is 16 on BSD.
-       if n < 0 || n > 1000 {
-               return nil, EINVAL
-       }
-
-       a := make([]_Gid_t, n)
-       n, err = getgroups(n, &a[0])
-       if err != nil {
-               return nil, err
-       }
-       gids = make([]int, n)
-       for i, v := range a[0:n] {
-               gids[i] = int(v)
-       }
-       return
-}
-
-func Setgroups(gids []int) (err error) {
-       if len(gids) == 0 {
-               return setgroups(0, nil)
-       }
-
-       a := make([]_Gid_t, len(gids))
-       for i, v := range gids {
-               a[i] = _Gid_t(v)
-       }
-       return setgroups(len(a), &a[0])
-}
-
-func ReadDirent(fd int, buf []byte) (n int, err error) {
-       // Final argument is (basep *uintptr) and the syscall doesn't take nil.
-       // 64 bits should be enough. (32 bits isn't even on 386). Since the
-       // actual system call is getdirentries64, 64 is a good guess.
-       // TODO(rsc): Can we use a single global basep for all calls?
-       var base = (*uintptr)(unsafe.Pointer(new(uint64)))
-       return Getdirentries(fd, buf, base)
-}
-
-// Wait status is 7 bits at bottom, either 0 (exited),
-// 0x7F (stopped), or a signal number that caused an exit.
-// The 0x80 bit is whether there was a core dump.
-// An extra number (exit code, signal causing a stop)
-// is in the high bits.
-
-type WaitStatus uint32
-
-const (
-       mask  = 0x7F
-       core  = 0x80
-       shift = 8
-
-       exited  = 0
-       stopped = 0x7F
-)
-
-func (w WaitStatus) Exited() bool { return w&mask == exited }
-
-func (w WaitStatus) ExitStatus() int {
-       if w&mask != exited {
-               return -1
-       }
-       return int(w >> shift)
-}
-
-func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
-
-func (w WaitStatus) Signal() syscall.Signal {
-       sig := syscall.Signal(w & mask)
-       if sig == stopped || sig == 0 {
-               return -1
-       }
-       return sig
-}
-
-func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
-func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
-
-func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
-
-func (w WaitStatus) StopSignal() syscall.Signal {
-       if !w.Stopped() {
-               return -1
-       }
-       return syscall.Signal(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) TrapCause() int { return -1 }
-
-//sys  wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
-
-func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
-       var status _C_int
-       wpid, err = wait4(pid, &status, options, rusage)
-       if wstatus != nil {
-               *wstatus = WaitStatus(status)
-       }
-       return
-}
-
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  Shutdown(s int, how int) (err error)
-
-func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = SizeofSockaddrInet4
-       sa.raw.Family = AF_INET
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
-}
-
-func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = SizeofSockaddrInet6
-       sa.raw.Family = AF_INET6
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       sa.raw.Scope_id = sa.ZoneId
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
-}
-
-func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       name := sa.Name
-       n := len(name)
-       if n >= len(sa.raw.Path) || n == 0 {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = byte(3 + n) // 2 for Family, Len; 1 for NUL
-       sa.raw.Family = AF_UNIX
-       for i := 0; i < n; i++ {
-               sa.raw.Path[i] = int8(name[i])
-       }
-       return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
-}
-
-func (sa *SockaddrDatalink) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Index == 0 {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = sa.Len
-       sa.raw.Family = AF_LINK
-       sa.raw.Index = sa.Index
-       sa.raw.Type = sa.Type
-       sa.raw.Nlen = sa.Nlen
-       sa.raw.Alen = sa.Alen
-       sa.raw.Slen = sa.Slen
-       for i := 0; i < len(sa.raw.Data); i++ {
-               sa.raw.Data[i] = sa.Data[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrDatalink, nil
-}
-
-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-       switch rsa.Addr.Family {
-       case AF_LINK:
-               pp := (*RawSockaddrDatalink)(unsafe.Pointer(rsa))
-               sa := new(SockaddrDatalink)
-               sa.Len = pp.Len
-               sa.Family = pp.Family
-               sa.Index = pp.Index
-               sa.Type = pp.Type
-               sa.Nlen = pp.Nlen
-               sa.Alen = pp.Alen
-               sa.Slen = pp.Slen
-               for i := 0; i < len(sa.Data); i++ {
-                       sa.Data[i] = pp.Data[i]
-               }
-               return sa, nil
-
-       case AF_UNIX:
-               pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-               if pp.Len < 2 || pp.Len > SizeofSockaddrUnix {
-                       return nil, EINVAL
-               }
-               sa := new(SockaddrUnix)
-
-               // Some BSDs include the trailing NUL in the length, whereas
-               // others do not. Work around this by subtracting the leading
-               // family and len. The path is then scanned to see if a NUL
-               // terminator still exists within the length.
-               n := int(pp.Len) - 2 // subtract leading Family, Len
-               for i := 0; i < n; i++ {
-                       if pp.Path[i] == 0 {
-                               // found early NUL; assume Len included the NUL
-                               // or was overestimating.
-                               n = i
-                               break
-                       }
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-               sa.Name = string(bytes)
-               return sa, nil
-
-       case AF_INET:
-               pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet4)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_INET6:
-               pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet6)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               sa.ZoneId = pp.Scope_id
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-       }
-       return nil, EAFNOSUPPORT
-}
-
-func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept(fd, &rsa, &len)
-       if err != nil {
-               return
-       }
-       if runtime.GOOS == "darwin" && len == 0 {
-               // Accepted socket has no address.
-               // This is likely due to a bug in xnu kernels,
-               // where instead of ECONNABORTED error socket
-               // is accepted, but has no address.
-               Close(nfd)
-               return 0, nil, ECONNABORTED
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getsockname(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getsockname(fd, &rsa, &len); err != nil {
-               return
-       }
-       // TODO(jsing): DragonFly has a "bug" (see issue 3349), which should be
-       // reported upstream.
-       if runtime.GOOS == "dragonfly" && rsa.Addr.Family == AF_UNSPEC && rsa.Addr.Len == 0 {
-               rsa.Addr.Family = AF_UNIX
-               rsa.Addr.Len = SizeofSockaddrUnix
-       }
-       return anyToSockaddr(&rsa)
-}
-
-//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-
-func GetsockoptByte(fd, level, opt int) (value byte, err error) {
-       var n byte
-       vallen := _Socklen(1)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-       return n, err
-}
-
-func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-       vallen := _Socklen(4)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-       return value, err
-}
-
-func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-       var value IPMreq
-       vallen := _Socklen(SizeofIPMreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-       var value IPv6Mreq
-       vallen := _Socklen(SizeofIPv6Mreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-       var value IPv6MTUInfo
-       vallen := _Socklen(SizeofIPv6MTUInfo)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-       var value ICMPv6Filter
-       vallen := _Socklen(SizeofICMPv6Filter)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-//sys   recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys   sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
-       var msg Msghdr
-       var rsa RawSockaddrAny
-       msg.Name = (*byte)(unsafe.Pointer(&rsa))
-       msg.Namelen = uint32(SizeofSockaddrAny)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // receive at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = recvmsg(fd, &msg, flags); err != nil {
-               return
-       }
-       oobn = int(msg.Controllen)
-       recvflags = int(msg.Flags)
-       // source address is only specified if the socket is unconnected
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
-       _, err = SendmsgN(fd, p, oob, to, flags)
-       return
-}
-
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
-       var ptr unsafe.Pointer
-       var salen _Socklen
-       if to != nil {
-               ptr, salen, err = to.sockaddr()
-               if err != nil {
-                       return 0, err
-               }
-       }
-       var msg Msghdr
-       msg.Name = (*byte)(unsafe.Pointer(ptr))
-       msg.Namelen = uint32(salen)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // send at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = sendmsg(fd, &msg, flags); err != nil {
-               return 0, err
-       }
-       if len(oob) > 0 && len(p) == 0 {
-               n = 0
-       }
-       return n, nil
-}
-
-//sys  kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error)
-
-func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
-       var change, event unsafe.Pointer
-       if len(changes) > 0 {
-               change = unsafe.Pointer(&changes[0])
-       }
-       if len(events) > 0 {
-               event = unsafe.Pointer(&events[0])
-       }
-       return kevent(kq, change, len(changes), event, len(events), timeout)
-}
-
-//sys  sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
-
-// sysctlmib translates name to mib number and appends any additional args.
-func sysctlmib(name string, args ...int) ([]_C_int, error) {
-       // Translate name to mib number.
-       mib, err := nametomib(name)
-       if err != nil {
-               return nil, err
-       }
-
-       for _, a := range args {
-               mib = append(mib, _C_int(a))
-       }
-
-       return mib, nil
-}
-
-func Sysctl(name string) (string, error) {
-       return SysctlArgs(name)
-}
-
-func SysctlArgs(name string, args ...int) (string, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return "", err
-       }
-
-       // Find size.
-       n := uintptr(0)
-       if err := sysctl(mib, nil, &n, nil, 0); err != nil {
-               return "", err
-       }
-       if n == 0 {
-               return "", nil
-       }
-
-       // Read into buffer of that size.
-       buf := make([]byte, n)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return "", err
-       }
-
-       // Throw away terminating NUL.
-       if n > 0 && buf[n-1] == '\x00' {
-               n--
-       }
-       return string(buf[0:n]), nil
-}
-
-func SysctlUint32(name string) (uint32, error) {
-       return SysctlUint32Args(name)
-}
-
-func SysctlUint32Args(name string, args ...int) (uint32, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return 0, err
-       }
-
-       n := uintptr(4)
-       buf := make([]byte, 4)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return 0, err
-       }
-       if n != 4 {
-               return 0, EIO
-       }
-       return *(*uint32)(unsafe.Pointer(&buf[0])), nil
-}
-
-func SysctlUint64(name string, args ...int) (uint64, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return 0, err
-       }
-
-       n := uintptr(8)
-       buf := make([]byte, 8)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return 0, err
-       }
-       if n != 8 {
-               return 0, EIO
-       }
-       return *(*uint64)(unsafe.Pointer(&buf[0])), nil
-}
-
-func SysctlRaw(name string, args ...int) ([]byte, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return nil, err
-       }
-
-       // Find size.
-       n := uintptr(0)
-       if err := sysctl(mib, nil, &n, nil, 0); err != nil {
-               return nil, err
-       }
-       if n == 0 {
-               return nil, nil
-       }
-
-       // Read into buffer of that size.
-       buf := make([]byte, n)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return nil, err
-       }
-
-       // The actual call may return less than the original reported required
-       // size so ensure we deal with that.
-       return buf[:n], nil
-}
-
-//sys  utimes(path string, timeval *[2]Timeval) (err error)
-
-func Utimes(path string, tv []Timeval) error {
-       if tv == nil {
-               return utimes(path, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func UtimesNano(path string, ts []Timespec) error {
-       if ts == nil {
-               return utimes(path, nil)
-       }
-       // TODO: The BSDs can do utimensat with SYS_UTIMENSAT but it
-       // isn't supported by darwin so this uses utimes instead
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       // Not as efficient as it could be because Timespec and
-       // Timeval have different types in the different OSes
-       tv := [2]Timeval{
-               NsecToTimeval(TimespecToNsec(ts[0])),
-               NsecToTimeval(TimespecToNsec(ts[1])),
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  futimes(fd int, timeval *[2]Timeval) (err error)
-
-func Futimes(fd int, tv []Timeval) error {
-       if tv == nil {
-               return futimes(fd, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  fcntl(fd int, cmd int, arg int) (val int, err error)
-
-// TODO: wrap
-//     Acct(name nil-string) (err error)
-//     Gethostuuid(uuid *byte, timeout *Timespec) (err error)
-//     Madvise(addr *byte, len int, behav int) (err error)
-//     Mprotect(addr *byte, len int, prot int) (err error)
-//     Msync(addr *byte, len int, flags int) (err error)
-//     Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
-
-var mapper = &mmapper{
-       active: make(map[*byte][]byte),
-       mmap:   mmap,
-       munmap: munmap,
-}
-
-func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       return mapper.Mmap(fd, offset, length, prot, flags)
-}
-
-func Munmap(b []byte) (err error) {
-       return mapper.Munmap(b)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go
deleted file mode 100644 (file)
index 0d1771c..0000000
+++ /dev/null
@@ -1,509 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Darwin system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import (
-       errorspkg "errors"
-       "syscall"
-       "unsafe"
-)
-
-const ImplementsGetwd = true
-
-func Getwd() (string, error) {
-       buf := make([]byte, 2048)
-       attrs, err := getAttrList(".", attrList{CommonAttr: attrCmnFullpath}, buf, 0)
-       if err == nil && len(attrs) == 1 && len(attrs[0]) >= 2 {
-               wd := string(attrs[0])
-               // Sanity check that it's an absolute path and ends
-               // in a null byte, which we then strip.
-               if wd[0] == '/' && wd[len(wd)-1] == 0 {
-                       return wd[:len(wd)-1], nil
-               }
-       }
-       // If pkg/os/getwd.go gets ENOTSUP, it will fall back to the
-       // slow algorithm.
-       return "", ENOTSUP
-}
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       raw    RawSockaddrDatalink
-}
-
-// Translate "kern.hostname" to []_C_int{0,1,2,3}.
-func nametomib(name string) (mib []_C_int, err error) {
-       const siz = unsafe.Sizeof(mib[0])
-
-       // NOTE(rsc): It seems strange to set the buffer to have
-       // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-       // as the size.  I don't know why the +2 is here, but the
-       // kernel uses +2 for its own implementation of this function.
-       // I am scared that if we don't include the +2 here, the kernel
-       // will silently write 2 words farther than we specify
-       // and we'll get memory corruption.
-       var buf [CTL_MAXNAME + 2]_C_int
-       n := uintptr(CTL_MAXNAME) * siz
-
-       p := (*byte)(unsafe.Pointer(&buf[0]))
-       bytes, err := ByteSliceFromString(name)
-       if err != nil {
-               return nil, err
-       }
-
-       // Magic sysctl: "setting" 0.3 to a string name
-       // lets you read back the array of integers form.
-       if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
-               return nil, err
-       }
-       return buf[0 : n/siz], nil
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names.  It returns the number
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               if dirent.Reclen == 0 {
-                       buf = nil
-                       break
-               }
-               buf = buf[dirent.Reclen:]
-               if dirent.Ino == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:dirent.Namlen])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-//sys   ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
-func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
-func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
-
-const (
-       attrBitMapCount = 5
-       attrCmnFullpath = 0x08000000
-)
-
-type attrList struct {
-       bitmapCount uint16
-       _           uint16
-       CommonAttr  uint32
-       VolAttr     uint32
-       DirAttr     uint32
-       FileAttr    uint32
-       Forkattr    uint32
-}
-
-func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
-       if len(attrBuf) < 4 {
-               return nil, errorspkg.New("attrBuf too small")
-       }
-       attrList.bitmapCount = attrBitMapCount
-
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return nil, err
-       }
-
-       _, _, e1 := Syscall6(
-               SYS_GETATTRLIST,
-               uintptr(unsafe.Pointer(_p0)),
-               uintptr(unsafe.Pointer(&attrList)),
-               uintptr(unsafe.Pointer(&attrBuf[0])),
-               uintptr(len(attrBuf)),
-               uintptr(options),
-               0,
-       )
-       if e1 != 0 {
-               return nil, e1
-       }
-       size := *(*uint32)(unsafe.Pointer(&attrBuf[0]))
-
-       // dat is the section of attrBuf that contains valid data,
-       // without the 4 byte length header. All attribute offsets
-       // are relative to dat.
-       dat := attrBuf
-       if int(size) < len(attrBuf) {
-               dat = dat[:size]
-       }
-       dat = dat[4:] // remove length prefix
-
-       for i := uint32(0); int(i) < len(dat); {
-               header := dat[i:]
-               if len(header) < 8 {
-                       return attrs, errorspkg.New("truncated attribute header")
-               }
-               datOff := *(*int32)(unsafe.Pointer(&header[0]))
-               attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
-               if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
-                       return attrs, errorspkg.New("truncated results; attrBuf too small")
-               }
-               end := uint32(datOff) + attrLen
-               attrs = append(attrs, dat[datOff:end])
-               i = end
-               if r := i % 4; r != 0 {
-                       i += (4 - r)
-               }
-       }
-       return
-}
-
-//sysnb pipe() (r int, w int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-/*
- * Wrapped
- */
-
-//sys  kill(pid int, signum int, posix int) (err error)
-
-func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(signum), 1) }
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exchangedata(path1 string, path2 string, options int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
-//sys  Getdtablesize() (size int)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Getuid() (uid int)
-//sysnb        Issetugid() (tainted bool)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sys  Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sys  Setprivexec(flag int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-//sys  Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Undelete(path string) (err error)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys   munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- */
-// Profil
-// Sigaction
-// Sigprocmask
-// Getlogin
-// Sigpending
-// Sigaltstack
-// Ioctl
-// Reboot
-// Execve
-// Vfork
-// Sbrk
-// Sstk
-// Ovadvise
-// Mincore
-// Setitimer
-// Swapon
-// Select
-// Sigsuspend
-// Readv
-// Writev
-// Nfssvc
-// Getfh
-// Quotactl
-// Mount
-// Csops
-// Waitid
-// Add_profil
-// Kdebug_trace
-// Sigreturn
-// Mmap
-// Mlock
-// Munlock
-// Atsocket
-// Kqueue_from_portset_np
-// Kqueue_portset
-// Getattrlist
-// Setattrlist
-// Getdirentriesattr
-// Searchfs
-// Delete
-// Copyfile
-// Poll
-// Watchevent
-// Waitevent
-// Modwatch
-// Getxattr
-// Fgetxattr
-// Setxattr
-// Fsetxattr
-// Removexattr
-// Fremovexattr
-// Listxattr
-// Flistxattr
-// Fsctl
-// Initgroups
-// Posix_spawn
-// Nfsclnt
-// Fhopen
-// Minherit
-// Semsys
-// Msgsys
-// Shmsys
-// Semctl
-// Semget
-// Semop
-// Msgctl
-// Msgget
-// Msgsnd
-// Msgrcv
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Shm_open
-// Shm_unlink
-// Sem_open
-// Sem_close
-// Sem_unlink
-// Sem_wait
-// Sem_trywait
-// Sem_post
-// Sem_getvalue
-// Sem_init
-// Sem_destroy
-// Open_extended
-// Umask_extended
-// Stat_extended
-// Lstat_extended
-// Fstat_extended
-// Chmod_extended
-// Fchmod_extended
-// Access_extended
-// Settid
-// Gettid
-// Setsgroups
-// Getsgroups
-// Setwgroups
-// Getwgroups
-// Mkfifo_extended
-// Mkdir_extended
-// Identitysvc
-// Shared_region_check_np
-// Shared_region_map_np
-// __pthread_mutex_destroy
-// __pthread_mutex_init
-// __pthread_mutex_lock
-// __pthread_mutex_trylock
-// __pthread_mutex_unlock
-// __pthread_cond_init
-// __pthread_cond_destroy
-// __pthread_cond_broadcast
-// __pthread_cond_signal
-// Setsid_with_pid
-// __pthread_cond_timedwait
-// Aio_fsync
-// Aio_return
-// Aio_suspend
-// Aio_cancel
-// Aio_error
-// Aio_read
-// Aio_write
-// Lio_listio
-// __pthread_cond_wait
-// Iopolicysys
-// Mlockall
-// Munlockall
-// __pthread_kill
-// __pthread_sigmask
-// __sigwait
-// __disable_threadsignal
-// __pthread_markcancel
-// __pthread_canceled
-// __semwait_signal
-// Proc_info
-// sendfile
-// Stat64_extended
-// Lstat64_extended
-// Fstat64_extended
-// __pthread_chdir
-// __pthread_fchdir
-// Audit
-// Auditon
-// Getauid
-// Setauid
-// Getaudit
-// Setaudit
-// Getaudit_addr
-// Setaudit_addr
-// Auditctl
-// Bsdthread_create
-// Bsdthread_terminate
-// Stack_snapshot
-// Bsdthread_register
-// Workq_open
-// Workq_ops
-// __mac_execve
-// __mac_syscall
-// __mac_get_file
-// __mac_set_file
-// __mac_get_link
-// __mac_set_link
-// __mac_get_proc
-// __mac_set_proc
-// __mac_get_fd
-// __mac_set_fd
-// __mac_get_pid
-// __mac_get_lcid
-// __mac_get_lctx
-// __mac_set_lctx
-// Setlcid
-// Read_nocancel
-// Write_nocancel
-// Open_nocancel
-// Close_nocancel
-// Wait4_nocancel
-// Recvmsg_nocancel
-// Sendmsg_nocancel
-// Recvfrom_nocancel
-// Accept_nocancel
-// Msync_nocancel
-// Fcntl_nocancel
-// Select_nocancel
-// Fsync_nocancel
-// Connect_nocancel
-// Sigsuspend_nocancel
-// Readv_nocancel
-// Writev_nocancel
-// Sendto_nocancel
-// Pread_nocancel
-// Pwrite_nocancel
-// Waitid_nocancel
-// Poll_nocancel
-// Msgsnd_nocancel
-// Msgrcv_nocancel
-// Sem_wait_nocancel
-// Aio_suspend_nocancel
-// __sigwait_nocancel
-// __semwait_signal_nocancel
-// __mac_mount
-// __mac_get_mount
-// __mac_getfsstat
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_386.go b/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
deleted file mode 100644 (file)
index c172a3d..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int32(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = int32(sec)
-       tv.Usec = int32(usec)
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-// of darwin/386 the syscall is called sysctl instead of __sysctl.
-const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
deleted file mode 100644 (file)
index fc1e5a4..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-//sys  Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = sec
-       tv.Usec = usec
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-// of darwin/amd64 the syscall is called sysctl instead of __sysctl.
-const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
deleted file mode 100644 (file)
index d286cf4..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int32(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = int32(sec)
-       tv.Usec = int32(usec)
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
deleted file mode 100644 (file)
index c33905c..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm64,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 16384 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = sec
-       tv.Usec = usec
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
-
-// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-// of darwin/arm64 the syscall is called sysctl instead of __sysctl.
-const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
deleted file mode 100644 (file)
index fbbe0dc..0000000
+++ /dev/null
@@ -1,411 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// FreeBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import "unsafe"
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       Rcf    uint16
-       Route  [16]uint16
-       raw    RawSockaddrDatalink
-}
-
-// Translate "kern.hostname" to []_C_int{0,1,2,3}.
-func nametomib(name string) (mib []_C_int, err error) {
-       const siz = unsafe.Sizeof(mib[0])
-
-       // NOTE(rsc): It seems strange to set the buffer to have
-       // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-       // as the size.  I don't know why the +2 is here, but the
-       // kernel uses +2 for its own implementation of this function.
-       // I am scared that if we don't include the +2 here, the kernel
-       // will silently write 2 words farther than we specify
-       // and we'll get memory corruption.
-       var buf [CTL_MAXNAME + 2]_C_int
-       n := uintptr(CTL_MAXNAME) * siz
-
-       p := (*byte)(unsafe.Pointer(&buf[0]))
-       bytes, err := ByteSliceFromString(name)
-       if err != nil {
-               return nil, err
-       }
-
-       // Magic sysctl: "setting" 0.3 to a string name
-       // lets you read back the array of integers form.
-       if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
-               return nil, err
-       }
-       return buf[0 : n/siz], nil
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names.  It returns the number
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               reclen := int(16+dirent.Namlen+1+7) & ^7
-               buf = buf[reclen:]
-               if dirent.Fileno == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:dirent.Namlen])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-//sysnb pipe() (r int, w int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-//sys  extpread(fd int, p []byte, flags int, offset int64) (n int, err error)
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       return extpread(fd, p, 0, offset)
-}
-
-//sys  extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error)
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       return extpwrite(fd, p, 0, offset)
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
-//sys  Getdtablesize() (size int)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, stat *Statfs_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Undelete(path string) (err error)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys   munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- * TODO(jsing): Update this list for DragonFly.
- */
-// Profil
-// Sigaction
-// Sigprocmask
-// Getlogin
-// Sigpending
-// Sigaltstack
-// Ioctl
-// Reboot
-// Execve
-// Vfork
-// Sbrk
-// Sstk
-// Ovadvise
-// Mincore
-// Setitimer
-// Swapon
-// Select
-// Sigsuspend
-// Readv
-// Writev
-// Nfssvc
-// Getfh
-// Quotactl
-// Mount
-// Csops
-// Waitid
-// Add_profil
-// Kdebug_trace
-// Sigreturn
-// Mmap
-// Atsocket
-// Kqueue_from_portset_np
-// Kqueue_portset
-// Getattrlist
-// Setattrlist
-// Getdirentriesattr
-// Searchfs
-// Delete
-// Copyfile
-// Poll
-// Watchevent
-// Waitevent
-// Modwatch
-// Getxattr
-// Fgetxattr
-// Setxattr
-// Fsetxattr
-// Removexattr
-// Fremovexattr
-// Listxattr
-// Flistxattr
-// Fsctl
-// Initgroups
-// Posix_spawn
-// Nfsclnt
-// Fhopen
-// Minherit
-// Semsys
-// Msgsys
-// Shmsys
-// Semctl
-// Semget
-// Semop
-// Msgctl
-// Msgget
-// Msgsnd
-// Msgrcv
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Shm_open
-// Shm_unlink
-// Sem_open
-// Sem_close
-// Sem_unlink
-// Sem_wait
-// Sem_trywait
-// Sem_post
-// Sem_getvalue
-// Sem_init
-// Sem_destroy
-// Open_extended
-// Umask_extended
-// Stat_extended
-// Lstat_extended
-// Fstat_extended
-// Chmod_extended
-// Fchmod_extended
-// Access_extended
-// Settid
-// Gettid
-// Setsgroups
-// Getsgroups
-// Setwgroups
-// Getwgroups
-// Mkfifo_extended
-// Mkdir_extended
-// Identitysvc
-// Shared_region_check_np
-// Shared_region_map_np
-// __pthread_mutex_destroy
-// __pthread_mutex_init
-// __pthread_mutex_lock
-// __pthread_mutex_trylock
-// __pthread_mutex_unlock
-// __pthread_cond_init
-// __pthread_cond_destroy
-// __pthread_cond_broadcast
-// __pthread_cond_signal
-// Setsid_with_pid
-// __pthread_cond_timedwait
-// Aio_fsync
-// Aio_return
-// Aio_suspend
-// Aio_cancel
-// Aio_error
-// Aio_read
-// Aio_write
-// Lio_listio
-// __pthread_cond_wait
-// Iopolicysys
-// __pthread_kill
-// __pthread_sigmask
-// __sigwait
-// __disable_threadsignal
-// __pthread_markcancel
-// __pthread_canceled
-// __semwait_signal
-// Proc_info
-// Stat64_extended
-// Lstat64_extended
-// Fstat64_extended
-// __pthread_chdir
-// __pthread_fchdir
-// Audit
-// Auditon
-// Getauid
-// Setauid
-// Getaudit
-// Setaudit
-// Getaudit_addr
-// Setaudit_addr
-// Auditctl
-// Bsdthread_create
-// Bsdthread_terminate
-// Stack_snapshot
-// Bsdthread_register
-// Workq_open
-// Workq_ops
-// __mac_execve
-// __mac_syscall
-// __mac_get_file
-// __mac_set_file
-// __mac_get_link
-// __mac_set_link
-// __mac_get_proc
-// __mac_set_proc
-// __mac_get_fd
-// __mac_set_fd
-// __mac_get_pid
-// __mac_get_lcid
-// __mac_get_lctx
-// __mac_set_lctx
-// Setlcid
-// Read_nocancel
-// Write_nocancel
-// Open_nocancel
-// Close_nocancel
-// Wait4_nocancel
-// Recvmsg_nocancel
-// Sendmsg_nocancel
-// Recvfrom_nocancel
-// Accept_nocancel
-// Msync_nocancel
-// Fcntl_nocancel
-// Select_nocancel
-// Fsync_nocancel
-// Connect_nocancel
-// Sigsuspend_nocancel
-// Readv_nocancel
-// Writev_nocancel
-// Sendto_nocancel
-// Pread_nocancel
-// Pwrite_nocancel
-// Waitid_nocancel
-// Poll_nocancel
-// Msgsnd_nocancel
-// Msgrcv_nocancel
-// Sem_wait_nocancel
-// Aio_suspend_nocancel
-// __sigwait_nocancel
-// __semwait_signal_nocancel
-// __mac_mount
-// __mac_get_mount
-// __mac_getfsstat
diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
deleted file mode 100644 (file)
index da7cb79..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,dragonfly
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
deleted file mode 100644 (file)
index ec56ed6..0000000
+++ /dev/null
@@ -1,682 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// FreeBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import "unsafe"
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-       raw    RawSockaddrDatalink
-}
-
-// Translate "kern.hostname" to []_C_int{0,1,2,3}.
-func nametomib(name string) (mib []_C_int, err error) {
-       const siz = unsafe.Sizeof(mib[0])
-
-       // NOTE(rsc): It seems strange to set the buffer to have
-       // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-       // as the size.  I don't know why the +2 is here, but the
-       // kernel uses +2 for its own implementation of this function.
-       // I am scared that if we don't include the +2 here, the kernel
-       // will silently write 2 words farther than we specify
-       // and we'll get memory corruption.
-       var buf [CTL_MAXNAME + 2]_C_int
-       n := uintptr(CTL_MAXNAME) * siz
-
-       p := (*byte)(unsafe.Pointer(&buf[0]))
-       bytes, err := ByteSliceFromString(name)
-       if err != nil {
-               return nil, err
-       }
-
-       // Magic sysctl: "setting" 0.3 to a string name
-       // lets you read back the array of integers form.
-       if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
-               return nil, err
-       }
-       return buf[0 : n/siz], nil
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names.  It returns the number
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               if dirent.Reclen == 0 {
-                       buf = nil
-                       break
-               }
-               buf = buf[dirent.Reclen:]
-               if dirent.Fileno == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:dirent.Namlen])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-//sysnb pipe() (r int, w int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
-       var value IPMreqn
-       vallen := _Socklen(SizeofIPMreqn)
-       errno := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, errno
-}
-
-func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
-}
-
-func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept4(fd, &rsa, &len, flags)
-       if err != nil {
-               return
-       }
-       if len > SizeofSockaddrAny {
-               panic("RawSockaddrAny too small")
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-// Derive extattr namespace and attribute name
-
-func xattrnamespace(fullattr string) (ns int, attr string, err error) {
-       s := -1
-       for idx, val := range fullattr {
-               if val == '.' {
-                       s = idx
-                       break
-               }
-       }
-
-       if s == -1 {
-               return -1, "", ENOATTR
-       }
-
-       namespace := fullattr[0:s]
-       attr = fullattr[s+1:]
-
-       switch namespace {
-       case "user":
-               return EXTATTR_NAMESPACE_USER, attr, nil
-       case "system":
-               return EXTATTR_NAMESPACE_SYSTEM, attr, nil
-       default:
-               return -1, "", ENOATTR
-       }
-}
-
-func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
-       if len(dest) > idx {
-               return unsafe.Pointer(&dest[idx])
-       } else {
-               return unsafe.Pointer(_zero)
-       }
-}
-
-// FreeBSD implements its own syscalls to handle extended attributes
-
-func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsize := len(dest)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return -1, err
-       }
-
-       return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
-}
-
-func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsize := len(dest)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return -1, err
-       }
-
-       return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
-}
-
-func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsize := len(dest)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return -1, err
-       }
-
-       return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
-}
-
-// flags are unused on FreeBSD
-
-func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
-       d := unsafe.Pointer(&data[0])
-       datasiz := len(data)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
-       return
-}
-
-func Setxattr(file string, attr string, data []byte, flags int) (err error) {
-       d := unsafe.Pointer(&data[0])
-       datasiz := len(data)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
-       return
-}
-
-func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
-       d := unsafe.Pointer(&data[0])
-       datasiz := len(data)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
-       return
-}
-
-func Removexattr(file string, attr string) (err error) {
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       err = ExtattrDeleteFile(file, nsid, a)
-       return
-}
-
-func Fremovexattr(fd int, attr string) (err error) {
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       err = ExtattrDeleteFd(fd, nsid, a)
-       return
-}
-
-func Lremovexattr(link string, attr string) (err error) {
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       err = ExtattrDeleteLink(link, nsid, a)
-       return
-}
-
-func Listxattr(file string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsiz := len(dest)
-
-       // FreeBSD won't allow you to list xattrs from multiple namespaces
-       s := 0
-       var e error
-       for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-               stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
-
-               /* Errors accessing system attrs are ignored so that
-                * we can implement the Linux-like behavior of omitting errors that
-                * we don't have read permissions on
-                *
-                * Linux will still error if we ask for user attributes on a file that
-                * we don't have read permissions on, so don't ignore those errors
-                */
-               if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-                       e = nil
-                       continue
-               } else if e != nil {
-                       return s, e
-               }
-
-               s += stmp
-               destsiz -= s
-               if destsiz < 0 {
-                       destsiz = 0
-               }
-               d = initxattrdest(dest, s)
-       }
-
-       return s, e
-}
-
-func Flistxattr(fd int, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsiz := len(dest)
-
-       s := 0
-       var e error
-       for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-               stmp, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz)
-               if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-                       e = nil
-                       continue
-               } else if e != nil {
-                       return s, e
-               }
-
-               s += stmp
-               destsiz -= s
-               if destsiz < 0 {
-                       destsiz = 0
-               }
-               d = initxattrdest(dest, s)
-       }
-
-       return s, e
-}
-
-func Llistxattr(link string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsiz := len(dest)
-
-       s := 0
-       var e error
-       for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-               stmp, e := ExtattrListLink(link, nsid, uintptr(d), destsiz)
-               if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-                       e = nil
-                       continue
-               } else if e != nil {
-                       return s, e
-               }
-
-               s += stmp
-               destsiz -= s
-               if destsiz < 0 {
-                       destsiz = 0
-               }
-               d = initxattrdest(dest, s)
-       }
-
-       return s, e
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error)
-//sys  ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error)
-//sys  ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error)
-//sys  ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
-//sys  Getdtablesize() (size int)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, stat *Statfs_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Undelete(path string) (err error)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys   munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-//sys  accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
-
-/*
- * Unimplemented
- */
-// Profil
-// Sigaction
-// Sigprocmask
-// Getlogin
-// Sigpending
-// Sigaltstack
-// Ioctl
-// Reboot
-// Execve
-// Vfork
-// Sbrk
-// Sstk
-// Ovadvise
-// Mincore
-// Setitimer
-// Swapon
-// Select
-// Sigsuspend
-// Readv
-// Writev
-// Nfssvc
-// Getfh
-// Quotactl
-// Mount
-// Csops
-// Waitid
-// Add_profil
-// Kdebug_trace
-// Sigreturn
-// Mmap
-// Mlock
-// Munlock
-// Atsocket
-// Kqueue_from_portset_np
-// Kqueue_portset
-// Getattrlist
-// Setattrlist
-// Getdirentriesattr
-// Searchfs
-// Delete
-// Copyfile
-// Poll
-// Watchevent
-// Waitevent
-// Modwatch
-// Getxattr
-// Fgetxattr
-// Setxattr
-// Fsetxattr
-// Removexattr
-// Fremovexattr
-// Listxattr
-// Flistxattr
-// Fsctl
-// Initgroups
-// Posix_spawn
-// Nfsclnt
-// Fhopen
-// Minherit
-// Semsys
-// Msgsys
-// Shmsys
-// Semctl
-// Semget
-// Semop
-// Msgctl
-// Msgget
-// Msgsnd
-// Msgrcv
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Shm_open
-// Shm_unlink
-// Sem_open
-// Sem_close
-// Sem_unlink
-// Sem_wait
-// Sem_trywait
-// Sem_post
-// Sem_getvalue
-// Sem_init
-// Sem_destroy
-// Open_extended
-// Umask_extended
-// Stat_extended
-// Lstat_extended
-// Fstat_extended
-// Chmod_extended
-// Fchmod_extended
-// Access_extended
-// Settid
-// Gettid
-// Setsgroups
-// Getsgroups
-// Setwgroups
-// Getwgroups
-// Mkfifo_extended
-// Mkdir_extended
-// Identitysvc
-// Shared_region_check_np
-// Shared_region_map_np
-// __pthread_mutex_destroy
-// __pthread_mutex_init
-// __pthread_mutex_lock
-// __pthread_mutex_trylock
-// __pthread_mutex_unlock
-// __pthread_cond_init
-// __pthread_cond_destroy
-// __pthread_cond_broadcast
-// __pthread_cond_signal
-// Setsid_with_pid
-// __pthread_cond_timedwait
-// Aio_fsync
-// Aio_return
-// Aio_suspend
-// Aio_cancel
-// Aio_error
-// Aio_read
-// Aio_write
-// Lio_listio
-// __pthread_cond_wait
-// Iopolicysys
-// Mlockall
-// Munlockall
-// __pthread_kill
-// __pthread_sigmask
-// __sigwait
-// __disable_threadsignal
-// __pthread_markcancel
-// __pthread_canceled
-// __semwait_signal
-// Proc_info
-// Stat64_extended
-// Lstat64_extended
-// Fstat64_extended
-// __pthread_chdir
-// __pthread_fchdir
-// Audit
-// Auditon
-// Getauid
-// Setauid
-// Getaudit
-// Setaudit
-// Getaudit_addr
-// Setaudit_addr
-// Auditctl
-// Bsdthread_create
-// Bsdthread_terminate
-// Stack_snapshot
-// Bsdthread_register
-// Workq_open
-// Workq_ops
-// __mac_execve
-// __mac_syscall
-// __mac_get_file
-// __mac_set_file
-// __mac_get_link
-// __mac_set_link
-// __mac_get_proc
-// __mac_set_proc
-// __mac_get_fd
-// __mac_set_fd
-// __mac_get_pid
-// __mac_get_lcid
-// __mac_get_lctx
-// __mac_set_lctx
-// Setlcid
-// Read_nocancel
-// Write_nocancel
-// Open_nocancel
-// Close_nocancel
-// Wait4_nocancel
-// Recvmsg_nocancel
-// Sendmsg_nocancel
-// Recvfrom_nocancel
-// Accept_nocancel
-// Msync_nocancel
-// Fcntl_nocancel
-// Select_nocancel
-// Fsync_nocancel
-// Connect_nocancel
-// Sigsuspend_nocancel
-// Readv_nocancel
-// Writev_nocancel
-// Sendto_nocancel
-// Pread_nocancel
-// Pwrite_nocancel
-// Waitid_nocancel
-// Poll_nocancel
-// Msgsnd_nocancel
-// Msgrcv_nocancel
-// Sem_wait_nocancel
-// Aio_suspend_nocancel
-// __sigwait_nocancel
-// __semwait_signal_nocancel
-// __mac_mount
-// __mac_get_mount
-// __mac_getfsstat
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
deleted file mode 100644 (file)
index 6a0cd80..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int32(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
deleted file mode 100644 (file)
index e142540..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
deleted file mode 100644 (file)
index 5504cb1..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = nsec / 1e9
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go
deleted file mode 100644 (file)
index 9ca104c..0000000
+++ /dev/null
@@ -1,1108 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Linux system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and
-// wrap it in our own nicer implementation.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-/*
- * Wrapped
- */
-
-func Access(path string, mode uint32) (err error) {
-       return Faccessat(AT_FDCWD, path, mode, 0)
-}
-
-func Chmod(path string, mode uint32) (err error) {
-       return Fchmodat(AT_FDCWD, path, mode, 0)
-}
-
-func Chown(path string, uid int, gid int) (err error) {
-       return Fchownat(AT_FDCWD, path, uid, gid, 0)
-}
-
-func Creat(path string, mode uint32) (fd int, err error) {
-       return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode)
-}
-
-//sys  Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error)
-
-func Link(oldpath string, newpath string) (err error) {
-       return Linkat(AT_FDCWD, oldpath, AT_FDCWD, newpath, 0)
-}
-
-func Mkdir(path string, mode uint32) (err error) {
-       return Mkdirat(AT_FDCWD, path, mode)
-}
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       return Mknodat(AT_FDCWD, path, mode, dev)
-}
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       return openat(AT_FDCWD, path, mode|O_LARGEFILE, perm)
-}
-
-//sys  openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
-
-func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       return openat(dirfd, path, flags|O_LARGEFILE, mode)
-}
-
-//sys  readlinkat(dirfd int, path string, buf []byte) (n int, err error)
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       return readlinkat(AT_FDCWD, path, buf)
-}
-
-func Rename(oldpath string, newpath string) (err error) {
-       return Renameat(AT_FDCWD, oldpath, AT_FDCWD, newpath)
-}
-
-func Rmdir(path string) error {
-       return unlinkat(AT_FDCWD, path, AT_REMOVEDIR)
-}
-
-//sys  symlinkat(oldpath string, newdirfd int, newpath string) (err error)
-
-func Symlink(oldpath string, newpath string) (err error) {
-       return symlinkat(oldpath, AT_FDCWD, newpath)
-}
-
-func Unlink(path string) error {
-       return unlinkat(AT_FDCWD, path, 0)
-}
-
-//sys  unlinkat(dirfd int, path string, flags int) (err error)
-
-func Unlinkat(dirfd int, path string, flags int) error {
-       return unlinkat(dirfd, path, flags)
-}
-
-//sys  utimes(path string, times *[2]Timeval) (err error)
-
-func Utimes(path string, tv []Timeval) error {
-       if tv == nil {
-               err := utimensat(AT_FDCWD, path, nil, 0)
-               if err != ENOSYS {
-                       return err
-               }
-               return utimes(path, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       var ts [2]Timespec
-       ts[0] = NsecToTimespec(TimevalToNsec(tv[0]))
-       ts[1] = NsecToTimespec(TimevalToNsec(tv[1]))
-       err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-       if err != ENOSYS {
-               return err
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
-
-func UtimesNano(path string, ts []Timespec) error {
-       if ts == nil {
-               err := utimensat(AT_FDCWD, path, nil, 0)
-               if err != ENOSYS {
-                       return err
-               }
-               return utimes(path, nil)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-       if err != ENOSYS {
-               return err
-       }
-       // If the utimensat syscall isn't available (utimensat was added to Linux
-       // in 2.6.22, Released, 8 July 2007) then fall back to utimes
-       var tv [2]Timeval
-       for i := 0; i < 2; i++ {
-               tv[i].Sec = ts[i].Sec
-               tv[i].Usec = ts[i].Nsec / 1000
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
-       if ts == nil {
-               return utimensat(dirfd, path, nil, flags)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
-}
-
-//sys  futimesat(dirfd int, path *byte, times *[2]Timeval) (err error)
-
-func Futimesat(dirfd int, path string, tv []Timeval) error {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       if tv == nil {
-               return futimesat(dirfd, pathp, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func Futimes(fd int, tv []Timeval) (err error) {
-       // Believe it or not, this is the best we can do on Linux
-       // (and is what glibc does).
-       return Utimes("/proc/self/fd/"+itoa(fd), tv)
-}
-
-const ImplementsGetwd = true
-
-//sys  Getcwd(buf []byte) (n int, err error)
-
-func Getwd() (wd string, err error) {
-       var buf [PathMax]byte
-       n, err := Getcwd(buf[0:])
-       if err != nil {
-               return "", err
-       }
-       // Getcwd returns the number of bytes written to buf, including the NUL.
-       if n < 1 || n > len(buf) || buf[n-1] != 0 {
-               return "", EINVAL
-       }
-       return string(buf[0 : n-1]), nil
-}
-
-func Getgroups() (gids []int, err error) {
-       n, err := getgroups(0, nil)
-       if err != nil {
-               return nil, err
-       }
-       if n == 0 {
-               return nil, nil
-       }
-
-       // Sanity check group count.  Max is 1<<16 on Linux.
-       if n < 0 || n > 1<<20 {
-               return nil, EINVAL
-       }
-
-       a := make([]_Gid_t, n)
-       n, err = getgroups(n, &a[0])
-       if err != nil {
-               return nil, err
-       }
-       gids = make([]int, n)
-       for i, v := range a[0:n] {
-               gids[i] = int(v)
-       }
-       return
-}
-
-func Setgroups(gids []int) (err error) {
-       if len(gids) == 0 {
-               return setgroups(0, nil)
-       }
-
-       a := make([]_Gid_t, len(gids))
-       for i, v := range gids {
-               a[i] = _Gid_t(v)
-       }
-       return setgroups(len(a), &a[0])
-}
-
-type WaitStatus uint32
-
-// Wait status is 7 bits at bottom, either 0 (exited),
-// 0x7F (stopped), or a signal number that caused an exit.
-// The 0x80 bit is whether there was a core dump.
-// An extra number (exit code, signal causing a stop)
-// is in the high bits.  At least that's the idea.
-// There are various irregularities.  For example, the
-// "continued" status is 0xFFFF, distinguishing itself
-// from stopped via the core dump bit.
-
-const (
-       mask    = 0x7F
-       core    = 0x80
-       exited  = 0x00
-       stopped = 0x7F
-       shift   = 8
-)
-
-func (w WaitStatus) Exited() bool { return w&mask == exited }
-
-func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
-
-func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
-
-func (w WaitStatus) Continued() bool { return w == 0xFFFF }
-
-func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
-func (w WaitStatus) ExitStatus() int {
-       if !w.Exited() {
-               return -1
-       }
-       return int(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) Signal() syscall.Signal {
-       if !w.Signaled() {
-               return -1
-       }
-       return syscall.Signal(w & mask)
-}
-
-func (w WaitStatus) StopSignal() syscall.Signal {
-       if !w.Stopped() {
-               return -1
-       }
-       return syscall.Signal(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) TrapCause() int {
-       if w.StopSignal() != SIGTRAP {
-               return -1
-       }
-       return int(w>>shift) >> 8
-}
-
-//sys  wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
-
-func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
-       var status _C_int
-       wpid, err = wait4(pid, &status, options, rusage)
-       if wstatus != nil {
-               *wstatus = WaitStatus(status)
-       }
-       return
-}
-
-func Mkfifo(path string, mode uint32) (err error) {
-       return Mknod(path, mode|S_IFIFO, 0)
-}
-
-func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
-}
-
-func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET6
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       sa.raw.Scope_id = sa.ZoneId
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
-}
-
-func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       name := sa.Name
-       n := len(name)
-       if n >= len(sa.raw.Path) {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_UNIX
-       for i := 0; i < n; i++ {
-               sa.raw.Path[i] = int8(name[i])
-       }
-       // length is family (uint16), name, NUL.
-       sl := _Socklen(2)
-       if n > 0 {
-               sl += _Socklen(n) + 1
-       }
-       if sa.raw.Path[0] == '@' {
-               sa.raw.Path[0] = 0
-               // Don't count trailing NUL for abstract address.
-               sl--
-       }
-
-       return unsafe.Pointer(&sa.raw), sl, nil
-}
-
-type SockaddrLinklayer struct {
-       Protocol uint16
-       Ifindex  int
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]byte
-       raw      RawSockaddrLinklayer
-}
-
-func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Ifindex < 0 || sa.Ifindex > 0x7fffffff {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_PACKET
-       sa.raw.Protocol = sa.Protocol
-       sa.raw.Ifindex = int32(sa.Ifindex)
-       sa.raw.Hatype = sa.Hatype
-       sa.raw.Pkttype = sa.Pkttype
-       sa.raw.Halen = sa.Halen
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrLinklayer, nil
-}
-
-type SockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-       raw    RawSockaddrNetlink
-}
-
-func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       sa.raw.Family = AF_NETLINK
-       sa.raw.Pad = sa.Pad
-       sa.raw.Pid = sa.Pid
-       sa.raw.Groups = sa.Groups
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrNetlink, nil
-}
-
-type SockaddrHCI struct {
-       Dev     uint16
-       Channel uint16
-       raw     RawSockaddrHCI
-}
-
-func (sa *SockaddrHCI) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       sa.raw.Family = AF_BLUETOOTH
-       sa.raw.Dev = sa.Dev
-       sa.raw.Channel = sa.Channel
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrHCI, nil
-}
-
-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-       switch rsa.Addr.Family {
-       case AF_NETLINK:
-               pp := (*RawSockaddrNetlink)(unsafe.Pointer(rsa))
-               sa := new(SockaddrNetlink)
-               sa.Family = pp.Family
-               sa.Pad = pp.Pad
-               sa.Pid = pp.Pid
-               sa.Groups = pp.Groups
-               return sa, nil
-
-       case AF_PACKET:
-               pp := (*RawSockaddrLinklayer)(unsafe.Pointer(rsa))
-               sa := new(SockaddrLinklayer)
-               sa.Protocol = pp.Protocol
-               sa.Ifindex = int(pp.Ifindex)
-               sa.Hatype = pp.Hatype
-               sa.Pkttype = pp.Pkttype
-               sa.Halen = pp.Halen
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_UNIX:
-               pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-               sa := new(SockaddrUnix)
-               if pp.Path[0] == 0 {
-                       // "Abstract" Unix domain socket.
-                       // Rewrite leading NUL as @ for textual display.
-                       // (This is the standard convention.)
-                       // Not friendly to overwrite in place,
-                       // but the callers below don't care.
-                       pp.Path[0] = '@'
-               }
-
-               // Assume path ends at NUL.
-               // This is not technically the Linux semantics for
-               // abstract Unix domain sockets--they are supposed
-               // to be uninterpreted fixed-size binary blobs--but
-               // everyone uses this convention.
-               n := 0
-               for n < len(pp.Path) && pp.Path[n] != 0 {
-                       n++
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-               sa.Name = string(bytes)
-               return sa, nil
-
-       case AF_INET:
-               pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet4)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_INET6:
-               pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet6)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               sa.ZoneId = pp.Scope_id
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-       }
-       return nil, EAFNOSUPPORT
-}
-
-func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept(fd, &rsa, &len)
-       if err != nil {
-               return
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept4(fd, &rsa, &len, flags)
-       if err != nil {
-               return
-       }
-       if len > SizeofSockaddrAny {
-               panic("RawSockaddrAny too small")
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getsockname(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getsockname(fd, &rsa, &len); err != nil {
-               return
-       }
-       return anyToSockaddr(&rsa)
-}
-
-func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-       vallen := _Socklen(4)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-       return value, err
-}
-
-func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-       var value IPMreq
-       vallen := _Socklen(SizeofIPMreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
-       var value IPMreqn
-       vallen := _Socklen(SizeofIPMreqn)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-       var value IPv6Mreq
-       vallen := _Socklen(SizeofIPv6Mreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-       var value IPv6MTUInfo
-       vallen := _Socklen(SizeofIPv6MTUInfo)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-       var value ICMPv6Filter
-       vallen := _Socklen(SizeofICMPv6Filter)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
-       var value Ucred
-       vallen := _Socklen(SizeofUcred)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
-}
-
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
-       var msg Msghdr
-       var rsa RawSockaddrAny
-       msg.Name = (*byte)(unsafe.Pointer(&rsa))
-       msg.Namelen = uint32(SizeofSockaddrAny)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // receive at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = recvmsg(fd, &msg, flags); err != nil {
-               return
-       }
-       oobn = int(msg.Controllen)
-       recvflags = int(msg.Flags)
-       // source address is only specified if the socket is unconnected
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
-       _, err = SendmsgN(fd, p, oob, to, flags)
-       return
-}
-
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
-       var ptr unsafe.Pointer
-       var salen _Socklen
-       if to != nil {
-               var err error
-               ptr, salen, err = to.sockaddr()
-               if err != nil {
-                       return 0, err
-               }
-       }
-       var msg Msghdr
-       msg.Name = (*byte)(unsafe.Pointer(ptr))
-       msg.Namelen = uint32(salen)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // send at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = sendmsg(fd, &msg, flags); err != nil {
-               return 0, err
-       }
-       if len(oob) > 0 && len(p) == 0 {
-               n = 0
-       }
-       return n, nil
-}
-
-// BindToDevice binds the socket associated with fd to device.
-func BindToDevice(fd int, device string) (err error) {
-       return SetsockoptString(fd, SOL_SOCKET, SO_BINDTODEVICE, device)
-}
-
-//sys  ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
-
-func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err error) {
-       // The peek requests are machine-size oriented, so we wrap it
-       // to retrieve arbitrary-length data.
-
-       // The ptrace syscall differs from glibc's ptrace.
-       // Peeks returns the word in *data, not as the return value.
-
-       var buf [sizeofPtr]byte
-
-       // Leading edge.  PEEKTEXT/PEEKDATA don't require aligned
-       // access (PEEKUSER warns that it might), but if we don't
-       // align our reads, we might straddle an unmapped page
-       // boundary and not get the bytes leading up to the page
-       // boundary.
-       n := 0
-       if addr%sizeofPtr != 0 {
-               err = ptrace(req, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return 0, err
-               }
-               n += copy(out, buf[addr%sizeofPtr:])
-               out = out[n:]
-       }
-
-       // Remainder.
-       for len(out) > 0 {
-               // We use an internal buffer to guarantee alignment.
-               // It's not documented if this is necessary, but we're paranoid.
-               err = ptrace(req, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return n, err
-               }
-               copied := copy(out, buf[0:])
-               n += copied
-               out = out[copied:]
-       }
-
-       return n, nil
-}
-
-func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) {
-       return ptracePeek(PTRACE_PEEKTEXT, pid, addr, out)
-}
-
-func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
-       return ptracePeek(PTRACE_PEEKDATA, pid, addr, out)
-}
-
-func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (count int, err error) {
-       // As for ptracePeek, we need to align our accesses to deal
-       // with the possibility of straddling an invalid page.
-
-       // Leading edge.
-       n := 0
-       if addr%sizeofPtr != 0 {
-               var buf [sizeofPtr]byte
-               err = ptrace(peekReq, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return 0, err
-               }
-               n += copy(buf[addr%sizeofPtr:], data)
-               word := *((*uintptr)(unsafe.Pointer(&buf[0])))
-               err = ptrace(pokeReq, pid, addr-addr%sizeofPtr, word)
-               if err != nil {
-                       return 0, err
-               }
-               data = data[n:]
-       }
-
-       // Interior.
-       for len(data) > sizeofPtr {
-               word := *((*uintptr)(unsafe.Pointer(&data[0])))
-               err = ptrace(pokeReq, pid, addr+uintptr(n), word)
-               if err != nil {
-                       return n, err
-               }
-               n += sizeofPtr
-               data = data[sizeofPtr:]
-       }
-
-       // Trailing edge.
-       if len(data) > 0 {
-               var buf [sizeofPtr]byte
-               err = ptrace(peekReq, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return n, err
-               }
-               copy(buf[0:], data)
-               word := *((*uintptr)(unsafe.Pointer(&buf[0])))
-               err = ptrace(pokeReq, pid, addr+uintptr(n), word)
-               if err != nil {
-                       return n, err
-               }
-               n += len(data)
-       }
-
-       return n, nil
-}
-
-func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
-       return ptracePoke(PTRACE_POKETEXT, PTRACE_PEEKTEXT, pid, addr, data)
-}
-
-func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
-       return ptracePoke(PTRACE_POKEDATA, PTRACE_PEEKDATA, pid, addr, data)
-}
-
-func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
-       return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-}
-
-func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
-       return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-}
-
-func PtraceSetOptions(pid int, options int) (err error) {
-       return ptrace(PTRACE_SETOPTIONS, pid, 0, uintptr(options))
-}
-
-func PtraceGetEventMsg(pid int) (msg uint, err error) {
-       var data _C_long
-       err = ptrace(PTRACE_GETEVENTMSG, pid, 0, uintptr(unsafe.Pointer(&data)))
-       msg = uint(data)
-       return
-}
-
-func PtraceCont(pid int, signal int) (err error) {
-       return ptrace(PTRACE_CONT, pid, 0, uintptr(signal))
-}
-
-func PtraceSyscall(pid int, signal int) (err error) {
-       return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal))
-}
-
-func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
-
-func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
-
-func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
-
-//sys  reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
-
-func Reboot(cmd int) (err error) {
-       return reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, "")
-}
-
-func clen(n []byte) int {
-       for i := 0; i < len(n); i++ {
-               if n[i] == 0 {
-                       return i
-               }
-       }
-       return len(n)
-}
-
-func ReadDirent(fd int, buf []byte) (n int, err error) {
-       return Getdents(fd, buf)
-}
-
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       count = 0
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               buf = buf[dirent.Reclen:]
-               if dirent.Ino == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:clen(bytes[:])])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-//sys  mount(source string, target string, fstype string, flags uintptr, data *byte) (err error)
-
-func Mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
-       // Certain file systems get rather angry and EINVAL if you give
-       // them an empty string of data, rather than NULL.
-       if data == "" {
-               return mount(source, target, fstype, flags, nil)
-       }
-       datap, err := BytePtrFromString(data)
-       if err != nil {
-               return err
-       }
-       return mount(source, target, fstype, flags, datap)
-}
-
-// Sendto
-// Recvfrom
-// Socketpair
-
-/*
- * Direct access
- */
-//sys  Acct(path string) (err error)
-//sys  Adjtimex(buf *Timex) (state int, err error)
-//sys  Chdir(path string) (err error)
-//sys  Chroot(path string) (err error)
-//sys  ClockGettime(clockid int32, time *Timespec) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(oldfd int) (fd int, err error)
-//sys  Dup3(oldfd int, newfd int, flags int) (err error)
-//sysnb        EpollCreate(size int) (fd int, err error)
-//sysnb        EpollCreate1(flag int) (fd int, err error)
-//sysnb        EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
-//sys  Exit(code int) = SYS_EXIT_GROUP
-//sys  Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
-//sys  Fallocate(fd int, mode uint32, off int64, len int64) (err error)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-//sys  Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
-//sys  fcntl(fd int, cmd int, arg int) (val int, err error)
-//sys  Fdatasync(fd int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
-//sysnb        Getpgid(pid int) (pgid int, err error)
-
-func Getpgrp() (pid int) {
-       pid, _ = Getpgid(0)
-       return
-}
-
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Gettid() (tid int)
-//sys  Getxattr(path string, attr string, dest []byte) (sz int, err error)
-//sys  InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)
-//sysnb        InotifyInit1(flags int) (fd int, err error)
-//sysnb        InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)
-//sysnb        Kill(pid int, sig syscall.Signal) (err error)
-//sys  Klogctl(typ int, buf []byte) (n int, err error) = SYS_SYSLOG
-//sys  Listxattr(path string, dest []byte) (sz int, err error)
-//sys  Mkdirat(dirfd int, path string, mode uint32) (err error)
-//sys  Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
-//sysnb prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) = SYS_PRLIMIT64
-//sys   Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Removexattr(path string, attr string) (err error)
-//sys  Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
-//sys  Setdomainname(p []byte) (err error)
-//sys  Sethostname(p []byte) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tv *Timeval) (err error)
-//sys  Setns(fd int, nstype int) (err error)
-
-// issue 1435.
-// On linux Setuid and Setgid only affects the current thread, not the process.
-// This does not match what most callers expect so we must return an error
-// here rather than letting the caller think that the call succeeded.
-
-func Setuid(uid int) (err error) {
-       return EOPNOTSUPP
-}
-
-func Setgid(uid int) (err error) {
-       return EOPNOTSUPP
-}
-
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sys  Setxattr(path string, attr string, data []byte, flags int) (err error)
-//sys  Sync()
-//sysnb        Sysinfo(info *Sysinfo_t) (err error)
-//sys  Tee(rfd int, wfd int, len int, flags int) (n int64, err error)
-//sysnb        Tgkill(tgid int, tid int, sig syscall.Signal) (err error)
-//sysnb        Times(tms *Tms) (ticks uintptr, err error)
-//sysnb        Umask(mask int) (oldmask int)
-//sysnb        Uname(buf *Utsname) (err error)
-//sys  Unmount(target string, flags int) (err error) = SYS_UMOUNT2
-//sys  Unshare(flags int) (err error)
-//sys  Ustat(dev int, ubuf *Ustat_t) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  exitThread(code int) (err error) = SYS_EXIT
-//sys  readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, p *byte, np int) (n int, err error) = SYS_WRITE
-
-// mmap varies by architecture; see syscall_linux_*.go.
-//sys  munmap(addr uintptr, length uintptr) (err error)
-
-var mapper = &mmapper{
-       active: make(map[*byte][]byte),
-       mmap:   mmap,
-       munmap: munmap,
-}
-
-func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       return mapper.Mmap(fd, offset, length, prot, flags)
-}
-
-func Munmap(b []byte) (err error) {
-       return mapper.Munmap(b)
-}
-
-//sys  Madvise(b []byte, advice int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Munlockall() (err error)
-
-/*
- * Unimplemented
- */
-// AddKey
-// AfsSyscall
-// Alarm
-// ArchPrctl
-// Brk
-// Capget
-// Capset
-// ClockGetres
-// ClockNanosleep
-// ClockSettime
-// Clone
-// CreateModule
-// DeleteModule
-// EpollCtlOld
-// EpollPwait
-// EpollWaitOld
-// Eventfd
-// Execve
-// Fgetxattr
-// Flistxattr
-// Fork
-// Fremovexattr
-// Fsetxattr
-// Futex
-// GetKernelSyms
-// GetMempolicy
-// GetRobustList
-// GetThreadArea
-// Getitimer
-// Getpmsg
-// IoCancel
-// IoDestroy
-// IoGetevents
-// IoSetup
-// IoSubmit
-// Ioctl
-// IoprioGet
-// IoprioSet
-// KexecLoad
-// Keyctl
-// Lgetxattr
-// Llistxattr
-// LookupDcookie
-// Lremovexattr
-// Lsetxattr
-// Mbind
-// MigratePages
-// Mincore
-// ModifyLdt
-// Mount
-// MovePages
-// Mprotect
-// MqGetsetattr
-// MqNotify
-// MqOpen
-// MqTimedreceive
-// MqTimedsend
-// MqUnlink
-// Mremap
-// Msgctl
-// Msgget
-// Msgrcv
-// Msgsnd
-// Msync
-// Newfstatat
-// Nfsservctl
-// Personality
-// Poll
-// Ppoll
-// Pselect6
-// Ptrace
-// Putpmsg
-// QueryModule
-// Quotactl
-// Readahead
-// Readv
-// RemapFilePages
-// RequestKey
-// RestartSyscall
-// RtSigaction
-// RtSigpending
-// RtSigprocmask
-// RtSigqueueinfo
-// RtSigreturn
-// RtSigsuspend
-// RtSigtimedwait
-// SchedGetPriorityMax
-// SchedGetPriorityMin
-// SchedGetaffinity
-// SchedGetparam
-// SchedGetscheduler
-// SchedRrGetInterval
-// SchedSetaffinity
-// SchedSetparam
-// SchedYield
-// Security
-// Semctl
-// Semget
-// Semop
-// Semtimedop
-// SetMempolicy
-// SetRobustList
-// SetThreadArea
-// SetTidAddress
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Sigaltstack
-// Signalfd
-// Swapoff
-// Swapon
-// Sysfs
-// TimerCreate
-// TimerDelete
-// TimerGetoverrun
-// TimerGettime
-// TimerSettime
-// Timerfd
-// Tkill (obsolete)
-// Tuxcall
-// Umount2
-// Uselib
-// Utimensat
-// Vfork
-// Vhangup
-// Vmsplice
-// Vserver
-// Waitid
-// _Sysctl
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
deleted file mode 100644 (file)
index bea01cb..0000000
+++ /dev/null
@@ -1,390 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP)
-// so that go vet can check that they are correct.
-
-// +build 386,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = int32(nsec / 1e9)
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       return
-}
-
-//sysnb        pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-// 64-bit file system and 32-bit uid calls
-// (386 default is 32-bit file system and 16-bit uid).
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64_64
-//sys  Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sys  Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
-//sysnb        Getegid() (egid int) = SYS_GETEGID32
-//sysnb        Geteuid() (euid int) = SYS_GETEUID32
-//sysnb        Getgid() (gid int) = SYS_GETGID32
-//sysnb        Getuid() (uid int) = SYS_GETUID32
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
-//sys  Setfsgid(gid int) (err error) = SYS_SETFSGID32
-//sys  Setfsuid(uid int) (err error) = SYS_SETFSUID32
-//sysnb        Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
-//sysnb        Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
-//sysnb        setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
-
-//sys  mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Pause() (err error)
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       page := uintptr(offset / 4096)
-       if offset != int64(page)*4096 {
-               return 0, EINVAL
-       }
-       return mmap2(addr, length, prot, flags, fd, page)
-}
-
-type rlimit32 struct {
-       Cur uint32
-       Max uint32
-}
-
-//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
-
-const rlimInf32 = ^uint32(0)
-const rlimInf64 = ^uint64(0)
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, nil, rlim)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       err = getrlimit(resource, &rl)
-       if err != nil {
-               return
-       }
-
-       if rl.Cur == rlimInf32 {
-               rlim.Cur = rlimInf64
-       } else {
-               rlim.Cur = uint64(rl.Cur)
-       }
-
-       if rl.Max == rlimInf32 {
-               rlim.Max = rlimInf64
-       } else {
-               rlim.Max = uint64(rl.Max)
-       }
-       return
-}
-
-//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, rlim, nil)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       if rlim.Cur == rlimInf64 {
-               rl.Cur = rlimInf32
-       } else if rlim.Cur < uint64(rlimInf32) {
-               rl.Cur = uint32(rlim.Cur)
-       } else {
-               return EINVAL
-       }
-       if rlim.Max == rlimInf64 {
-               rl.Max = rlimInf32
-       } else if rlim.Max < uint64(rlimInf32) {
-               rl.Max = uint32(rlim.Max)
-       } else {
-               return EINVAL
-       }
-
-       return setrlimit(resource, &rl)
-}
-
-// Underlying system call writes to newoffset via pointer.
-// Implemented in assembly to avoid allocation.
-func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       newoffset, errno := seek(fd, offset, whence)
-       if errno != 0 {
-               return 0, errno
-       }
-       return newoffset, nil
-}
-
-// Vsyscalls on amd64.
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Time(t *Time_t) (tt Time_t, err error)
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-// On x86 Linux, all the socket calls go through an extra indirection,
-// I think because the 5-register system call interface can't handle
-// the 6-argument calls like sendto and recvfrom.  Instead the
-// arguments to the underlying system call are the number below
-// and a pointer to an array of uintptr.  We hide the pointer in the
-// socketcall assembly to avoid allocation on every system call.
-
-const (
-       // see linux/net.h
-       _SOCKET      = 1
-       _BIND        = 2
-       _CONNECT     = 3
-       _LISTEN      = 4
-       _ACCEPT      = 5
-       _GETSOCKNAME = 6
-       _GETPEERNAME = 7
-       _SOCKETPAIR  = 8
-       _SEND        = 9
-       _RECV        = 10
-       _SENDTO      = 11
-       _RECVFROM    = 12
-       _SHUTDOWN    = 13
-       _SETSOCKOPT  = 14
-       _GETSOCKOPT  = 15
-       _SENDMSG     = 16
-       _RECVMSG     = 17
-       _ACCEPT4     = 18
-       _RECVMMSG    = 19
-       _SENDMMSG    = 20
-)
-
-func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
-func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func getsockname(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, e := rawsocketcall(_GETSOCKNAME, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func getpeername(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, e := rawsocketcall(_GETPEERNAME, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
-       _, e := rawsocketcall(_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       fd, e := rawsocketcall(_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func recvfrom(s int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func sendto(s int, p []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       n, e := socketcall(_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       n, e := socketcall(_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Listen(s int, n int) (err error) {
-       _, e := socketcall(_LISTEN, uintptr(s), uintptr(n), 0, 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Shutdown(s, how int) (err error) {
-       _, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(pathp)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return uint64(uint32(r.Eip)) }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Eip = int32(pc) }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
deleted file mode 100644 (file)
index 721f24b..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,linux
-
-package unix
-
-import "syscall"
-
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-//go:noescape
-func gettimeofday(tv *Timeval) (err syscall.Errno)
-
-func Gettimeofday(tv *Timeval) (err error) {
-       errno := gettimeofday(tv)
-       if errno != 0 {
-               return errno
-       }
-       return nil
-}
-
-func Getpagesize() int { return 4096 }
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       errno := gettimeofday(&tv)
-       if errno != 0 {
-               return 0, errno
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-//sysnb        pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Rip }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Rip = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
deleted file mode 100644 (file)
index 122df64..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = int32(nsec / 1e9)
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       return
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-// Underlying system call writes to newoffset via pointer.
-// Implemented in assembly to avoid allocation.
-func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       newoffset, errno := seek(fd, offset, whence)
-       if errno != 0 {
-               return 0, errno
-       }
-       return newoffset, nil
-}
-
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
-//sysnb        setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        socketpair(domain int, typ int, flags int, fd *[2]int32) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-// 64-bit file system and 32-bit uid calls
-// (16-bit uid calls are not always supported in newer kernels)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sysnb        Getegid() (egid int) = SYS_GETEGID32
-//sysnb        Geteuid() (euid int) = SYS_GETEUID32
-//sysnb        Getgid() (gid int) = SYS_GETGID32
-//sysnb        Getuid() (uid int) = SYS_GETUID32
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
-//sys  Setfsgid(gid int) (err error) = SYS_SETFSGID32
-//sys  Setfsuid(uid int) (err error) = SYS_SETFSUID32
-//sysnb        Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
-//sysnb        Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-
-// Vsyscalls on amd64.
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Pause() (err error)
-
-func Time(t *Time_t) (Time_t, error) {
-       var tv Timeval
-       err := Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-func Utime(path string, buf *Utimbuf) error {
-       tv := []Timeval{
-               {Sec: buf.Actime},
-               {Sec: buf.Modtime},
-       }
-       return Utimes(path, tv)
-}
-
-//sys   Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys   Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-//sys  Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_ARM_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-//sys  mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(pathp)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       page := uintptr(offset / 4096)
-       if offset != int64(page)*4096 {
-               return 0, EINVAL
-       }
-       return mmap2(addr, length, prot, flags, fd, page)
-}
-
-type rlimit32 struct {
-       Cur uint32
-       Max uint32
-}
-
-//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_UGETRLIMIT
-
-const rlimInf32 = ^uint32(0)
-const rlimInf64 = ^uint64(0)
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, nil, rlim)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       err = getrlimit(resource, &rl)
-       if err != nil {
-               return
-       }
-
-       if rl.Cur == rlimInf32 {
-               rlim.Cur = rlimInf64
-       } else {
-               rlim.Cur = uint64(rl.Cur)
-       }
-
-       if rl.Max == rlimInf32 {
-               rlim.Max = rlimInf64
-       } else {
-               rlim.Max = uint64(rl.Max)
-       }
-       return
-}
-
-//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, rlim, nil)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       if rlim.Cur == rlimInf64 {
-               rl.Cur = rlimInf32
-       } else if rlim.Cur < uint64(rlimInf32) {
-               rl.Cur = uint32(rlim.Cur)
-       } else {
-               return EINVAL
-       }
-       if rlim.Max == rlimInf64 {
-               rl.Max = rlimInf32
-       } else if rlim.Max < uint64(rlimInf32) {
-               rl.Max = uint32(rlim.Max)
-       } else {
-               return EINVAL
-       }
-
-       return setrlimit(resource, &rl)
-}
-
-func (r *PtraceRegs) PC() uint64 { return uint64(r.Uregs[15]) }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Uregs[15] = uint32(pc) }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
deleted file mode 100644 (file)
index d105186..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm64,linux
-
-package unix
-
-const _SYS_dup = SYS_DUP3
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Listen(s int, n int) (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-
-func Stat(path string, stat *Stat_t) (err error) {
-       return Fstatat(AT_FDCWD, path, stat, 0)
-}
-
-func Lchown(path string, uid int, gid int) (err error) {
-       return Fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW)
-}
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
-}
-
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Getpagesize() int { return 65536 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-func Time(t *Time_t) (Time_t, error) {
-       var tv Timeval
-       err := Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-func Utime(path string, buf *Utimbuf) error {
-       tv := []Timeval{
-               {Sec: buf.Actime},
-               {Sec: buf.Modtime},
-       }
-       return Utimes(path, tv)
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Pc }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-func InotifyInit() (fd int, err error) {
-       return InotifyInit1(0)
-}
-
-func Dup2(oldfd int, newfd int) (err error) {
-       return Dup3(oldfd, newfd, 0)
-}
-
-func Pause() (err error) {
-       _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
-// these when the deprecated syscalls that the syscall package relies on
-// are removed.
-const (
-       SYS_GETPGRP      = 1060
-       SYS_UTIMES       = 1037
-       SYS_FUTIMESAT    = 1066
-       SYS_PAUSE        = 1061
-       SYS_USTAT        = 1070
-       SYS_UTIME        = 1063
-       SYS_LCHOWN       = 1032
-       SYS_TIME         = 1062
-       SYS_EPOLL_CREATE = 1042
-       SYS_EPOLL_WAIT   = 1069
-)
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
deleted file mode 100644 (file)
index bb15ba3..0000000
+++ /dev/null
@@ -1,206 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build mips64 mips64le
-
-package unix
-
-// Linux introduced getdents64 syscall for N64 ABI only in 3.10
-// (May 21 2013, rev dec33abaafc89bcbd78f85fad0513170415a26d5),
-// to support older kernels, we have to use getdents for mips64.
-// Also note that struct dirent is different for these two.
-// Lookup linux_dirent{,64} in kernel source code for details.
-const _SYS_getdents = SYS_GETDENTS
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Getpagesize() int { return 65536 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       err = Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Ioperm(from int, num int, on int) (err error) {
-       return ENOSYS
-}
-
-func Iopl(level int) (err error) {
-       return ENOSYS
-}
-
-type stat_t struct {
-       Dev        uint32
-       Pad0       [3]int32
-       Ino        uint64
-       Mode       uint32
-       Nlink      uint32
-       Uid        uint32
-       Gid        uint32
-       Rdev       uint32
-       Pad1       [3]uint32
-       Size       int64
-       Atime      uint32
-       Atime_nsec uint32
-       Mtime      uint32
-       Mtime_nsec uint32
-       Ctime      uint32
-       Ctime_nsec uint32
-       Blksize    uint32
-       Pad2       uint32
-       Blocks     int64
-}
-
-//sys  fstat(fd int, st *stat_t) (err error)
-//sys  lstat(path string, st *stat_t) (err error)
-//sys  stat(path string, st *stat_t) (err error)
-
-func Fstat(fd int, s *Stat_t) (err error) {
-       st := &stat_t{}
-       err = fstat(fd, st)
-       fillStat_t(s, st)
-       return
-}
-
-func Lstat(path string, s *Stat_t) (err error) {
-       st := &stat_t{}
-       err = lstat(path, st)
-       fillStat_t(s, st)
-       return
-}
-
-func Stat(path string, s *Stat_t) (err error) {
-       st := &stat_t{}
-       err = stat(path, st)
-       fillStat_t(s, st)
-       return
-}
-
-func fillStat_t(s *Stat_t, st *stat_t) {
-       s.Dev = st.Dev
-       s.Ino = st.Ino
-       s.Mode = st.Mode
-       s.Nlink = st.Nlink
-       s.Uid = st.Uid
-       s.Gid = st.Gid
-       s.Rdev = st.Rdev
-       s.Size = st.Size
-       s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)}
-       s.Mtim = Timespec{int64(st.Mtime), int64(st.Mtime_nsec)}
-       s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)}
-       s.Blksize = st.Blksize
-       s.Blocks = st.Blocks
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Regs[64] }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
deleted file mode 100644 (file)
index acd2e1c..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build ppc64 ppc64le
-
-package unix
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_UGETRLIMIT
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error) = SYS_SYNC_FILE_RANGE2
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Getpagesize() int { return 65536 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Time(t *Time_t) (tt Time_t, err error)
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Nip }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Nip = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-//sysnb pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
deleted file mode 100644 (file)
index 3f98904..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build s390x,linux
-
-package unix
-
-import (
-       "unsafe"
-)
-
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-
-func Getpagesize() int { return 4096 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       err = Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0) // pipe2 is the same as pipe when flags are set to 0.
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Ioperm(from int, num int, on int) (err error) {
-       return ENOSYS
-}
-
-func Iopl(level int) (err error) {
-       return ENOSYS
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-// Linux on s390x uses the old mmap interface, which requires arguments to be passed in a struct.
-// mmap2 also requires arguments to be passed in a struct; it is currently not exposed in <asm/unistd.h>.
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       mmap_args := [6]uintptr{addr, length, uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)}
-       r0, _, e1 := Syscall(SYS_MMAP, uintptr(unsafe.Pointer(&mmap_args[0])), 0, 0)
-       use(unsafe.Pointer(&mmap_args[0]))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// On s390x Linux, all the socket calls go through an extra indirection.
-// The arguments to the underlying system call (SYS_SOCKETCALL) are the
-// number below and a pointer to an array of uintptr.
-const (
-       // see linux/net.h
-       netSocket      = 1
-       netBind        = 2
-       netConnect     = 3
-       netListen      = 4
-       netAccept      = 5
-       netGetSockName = 6
-       netGetPeerName = 7
-       netSocketPair  = 8
-       netSend        = 9
-       netRecv        = 10
-       netSendTo      = 11
-       netRecvFrom    = 12
-       netShutdown    = 13
-       netSetSockOpt  = 14
-       netGetSockOpt  = 15
-       netSendMsg     = 16
-       netRecvMsg     = 17
-       netAccept4     = 18
-       netRecvMMsg    = 19
-       netSendMMsg    = 20
-)
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (int, error) {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
-       fd, _, err := Syscall(SYS_SOCKETCALL, netAccept, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(fd), nil
-}
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (int, error) {
-       args := [4]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags)}
-       fd, _, err := Syscall(SYS_SOCKETCALL, netAccept4, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(fd), nil
-}
-
-func getsockname(s int, rsa *RawSockaddrAny, addrlen *_Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
-       _, _, err := RawSyscall(SYS_SOCKETCALL, netGetSockName, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func getpeername(s int, rsa *RawSockaddrAny, addrlen *_Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
-       _, _, err := RawSyscall(SYS_SOCKETCALL, netGetPeerName, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func socketpair(domain int, typ int, flags int, fd *[2]int32) error {
-       args := [4]uintptr{uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd))}
-       _, _, err := RawSyscall(SYS_SOCKETCALL, netSocketPair, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(addr), uintptr(addrlen)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netBind, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(addr), uintptr(addrlen)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netConnect, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func socket(domain int, typ int, proto int) (int, error) {
-       args := [3]uintptr{uintptr(domain), uintptr(typ), uintptr(proto)}
-       fd, _, err := RawSyscall(SYS_SOCKETCALL, netSocket, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(fd), nil
-}
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) error {
-       args := [5]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen))}
-       _, _, err := Syscall(SYS_SOCKETCALL, netGetSockOpt, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) error {
-       args := [4]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netSetSockOpt, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func recvfrom(s int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (int, error) {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       args := [6]uintptr{uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))}
-       n, _, err := Syscall(SYS_SOCKETCALL, netRecvFrom, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(n), nil
-}
-
-func sendto(s int, p []byte, flags int, to unsafe.Pointer, addrlen _Socklen) error {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       args := [6]uintptr{uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netSendTo, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func recvmsg(s int, msg *Msghdr, flags int) (int, error) {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)}
-       n, _, err := Syscall(SYS_SOCKETCALL, netRecvMsg, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(n), nil
-}
-
-func sendmsg(s int, msg *Msghdr, flags int) (int, error) {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)}
-       n, _, err := Syscall(SYS_SOCKETCALL, netSendMsg, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(n), nil
-}
-
-func Listen(s int, n int) error {
-       args := [2]uintptr{uintptr(s), uintptr(n)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netListen, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func Shutdown(s, how int) error {
-       args := [2]uintptr{uintptr(s), uintptr(how)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netShutdown, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
deleted file mode 100644 (file)
index c4e945c..0000000
+++ /dev/null
@@ -1,492 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// NetBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       raw    RawSockaddrDatalink
-}
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-func sysctlNodes(mib []_C_int) (nodes []Sysctlnode, err error) {
-       var olen uintptr
-
-       // Get a list of all sysctl nodes below the given MIB by performing
-       // a sysctl for the given MIB with CTL_QUERY appended.
-       mib = append(mib, CTL_QUERY)
-       qnode := Sysctlnode{Flags: SYSCTL_VERS_1}
-       qp := (*byte)(unsafe.Pointer(&qnode))
-       sz := unsafe.Sizeof(qnode)
-       if err = sysctl(mib, nil, &olen, qp, sz); err != nil {
-               return nil, err
-       }
-
-       // Now that we know the size, get the actual nodes.
-       nodes = make([]Sysctlnode, olen/sz)
-       np := (*byte)(unsafe.Pointer(&nodes[0]))
-       if err = sysctl(mib, np, &olen, qp, sz); err != nil {
-               return nil, err
-       }
-
-       return nodes, nil
-}
-
-func nametomib(name string) (mib []_C_int, err error) {
-
-       // Split name into components.
-       var parts []string
-       last := 0
-       for i := 0; i < len(name); i++ {
-               if name[i] == '.' {
-                       parts = append(parts, name[last:i])
-                       last = i + 1
-               }
-       }
-       parts = append(parts, name[last:])
-
-       // Discover the nodes and construct the MIB OID.
-       for partno, part := range parts {
-               nodes, err := sysctlNodes(mib)
-               if err != nil {
-                       return nil, err
-               }
-               for _, node := range nodes {
-                       n := make([]byte, 0)
-                       for i := range node.Name {
-                               if node.Name[i] != 0 {
-                                       n = append(n, byte(node.Name[i]))
-                               }
-                       }
-                       if string(n) == part {
-                               mib = append(mib, _C_int(node.Num))
-                               break
-                       }
-               }
-               if len(mib) != partno+1 {
-                       return nil, EINVAL
-               }
-       }
-
-       return mib, nil
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names. It returns the number
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               if dirent.Reclen == 0 {
-                       buf = nil
-                       break
-               }
-               buf = buf[dirent.Reclen:]
-               if dirent.Fileno == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:dirent.Namlen])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-//sysnb pipe() (fd1 int, fd2 int, err error)
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-//sys getdents(fd int, buf []byte) (n int, err error)
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       return getdents(fd, buf)
-}
-
-// TODO
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       return -1, ENOSYS
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys  munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- */
-// ____semctl13
-// __clone
-// __fhopen40
-// __fhstat40
-// __fhstatvfs140
-// __fstat30
-// __getcwd
-// __getfh30
-// __getlogin
-// __lstat30
-// __mount50
-// __msgctl13
-// __msync13
-// __ntp_gettime30
-// __posix_chown
-// __posix_fadvise50
-// __posix_fchown
-// __posix_lchown
-// __posix_rename
-// __setlogin
-// __shmctl13
-// __sigaction_sigtramp
-// __sigaltstack14
-// __sigpending14
-// __sigprocmask14
-// __sigsuspend14
-// __sigtimedwait
-// __stat30
-// __syscall
-// __vfork14
-// _ksem_close
-// _ksem_destroy
-// _ksem_getvalue
-// _ksem_init
-// _ksem_open
-// _ksem_post
-// _ksem_trywait
-// _ksem_unlink
-// _ksem_wait
-// _lwp_continue
-// _lwp_create
-// _lwp_ctl
-// _lwp_detach
-// _lwp_exit
-// _lwp_getname
-// _lwp_getprivate
-// _lwp_kill
-// _lwp_park
-// _lwp_self
-// _lwp_setname
-// _lwp_setprivate
-// _lwp_suspend
-// _lwp_unpark
-// _lwp_unpark_all
-// _lwp_wait
-// _lwp_wakeup
-// _pset_bind
-// _sched_getaffinity
-// _sched_getparam
-// _sched_setaffinity
-// _sched_setparam
-// acct
-// aio_cancel
-// aio_error
-// aio_fsync
-// aio_read
-// aio_return
-// aio_suspend
-// aio_write
-// break
-// clock_getres
-// clock_gettime
-// clock_settime
-// compat_09_ogetdomainname
-// compat_09_osetdomainname
-// compat_09_ouname
-// compat_10_omsgsys
-// compat_10_osemsys
-// compat_10_oshmsys
-// compat_12_fstat12
-// compat_12_getdirentries
-// compat_12_lstat12
-// compat_12_msync
-// compat_12_oreboot
-// compat_12_oswapon
-// compat_12_stat12
-// compat_13_sigaction13
-// compat_13_sigaltstack13
-// compat_13_sigpending13
-// compat_13_sigprocmask13
-// compat_13_sigreturn13
-// compat_13_sigsuspend13
-// compat_14___semctl
-// compat_14_msgctl
-// compat_14_shmctl
-// compat_16___sigaction14
-// compat_16___sigreturn14
-// compat_20_fhstatfs
-// compat_20_fstatfs
-// compat_20_getfsstat
-// compat_20_statfs
-// compat_30___fhstat30
-// compat_30___fstat13
-// compat_30___lstat13
-// compat_30___stat13
-// compat_30_fhopen
-// compat_30_fhstat
-// compat_30_fhstatvfs1
-// compat_30_getdents
-// compat_30_getfh
-// compat_30_ntp_gettime
-// compat_30_socket
-// compat_40_mount
-// compat_43_fstat43
-// compat_43_lstat43
-// compat_43_oaccept
-// compat_43_ocreat
-// compat_43_oftruncate
-// compat_43_ogetdirentries
-// compat_43_ogetdtablesize
-// compat_43_ogethostid
-// compat_43_ogethostname
-// compat_43_ogetkerninfo
-// compat_43_ogetpagesize
-// compat_43_ogetpeername
-// compat_43_ogetrlimit
-// compat_43_ogetsockname
-// compat_43_okillpg
-// compat_43_olseek
-// compat_43_ommap
-// compat_43_oquota
-// compat_43_orecv
-// compat_43_orecvfrom
-// compat_43_orecvmsg
-// compat_43_osend
-// compat_43_osendmsg
-// compat_43_osethostid
-// compat_43_osethostname
-// compat_43_osetrlimit
-// compat_43_osigblock
-// compat_43_osigsetmask
-// compat_43_osigstack
-// compat_43_osigvec
-// compat_43_otruncate
-// compat_43_owait
-// compat_43_stat43
-// execve
-// extattr_delete_fd
-// extattr_delete_file
-// extattr_delete_link
-// extattr_get_fd
-// extattr_get_file
-// extattr_get_link
-// extattr_list_fd
-// extattr_list_file
-// extattr_list_link
-// extattr_set_fd
-// extattr_set_file
-// extattr_set_link
-// extattrctl
-// fchroot
-// fdatasync
-// fgetxattr
-// fktrace
-// flistxattr
-// fork
-// fremovexattr
-// fsetxattr
-// fstatvfs1
-// fsync_range
-// getcontext
-// getitimer
-// getvfsstat
-// getxattr
-// ioctl
-// ktrace
-// lchflags
-// lchmod
-// lfs_bmapv
-// lfs_markv
-// lfs_segclean
-// lfs_segwait
-// lgetxattr
-// lio_listio
-// listxattr
-// llistxattr
-// lremovexattr
-// lseek
-// lsetxattr
-// lutimes
-// madvise
-// mincore
-// minherit
-// modctl
-// mq_close
-// mq_getattr
-// mq_notify
-// mq_open
-// mq_receive
-// mq_send
-// mq_setattr
-// mq_timedreceive
-// mq_timedsend
-// mq_unlink
-// mremap
-// msgget
-// msgrcv
-// msgsnd
-// nfssvc
-// ntp_adjtime
-// pmc_control
-// pmc_get_info
-// poll
-// pollts
-// preadv
-// profil
-// pselect
-// pset_assign
-// pset_create
-// pset_destroy
-// ptrace
-// pwritev
-// quotactl
-// rasctl
-// readv
-// reboot
-// removexattr
-// sa_enable
-// sa_preempt
-// sa_register
-// sa_setconcurrency
-// sa_stacks
-// sa_yield
-// sbrk
-// sched_yield
-// semconfig
-// semget
-// semop
-// setcontext
-// setitimer
-// setxattr
-// shmat
-// shmdt
-// shmget
-// sstk
-// statvfs1
-// swapctl
-// sysarch
-// syscall
-// timer_create
-// timer_delete
-// timer_getoverrun
-// timer_gettime
-// timer_settime
-// undelete
-// utrace
-// uuidgen
-// vadvise
-// vfork
-// writev
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
deleted file mode 100644 (file)
index afaca09..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,netbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = uint32(mode)
-       k.Flags = uint32(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
deleted file mode 100644 (file)
index a6ff04c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,netbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int64(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = uint32(mode)
-       k.Flags = uint32(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
deleted file mode 100644 (file)
index 68a6969..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm,netbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = uint32(mode)
-       k.Flags = uint32(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_no_getwd.go b/vendor/golang.org/x/sys/unix/syscall_no_getwd.go
deleted file mode 100644 (file)
index 530792e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build dragonfly freebsd netbsd openbsd
-
-package unix
-
-const ImplementsGetwd = false
-
-func Getwd() (string, error) { return "", ENOTSUP }
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
deleted file mode 100644 (file)
index 246131d..0000000
+++ /dev/null
@@ -1,303 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// OpenBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [24]int8
-       raw    RawSockaddrDatalink
-}
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-func nametomib(name string) (mib []_C_int, err error) {
-
-       // Perform lookup via a binary search
-       left := 0
-       right := len(sysctlMib) - 1
-       for {
-               idx := left + (right-left)/2
-               switch {
-               case name == sysctlMib[idx].ctlname:
-                       return sysctlMib[idx].ctloid, nil
-               case name > sysctlMib[idx].ctlname:
-                       left = idx + 1
-               default:
-                       right = idx - 1
-               }
-               if left > right {
-                       break
-               }
-       }
-       return nil, EINVAL
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names. It returns the number
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               if dirent.Reclen == 0 {
-                       buf = nil
-                       break
-               }
-               buf = buf[dirent.Reclen:]
-               if dirent.Fileno == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:dirent.Namlen])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-//sysnb pipe(p *[2]_C_int) (err error)
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sys getdents(fd int, buf []byte) (n int, err error)
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       return getdents(fd, buf)
-}
-
-// TODO
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       return -1, ENOSYS
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, stat *Statfs_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys  munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- */
-// __getcwd
-// __semctl
-// __syscall
-// __sysctl
-// adjfreq
-// break
-// clock_getres
-// clock_gettime
-// clock_settime
-// closefrom
-// execve
-// faccessat
-// fchmodat
-// fchownat
-// fcntl
-// fhopen
-// fhstat
-// fhstatfs
-// fork
-// fstatat
-// futimens
-// getfh
-// getgid
-// getitimer
-// getlogin
-// getresgid
-// getresuid
-// getrtable
-// getthrid
-// ioctl
-// ktrace
-// lfs_bmapv
-// lfs_markv
-// lfs_segclean
-// lfs_segwait
-// linkat
-// mincore
-// minherit
-// mkdirat
-// mkfifoat
-// mknodat
-// mount
-// mquery
-// msgctl
-// msgget
-// msgrcv
-// msgsnd
-// nfssvc
-// nnpfspioctl
-// openat
-// poll
-// preadv
-// profil
-// pwritev
-// quotactl
-// readlinkat
-// readv
-// reboot
-// renameat
-// rfork
-// sched_yield
-// semget
-// semop
-// setgroups
-// setitimer
-// setrtable
-// setsockopt
-// shmat
-// shmctl
-// shmdt
-// shmget
-// sigaction
-// sigaltstack
-// sigpending
-// sigprocmask
-// sigreturn
-// sigsuspend
-// symlinkat
-// sysarch
-// syscall
-// threxit
-// thrsigdivert
-// thrsleep
-// thrwakeup
-// unlinkat
-// utimensat
-// vfork
-// writev
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
deleted file mode 100644 (file)
index a66ddc5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,openbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
deleted file mode 100644 (file)
index 0776c1f..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,openbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = nsec / 1e9
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go
deleted file mode 100644 (file)
index eb489b1..0000000
+++ /dev/null
@@ -1,713 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Solaris system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_solaris.go or syscall_unix.go.
-
-package unix
-
-import (
-       "sync/atomic"
-       "syscall"
-       "unsafe"
-)
-
-// Implemented in runtime/syscall_solaris.go.
-type syscallFunc uintptr
-
-func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-type SockaddrDatalink struct {
-       Family uint16
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [244]int8
-       raw    RawSockaddrDatalink
-}
-
-func clen(n []byte) int {
-       for i := 0; i < len(n); i++ {
-               if n[i] == 0 {
-                       return i
-               }
-       }
-       return len(n)
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names.  It returns the number
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       for max != 0 && len(buf) > 0 {
-               dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
-               if dirent.Reclen == 0 {
-                       buf = nil
-                       break
-               }
-               buf = buf[dirent.Reclen:]
-               if dirent.Ino == 0 { // File absent in directory.
-                       continue
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
-               var name = string(bytes[0:clen(bytes[:])])
-               if name == "." || name == ".." { // Useless names
-                       continue
-               }
-               max--
-               count++
-               names = append(names, name)
-       }
-       return origlen - len(buf), count, names
-}
-
-func pipe() (r uintptr, w uintptr, err uintptr)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       r0, w0, e1 := pipe()
-       if e1 != 0 {
-               err = syscall.Errno(e1)
-       }
-       p[0], p[1] = int(r0), int(w0)
-       return
-}
-
-func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
-}
-
-func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET6
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       sa.raw.Scope_id = sa.ZoneId
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
-}
-
-func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       name := sa.Name
-       n := len(name)
-       if n >= len(sa.raw.Path) {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_UNIX
-       for i := 0; i < n; i++ {
-               sa.raw.Path[i] = int8(name[i])
-       }
-       // length is family (uint16), name, NUL.
-       sl := _Socklen(2)
-       if n > 0 {
-               sl += _Socklen(n) + 1
-       }
-       if sa.raw.Path[0] == '@' {
-               sa.raw.Path[0] = 0
-               // Don't count trailing NUL for abstract address.
-               sl--
-       }
-
-       return unsafe.Pointer(&sa.raw), sl, nil
-}
-
-//sys  getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getsockname
-
-func Getsockname(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getsockname(fd, &rsa, &len); err != nil {
-               return
-       }
-       return anyToSockaddr(&rsa)
-}
-
-const ImplementsGetwd = true
-
-//sys  Getcwd(buf []byte) (n int, err error)
-
-func Getwd() (wd string, err error) {
-       var buf [PathMax]byte
-       // Getcwd will return an error if it failed for any reason.
-       _, err = Getcwd(buf[0:])
-       if err != nil {
-               return "", err
-       }
-       n := clen(buf[:])
-       if n < 1 {
-               return "", EINVAL
-       }
-       return string(buf[:n]), nil
-}
-
-/*
- * Wrapped
- */
-
-//sysnb        getgroups(ngid int, gid *_Gid_t) (n int, err error)
-//sysnb        setgroups(ngid int, gid *_Gid_t) (err error)
-
-func Getgroups() (gids []int, err error) {
-       n, err := getgroups(0, nil)
-       // Check for error and sanity check group count.  Newer versions of
-       // Solaris allow up to 1024 (NGROUPS_MAX).
-       if n < 0 || n > 1024 {
-               if err != nil {
-                       return nil, err
-               }
-               return nil, EINVAL
-       } else if n == 0 {
-               return nil, nil
-       }
-
-       a := make([]_Gid_t, n)
-       n, err = getgroups(n, &a[0])
-       if n == -1 {
-               return nil, err
-       }
-       gids = make([]int, n)
-       for i, v := range a[0:n] {
-               gids[i] = int(v)
-       }
-       return
-}
-
-func Setgroups(gids []int) (err error) {
-       if len(gids) == 0 {
-               return setgroups(0, nil)
-       }
-
-       a := make([]_Gid_t, len(gids))
-       for i, v := range gids {
-               a[i] = _Gid_t(v)
-       }
-       return setgroups(len(a), &a[0])
-}
-
-func ReadDirent(fd int, buf []byte) (n int, err error) {
-       // Final argument is (basep *uintptr) and the syscall doesn't take nil.
-       // TODO(rsc): Can we use a single global basep for all calls?
-       return Getdents(fd, buf, new(uintptr))
-}
-
-// Wait status is 7 bits at bottom, either 0 (exited),
-// 0x7F (stopped), or a signal number that caused an exit.
-// The 0x80 bit is whether there was a core dump.
-// An extra number (exit code, signal causing a stop)
-// is in the high bits.
-
-type WaitStatus uint32
-
-const (
-       mask  = 0x7F
-       core  = 0x80
-       shift = 8
-
-       exited  = 0
-       stopped = 0x7F
-)
-
-func (w WaitStatus) Exited() bool { return w&mask == exited }
-
-func (w WaitStatus) ExitStatus() int {
-       if w&mask != exited {
-               return -1
-       }
-       return int(w >> shift)
-}
-
-func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
-
-func (w WaitStatus) Signal() syscall.Signal {
-       sig := syscall.Signal(w & mask)
-       if sig == stopped || sig == 0 {
-               return -1
-       }
-       return sig
-}
-
-func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
-func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
-
-func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
-
-func (w WaitStatus) StopSignal() syscall.Signal {
-       if !w.Stopped() {
-               return -1
-       }
-       return syscall.Signal(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) TrapCause() int { return -1 }
-
-func wait4(pid uintptr, wstatus *WaitStatus, options uintptr, rusage *Rusage) (wpid uintptr, err uintptr)
-
-func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
-       r0, e1 := wait4(uintptr(pid), wstatus, uintptr(options), rusage)
-       if e1 != 0 {
-               err = syscall.Errno(e1)
-       }
-       return int(r0), err
-}
-
-func gethostname() (name string, err uintptr)
-
-func Gethostname() (name string, err error) {
-       name, e1 := gethostname()
-       if e1 != 0 {
-               err = syscall.Errno(e1)
-       }
-       return name, err
-}
-
-//sys  utimes(path string, times *[2]Timeval) (err error)
-
-func Utimes(path string, tv []Timeval) (err error) {
-       if tv == nil {
-               return utimes(path, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  utimensat(fd int, path string, times *[2]Timespec, flag int) (err error)
-
-func UtimesNano(path string, ts []Timespec) error {
-       if ts == nil {
-               return utimensat(AT_FDCWD, path, nil, 0)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-}
-
-func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
-       if ts == nil {
-               return utimensat(dirfd, path, nil, flags)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
-}
-
-//sys  fcntl(fd int, cmd int, arg int) (val int, err error)
-
-// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
-func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
-       if e1 != 0 {
-               return e1
-       }
-       return nil
-}
-
-//sys  futimesat(fildes int, path *byte, times *[2]Timeval) (err error)
-
-func Futimesat(dirfd int, path string, tv []Timeval) error {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       if tv == nil {
-               return futimesat(dirfd, pathp, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-// Solaris doesn't have an futimes function because it allows NULL to be
-// specified as the path for futimesat.  However, Go doesn't like
-// NULL-style string interfaces, so this simple wrapper is provided.
-func Futimes(fd int, tv []Timeval) error {
-       if tv == nil {
-               return futimesat(fd, nil, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-       switch rsa.Addr.Family {
-       case AF_UNIX:
-               pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-               sa := new(SockaddrUnix)
-               // Assume path ends at NUL.
-               // This is not technically the Solaris semantics for
-               // abstract Unix domain sockets -- they are supposed
-               // to be uninterpreted fixed-size binary blobs -- but
-               // everyone uses this convention.
-               n := 0
-               for n < len(pp.Path) && pp.Path[n] != 0 {
-                       n++
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-               sa.Name = string(bytes)
-               return sa, nil
-
-       case AF_INET:
-               pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet4)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_INET6:
-               pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet6)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               sa.ZoneId = pp.Scope_id
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-       }
-       return nil, EAFNOSUPPORT
-}
-
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) = libsocket.accept
-
-func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept(fd, &rsa, &len)
-       if nfd == -1 {
-               return
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.recvmsg
-
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
-       var msg Msghdr
-       var rsa RawSockaddrAny
-       msg.Name = (*byte)(unsafe.Pointer(&rsa))
-       msg.Namelen = uint32(SizeofSockaddrAny)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*int8)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy int8
-       if len(oob) > 0 {
-               // receive at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = recvmsg(fd, &msg, flags); n == -1 {
-               return
-       }
-       oobn = int(msg.Accrightslen)
-       // source address is only specified if the socket is unconnected
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
-       _, err = SendmsgN(fd, p, oob, to, flags)
-       return
-}
-
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.sendmsg
-
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
-       var ptr unsafe.Pointer
-       var salen _Socklen
-       if to != nil {
-               ptr, salen, err = to.sockaddr()
-               if err != nil {
-                       return 0, err
-               }
-       }
-       var msg Msghdr
-       msg.Name = (*byte)(unsafe.Pointer(ptr))
-       msg.Namelen = uint32(salen)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*int8)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy int8
-       if len(oob) > 0 {
-               // send at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = sendmsg(fd, &msg, flags); err != nil {
-               return 0, err
-       }
-       if len(oob) > 0 && len(p) == 0 {
-               n = 0
-       }
-       return n, nil
-}
-
-//sys  acct(path *byte) (err error)
-
-func Acct(path string) (err error) {
-       if len(path) == 0 {
-               // Assume caller wants to disable accounting.
-               return acct(nil)
-       }
-
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       return acct(pathp)
-}
-
-/*
- * Expose the ioctl function
- */
-
-//sys  ioctl(fd int, req int, arg uintptr) (err error)
-
-func IoctlSetInt(fd int, req int, value int) (err error) {
-       return ioctl(fd, req, uintptr(value))
-}
-
-func IoctlSetWinsize(fd int, req int, value *Winsize) (err error) {
-       return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-}
-
-func IoctlSetTermios(fd int, req int, value *Termios) (err error) {
-       return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-}
-
-func IoctlSetTermio(fd int, req int, value *Termio) (err error) {
-       return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-}
-
-func IoctlGetInt(fd int, req int) (int, error) {
-       var value int
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return value, err
-}
-
-func IoctlGetWinsize(fd int, req int) (*Winsize, error) {
-       var value Winsize
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return &value, err
-}
-
-func IoctlGetTermios(fd int, req int) (*Termios, error) {
-       var value Termios
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return &value, err
-}
-
-func IoctlGetTermio(fd int, req int) (*Termio, error) {
-       var value Termio
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return &value, err
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Creat(path string, mode uint32) (fd int, err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
-//sys  Fdatasync(fd int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Getdents(fd int, buf []byte, basep *uintptr) (n int, err error)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgid int, err error)
-//sys  Geteuid() (euid int)
-//sys  Getegid() (egid int)
-//sys  Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (n int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error) = libsocket.listen
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Madvise(b []byte, advice int) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkdirat(dirfd int, path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mkfifoat(dirfd int, path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Sethostname(p []byte) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Shutdown(s int, how int) (err error) = libsocket.shutdown
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sysnb        Times(tms *Tms) (ticks uintptr, err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Umask(mask int) (oldmask int)
-//sysnb        Uname(buf *Utsname) (err error)
-//sys  Unmount(target string, flags int) (err error) = libc.umount
-//sys  Unlink(path string) (err error)
-//sys  Unlinkat(dirfd int, path string, flags int) (err error)
-//sys  Ustat(dev int, ubuf *Ustat_t) (err error)
-//sys  Utime(path string, buf *Utimbuf) (err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.bind
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.connect
-//sys  mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys  munmap(addr uintptr, length uintptr) (err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.sendto
-//sys  socket(domain int, typ int, proto int) (fd int, err error) = libsocket.socket
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) = libsocket.socketpair
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) = libsocket.getsockopt
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getpeername
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) = libsocket.setsockopt
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) = libsocket.recvfrom
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-var mapper = &mmapper{
-       active: make(map[*byte][]byte),
-       mmap:   mmap,
-       munmap: munmap,
-}
-
-func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       return mapper.Mmap(fd, offset, length, prot, flags)
-}
-
-func Munmap(b []byte) (err error) {
-       return mapper.Munmap(b)
-}
-
-//sys  sysconf(name int) (n int64, err error)
-
-// pageSize caches the value of Getpagesize, since it can't change
-// once the system is booted.
-var pageSize int64 // accessed atomically
-
-func Getpagesize() int {
-       n := atomic.LoadInt64(&pageSize)
-       if n == 0 {
-               n, _ = sysconf(_SC_PAGESIZE)
-               atomic.StoreInt64(&pageSize, n)
-       }
-       return int(n)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
deleted file mode 100644 (file)
index 5aff62c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,solaris
-
-package unix
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       // TODO(aram): implement this, see issue 5847.
-       panic("unimplemented")
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go
deleted file mode 100644 (file)
index b46b250..0000000
+++ /dev/null
@@ -1,297 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package unix
-
-import (
-       "runtime"
-       "sync"
-       "syscall"
-       "unsafe"
-)
-
-var (
-       Stdin  = 0
-       Stdout = 1
-       Stderr = 2
-)
-
-const (
-       darwin64Bit    = runtime.GOOS == "darwin" && sizeofPtr == 8
-       dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8
-       netbsd32Bit    = runtime.GOOS == "netbsd" && sizeofPtr == 4
-)
-
-// Do the interface allocations only once for common
-// Errno values.
-var (
-       errEAGAIN error = syscall.EAGAIN
-       errEINVAL error = syscall.EINVAL
-       errENOENT error = syscall.ENOENT
-)
-
-// errnoErr returns common boxed Errno values, to prevent
-// allocations at runtime.
-func errnoErr(e syscall.Errno) error {
-       switch e {
-       case 0:
-               return nil
-       case EAGAIN:
-               return errEAGAIN
-       case EINVAL:
-               return errEINVAL
-       case ENOENT:
-               return errENOENT
-       }
-       return e
-}
-
-func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-// Mmap manager, for use by operating system-specific implementations.
-
-type mmapper struct {
-       sync.Mutex
-       active map[*byte][]byte // active mappings; key is last byte in mapping
-       mmap   func(addr, length uintptr, prot, flags, fd int, offset int64) (uintptr, error)
-       munmap func(addr uintptr, length uintptr) error
-}
-
-func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       if length <= 0 {
-               return nil, EINVAL
-       }
-
-       // Map the requested memory.
-       addr, errno := m.mmap(0, uintptr(length), prot, flags, fd, offset)
-       if errno != nil {
-               return nil, errno
-       }
-
-       // Slice memory layout
-       var sl = struct {
-               addr uintptr
-               len  int
-               cap  int
-       }{addr, length, length}
-
-       // Use unsafe to turn sl into a []byte.
-       b := *(*[]byte)(unsafe.Pointer(&sl))
-
-       // Register mapping in m and return it.
-       p := &b[cap(b)-1]
-       m.Lock()
-       defer m.Unlock()
-       m.active[p] = b
-       return b, nil
-}
-
-func (m *mmapper) Munmap(data []byte) (err error) {
-       if len(data) == 0 || len(data) != cap(data) {
-               return EINVAL
-       }
-
-       // Find the base of the mapping.
-       p := &data[cap(data)-1]
-       m.Lock()
-       defer m.Unlock()
-       b := m.active[p]
-       if b == nil || &b[0] != &data[0] {
-               return EINVAL
-       }
-
-       // Unmap the memory and update m.
-       if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
-               return errno
-       }
-       delete(m.active, p)
-       return nil
-}
-
-func Read(fd int, p []byte) (n int, err error) {
-       n, err = read(fd, p)
-       if raceenabled {
-               if n > 0 {
-                       raceWriteRange(unsafe.Pointer(&p[0]), n)
-               }
-               if err == nil {
-                       raceAcquire(unsafe.Pointer(&ioSync))
-               }
-       }
-       return
-}
-
-func Write(fd int, p []byte) (n int, err error) {
-       if raceenabled {
-               raceReleaseMerge(unsafe.Pointer(&ioSync))
-       }
-       n, err = write(fd, p)
-       if raceenabled && n > 0 {
-               raceReadRange(unsafe.Pointer(&p[0]), n)
-       }
-       return
-}
-
-// For testing: clients can set this flag to force
-// creation of IPv6 sockets to return EAFNOSUPPORT.
-var SocketDisableIPv6 bool
-
-type Sockaddr interface {
-       sockaddr() (ptr unsafe.Pointer, len _Socklen, err error) // lowercase; only we can define Sockaddrs
-}
-
-type SockaddrInet4 struct {
-       Port int
-       Addr [4]byte
-       raw  RawSockaddrInet4
-}
-
-type SockaddrInet6 struct {
-       Port   int
-       ZoneId uint32
-       Addr   [16]byte
-       raw    RawSockaddrInet6
-}
-
-type SockaddrUnix struct {
-       Name string
-       raw  RawSockaddrUnix
-}
-
-func Bind(fd int, sa Sockaddr) (err error) {
-       ptr, n, err := sa.sockaddr()
-       if err != nil {
-               return err
-       }
-       return bind(fd, ptr, n)
-}
-
-func Connect(fd int, sa Sockaddr) (err error) {
-       ptr, n, err := sa.sockaddr()
-       if err != nil {
-               return err
-       }
-       return connect(fd, ptr, n)
-}
-
-func Getpeername(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getpeername(fd, &rsa, &len); err != nil {
-               return
-       }
-       return anyToSockaddr(&rsa)
-}
-
-func GetsockoptInt(fd, level, opt int) (value int, err error) {
-       var n int32
-       vallen := _Socklen(4)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-       return int(n), err
-}
-
-func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if n, err = recvfrom(fd, p, flags, &rsa, &len); err != nil {
-               return
-       }
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) {
-       ptr, n, err := to.sockaddr()
-       if err != nil {
-               return err
-       }
-       return sendto(fd, p, flags, ptr, n)
-}
-
-func SetsockoptByte(fd, level, opt int, value byte) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1)
-}
-
-func SetsockoptInt(fd, level, opt int, value int) (err error) {
-       var n = int32(value)
-       return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4)
-}
-
-func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4)
-}
-
-func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
-}
-
-func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
-}
-
-func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error {
-       return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
-}
-
-func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
-}
-
-func SetsockoptString(fd, level, opt int, s string) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(&[]byte(s)[0]), uintptr(len(s)))
-}
-
-func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
-}
-
-func Socket(domain, typ, proto int) (fd int, err error) {
-       if domain == AF_INET6 && SocketDisableIPv6 {
-               return -1, EAFNOSUPPORT
-       }
-       fd, err = socket(domain, typ, proto)
-       return
-}
-
-func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
-       var fdx [2]int32
-       err = socketpair(domain, typ, proto, &fdx)
-       if err == nil {
-               fd[0] = int(fdx[0])
-               fd[1] = int(fdx[1])
-       }
-       return
-}
-
-func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       if raceenabled {
-               raceReleaseMerge(unsafe.Pointer(&ioSync))
-       }
-       return sendfile(outfd, infd, offset, count)
-}
-
-var ioSync int64
-
-func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
-
-func SetNonblock(fd int, nonblocking bool) (err error) {
-       flag, err := fcntl(fd, F_GETFL, 0)
-       if err != nil {
-               return err
-       }
-       if nonblocking {
-               flag |= O_NONBLOCK
-       } else {
-               flag &= ^O_NONBLOCK
-       }
-       _, err = fcntl(fd, F_SETFL, flag)
-       return err
-}
diff --git a/vendor/golang.org/x/sys/unix/types_darwin.go b/vendor/golang.org/x/sys/unix/types_darwin.go
deleted file mode 100644 (file)
index 1153261..0000000
+++ /dev/null
@@ -1,250 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define __DARWIN_UNIX03 0
-#define KERNEL
-#define _DARWIN_USE_64_BIT_INODE
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <unistd.h>
-#include <mach/mach.h>
-#include <mach/message.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/uio.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/if_var.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-type Timeval32 C.struct_timeval32
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-type Stat_t C.struct_stat64
-
-type Statfs_t C.struct_statfs64
-
-type Flock_t C.struct_flock
-
-type Fstore_t C.struct_fstore
-
-type Radvisory_t C.struct_radvisory
-
-type Fbootstraptransfer_t C.struct_fbootstraptransfer
-
-type Log2phys_t C.struct_log2phys
-
-type Fsid C.struct_fsid
-
-type Dirent C.struct_dirent
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet4Pktinfo C.struct_in_pktinfo
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet4Pktinfo     = C.sizeof_struct_in_pktinfo
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr    = C.sizeof_struct_if_msghdr
-       SizeofIfData      = C.sizeof_struct_if_data
-       SizeofIfaMsghdr   = C.sizeof_struct_ifa_msghdr
-       SizeofIfmaMsghdr  = C.sizeof_struct_ifma_msghdr
-       SizeofIfmaMsghdr2 = C.sizeof_struct_ifma_msghdr2
-       SizeofRtMsghdr    = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics   = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfmaMsghdr C.struct_ifma_msghdr
-
-type IfmaMsghdr2 C.struct_ifma_msghdr2
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-// Terminal handling
-
-type Termios C.struct_termios
-
-// fchmodat-like syscalls.
-
-const (
-       AT_FDCWD            = C.AT_FDCWD
-       AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
-)
diff --git a/vendor/golang.org/x/sys/unix/types_dragonfly.go b/vendor/golang.org/x/sys/unix/types_dragonfly.go
deleted file mode 100644 (file)
index f3c971d..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.struct_fsid
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfmaMsghdr       = C.sizeof_struct_ifma_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfmaMsghdr C.struct_ifma_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-// Terminal handling
-
-type Termios C.struct_termios
diff --git a/vendor/golang.org/x/sys/unix/types_freebsd.go b/vendor/golang.org/x/sys/unix/types_freebsd.go
deleted file mode 100644 (file)
index ae24557..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-// This structure is a duplicate of stat on FreeBSD 8-STABLE.
-// See /usr/include/sys/stat.h.
-struct stat8 {
-#undef st_atimespec    st_atim
-#undef st_mtimespec    st_mtim
-#undef st_ctimespec    st_ctim
-#undef st_birthtimespec        st_birthtim
-       __dev_t   st_dev;
-       ino_t     st_ino;
-       mode_t    st_mode;
-       nlink_t   st_nlink;
-       uid_t     st_uid;
-       gid_t     st_gid;
-       __dev_t   st_rdev;
-#if __BSD_VISIBLE
-       struct  timespec st_atimespec;
-       struct  timespec st_mtimespec;
-       struct  timespec st_ctimespec;
-#else
-       time_t    st_atime;
-       long      __st_atimensec;
-       time_t    st_mtime;
-       long      __st_mtimensec;
-       time_t    st_ctime;
-       long      __st_ctimensec;
-#endif
-       off_t     st_size;
-       blkcnt_t st_blocks;
-       blksize_t st_blksize;
-       fflags_t  st_flags;
-       __uint32_t st_gen;
-       __int32_t st_lspare;
-#if __BSD_VISIBLE
-       struct timespec st_birthtimespec;
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
-#else
-       time_t    st_birthtime;
-       long      st_birthtimensec;
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
-#endif
-};
-
-// This structure is a duplicate of if_data on FreeBSD 8-STABLE.
-// See /usr/include/net/if.h.
-struct if_data8 {
-       u_char  ifi_type;
-       u_char  ifi_physical;
-       u_char  ifi_addrlen;
-       u_char  ifi_hdrlen;
-       u_char  ifi_link_state;
-       u_char  ifi_spare_char1;
-       u_char  ifi_spare_char2;
-       u_char  ifi_datalen;
-       u_long  ifi_mtu;
-       u_long  ifi_metric;
-       u_long  ifi_baudrate;
-       u_long  ifi_ipackets;
-       u_long  ifi_ierrors;
-       u_long  ifi_opackets;
-       u_long  ifi_oerrors;
-       u_long  ifi_collisions;
-       u_long  ifi_ibytes;
-       u_long  ifi_obytes;
-       u_long  ifi_imcasts;
-       u_long  ifi_omcasts;
-       u_long  ifi_iqdrops;
-       u_long  ifi_noproto;
-       u_long  ifi_hwassist;
-       time_t  ifi_epoch;
-       struct  timeval ifi_lastchange;
-};
-
-// This structure is a duplicate of if_msghdr on FreeBSD 8-STABLE.
-// See /usr/include/net/if.h.
-struct if_msghdr8 {
-       u_short ifm_msglen;
-       u_char  ifm_version;
-       u_char  ifm_type;
-       int     ifm_addrs;
-       int     ifm_flags;
-       u_short ifm_index;
-       struct  if_data8 ifm_data;
-};
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat8
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.struct_fsid
-
-// Advice to Fadvise
-
-const (
-       FADV_NORMAL     = C.POSIX_FADV_NORMAL
-       FADV_RANDOM     = C.POSIX_FADV_RANDOM
-       FADV_SEQUENTIAL = C.POSIX_FADV_SEQUENTIAL
-       FADV_WILLNEED   = C.POSIX_FADV_WILLNEED
-       FADV_DONTNEED   = C.POSIX_FADV_DONTNEED
-       FADV_NOREUSE    = C.POSIX_FADV_NOREUSE
-)
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPMreqn C.struct_ip_mreqn
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPMreqn          = C.sizeof_struct_ip_mreqn
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       sizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr8
-       sizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfData           = C.sizeof_struct_if_data8
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfmaMsghdr       = C.sizeof_struct_ifma_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type ifMsghdr C.struct_if_msghdr
-
-type IfMsghdr C.struct_if_msghdr8
-
-type ifData C.struct_if_data
-
-type IfData C.struct_if_data8
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfmaMsghdr C.struct_ifma_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion    = C.sizeof_struct_bpf_version
-       SizeofBpfStat       = C.sizeof_struct_bpf_stat
-       SizeofBpfZbuf       = C.sizeof_struct_bpf_zbuf
-       SizeofBpfProgram    = C.sizeof_struct_bpf_program
-       SizeofBpfInsn       = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr        = C.sizeof_struct_bpf_hdr
-       SizeofBpfZbufHeader = C.sizeof_struct_bpf_zbuf_header
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfZbuf C.struct_bpf_zbuf
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-type BpfZbufHeader C.struct_bpf_zbuf_header
-
-// Terminal handling
-
-type Termios C.struct_termios
diff --git a/vendor/golang.org/x/sys/unix/types_linux.go b/vendor/golang.org/x/sys/unix/types_linux.go
deleted file mode 100644 (file)
index d004b4a..0000000
+++ /dev/null
@@ -1,435 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
-#define _FILE_OFFSET_BITS 64
-#define _GNU_SOURCE
-
-#include <dirent.h>
-#include <fcntl.h>
-#include <netinet/in.h>
-#include <netinet/tcp.h>
-#include <netpacket/packet.h>
-#include <signal.h>
-#include <stdio.h>
-#include <sys/epoll.h>
-#include <sys/inotify.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/stat.h>
-#include <sys/statfs.h>
-#include <sys/sysinfo.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/timex.h>
-#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/user.h>
-#include <sys/utsname.h>
-#include <sys/wait.h>
-#include <linux/filter.h>
-#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
-#include <linux/icmpv6.h>
-#include <asm/termbits.h>
-#include <time.h>
-#include <unistd.h>
-#include <ustat.h>
-#include <utime.h>
-#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-
-#ifdef TCSETS2
-// On systems that have "struct termios2" use this as type Termios.
-typedef struct termios2 termios_t;
-#else
-typedef struct termios termios_t;
-#endif
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_ll s5;
-       struct sockaddr_nl s6;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-// copied from /usr/include/linux/un.h
-struct my_sockaddr_un {
-       sa_family_t sun_family;
-#if defined(__ARM_EABI__) || defined(__powerpc64__)
-       // on ARM char is by default unsigned
-       signed char sun_path[108];
-#else
-       char sun_path[108];
-#endif
-};
-
-#ifdef __ARM_EABI__
-typedef struct user_regs PtraceRegs;
-#elif defined(__aarch64__)
-typedef struct user_pt_regs PtraceRegs;
-#elif defined(__powerpc64__)
-typedef struct pt_regs PtraceRegs;
-#elif defined(__mips__)
-typedef struct user PtraceRegs;
-#elif defined(__s390x__)
-typedef struct _user_regs_struct PtraceRegs;
-#else
-typedef struct user_regs_struct PtraceRegs;
-#endif
-
-#if defined(__s390x__)
-typedef struct _user_psw_struct ptracePsw;
-typedef struct _user_fpregs_struct ptraceFpregs;
-typedef struct _user_per_struct ptracePer;
-#else
-typedef struct {} ptracePsw;
-typedef struct {} ptraceFpregs;
-typedef struct {} ptracePer;
-#endif
-
-// The real epoll_event is a union, and godefs doesn't handle it well.
-struct my_epoll_event {
-       uint32_t events;
-#if defined(__ARM_EABI__) || defined(__aarch64__)
-       // padding is not specified in linux/eventpoll.h but added to conform to the
-       // alignment requirements of EABI
-       int32_t padFd;
-#elif defined(__powerpc64__) || defined(__s390x__)
-       int32_t _padFd;
-#endif
-       int32_t fd;
-       int32_t pad;
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-       PathMax        = C.PATH_MAX
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-type Timex C.struct_timex
-
-type Time_t C.time_t
-
-type Tms C.struct_tms
-
-type Utimbuf C.struct_utimbuf
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Dirent C.struct_dirent
-
-type Fsid C.fsid_t
-
-type Flock_t C.struct_flock
-
-// Advice to Fadvise
-
-const (
-       FADV_NORMAL     = C.POSIX_FADV_NORMAL
-       FADV_RANDOM     = C.POSIX_FADV_RANDOM
-       FADV_SEQUENTIAL = C.POSIX_FADV_SEQUENTIAL
-       FADV_WILLNEED   = C.POSIX_FADV_WILLNEED
-       FADV_DONTNEED   = C.POSIX_FADV_DONTNEED
-       FADV_NOREUSE    = C.POSIX_FADV_NOREUSE
-)
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_my_sockaddr_un
-
-type RawSockaddrLinklayer C.struct_sockaddr_ll
-
-type RawSockaddrNetlink C.struct_sockaddr_nl
-
-type RawSockaddrHCI C.struct_sockaddr_hci
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPMreqn C.struct_ip_mreqn
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet4Pktinfo C.struct_in_pktinfo
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-type Ucred C.struct_ucred
-
-type TCPInfo C.struct_tcp_info
-
-const (
-       SizeofSockaddrInet4     = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6     = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny       = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix      = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrLinklayer = C.sizeof_struct_sockaddr_ll
-       SizeofSockaddrNetlink   = C.sizeof_struct_sockaddr_nl
-       SizeofSockaddrHCI       = C.sizeof_struct_sockaddr_hci
-       SizeofLinger            = C.sizeof_struct_linger
-       SizeofIPMreq            = C.sizeof_struct_ip_mreq
-       SizeofIPMreqn           = C.sizeof_struct_ip_mreqn
-       SizeofIPv6Mreq          = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr            = C.sizeof_struct_msghdr
-       SizeofCmsghdr           = C.sizeof_struct_cmsghdr
-       SizeofInet4Pktinfo      = C.sizeof_struct_in_pktinfo
-       SizeofInet6Pktinfo      = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo       = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter      = C.sizeof_struct_icmp6_filter
-       SizeofUcred             = C.sizeof_struct_ucred
-       SizeofTCPInfo           = C.sizeof_struct_tcp_info
-)
-
-// Netlink routing and interface messages
-
-const (
-       IFA_UNSPEC          = C.IFA_UNSPEC
-       IFA_ADDRESS         = C.IFA_ADDRESS
-       IFA_LOCAL           = C.IFA_LOCAL
-       IFA_LABEL           = C.IFA_LABEL
-       IFA_BROADCAST       = C.IFA_BROADCAST
-       IFA_ANYCAST         = C.IFA_ANYCAST
-       IFA_CACHEINFO       = C.IFA_CACHEINFO
-       IFA_MULTICAST       = C.IFA_MULTICAST
-       IFLA_UNSPEC         = C.IFLA_UNSPEC
-       IFLA_ADDRESS        = C.IFLA_ADDRESS
-       IFLA_BROADCAST      = C.IFLA_BROADCAST
-       IFLA_IFNAME         = C.IFLA_IFNAME
-       IFLA_MTU            = C.IFLA_MTU
-       IFLA_LINK           = C.IFLA_LINK
-       IFLA_QDISC          = C.IFLA_QDISC
-       IFLA_STATS          = C.IFLA_STATS
-       IFLA_COST           = C.IFLA_COST
-       IFLA_PRIORITY       = C.IFLA_PRIORITY
-       IFLA_MASTER         = C.IFLA_MASTER
-       IFLA_WIRELESS       = C.IFLA_WIRELESS
-       IFLA_PROTINFO       = C.IFLA_PROTINFO
-       IFLA_TXQLEN         = C.IFLA_TXQLEN
-       IFLA_MAP            = C.IFLA_MAP
-       IFLA_WEIGHT         = C.IFLA_WEIGHT
-       IFLA_OPERSTATE      = C.IFLA_OPERSTATE
-       IFLA_LINKMODE       = C.IFLA_LINKMODE
-       IFLA_LINKINFO       = C.IFLA_LINKINFO
-       IFLA_NET_NS_PID     = C.IFLA_NET_NS_PID
-       IFLA_IFALIAS        = C.IFLA_IFALIAS
-       IFLA_MAX            = C.IFLA_MAX
-       RT_SCOPE_UNIVERSE   = C.RT_SCOPE_UNIVERSE
-       RT_SCOPE_SITE       = C.RT_SCOPE_SITE
-       RT_SCOPE_LINK       = C.RT_SCOPE_LINK
-       RT_SCOPE_HOST       = C.RT_SCOPE_HOST
-       RT_SCOPE_NOWHERE    = C.RT_SCOPE_NOWHERE
-       RT_TABLE_UNSPEC     = C.RT_TABLE_UNSPEC
-       RT_TABLE_COMPAT     = C.RT_TABLE_COMPAT
-       RT_TABLE_DEFAULT    = C.RT_TABLE_DEFAULT
-       RT_TABLE_MAIN       = C.RT_TABLE_MAIN
-       RT_TABLE_LOCAL      = C.RT_TABLE_LOCAL
-       RT_TABLE_MAX        = C.RT_TABLE_MAX
-       RTA_UNSPEC          = C.RTA_UNSPEC
-       RTA_DST             = C.RTA_DST
-       RTA_SRC             = C.RTA_SRC
-       RTA_IIF             = C.RTA_IIF
-       RTA_OIF             = C.RTA_OIF
-       RTA_GATEWAY         = C.RTA_GATEWAY
-       RTA_PRIORITY        = C.RTA_PRIORITY
-       RTA_PREFSRC         = C.RTA_PREFSRC
-       RTA_METRICS         = C.RTA_METRICS
-       RTA_MULTIPATH       = C.RTA_MULTIPATH
-       RTA_FLOW            = C.RTA_FLOW
-       RTA_CACHEINFO       = C.RTA_CACHEINFO
-       RTA_TABLE           = C.RTA_TABLE
-       RTN_UNSPEC          = C.RTN_UNSPEC
-       RTN_UNICAST         = C.RTN_UNICAST
-       RTN_LOCAL           = C.RTN_LOCAL
-       RTN_BROADCAST       = C.RTN_BROADCAST
-       RTN_ANYCAST         = C.RTN_ANYCAST
-       RTN_MULTICAST       = C.RTN_MULTICAST
-       RTN_BLACKHOLE       = C.RTN_BLACKHOLE
-       RTN_UNREACHABLE     = C.RTN_UNREACHABLE
-       RTN_PROHIBIT        = C.RTN_PROHIBIT
-       RTN_THROW           = C.RTN_THROW
-       RTN_NAT             = C.RTN_NAT
-       RTN_XRESOLVE        = C.RTN_XRESOLVE
-       RTNLGRP_NONE        = C.RTNLGRP_NONE
-       RTNLGRP_LINK        = C.RTNLGRP_LINK
-       RTNLGRP_NOTIFY      = C.RTNLGRP_NOTIFY
-       RTNLGRP_NEIGH       = C.RTNLGRP_NEIGH
-       RTNLGRP_TC          = C.RTNLGRP_TC
-       RTNLGRP_IPV4_IFADDR = C.RTNLGRP_IPV4_IFADDR
-       RTNLGRP_IPV4_MROUTE = C.RTNLGRP_IPV4_MROUTE
-       RTNLGRP_IPV4_ROUTE  = C.RTNLGRP_IPV4_ROUTE
-       RTNLGRP_IPV4_RULE   = C.RTNLGRP_IPV4_RULE
-       RTNLGRP_IPV6_IFADDR = C.RTNLGRP_IPV6_IFADDR
-       RTNLGRP_IPV6_MROUTE = C.RTNLGRP_IPV6_MROUTE
-       RTNLGRP_IPV6_ROUTE  = C.RTNLGRP_IPV6_ROUTE
-       RTNLGRP_IPV6_IFINFO = C.RTNLGRP_IPV6_IFINFO
-       RTNLGRP_IPV6_PREFIX = C.RTNLGRP_IPV6_PREFIX
-       RTNLGRP_IPV6_RULE   = C.RTNLGRP_IPV6_RULE
-       RTNLGRP_ND_USEROPT  = C.RTNLGRP_ND_USEROPT
-       SizeofNlMsghdr      = C.sizeof_struct_nlmsghdr
-       SizeofNlMsgerr      = C.sizeof_struct_nlmsgerr
-       SizeofRtGenmsg      = C.sizeof_struct_rtgenmsg
-       SizeofNlAttr        = C.sizeof_struct_nlattr
-       SizeofRtAttr        = C.sizeof_struct_rtattr
-       SizeofIfInfomsg     = C.sizeof_struct_ifinfomsg
-       SizeofIfAddrmsg     = C.sizeof_struct_ifaddrmsg
-       SizeofRtMsg         = C.sizeof_struct_rtmsg
-       SizeofRtNexthop     = C.sizeof_struct_rtnexthop
-)
-
-type NlMsghdr C.struct_nlmsghdr
-
-type NlMsgerr C.struct_nlmsgerr
-
-type RtGenmsg C.struct_rtgenmsg
-
-type NlAttr C.struct_nlattr
-
-type RtAttr C.struct_rtattr
-
-type IfInfomsg C.struct_ifinfomsg
-
-type IfAddrmsg C.struct_ifaddrmsg
-
-type RtMsg C.struct_rtmsg
-
-type RtNexthop C.struct_rtnexthop
-
-// Linux socket filter
-
-const (
-       SizeofSockFilter = C.sizeof_struct_sock_filter
-       SizeofSockFprog  = C.sizeof_struct_sock_fprog
-)
-
-type SockFilter C.struct_sock_filter
-
-type SockFprog C.struct_sock_fprog
-
-// Inotify
-
-type InotifyEvent C.struct_inotify_event
-
-const SizeofInotifyEvent = C.sizeof_struct_inotify_event
-
-// Ptrace
-
-// Register structures
-type PtraceRegs C.PtraceRegs
-
-// Structures contained in PtraceRegs on s390x (exported by mkpost.go)
-type ptracePsw C.ptracePsw
-
-type ptraceFpregs C.ptraceFpregs
-
-type ptracePer C.ptracePer
-
-// Misc
-
-type FdSet C.fd_set
-
-type Sysinfo_t C.struct_sysinfo
-
-type Utsname C.struct_utsname
-
-type Ustat_t C.struct_ustat
-
-type EpollEvent C.struct_my_epoll_event
-
-const (
-       AT_FDCWD            = C.AT_FDCWD
-       AT_REMOVEDIR        = C.AT_REMOVEDIR
-       AT_SYMLINK_FOLLOW   = C.AT_SYMLINK_FOLLOW
-       AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
-)
-
-// Terminal handling
-
-type Termios C.termios_t
diff --git a/vendor/golang.org/x/sys/unix/types_netbsd.go b/vendor/golang.org/x/sys/unix/types_netbsd.go
deleted file mode 100644 (file)
index d15f93d..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/sysctl.h>
-#include <sys/time.h>
-#include <sys/uio.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.fsid_t
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-type Mclpool C.struct_mclpool
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-type BpfTimeval C.struct_bpf_timeval
-
-// Terminal handling
-
-type Termios C.struct_termios
-
-// Sysctl
-
-type Sysctlnode C.struct_sysctlnode
diff --git a/vendor/golang.org/x/sys/unix/types_openbsd.go b/vendor/golang.org/x/sys/unix/types_openbsd.go
deleted file mode 100644 (file)
index b66fe25..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/uio.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.fsid_t
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-type Mclpool C.struct_mclpool
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-type BpfTimeval C.struct_bpf_timeval
-
-// Terminal handling
-
-type Termios C.struct_termios
diff --git a/vendor/golang.org/x/sys/unix/types_solaris.go b/vendor/golang.org/x/sys/unix/types_solaris.go
deleted file mode 100644 (file)
index 6ad50ea..0000000
+++ /dev/null
@@ -1,260 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See also mkerrors.sh and mkall.sh
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-// These defines ensure that builds done on newer versions of Solaris are
-// backwards-compatible with older versions of Solaris and
-// OpenSolaris-based derivatives.
-#define __USE_SUNOS_SOCKETS__          // msghdr
-#define __USE_LEGACY_PROTOTYPES__      // iovec
-#include <dirent.h>
-#include <fcntl.h>
-#include <limits.h>
-#include <signal.h>
-#include <termios.h>
-#include <termio.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/types.h>
-#include <sys/utsname.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-#include <ustat.h>
-#include <utime.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-       PathMax        = C.PATH_MAX
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-type Timeval32 C.struct_timeval32
-
-type Tms C.struct_tms
-
-type Utimbuf C.struct_utimbuf
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Select
-
-type FdSet C.fd_set
-
-// Misc
-
-type Utsname C.struct_utsname
-
-type Ustat_t C.struct_ustat
-
-const (
-       AT_FDCWD            = C.AT_FDCWD
-       AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
-       AT_SYMLINK_FOLLOW   = C.AT_SYMLINK_FOLLOW
-       AT_REMOVEDIR        = C.AT_REMOVEDIR
-       AT_EACCESS          = C.AT_EACCESS
-)
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr  = C.sizeof_struct_if_msghdr
-       SizeofIfData    = C.sizeof_struct_if_data
-       SizeofIfaMsghdr = C.sizeof_struct_ifa_msghdr
-       SizeofRtMsghdr  = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfTimeval C.struct_bpf_timeval
-
-type BpfHdr C.struct_bpf_hdr
-
-// sysconf information
-
-const _SC_PAGESIZE = C._SC_PAGESIZE
-
-// Terminal handling
-
-type Termios C.struct_termios
-
-type Termio C.struct_termio
-
-type Winsize C.struct_winsize
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
deleted file mode 100644 (file)
index 8e63888..0000000
+++ /dev/null
@@ -1,1576 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,darwin
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4008426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80084267
-       BIOCSETFNR                        = 0x8008427e
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8008426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf5
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PKTAP                         = 0xfe
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x3c
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_NOIFREF                       = 0x2000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc0286938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6981
-       SIOCRSLVMULTI                     = 0xc008693b
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40087458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40087459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x20
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "device not configured",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource deadlock avoided",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "resource busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "operation not supported by device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "result too large",
-       35:  "resource temporarily unavailable",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol family",
-       48:  "address already in use",
-       49:  "can't assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "socket is already connected",
-       57:  "socket is not connected",
-       58:  "can't send after socket shutdown",
-       59:  "too many references: can't splice",
-       60:  "operation timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disc quota exceeded",
-       70:  "stale NFS file handle",
-       71:  "too many levels of remote in path",
-       72:  "RPC struct is bad",
-       73:  "RPC version wrong",
-       74:  "RPC prog. not avail",
-       75:  "program version wrong",
-       76:  "bad procedure for program",
-       77:  "no locks available",
-       78:  "function not implemented",
-       79:  "inappropriate file type or format",
-       80:  "authentication error",
-       81:  "need authenticator",
-       82:  "device power is off",
-       83:  "device error",
-       84:  "value too large to be stored in data type",
-       85:  "bad executable (or shared library)",
-       86:  "bad CPU type in executable",
-       87:  "shared library version mismatch",
-       88:  "malformed Mach-o file",
-       89:  "operation canceled",
-       90:  "identifier removed",
-       91:  "no message of desired type",
-       92:  "illegal byte sequence",
-       93:  "attribute not found",
-       94:  "bad message",
-       95:  "EMULTIHOP (Reserved)",
-       96:  "no message available on STREAM",
-       97:  "ENOLINK (Reserved)",
-       98:  "no STREAM resources",
-       99:  "not a STREAM",
-       100: "protocol error",
-       101: "STREAM ioctl timeout",
-       102: "operation not supported on socket",
-       103: "policy not found",
-       104: "state not recoverable",
-       105: "previous owner died",
-       106: "interface output queue is full",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
deleted file mode 100644 (file)
index 9594f93..0000000
+++ /dev/null
@@ -1,1576 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,darwin
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETFNR                        = 0x8010427e
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf5
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PKTAP                         = 0xfe
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x3c
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_NOIFREF                       = 0x2000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc00c6924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc02c6938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106981
-       SIOCRSLVMULTI                     = 0xc010693b
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x40487413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x80487414
-       TIOCSETAF                         = 0x80487416
-       TIOCSETAW                         = 0x80487415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x40
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "device not configured",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource deadlock avoided",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "resource busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "operation not supported by device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "result too large",
-       35:  "resource temporarily unavailable",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol family",
-       48:  "address already in use",
-       49:  "can't assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "socket is already connected",
-       57:  "socket is not connected",
-       58:  "can't send after socket shutdown",
-       59:  "too many references: can't splice",
-       60:  "operation timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disc quota exceeded",
-       70:  "stale NFS file handle",
-       71:  "too many levels of remote in path",
-       72:  "RPC struct is bad",
-       73:  "RPC version wrong",
-       74:  "RPC prog. not avail",
-       75:  "program version wrong",
-       76:  "bad procedure for program",
-       77:  "no locks available",
-       78:  "function not implemented",
-       79:  "inappropriate file type or format",
-       80:  "authentication error",
-       81:  "need authenticator",
-       82:  "device power is off",
-       83:  "device error",
-       84:  "value too large to be stored in data type",
-       85:  "bad executable (or shared library)",
-       86:  "bad CPU type in executable",
-       87:  "shared library version mismatch",
-       88:  "malformed Mach-o file",
-       89:  "operation canceled",
-       90:  "identifier removed",
-       91:  "no message of desired type",
-       92:  "illegal byte sequence",
-       93:  "attribute not found",
-       94:  "bad message",
-       95:  "EMULTIHOP (Reserved)",
-       96:  "no message available on STREAM",
-       97:  "ENOLINK (Reserved)",
-       98:  "no STREAM resources",
-       99:  "not a STREAM",
-       100: "protocol error",
-       101: "STREAM ioctl timeout",
-       102: "operation not supported on socket",
-       103: "policy not found",
-       104: "state not recoverable",
-       105: "previous owner died",
-       106: "interface output queue is full",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
deleted file mode 100644 (file)
index a410e88..0000000
+++ /dev/null
@@ -1,1293 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-// +build arm,darwin
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AX25                          = 0x3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_C_HDLC                        = 0x68
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_FDDI                          = 0xa
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_NULL                          = 0x0
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PRONET                        = 0x4
-       DLT_RAW                           = 0xc
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc00c6924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc02c6938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106981
-       SIOCRSLVMULTI                     = 0xc010693b
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x40487413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x80487414
-       TIOCSETAF                         = 0x80487416
-       TIOCSETAW                         = 0x80487415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x40
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
deleted file mode 100644 (file)
index 3189c6b..0000000
+++ /dev/null
@@ -1,1576 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm64,darwin
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETFNR                        = 0x8010427e
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf5
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PKTAP                         = 0xfe
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x3c
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_NOIFREF                       = 0x2000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc00c6924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc02c6938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106981
-       SIOCRSLVMULTI                     = 0xc010693b
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x40487413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x80487414
-       TIOCSETAF                         = 0x80487416
-       TIOCSETAW                         = 0x80487415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x40
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "device not configured",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource deadlock avoided",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "resource busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "operation not supported by device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "result too large",
-       35:  "resource temporarily unavailable",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol family",
-       48:  "address already in use",
-       49:  "can't assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "socket is already connected",
-       57:  "socket is not connected",
-       58:  "can't send after socket shutdown",
-       59:  "too many references: can't splice",
-       60:  "operation timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disc quota exceeded",
-       70:  "stale NFS file handle",
-       71:  "too many levels of remote in path",
-       72:  "RPC struct is bad",
-       73:  "RPC version wrong",
-       74:  "RPC prog. not avail",
-       75:  "program version wrong",
-       76:  "bad procedure for program",
-       77:  "no locks available",
-       78:  "function not implemented",
-       79:  "inappropriate file type or format",
-       80:  "authentication error",
-       81:  "need authenticator",
-       82:  "device power is off",
-       83:  "device error",
-       84:  "value too large to be stored in data type",
-       85:  "bad executable (or shared library)",
-       86:  "bad CPU type in executable",
-       87:  "shared library version mismatch",
-       88:  "malformed Mach-o file",
-       89:  "operation canceled",
-       90:  "identifier removed",
-       91:  "no message of desired type",
-       92:  "illegal byte sequence",
-       93:  "attribute not found",
-       94:  "bad message",
-       95:  "EMULTIHOP (Reserved)",
-       96:  "no message available on STREAM",
-       97:  "ENOLINK (Reserved)",
-       98:  "no STREAM resources",
-       99:  "not a STREAM",
-       100: "protocol error",
-       101: "STREAM ioctl timeout",
-       102: "operation not supported on socket",
-       103: "policy not found",
-       104: "state not recoverable",
-       105: "previous owner died",
-       106: "interface output queue is full",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
deleted file mode 100644 (file)
index 0feceee..0000000
+++ /dev/null
@@ -1,1530 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,dragonfly
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x21
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x23
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x24
-       AF_MPLS                           = 0x22
-       AF_NATM                           = 0x1d
-       AF_NETGRAPH                       = 0x20
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0104279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8010427b
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x8
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DEFAULTBUFSIZE                = 0x1000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MAX_CLONES                    = 0x80
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_REDBACK_SMARTEDGE             = 0x20
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DBF                            = 0xf
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_EXCEPT                     = -0x8
-       EVFILT_MARKER                     = 0xf
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0x8
-       EVFILT_TIMER                      = -0x7
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_NODATA                         = 0x1000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTEXIT_LWP                       = 0x10000
-       EXTEXIT_PROC                      = 0x0
-       EXTEXIT_SETINT                    = 0x1
-       EXTEXIT_SIMPLE                    = 0x0
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETOWN                          = 0x5
-       F_OK                              = 0x0
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x118e72
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NPOLLING                      = 0x100000
-       IFF_OACTIVE                       = 0x400
-       IFF_OACTIVE_COMPAT                = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_POLLING                       = 0x10000
-       IFF_POLLING_COMPAT                = 0x10000
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xf3
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UNKNOWN                   = 0x102
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PKTOPTIONS                   = 0x34
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CONTROL_END                  = 0xb
-       MADV_CONTROL_START                = 0xa
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_INVAL                        = 0xa
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SETMAP                       = 0xb
-       MADV_WILLNEED                     = 0x3
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_NOCORE                        = 0x20000
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_SIZEALIGN                     = 0x40000
-       MAP_STACK                         = 0x400
-       MAP_TRYFIXED                      = 0x10000
-       MAP_VPAGETABLE                    = 0x2000
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FBLOCKING                     = 0x10000
-       MSG_FMASK                         = 0xffff0000
-       MSG_FNONBLOCKING                  = 0x20000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_NOTIFICATION                  = 0x200
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_SYNC                          = 0x800
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_MAXID                      = 0x4
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_OOB                          = 0x2
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x20000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x8000000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FAPPEND                         = 0x100000
-       O_FASYNCWRITE                     = 0x800000
-       O_FBLOCKING                       = 0x40000
-       O_FBUFFERED                       = 0x2000000
-       O_FMASK                           = 0x7fc0000
-       O_FNONBLOCKING                    = 0x80000
-       O_FOFFSET                         = 0x200000
-       O_FSYNC                           = 0x80
-       O_FSYNCWRITE                      = 0x400000
-       O_FUNBUFFERED                     = 0x1000000
-       O_MAPONREAD                       = 0x4000000
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0xb
-       RTAX_MPLS1                        = 0x8
-       RTAX_MPLS2                        = 0x9
-       RTAX_MPLS3                        = 0xa
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_MPLS1                         = 0x100
-       RTA_MPLS2                         = 0x200
-       RTA_MPLS3                         = 0x400
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MPLSOPS                       = 0x1000000
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x6
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_IWCAPSEGS                     = 0x400
-       RTV_IWMAXSEGS                     = 0x200
-       RTV_MSL                           = 0x100
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8040720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8040720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETSGCNT                      = 0xc0207210
-       SIOCGETVIFCNT                     = 0xc028720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0106924
-       SIOCGIFDATA                       = 0xc0206926
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc028698a
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMEDIA                      = 0xc0306938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPOLLCPU                    = 0xc020697e
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGIFTSOLEN                     = 0xc0206980
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFPOLLCPU                    = 0x8020697d
-       SIOCSIFTSOLEN                     = 0x8020697f
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDSPACE                       = 0x100a
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_FASTKEEP                      = 0x80
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x20
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0x100
-       TCP_MIN_WINSHIFT                  = 0x5
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_SIGNATURE_ENABLE              = 0x10
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCISPTMASTER                    = 0x20007455
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VCHECKPT                          = 0x13
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EASYNC          = syscall.Errno(0x63)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x63)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEDIUM       = syscall.Errno(0x5d)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUNUSED94       = syscall.Errno(0x5e)
-       EUNUSED95       = syscall.Errno(0x5f)
-       EUNUSED96       = syscall.Errno(0x60)
-       EUNUSED97       = syscall.Errno(0x61)
-       EUNUSED98       = syscall.Errno(0x62)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT     = syscall.Signal(0x6)
-       SIGALRM     = syscall.Signal(0xe)
-       SIGBUS      = syscall.Signal(0xa)
-       SIGCHLD     = syscall.Signal(0x14)
-       SIGCKPT     = syscall.Signal(0x21)
-       SIGCKPTEXIT = syscall.Signal(0x22)
-       SIGCONT     = syscall.Signal(0x13)
-       SIGEMT      = syscall.Signal(0x7)
-       SIGFPE      = syscall.Signal(0x8)
-       SIGHUP      = syscall.Signal(0x1)
-       SIGILL      = syscall.Signal(0x4)
-       SIGINFO     = syscall.Signal(0x1d)
-       SIGINT      = syscall.Signal(0x2)
-       SIGIO       = syscall.Signal(0x17)
-       SIGIOT      = syscall.Signal(0x6)
-       SIGKILL     = syscall.Signal(0x9)
-       SIGPIPE     = syscall.Signal(0xd)
-       SIGPROF     = syscall.Signal(0x1b)
-       SIGQUIT     = syscall.Signal(0x3)
-       SIGSEGV     = syscall.Signal(0xb)
-       SIGSTOP     = syscall.Signal(0x11)
-       SIGSYS      = syscall.Signal(0xc)
-       SIGTERM     = syscall.Signal(0xf)
-       SIGTHR      = syscall.Signal(0x20)
-       SIGTRAP     = syscall.Signal(0x5)
-       SIGTSTP     = syscall.Signal(0x12)
-       SIGTTIN     = syscall.Signal(0x15)
-       SIGTTOU     = syscall.Signal(0x16)
-       SIGURG      = syscall.Signal(0x10)
-       SIGUSR1     = syscall.Signal(0x1e)
-       SIGUSR2     = syscall.Signal(0x1f)
-       SIGVTALRM   = syscall.Signal(0x1a)
-       SIGWINCH    = syscall.Signal(0x1c)
-       SIGXCPU     = syscall.Signal(0x18)
-       SIGXFSZ     = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "no medium found",
-       94: "unknown error: 94",
-       95: "unknown error: 95",
-       96: "unknown error: 96",
-       97: "unknown error: 97",
-       98: "unknown error: 98",
-       99: "unknown error: 99",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "thread Scheduler",
-       33: "checkPoint",
-       34: "checkPointExit",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
deleted file mode 100644 (file)
index 7b95751..0000000
+++ /dev/null
@@ -1,1743 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,freebsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x23
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x24
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_INET6_SDP                      = 0x2a
-       AF_INET_SDP                       = 0x28
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x2a
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SCLUSTER                       = 0x22
-       AF_SIP                            = 0x18
-       AF_SLOW                           = 0x21
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_VENDOR00                       = 0x27
-       AF_VENDOR01                       = 0x29
-       AF_VENDOR02                       = 0x2b
-       AF_VENDOR03                       = 0x2d
-       AF_VENDOR04                       = 0x2f
-       AF_VENDOR05                       = 0x31
-       AF_VENDOR06                       = 0x33
-       AF_VENDOR07                       = 0x35
-       AF_VENDOR08                       = 0x37
-       AF_VENDOR09                       = 0x39
-       AF_VENDOR10                       = 0x3b
-       AF_VENDOR11                       = 0x3d
-       AF_VENDOR12                       = 0x3f
-       AF_VENDOR13                       = 0x41
-       AF_VENDOR14                       = 0x43
-       AF_VENDOR15                       = 0x45
-       AF_VENDOR16                       = 0x47
-       AF_VENDOR17                       = 0x49
-       AF_VENDOR18                       = 0x4b
-       AF_VENDOR19                       = 0x4d
-       AF_VENDOR20                       = 0x4f
-       AF_VENDOR21                       = 0x51
-       AF_VENDOR22                       = 0x53
-       AF_VENDOR23                       = 0x55
-       AF_VENDOR24                       = 0x57
-       AF_VENDOR25                       = 0x59
-       AF_VENDOR26                       = 0x5b
-       AF_VENDOR27                       = 0x5d
-       AF_VENDOR28                       = 0x5f
-       AF_VENDOR29                       = 0x61
-       AF_VENDOR30                       = 0x63
-       AF_VENDOR31                       = 0x65
-       AF_VENDOR32                       = 0x67
-       AF_VENDOR33                       = 0x69
-       AF_VENDOR34                       = 0x6b
-       AF_VENDOR35                       = 0x6d
-       AF_VENDOR36                       = 0x6f
-       AF_VENDOR37                       = 0x71
-       AF_VENDOR38                       = 0x73
-       AF_VENDOR39                       = 0x75
-       AF_VENDOR40                       = 0x77
-       AF_VENDOR41                       = 0x79
-       AF_VENDOR42                       = 0x7b
-       AF_VENDOR43                       = 0x7d
-       AF_VENDOR44                       = 0x7f
-       AF_VENDOR45                       = 0x81
-       AF_VENDOR46                       = 0x83
-       AF_VENDOR47                       = 0x85
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427c
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRECTION                    = 0x40044276
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084279
-       BIOCGETBUFMODE                    = 0x4004427d
-       BIOCGETIF                         = 0x4020426b
-       BIOCGETZMAX                       = 0x4004427f
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4008426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCGTSTAMP                       = 0x40044283
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCROTZBUF                       = 0x400c4280
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRECTION                    = 0x80044277
-       BIOCSDLT                          = 0x80044278
-       BIOCSETBUFMODE                    = 0x8004427e
-       BIOCSETF                          = 0x80084267
-       BIOCSETFNR                        = 0x80084282
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8008427b
-       BIOCSETZBUF                       = 0x800c4281
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8008426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCSTSTAMP                       = 0x80044284
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_BUFMODE_BUFFER                = 0x1
-       BPF_BUFMODE_ZBUF                  = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_T_BINTIME                     = 0x2
-       BPF_T_BINTIME_FAST                = 0x102
-       BPF_T_BINTIME_MONOTONIC           = 0x202
-       BPF_T_BINTIME_MONOTONIC_FAST      = 0x302
-       BPF_T_FAST                        = 0x100
-       BPF_T_FLAG_MASK                   = 0x300
-       BPF_T_FORMAT_MASK                 = 0x3
-       BPF_T_MICROTIME                   = 0x0
-       BPF_T_MICROTIME_FAST              = 0x100
-       BPF_T_MICROTIME_MONOTONIC         = 0x200
-       BPF_T_MICROTIME_MONOTONIC_FAST    = 0x300
-       BPF_T_MONOTONIC                   = 0x200
-       BPF_T_MONOTONIC_FAST              = 0x300
-       BPF_T_NANOTIME                    = 0x1
-       BPF_T_NANOTIME_FAST               = 0x101
-       BPF_T_NANOTIME_MONOTONIC          = 0x201
-       BPF_T_NANOTIME_MONOTONIC_FAST     = 0x301
-       BPF_T_NONE                        = 0x3
-       BPF_T_NORMAL                      = 0x0
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLOCK_MONOTONIC                   = 0x4
-       CLOCK_MONOTONIC_FAST              = 0xc
-       CLOCK_MONOTONIC_PRECISE           = 0xb
-       CLOCK_PROCESS_CPUTIME_ID          = 0xf
-       CLOCK_PROF                        = 0x2
-       CLOCK_REALTIME                    = 0x0
-       CLOCK_REALTIME_FAST               = 0xa
-       CLOCK_REALTIME_PRECISE            = 0x9
-       CLOCK_SECOND                      = 0xd
-       CLOCK_THREAD_CPUTIME_ID           = 0xe
-       CLOCK_UPTIME                      = 0x5
-       CLOCK_UPTIME_FAST                 = 0x8
-       CLOCK_UPTIME_PRECISE              = 0x7
-       CLOCK_VIRTUAL                     = 0x1
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0x18
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf6
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x79
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_LIO                        = -0xa
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xb
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xb
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_DROP                           = 0x1000
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTATTR_NAMESPACE_EMPTY           = 0x0
-       EXTATTR_NAMESPACE_SYSTEM          = 0x2
-       EXTATTR_NAMESPACE_USER            = 0x1
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_CANCEL                          = 0x5
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0xb
-       F_GETOWN                          = 0x5
-       F_OGETLK                          = 0x7
-       F_OK                              = 0x0
-       F_OSETLK                          = 0x8
-       F_OSETLKW                         = 0x9
-       F_RDAHEAD                         = 0x10
-       F_RDLCK                           = 0x1
-       F_READAHEAD                       = 0xf
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0xc
-       F_SETLKW                          = 0xd
-       F_SETLK_REMOTE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_UNLCKSYS                        = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x218f72
-       IFF_CANTCONFIG                    = 0x10000
-       IFF_DEBUG                         = 0x4
-       IFF_DRV_OACTIVE                   = 0x400
-       IFF_DRV_RUNNING                   = 0x40
-       IFF_DYING                         = 0x200000
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RENAMING                      = 0x400000
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_IPXIP                         = 0xf9
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf6
-       IFT_PFSYNC                        = 0xf7
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_MASK                   = 0xfffffffe
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HIP                       = 0x8b
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MH                        = 0x87
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OLD_DIVERT                = 0xfe
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_RESERVED_253              = 0xfd
-       IPPROTO_RESERVED_254              = 0xfe
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEND                      = 0x103
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SHIM6                     = 0x8c
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SPACER                    = 0x7fff
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UDPLITE                   = 0x88
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDANY                      = 0x40
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BINDANY                        = 0x18
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DONTFRAG                       = 0x43
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET3                      = 0x31
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW3                            = 0x30
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_NAT_CFG                     = 0x38
-       IP_FW_NAT_DEL                     = 0x39
-       IP_FW_NAT_GET_CONFIG              = 0x3a
-       IP_FW_NAT_GET_LOG                 = 0x3b
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_TABLE_ADD                   = 0x28
-       IP_FW_TABLE_DEL                   = 0x29
-       IP_FW_TABLE_FLUSH                 = 0x2a
-       IP_FW_TABLE_GETSIZE               = 0x2b
-       IP_FW_TABLE_LIST                  = 0x2c
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MAX_SOURCE_FILTER              = 0x400
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_ONESBCAST                      = 0x17
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTOS                        = 0x44
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_SENDSRCADDR                    = 0x7
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_PROTECT                      = 0xa
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNED_SUPER                 = 0x1000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_EXCL                          = 0x4000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_NOCORE                        = 0x20000
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PREFAULT_READ                 = 0x40000
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_RESERVED0100                  = 0x100
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x40000
-       MSG_COMPAT                        = 0x8000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_NBIO                          = 0x4000
-       MSG_NOSIGNAL                      = 0x20000
-       MSG_NOTIFICATION                  = 0x2000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLISTL                    = 0x5
-       NET_RT_IFMALIST                   = 0x4
-       NET_RT_MAXID                      = 0x6
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x100000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x20000
-       O_EXCL                            = 0x800
-       O_EXEC                            = 0x40000
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_TTY_INIT                        = 0x80000
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x1004d808
-       RTF_GATEWAY                       = 0x2
-       RTF_GWFLAG_COMPAT                 = 0x80000000
-       RTF_HOST                          = 0x4
-       RTF_LLDATA                        = 0x400
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_RNH_LOCKED                    = 0x40000000
-       RTF_STATIC                        = 0x800
-       RTF_STICKY                        = 0x10000000
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RTV_WEIGHT                        = 0x100
-       RT_ALL_FIBS                       = -0x1
-       RT_CACHING_CONTEXT                = 0x1
-       RT_DEFAULT_FIB                    = 0x0
-       RT_NORTREF                        = 0x2
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_BINTIME                       = 0x4
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80246987
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80246989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETSGCNT                      = 0xc0147210
-       SIOCGETVIFCNT                     = 0xc014720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDESCR                      = 0xc020692a
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFIB                        = 0xc020695c
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc024698a
-       SIOCGIFGROUP                      = 0xc0246988
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMAC                        = 0xc0206926
-       SIOCGIFMEDIA                      = 0xc0286938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDESCR                      = 0x80206929
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFIB                        = 0x8020695d
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206927
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFRVNET                      = 0xc020695b
-       SIOCSIFVNET                       = 0xc020695a
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BINTIME                        = 0x2000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1009
-       SO_LINGER                         = 0x80
-       SO_LISTENINCQLEN                  = 0x1013
-       SO_LISTENQLEN                     = 0x1012
-       SO_LISTENQLIMIT                   = 0x1011
-       SO_NOSIGPIPE                      = 0x800
-       SO_NO_DDP                         = 0x8000
-       SO_NO_OFFLOAD                     = 0x4000
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1010
-       SO_PROTOCOL                       = 0x1016
-       SO_PROTOTYPE                      = 0x1016
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SETFIB                         = 0x1014
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SO_USER_COOKIE                    = 0x1015
-       SO_VENDOR                         = 0x80000000
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CA_NAME_MAX                   = 0x10
-       TCP_CONGESTION                    = 0x40
-       TCP_INFO                          = 0x20
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x80
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_VENDOR                        = 0x80000000
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGPTN                          = 0x4004740f
-       TIOCGSID                          = 0x40047463
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DCD                         = 0x40
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMASTER                      = 0x2000741c
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40087459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x10
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x8
-       WSTOPPED                          = 0x2
-       WTRAPPED                          = 0x20
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECAPMODE        = syscall.Errno(0x5e)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCAPABLE     = syscall.Errno(0x5d)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x5f)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x60)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLIBRT  = syscall.Signal(0x21)
-       SIGLWP    = syscall.Signal(0x20)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "capabilities insufficient",
-       94: "not permitted in capability mode",
-       95: "state not recoverable",
-       96: "previous owner died",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "unknown signal",
-       33: "unknown signal",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
deleted file mode 100644 (file)
index e48e779..0000000
+++ /dev/null
@@ -1,1748 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,freebsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x23
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x24
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_INET6_SDP                      = 0x2a
-       AF_INET_SDP                       = 0x28
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x2a
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SCLUSTER                       = 0x22
-       AF_SIP                            = 0x18
-       AF_SLOW                           = 0x21
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_VENDOR00                       = 0x27
-       AF_VENDOR01                       = 0x29
-       AF_VENDOR02                       = 0x2b
-       AF_VENDOR03                       = 0x2d
-       AF_VENDOR04                       = 0x2f
-       AF_VENDOR05                       = 0x31
-       AF_VENDOR06                       = 0x33
-       AF_VENDOR07                       = 0x35
-       AF_VENDOR08                       = 0x37
-       AF_VENDOR09                       = 0x39
-       AF_VENDOR10                       = 0x3b
-       AF_VENDOR11                       = 0x3d
-       AF_VENDOR12                       = 0x3f
-       AF_VENDOR13                       = 0x41
-       AF_VENDOR14                       = 0x43
-       AF_VENDOR15                       = 0x45
-       AF_VENDOR16                       = 0x47
-       AF_VENDOR17                       = 0x49
-       AF_VENDOR18                       = 0x4b
-       AF_VENDOR19                       = 0x4d
-       AF_VENDOR20                       = 0x4f
-       AF_VENDOR21                       = 0x51
-       AF_VENDOR22                       = 0x53
-       AF_VENDOR23                       = 0x55
-       AF_VENDOR24                       = 0x57
-       AF_VENDOR25                       = 0x59
-       AF_VENDOR26                       = 0x5b
-       AF_VENDOR27                       = 0x5d
-       AF_VENDOR28                       = 0x5f
-       AF_VENDOR29                       = 0x61
-       AF_VENDOR30                       = 0x63
-       AF_VENDOR31                       = 0x65
-       AF_VENDOR32                       = 0x67
-       AF_VENDOR33                       = 0x69
-       AF_VENDOR34                       = 0x6b
-       AF_VENDOR35                       = 0x6d
-       AF_VENDOR36                       = 0x6f
-       AF_VENDOR37                       = 0x71
-       AF_VENDOR38                       = 0x73
-       AF_VENDOR39                       = 0x75
-       AF_VENDOR40                       = 0x77
-       AF_VENDOR41                       = 0x79
-       AF_VENDOR42                       = 0x7b
-       AF_VENDOR43                       = 0x7d
-       AF_VENDOR44                       = 0x7f
-       AF_VENDOR45                       = 0x81
-       AF_VENDOR46                       = 0x83
-       AF_VENDOR47                       = 0x85
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427c
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRECTION                    = 0x40044276
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0104279
-       BIOCGETBUFMODE                    = 0x4004427d
-       BIOCGETIF                         = 0x4020426b
-       BIOCGETZMAX                       = 0x4008427f
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCGTSTAMP                       = 0x40044283
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCROTZBUF                       = 0x40184280
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRECTION                    = 0x80044277
-       BIOCSDLT                          = 0x80044278
-       BIOCSETBUFMODE                    = 0x8004427e
-       BIOCSETF                          = 0x80104267
-       BIOCSETFNR                        = 0x80104282
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8010427b
-       BIOCSETZBUF                       = 0x80184281
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCSTSTAMP                       = 0x80044284
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x8
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_BUFMODE_BUFFER                = 0x1
-       BPF_BUFMODE_ZBUF                  = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_T_BINTIME                     = 0x2
-       BPF_T_BINTIME_FAST                = 0x102
-       BPF_T_BINTIME_MONOTONIC           = 0x202
-       BPF_T_BINTIME_MONOTONIC_FAST      = 0x302
-       BPF_T_FAST                        = 0x100
-       BPF_T_FLAG_MASK                   = 0x300
-       BPF_T_FORMAT_MASK                 = 0x3
-       BPF_T_MICROTIME                   = 0x0
-       BPF_T_MICROTIME_FAST              = 0x100
-       BPF_T_MICROTIME_MONOTONIC         = 0x200
-       BPF_T_MICROTIME_MONOTONIC_FAST    = 0x300
-       BPF_T_MONOTONIC                   = 0x200
-       BPF_T_MONOTONIC_FAST              = 0x300
-       BPF_T_NANOTIME                    = 0x1
-       BPF_T_NANOTIME_FAST               = 0x101
-       BPF_T_NANOTIME_MONOTONIC          = 0x201
-       BPF_T_NANOTIME_MONOTONIC_FAST     = 0x301
-       BPF_T_NONE                        = 0x3
-       BPF_T_NORMAL                      = 0x0
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLOCK_MONOTONIC                   = 0x4
-       CLOCK_MONOTONIC_FAST              = 0xc
-       CLOCK_MONOTONIC_PRECISE           = 0xb
-       CLOCK_PROCESS_CPUTIME_ID          = 0xf
-       CLOCK_PROF                        = 0x2
-       CLOCK_REALTIME                    = 0x0
-       CLOCK_REALTIME_FAST               = 0xa
-       CLOCK_REALTIME_PRECISE            = 0x9
-       CLOCK_SECOND                      = 0xd
-       CLOCK_THREAD_CPUTIME_ID           = 0xe
-       CLOCK_UPTIME                      = 0x5
-       CLOCK_UPTIME_FAST                 = 0x8
-       CLOCK_UPTIME_PRECISE              = 0x7
-       CLOCK_VIRTUAL                     = 0x1
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0x18
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf6
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x79
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_LIO                        = -0xa
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xb
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xb
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_DROP                           = 0x1000
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTATTR_NAMESPACE_EMPTY           = 0x0
-       EXTATTR_NAMESPACE_SYSTEM          = 0x2
-       EXTATTR_NAMESPACE_USER            = 0x1
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_CANCEL                          = 0x5
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0xb
-       F_GETOWN                          = 0x5
-       F_OGETLK                          = 0x7
-       F_OK                              = 0x0
-       F_OSETLK                          = 0x8
-       F_OSETLKW                         = 0x9
-       F_RDAHEAD                         = 0x10
-       F_RDLCK                           = 0x1
-       F_READAHEAD                       = 0xf
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0xc
-       F_SETLKW                          = 0xd
-       F_SETLK_REMOTE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_UNLCKSYS                        = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x218f72
-       IFF_CANTCONFIG                    = 0x10000
-       IFF_DEBUG                         = 0x4
-       IFF_DRV_OACTIVE                   = 0x400
-       IFF_DRV_RUNNING                   = 0x40
-       IFF_DYING                         = 0x200000
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RENAMING                      = 0x400000
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_IPXIP                         = 0xf9
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf6
-       IFT_PFSYNC                        = 0xf7
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_MASK                   = 0xfffffffe
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HIP                       = 0x8b
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MH                        = 0x87
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OLD_DIVERT                = 0xfe
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_RESERVED_253              = 0xfd
-       IPPROTO_RESERVED_254              = 0xfe
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEND                      = 0x103
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SHIM6                     = 0x8c
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SPACER                    = 0x7fff
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UDPLITE                   = 0x88
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDANY                      = 0x40
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BINDANY                        = 0x18
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DONTFRAG                       = 0x43
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET3                      = 0x31
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW3                            = 0x30
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_NAT_CFG                     = 0x38
-       IP_FW_NAT_DEL                     = 0x39
-       IP_FW_NAT_GET_CONFIG              = 0x3a
-       IP_FW_NAT_GET_LOG                 = 0x3b
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_TABLE_ADD                   = 0x28
-       IP_FW_TABLE_DEL                   = 0x29
-       IP_FW_TABLE_FLUSH                 = 0x2a
-       IP_FW_TABLE_GETSIZE               = 0x2b
-       IP_FW_TABLE_LIST                  = 0x2c
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MAX_SOURCE_FILTER              = 0x400
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_ONESBCAST                      = 0x17
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTOS                        = 0x44
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_SENDSRCADDR                    = 0x7
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_PROTECT                      = 0xa
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MAP_32BIT                         = 0x80000
-       MAP_ALIGNED_SUPER                 = 0x1000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_EXCL                          = 0x4000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_NOCORE                        = 0x20000
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PREFAULT_READ                 = 0x40000
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_RESERVED0100                  = 0x100
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x40000
-       MSG_COMPAT                        = 0x8000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_NBIO                          = 0x4000
-       MSG_NOSIGNAL                      = 0x20000
-       MSG_NOTIFICATION                  = 0x2000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLISTL                    = 0x5
-       NET_RT_IFMALIST                   = 0x4
-       NET_RT_MAXID                      = 0x6
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_MSECONDS                     = 0x2
-       NOTE_NSECONDS                     = 0x8
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x4
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x100000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x20000
-       O_EXCL                            = 0x800
-       O_EXEC                            = 0x40000
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_TTY_INIT                        = 0x80000
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x1004d808
-       RTF_GATEWAY                       = 0x2
-       RTF_GWFLAG_COMPAT                 = 0x80000000
-       RTF_HOST                          = 0x4
-       RTF_LLDATA                        = 0x400
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_RNH_LOCKED                    = 0x40000000
-       RTF_STATIC                        = 0x800
-       RTF_STICKY                        = 0x10000000
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RTV_WEIGHT                        = 0x100
-       RT_ALL_FIBS                       = -0x1
-       RT_CACHING_CONTEXT                = 0x1
-       RT_DEFAULT_FIB                    = 0x0
-       RT_NORTREF                        = 0x2
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_BINTIME                       = 0x4
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8040720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80286987
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8040720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80286989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETSGCNT                      = 0xc0207210
-       SIOCGETVIFCNT                     = 0xc028720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0106924
-       SIOCGIFDESCR                      = 0xc020692a
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFIB                        = 0xc020695c
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc028698a
-       SIOCGIFGROUP                      = 0xc0286988
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMAC                        = 0xc0206926
-       SIOCGIFMEDIA                      = 0xc0306938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDESCR                      = 0x80206929
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFIB                        = 0x8020695d
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206927
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFRVNET                      = 0xc020695b
-       SIOCSIFVNET                       = 0xc020695a
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BINTIME                        = 0x2000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1009
-       SO_LINGER                         = 0x80
-       SO_LISTENINCQLEN                  = 0x1013
-       SO_LISTENQLEN                     = 0x1012
-       SO_LISTENQLIMIT                   = 0x1011
-       SO_NOSIGPIPE                      = 0x800
-       SO_NO_DDP                         = 0x8000
-       SO_NO_OFFLOAD                     = 0x4000
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1010
-       SO_PROTOCOL                       = 0x1016
-       SO_PROTOTYPE                      = 0x1016
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SETFIB                         = 0x1014
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SO_USER_COOKIE                    = 0x1015
-       SO_VENDOR                         = 0x80000000
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CA_NAME_MAX                   = 0x10
-       TCP_CONGESTION                    = 0x40
-       TCP_INFO                          = 0x20
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x80
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_VENDOR                        = 0x80000000
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGPTN                          = 0x4004740f
-       TIOCGSID                          = 0x40047463
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DCD                         = 0x40
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMASTER                      = 0x2000741c
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x10
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x8
-       WSTOPPED                          = 0x2
-       WTRAPPED                          = 0x20
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECAPMODE        = syscall.Errno(0x5e)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCAPABLE     = syscall.Errno(0x5d)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x5f)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x60)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLIBRT  = syscall.Signal(0x21)
-       SIGLWP    = syscall.Signal(0x20)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "capabilities insufficient",
-       94: "not permitted in capability mode",
-       95: "state not recoverable",
-       96: "previous owner died",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "unknown signal",
-       33: "unknown signal",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
deleted file mode 100644 (file)
index 2afbe2d..0000000
+++ /dev/null
@@ -1,1729 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,freebsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x23
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x24
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_INET6_SDP                      = 0x2a
-       AF_INET_SDP                       = 0x28
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x2a
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SCLUSTER                       = 0x22
-       AF_SIP                            = 0x18
-       AF_SLOW                           = 0x21
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_VENDOR00                       = 0x27
-       AF_VENDOR01                       = 0x29
-       AF_VENDOR02                       = 0x2b
-       AF_VENDOR03                       = 0x2d
-       AF_VENDOR04                       = 0x2f
-       AF_VENDOR05                       = 0x31
-       AF_VENDOR06                       = 0x33
-       AF_VENDOR07                       = 0x35
-       AF_VENDOR08                       = 0x37
-       AF_VENDOR09                       = 0x39
-       AF_VENDOR10                       = 0x3b
-       AF_VENDOR11                       = 0x3d
-       AF_VENDOR12                       = 0x3f
-       AF_VENDOR13                       = 0x41
-       AF_VENDOR14                       = 0x43
-       AF_VENDOR15                       = 0x45
-       AF_VENDOR16                       = 0x47
-       AF_VENDOR17                       = 0x49
-       AF_VENDOR18                       = 0x4b
-       AF_VENDOR19                       = 0x4d
-       AF_VENDOR20                       = 0x4f
-       AF_VENDOR21                       = 0x51
-       AF_VENDOR22                       = 0x53
-       AF_VENDOR23                       = 0x55
-       AF_VENDOR24                       = 0x57
-       AF_VENDOR25                       = 0x59
-       AF_VENDOR26                       = 0x5b
-       AF_VENDOR27                       = 0x5d
-       AF_VENDOR28                       = 0x5f
-       AF_VENDOR29                       = 0x61
-       AF_VENDOR30                       = 0x63
-       AF_VENDOR31                       = 0x65
-       AF_VENDOR32                       = 0x67
-       AF_VENDOR33                       = 0x69
-       AF_VENDOR34                       = 0x6b
-       AF_VENDOR35                       = 0x6d
-       AF_VENDOR36                       = 0x6f
-       AF_VENDOR37                       = 0x71
-       AF_VENDOR38                       = 0x73
-       AF_VENDOR39                       = 0x75
-       AF_VENDOR40                       = 0x77
-       AF_VENDOR41                       = 0x79
-       AF_VENDOR42                       = 0x7b
-       AF_VENDOR43                       = 0x7d
-       AF_VENDOR44                       = 0x7f
-       AF_VENDOR45                       = 0x81
-       AF_VENDOR46                       = 0x83
-       AF_VENDOR47                       = 0x85
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427c
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRECTION                    = 0x40044276
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084279
-       BIOCGETBUFMODE                    = 0x4004427d
-       BIOCGETIF                         = 0x4020426b
-       BIOCGETZMAX                       = 0x4004427f
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4008426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCGTSTAMP                       = 0x40044283
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCROTZBUF                       = 0x400c4280
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRECTION                    = 0x80044277
-       BIOCSDLT                          = 0x80044278
-       BIOCSETBUFMODE                    = 0x8004427e
-       BIOCSETF                          = 0x80084267
-       BIOCSETFNR                        = 0x80084282
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8008427b
-       BIOCSETZBUF                       = 0x800c4281
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8008426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCSTSTAMP                       = 0x80044284
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_BUFMODE_BUFFER                = 0x1
-       BPF_BUFMODE_ZBUF                  = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_T_BINTIME                     = 0x2
-       BPF_T_BINTIME_FAST                = 0x102
-       BPF_T_BINTIME_MONOTONIC           = 0x202
-       BPF_T_BINTIME_MONOTONIC_FAST      = 0x302
-       BPF_T_FAST                        = 0x100
-       BPF_T_FLAG_MASK                   = 0x300
-       BPF_T_FORMAT_MASK                 = 0x3
-       BPF_T_MICROTIME                   = 0x0
-       BPF_T_MICROTIME_FAST              = 0x100
-       BPF_T_MICROTIME_MONOTONIC         = 0x200
-       BPF_T_MICROTIME_MONOTONIC_FAST    = 0x300
-       BPF_T_MONOTONIC                   = 0x200
-       BPF_T_MONOTONIC_FAST              = 0x300
-       BPF_T_NANOTIME                    = 0x1
-       BPF_T_NANOTIME_FAST               = 0x101
-       BPF_T_NANOTIME_MONOTONIC          = 0x201
-       BPF_T_NANOTIME_MONOTONIC_FAST     = 0x301
-       BPF_T_NONE                        = 0x3
-       BPF_T_NORMAL                      = 0x0
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0x18
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf6
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x79
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_LIO                        = -0xa
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xb
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xb
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_DROP                           = 0x1000
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTATTR_NAMESPACE_EMPTY           = 0x0
-       EXTATTR_NAMESPACE_SYSTEM          = 0x2
-       EXTATTR_NAMESPACE_USER            = 0x1
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_CANCEL                          = 0x5
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0xb
-       F_GETOWN                          = 0x5
-       F_OGETLK                          = 0x7
-       F_OK                              = 0x0
-       F_OSETLK                          = 0x8
-       F_OSETLKW                         = 0x9
-       F_RDAHEAD                         = 0x10
-       F_RDLCK                           = 0x1
-       F_READAHEAD                       = 0xf
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0xc
-       F_SETLKW                          = 0xd
-       F_SETLK_REMOTE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_UNLCKSYS                        = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x218f72
-       IFF_CANTCONFIG                    = 0x10000
-       IFF_DEBUG                         = 0x4
-       IFF_DRV_OACTIVE                   = 0x400
-       IFF_DRV_RUNNING                   = 0x40
-       IFF_DYING                         = 0x200000
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RENAMING                      = 0x400000
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_IPXIP                         = 0xf9
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf6
-       IFT_PFSYNC                        = 0xf7
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_MASK                   = 0xfffffffe
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HIP                       = 0x8b
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MH                        = 0x87
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OLD_DIVERT                = 0xfe
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_RESERVED_253              = 0xfd
-       IPPROTO_RESERVED_254              = 0xfe
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEND                      = 0x103
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SHIM6                     = 0x8c
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SPACER                    = 0x7fff
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UDPLITE                   = 0x88
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDANY                      = 0x40
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BINDANY                        = 0x18
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DONTFRAG                       = 0x43
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET3                      = 0x31
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW3                            = 0x30
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_NAT_CFG                     = 0x38
-       IP_FW_NAT_DEL                     = 0x39
-       IP_FW_NAT_GET_CONFIG              = 0x3a
-       IP_FW_NAT_GET_LOG                 = 0x3b
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_TABLE_ADD                   = 0x28
-       IP_FW_TABLE_DEL                   = 0x29
-       IP_FW_TABLE_FLUSH                 = 0x2a
-       IP_FW_TABLE_GETSIZE               = 0x2b
-       IP_FW_TABLE_LIST                  = 0x2c
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MAX_SOURCE_FILTER              = 0x400
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_ONESBCAST                      = 0x17
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTOS                        = 0x44
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_SENDSRCADDR                    = 0x7
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_PROTECT                      = 0xa
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNED_SUPER                 = 0x1000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_EXCL                          = 0x4000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_NOCORE                        = 0x20000
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PREFAULT_READ                 = 0x40000
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_RESERVED0100                  = 0x100
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x40000
-       MSG_COMPAT                        = 0x8000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_NBIO                          = 0x4000
-       MSG_NOSIGNAL                      = 0x20000
-       MSG_NOTIFICATION                  = 0x2000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLISTL                    = 0x5
-       NET_RT_IFMALIST                   = 0x4
-       NET_RT_MAXID                      = 0x6
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x100000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x20000
-       O_EXCL                            = 0x800
-       O_EXEC                            = 0x40000
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_TTY_INIT                        = 0x80000
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x1004d808
-       RTF_GATEWAY                       = 0x2
-       RTF_GWFLAG_COMPAT                 = 0x80000000
-       RTF_HOST                          = 0x4
-       RTF_LLDATA                        = 0x400
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_RNH_LOCKED                    = 0x40000000
-       RTF_STATIC                        = 0x800
-       RTF_STICKY                        = 0x10000000
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RTV_WEIGHT                        = 0x100
-       RT_ALL_FIBS                       = -0x1
-       RT_CACHING_CONTEXT                = 0x1
-       RT_DEFAULT_FIB                    = 0x0
-       RT_NORTREF                        = 0x2
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_BINTIME                       = 0x4
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80246987
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80246989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETSGCNT                      = 0xc0147210
-       SIOCGETVIFCNT                     = 0xc014720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDESCR                      = 0xc020692a
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFIB                        = 0xc020695c
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc024698a
-       SIOCGIFGROUP                      = 0xc0246988
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMAC                        = 0xc0206926
-       SIOCGIFMEDIA                      = 0xc0286938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDESCR                      = 0x80206929
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFIB                        = 0x8020695d
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206927
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFRVNET                      = 0xc020695b
-       SIOCSIFVNET                       = 0xc020695a
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BINTIME                        = 0x2000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1009
-       SO_LINGER                         = 0x80
-       SO_LISTENINCQLEN                  = 0x1013
-       SO_LISTENQLEN                     = 0x1012
-       SO_LISTENQLIMIT                   = 0x1011
-       SO_NOSIGPIPE                      = 0x800
-       SO_NO_DDP                         = 0x8000
-       SO_NO_OFFLOAD                     = 0x4000
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1010
-       SO_PROTOCOL                       = 0x1016
-       SO_PROTOTYPE                      = 0x1016
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SETFIB                         = 0x1014
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SO_USER_COOKIE                    = 0x1015
-       SO_VENDOR                         = 0x80000000
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CA_NAME_MAX                   = 0x10
-       TCP_CONGESTION                    = 0x40
-       TCP_INFO                          = 0x20
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x80
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_VENDOR                        = 0x80000000
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGPTN                          = 0x4004740f
-       TIOCGSID                          = 0x40047463
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DCD                         = 0x40
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMASTER                      = 0x2000741c
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40087459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x10
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x8
-       WSTOPPED                          = 0x2
-       WTRAPPED                          = 0x20
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECAPMODE        = syscall.Errno(0x5e)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCAPABLE     = syscall.Errno(0x5d)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x5f)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x60)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLIBRT  = syscall.Signal(0x21)
-       SIGLWP    = syscall.Signal(0x20)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "capabilities insufficient",
-       94: "not permitted in capability mode",
-       95: "state not recoverable",
-       96: "previous owner died",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "unknown signal",
-       33: "unknown signal",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
deleted file mode 100644 (file)
index 80b7381..0000000
+++ /dev/null
@@ -1,1818 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x28
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       EPOLL_NONBLOCK                   = 0x800
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xc
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0xd
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0xe
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_NODAD                      = 0x2
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x7
-       IFF_802_1Q_VLAN                  = 0x1
-       IFF_ALLMULTI                     = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BONDING                      = 0x20
-       IFF_BRIDGE_PORT                  = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DISABLE_NETPOLL              = 0x1000
-       IFF_DONT_BRIDGE                  = 0x800
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_EBRIDGE                      = 0x2
-       IFF_ECHO                         = 0x40000
-       IFF_ISATAP                       = 0x80
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MACVLAN_PORT                 = 0x2000
-       IFF_MASTER                       = 0x400
-       IFF_MASTER_8023AD                = 0x8
-       IFF_MASTER_ALB                   = 0x10
-       IFF_MASTER_ARPMON                = 0x100
-       IFF_MULTICAST                    = 0x1000
-       IFF_NOARP                        = 0x80
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_OVS_DATAPATH                 = 0x8000
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_SLAVE_INACTIVE               = 0x4
-       IFF_SLAVE_NEEDARP                = 0x40
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_TX_SKB_SHARING               = 0x10000
-       IFF_UNICAST_FLT                  = 0x20000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFF_WAN_HDLC                     = 0x200
-       IFF_XMIT_DST_RELEASE             = 0x400
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DOFORK                      = 0xb
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_32BIT                        = 0x40
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x4000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x8000
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = 0xffffffff
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETFPXREGS                = 0x12
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_MASK                    = 0xff
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SEIZE_DEVEL               = 0x80000000
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETFPXREGS                = 0x13
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x21
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_SYSEMU                    = 0x1f
-       PTRACE_SYSEMU_SINGLESTEP         = 0x20
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0xe
-       RTAX_MTU                         = 0x2
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x10
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x4f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x10
-       RTM_NR_MSGTYPES                  = 0x40
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_DEBUG                         = 0x1
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_MARK                          = 0x24
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_NODELAY                      = 0x1
-       TCP_QUICKACK                     = 0xc
-       TCP_SYNCNT                       = 0x7
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x400854d5
-       TUNDETACHFILTER                  = 0x400854d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x6
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x20
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale NFS file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "unknown error 133",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
deleted file mode 100644 (file)
index 64cc0b7..0000000
+++ /dev/null
@@ -1,1819 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x28
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       EPOLL_NONBLOCK                   = 0x800
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0x5
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_NODAD                      = 0x2
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x7
-       IFF_802_1Q_VLAN                  = 0x1
-       IFF_ALLMULTI                     = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BONDING                      = 0x20
-       IFF_BRIDGE_PORT                  = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DISABLE_NETPOLL              = 0x1000
-       IFF_DONT_BRIDGE                  = 0x800
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_EBRIDGE                      = 0x2
-       IFF_ECHO                         = 0x40000
-       IFF_ISATAP                       = 0x80
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MACVLAN_PORT                 = 0x2000
-       IFF_MASTER                       = 0x400
-       IFF_MASTER_8023AD                = 0x8
-       IFF_MASTER_ALB                   = 0x10
-       IFF_MASTER_ARPMON                = 0x100
-       IFF_MULTICAST                    = 0x1000
-       IFF_NOARP                        = 0x80
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_OVS_DATAPATH                 = 0x8000
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_SLAVE_INACTIVE               = 0x4
-       IFF_SLAVE_NEEDARP                = 0x40
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_TX_SKB_SHARING               = 0x10000
-       IFF_UNICAST_FLT                  = 0x20000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFF_WAN_HDLC                     = 0x200
-       IFF_XMIT_DST_RELEASE             = 0x400
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DOFORK                      = 0xb
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_32BIT                        = 0x40
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x4000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ARCH_PRCTL                = 0x1e
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETFPXREGS                = 0x12
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_MASK                    = 0xff
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SEIZE_DEVEL               = 0x80000000
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETFPXREGS                = 0x13
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x21
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_SYSEMU                    = 0x1f
-       PTRACE_SYSEMU_SINGLESTEP         = 0x20
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0xe
-       RTAX_MTU                         = 0x2
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x10
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x4f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x10
-       RTM_NR_MSGTYPES                  = 0x40
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_DEBUG                         = 0x1
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_MARK                          = 0x24
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_NODELAY                      = 0x1
-       TCP_QUICKACK                     = 0xc
-       TCP_SYNCNT                       = 0x7
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x401054d5
-       TUNDETACHFILTER                  = 0x401054d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x6
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale NFS file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "unknown error 133",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
deleted file mode 100644 (file)
index 1cc76a7..0000000
+++ /dev/null
@@ -1,1742 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x27
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_PHY            = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ELF_NGREG                        = 0x12
-       ELF_PRARGSZ                      = 0x50
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       EPOLLERR                         = 0x8
-       EPOLLET                          = -0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       EPOLL_NONBLOCK                   = 0x800
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xc
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0xd
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0xe
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_NODAD                      = 0x2
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x7
-       IFF_ALLMULTI                     = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DYNAMIC                      = 0x8000
-       IFF_LOOPBACK                     = 0x8
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_NOARP                        = 0x80
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DOFORK                      = 0xb
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x10000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x1000
-       O_LARGEFILE                      = 0x20000
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x1000
-       O_SYNC                           = 0x1000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_BROADCAST                 = 0x1
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HOST                      = 0x0
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MULTICAST                 = 0x2
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PARENB                           = 0x100
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CLEAR_SECCOMP_FILTER          = 0x25
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECCOMP_FILTER            = 0x23
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_SECCOMP_FILTER_EVENT          = 0x1
-       PR_SECCOMP_FILTER_SYSCALL        = 0x0
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_NAME                      = 0xf
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECCOMP_FILTER            = 0x24
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETCRUNCHREGS             = 0x19
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETHBPREGS                = 0x1d
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETVFPREGS                = 0x1b
-       PTRACE_GETWMMXREGS               = 0x12
-       PTRACE_GET_THREAD_AREA           = 0x16
-       PTRACE_KILL                      = 0x8
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_MASK                    = 0x7f
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SETCRUNCHREGS             = 0x1a
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETHBPREGS                = 0x1e
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETVFPREGS                = 0x1c
-       PTRACE_SETWMMXREGS               = 0x13
-       PTRACE_SET_SYSCALL               = 0x17
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PT_DATA_ADDR                     = 0x10004
-       PT_TEXT_ADDR                     = 0x10000
-       PT_TEXT_END_ADDR                 = 0x10008
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0xe
-       RTAX_MTU                         = 0x2
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x10
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x4f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x10
-       RTM_NR_MSGTYPES                  = 0x40
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_DEBUG                         = 0x1
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_MARK                          = 0x24
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_NODELAY                      = 0x1
-       TCP_QUICKACK                     = 0xc
-       TCP_SYNCNT                       = 0x7
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x400854d5
-       TUNDETACHFILTER                  = 0x400854d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x6
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x20
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale NFS file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "unknown error 133",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
deleted file mode 100644 (file)
index 47027b7..0000000
+++ /dev/null
@@ -1,1896 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x29
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ELF_NGREG                        = 0x22
-       ELF_PRARGSZ                      = 0x50
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0x5
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_NODAD                      = 0x2
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x7
-       IFF_802_1Q_VLAN                  = 0x1
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BONDING                      = 0x20
-       IFF_BRIDGE_PORT                  = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DISABLE_NETPOLL              = 0x1000
-       IFF_DONT_BRIDGE                  = 0x800
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_EBRIDGE                      = 0x2
-       IFF_ECHO                         = 0x40000
-       IFF_ISATAP                       = 0x80
-       IFF_LIVE_ADDR_CHANGE             = 0x100000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MACVLAN                      = 0x200000
-       IFF_MACVLAN_PORT                 = 0x2000
-       IFF_MASTER                       = 0x400
-       IFF_MASTER_8023AD                = 0x8
-       IFF_MASTER_ALB                   = 0x10
-       IFF_MASTER_ARPMON                = 0x100
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_OVS_DATAPATH                 = 0x8000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_SLAVE_INACTIVE               = 0x4
-       IFF_SLAVE_NEEDARP                = 0x40
-       IFF_SUPP_NOFCS                   = 0x80000
-       IFF_TAP                          = 0x2
-       IFF_TEAM_PORT                    = 0x40000
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_TX_SKB_SHARING               = 0x10000
-       IFF_UNICAST_FLT                  = 0x20000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFF_WAN_HDLC                     = 0x200
-       IFF_XMIT_DST_RELEASE             = 0x400
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x10000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x1000ff
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0xf
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x11
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x57
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x12
-       RTM_NR_MSGTYPES                  = 0x48
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_DEBUG                         = 0x1
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_WIFI_STATUS                   = 0x29
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x401054d5
-       TUNDETACHFILTER                  = 0x401054d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x801054db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x6
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
deleted file mode 100644 (file)
index 98056fe..0000000
+++ /dev/null
@@ -1,1916 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build mips64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x29
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       CFLUSH                           = 0xf
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CREAD                            = 0x80
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FLUSHO                           = 0x2000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xe
-       F_GETLK64                        = 0xe
-       F_GETOWN                         = 0x17
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x18
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x100
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x80
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x800
-       MAP_ANONYMOUS                    = 0x800
-       MAP_DENYWRITE                    = 0x2000
-       MAP_EXECUTABLE                   = 0x4000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x1000
-       MAP_HUGETLB                      = 0x80000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x8000
-       MAP_NONBLOCK                     = 0x20000
-       MAP_NORESERVE                    = 0x400
-       MAP_POPULATE                     = 0x10000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x800
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x40000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x1000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x100
-       O_DIRECT                         = 0x8000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x10
-       O_EXCL                           = 0x400
-       O_FSYNC                          = 0x4010
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x80
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x800
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x80
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x4010
-       O_SYNC                           = 0x4010
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_GET_THREAD_AREA_3264      = 0xc4
-       PTRACE_GET_WATCH_REGS            = 0xd0
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_3264             = 0xc1
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_3264             = 0xc0
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_3264             = 0xc3
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_3264             = 0xc2
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SET_WATCH_REGS            = 0xd1
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x6
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x5
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x16
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5b
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x13
-       RTM_NR_MSGTYPES                  = 0x4c
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x11
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x40047307
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x40047309
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x80047308
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x1
-       SOCK_NONBLOCK                    = 0x80
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x2
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1009
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x11
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x12
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x1004
-       SO_RCVTIMEO                      = 0x1006
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x1f
-       SO_SNDLOWAT                      = 0x1003
-       SO_SNDTIMEO                      = 0x1005
-       SO_STYLE                         = 0x1008
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x1008
-       SO_WIFI_STATUS                   = 0x29
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TCFLSH                           = 0x5407
-       TCIFLUSH                         = 0x0
-       TCIOFLUSH                        = 0x2
-       TCOFLUSH                         = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x5410
-       TCSBRK                           = 0x5405
-       TCXONC                           = 0x5406
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x80047478
-       TIOCEXCL                         = 0x740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x7400
-       TIOCGETP                         = 0x7408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x5492
-       TIOCGLCKTRMIOS                   = 0x548b
-       TIOCGLTC                         = 0x7474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x4020542e
-       TIOCGSERIAL                      = 0x5484
-       TIOCGSID                         = 0x7416
-       TIOCGSOFTCAR                     = 0x5481
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x467f
-       TIOCLINUX                        = 0x5483
-       TIOCMBIC                         = 0x741c
-       TIOCMBIS                         = 0x741b
-       TIOCMGET                         = 0x741d
-       TIOCMIWAIT                       = 0x5491
-       TIOCMSET                         = 0x741a
-       TIOCM_CAR                        = 0x100
-       TIOCM_CD                         = 0x100
-       TIOCM_CTS                        = 0x40
-       TIOCM_DSR                        = 0x400
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x200
-       TIOCM_RNG                        = 0x200
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x20
-       TIOCM_ST                         = 0x10
-       TIOCNOTTY                        = 0x5471
-       TIOCNXCL                         = 0x740e
-       TIOCOUTQ                         = 0x7472
-       TIOCPKT                          = 0x5470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x5480
-       TIOCSERCONFIG                    = 0x5488
-       TIOCSERGETLSR                    = 0x548e
-       TIOCSERGETMULTI                  = 0x548f
-       TIOCSERGSTRUCT                   = 0x548d
-       TIOCSERGWILD                     = 0x5489
-       TIOCSERSETMULTI                  = 0x5490
-       TIOCSERSWILD                     = 0x548a
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x7401
-       TIOCSETN                         = 0x740a
-       TIOCSETP                         = 0x7409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x548c
-       TIOCSLTC                         = 0x7475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0xc020542f
-       TIOCSSERIAL                      = 0x5485
-       TIOCSSOFTCAR                     = 0x5482
-       TIOCSTI                          = 0x5472
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x8000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x10
-       VEOL                             = 0x11
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x4
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VSWTCH                           = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x9e)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x46d)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EHWPOISON       = syscall.Errno(0xa8)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINIT           = syscall.Errno(0x8d)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x8b)
-       EKEYEXPIRED     = syscall.Errno(0xa2)
-       EKEYREJECTED    = syscall.Errno(0xa4)
-       EKEYREVOKED     = syscall.Errno(0xa3)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOOP           = syscall.Errno(0x5a)
-       EMEDIUMTYPE     = syscall.Errno(0xa0)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENAVAIL         = syscall.Errno(0x8a)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0xa1)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x9f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTNAM         = syscall.Errno(0x89)
-       ENOTRECOVERABLE = syscall.Errno(0xa6)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x7a)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0xa5)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMDEV         = syscall.Errno(0x8e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x8c)
-       ERESTART        = syscall.Errno(0x5b)
-       ERFKILL         = syscall.Errno(0xa7)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x87)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x12)
-       SIGCLD    = syscall.Signal(0x12)
-       SIGCONT   = syscall.Signal(0x19)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x16)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x16)
-       SIGPROF   = syscall.Signal(0x1d)
-       SIGPWR    = syscall.Signal(0x13)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x17)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x18)
-       SIGTTIN   = syscall.Signal(0x1a)
-       SIGTTOU   = syscall.Signal(0x1b)
-       SIGURG    = syscall.Signal(0x15)
-       SIGUSR1   = syscall.Signal(0x10)
-       SIGUSR2   = syscall.Signal(0x11)
-       SIGVTALRM = syscall.Signal(0x1c)
-       SIGWINCH  = syscall.Signal(0x14)
-       SIGXCPU   = syscall.Signal(0x1e)
-       SIGXFSZ   = syscall.Signal(0x1f)
-)
-
-// Error table
-var errors = [...]string{
-       1:    "operation not permitted",
-       2:    "no such file or directory",
-       3:    "no such process",
-       4:    "interrupted system call",
-       5:    "input/output error",
-       6:    "no such device or address",
-       7:    "argument list too long",
-       8:    "exec format error",
-       9:    "bad file descriptor",
-       10:   "no child processes",
-       11:   "resource temporarily unavailable",
-       12:   "cannot allocate memory",
-       13:   "permission denied",
-       14:   "bad address",
-       15:   "block device required",
-       16:   "device or resource busy",
-       17:   "file exists",
-       18:   "invalid cross-device link",
-       19:   "no such device",
-       20:   "not a directory",
-       21:   "is a directory",
-       22:   "invalid argument",
-       23:   "too many open files in system",
-       24:   "too many open files",
-       25:   "inappropriate ioctl for device",
-       26:   "text file busy",
-       27:   "file too large",
-       28:   "no space left on device",
-       29:   "illegal seek",
-       30:   "read-only file system",
-       31:   "too many links",
-       32:   "broken pipe",
-       33:   "numerical argument out of domain",
-       34:   "numerical result out of range",
-       35:   "no message of desired type",
-       36:   "identifier removed",
-       37:   "channel number out of range",
-       38:   "level 2 not synchronized",
-       39:   "level 3 halted",
-       40:   "level 3 reset",
-       41:   "link number out of range",
-       42:   "protocol driver not attached",
-       43:   "no CSI structure available",
-       44:   "level 2 halted",
-       45:   "resource deadlock avoided",
-       46:   "no locks available",
-       50:   "invalid exchange",
-       51:   "invalid request descriptor",
-       52:   "exchange full",
-       53:   "no anode",
-       54:   "invalid request code",
-       55:   "invalid slot",
-       56:   "file locking deadlock error",
-       59:   "bad font file format",
-       60:   "device not a stream",
-       61:   "no data available",
-       62:   "timer expired",
-       63:   "out of streams resources",
-       64:   "machine is not on the network",
-       65:   "package not installed",
-       66:   "object is remote",
-       67:   "link has been severed",
-       68:   "advertise error",
-       69:   "srmount error",
-       70:   "communication error on send",
-       71:   "protocol error",
-       73:   "RFS specific error",
-       74:   "multihop attempted",
-       77:   "bad message",
-       78:   "file name too long",
-       79:   "value too large for defined data type",
-       80:   "name not unique on network",
-       81:   "file descriptor in bad state",
-       82:   "remote address changed",
-       83:   "can not access a needed shared library",
-       84:   "accessing a corrupted shared library",
-       85:   ".lib section in a.out corrupted",
-       86:   "attempting to link in too many shared libraries",
-       87:   "cannot exec a shared library directly",
-       88:   "invalid or incomplete multibyte or wide character",
-       89:   "function not implemented",
-       90:   "too many levels of symbolic links",
-       91:   "interrupted system call should be restarted",
-       92:   "streams pipe error",
-       93:   "directory not empty",
-       94:   "too many users",
-       95:   "socket operation on non-socket",
-       96:   "destination address required",
-       97:   "message too long",
-       98:   "protocol wrong type for socket",
-       99:   "protocol not available",
-       120:  "protocol not supported",
-       121:  "socket type not supported",
-       122:  "operation not supported",
-       123:  "protocol family not supported",
-       124:  "address family not supported by protocol",
-       125:  "address already in use",
-       126:  "cannot assign requested address",
-       127:  "network is down",
-       128:  "network is unreachable",
-       129:  "network dropped connection on reset",
-       130:  "software caused connection abort",
-       131:  "connection reset by peer",
-       132:  "no buffer space available",
-       133:  "transport endpoint is already connected",
-       134:  "transport endpoint is not connected",
-       135:  "structure needs cleaning",
-       137:  "not a XENIX named type file",
-       138:  "no XENIX semaphores available",
-       139:  "is a named type file",
-       140:  "remote I/O error",
-       141:  "unknown error 141",
-       142:  "unknown error 142",
-       143:  "cannot send after transport endpoint shutdown",
-       144:  "too many references: cannot splice",
-       145:  "connection timed out",
-       146:  "connection refused",
-       147:  "host is down",
-       148:  "no route to host",
-       149:  "operation already in progress",
-       150:  "operation now in progress",
-       151:  "stale file handle",
-       158:  "operation canceled",
-       159:  "no medium found",
-       160:  "wrong medium type",
-       161:  "required key not available",
-       162:  "key has expired",
-       163:  "key has been revoked",
-       164:  "key was rejected by service",
-       165:  "owner died",
-       166:  "state not recoverable",
-       167:  "operation not possible due to RF-kill",
-       168:  "memory page has hardware error",
-       1133: "disk quota exceeded",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "user defined signal 1",
-       17: "user defined signal 2",
-       18: "child exited",
-       19: "power failure",
-       20: "window changed",
-       21: "urgent I/O condition",
-       22: "I/O possible",
-       23: "stopped (signal)",
-       24: "stopped",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual timer expired",
-       29: "profiling timer expired",
-       30: "CPU time limit exceeded",
-       31: "file size limit exceeded",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
deleted file mode 100644 (file)
index e5debb6..0000000
+++ /dev/null
@@ -1,1916 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build mips64le,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x29
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       CFLUSH                           = 0xf
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CREAD                            = 0x80
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FLUSHO                           = 0x2000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xe
-       F_GETLK64                        = 0xe
-       F_GETOWN                         = 0x17
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x18
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x100
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x80
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x800
-       MAP_ANONYMOUS                    = 0x800
-       MAP_DENYWRITE                    = 0x2000
-       MAP_EXECUTABLE                   = 0x4000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x1000
-       MAP_HUGETLB                      = 0x80000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x8000
-       MAP_NONBLOCK                     = 0x20000
-       MAP_NORESERVE                    = 0x400
-       MAP_POPULATE                     = 0x10000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x800
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x40000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x1000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x100
-       O_DIRECT                         = 0x8000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x10
-       O_EXCL                           = 0x400
-       O_FSYNC                          = 0x4010
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x80
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x800
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x80
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x4010
-       O_SYNC                           = 0x4010
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_GET_THREAD_AREA_3264      = 0xc4
-       PTRACE_GET_WATCH_REGS            = 0xd0
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_3264             = 0xc1
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_3264             = 0xc0
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_3264             = 0xc3
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_3264             = 0xc2
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SET_WATCH_REGS            = 0xd1
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x6
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x5
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x16
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5b
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x13
-       RTM_NR_MSGTYPES                  = 0x4c
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x11
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x40047307
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x40047309
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x80047308
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x1
-       SOCK_NONBLOCK                    = 0x80
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x2
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1009
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x11
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x12
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x1004
-       SO_RCVTIMEO                      = 0x1006
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x1f
-       SO_SNDLOWAT                      = 0x1003
-       SO_SNDTIMEO                      = 0x1005
-       SO_STYLE                         = 0x1008
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x1008
-       SO_WIFI_STATUS                   = 0x29
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TCFLSH                           = 0x5407
-       TCIFLUSH                         = 0x0
-       TCIOFLUSH                        = 0x2
-       TCOFLUSH                         = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x5410
-       TCSBRK                           = 0x5405
-       TCXONC                           = 0x5406
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x80047478
-       TIOCEXCL                         = 0x740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x7400
-       TIOCGETP                         = 0x7408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x5492
-       TIOCGLCKTRMIOS                   = 0x548b
-       TIOCGLTC                         = 0x7474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x4020542e
-       TIOCGSERIAL                      = 0x5484
-       TIOCGSID                         = 0x7416
-       TIOCGSOFTCAR                     = 0x5481
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x467f
-       TIOCLINUX                        = 0x5483
-       TIOCMBIC                         = 0x741c
-       TIOCMBIS                         = 0x741b
-       TIOCMGET                         = 0x741d
-       TIOCMIWAIT                       = 0x5491
-       TIOCMSET                         = 0x741a
-       TIOCM_CAR                        = 0x100
-       TIOCM_CD                         = 0x100
-       TIOCM_CTS                        = 0x40
-       TIOCM_DSR                        = 0x400
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x200
-       TIOCM_RNG                        = 0x200
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x20
-       TIOCM_ST                         = 0x10
-       TIOCNOTTY                        = 0x5471
-       TIOCNXCL                         = 0x740e
-       TIOCOUTQ                         = 0x7472
-       TIOCPKT                          = 0x5470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x5480
-       TIOCSERCONFIG                    = 0x5488
-       TIOCSERGETLSR                    = 0x548e
-       TIOCSERGETMULTI                  = 0x548f
-       TIOCSERGSTRUCT                   = 0x548d
-       TIOCSERGWILD                     = 0x5489
-       TIOCSERSETMULTI                  = 0x5490
-       TIOCSERSWILD                     = 0x548a
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x7401
-       TIOCSETN                         = 0x740a
-       TIOCSETP                         = 0x7409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x548c
-       TIOCSLTC                         = 0x7475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0xc020542f
-       TIOCSSERIAL                      = 0x5485
-       TIOCSSOFTCAR                     = 0x5482
-       TIOCSTI                          = 0x5472
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x8000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x10
-       VEOL                             = 0x11
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x4
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VSWTCH                           = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x9e)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x46d)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EHWPOISON       = syscall.Errno(0xa8)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINIT           = syscall.Errno(0x8d)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x8b)
-       EKEYEXPIRED     = syscall.Errno(0xa2)
-       EKEYREJECTED    = syscall.Errno(0xa4)
-       EKEYREVOKED     = syscall.Errno(0xa3)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOOP           = syscall.Errno(0x5a)
-       EMEDIUMTYPE     = syscall.Errno(0xa0)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENAVAIL         = syscall.Errno(0x8a)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0xa1)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x9f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTNAM         = syscall.Errno(0x89)
-       ENOTRECOVERABLE = syscall.Errno(0xa6)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x7a)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0xa5)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMDEV         = syscall.Errno(0x8e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x8c)
-       ERESTART        = syscall.Errno(0x5b)
-       ERFKILL         = syscall.Errno(0xa7)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x87)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x12)
-       SIGCLD    = syscall.Signal(0x12)
-       SIGCONT   = syscall.Signal(0x19)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x16)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x16)
-       SIGPROF   = syscall.Signal(0x1d)
-       SIGPWR    = syscall.Signal(0x13)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x17)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x18)
-       SIGTTIN   = syscall.Signal(0x1a)
-       SIGTTOU   = syscall.Signal(0x1b)
-       SIGURG    = syscall.Signal(0x15)
-       SIGUSR1   = syscall.Signal(0x10)
-       SIGUSR2   = syscall.Signal(0x11)
-       SIGVTALRM = syscall.Signal(0x1c)
-       SIGWINCH  = syscall.Signal(0x14)
-       SIGXCPU   = syscall.Signal(0x1e)
-       SIGXFSZ   = syscall.Signal(0x1f)
-)
-
-// Error table
-var errors = [...]string{
-       1:    "operation not permitted",
-       2:    "no such file or directory",
-       3:    "no such process",
-       4:    "interrupted system call",
-       5:    "input/output error",
-       6:    "no such device or address",
-       7:    "argument list too long",
-       8:    "exec format error",
-       9:    "bad file descriptor",
-       10:   "no child processes",
-       11:   "resource temporarily unavailable",
-       12:   "cannot allocate memory",
-       13:   "permission denied",
-       14:   "bad address",
-       15:   "block device required",
-       16:   "device or resource busy",
-       17:   "file exists",
-       18:   "invalid cross-device link",
-       19:   "no such device",
-       20:   "not a directory",
-       21:   "is a directory",
-       22:   "invalid argument",
-       23:   "too many open files in system",
-       24:   "too many open files",
-       25:   "inappropriate ioctl for device",
-       26:   "text file busy",
-       27:   "file too large",
-       28:   "no space left on device",
-       29:   "illegal seek",
-       30:   "read-only file system",
-       31:   "too many links",
-       32:   "broken pipe",
-       33:   "numerical argument out of domain",
-       34:   "numerical result out of range",
-       35:   "no message of desired type",
-       36:   "identifier removed",
-       37:   "channel number out of range",
-       38:   "level 2 not synchronized",
-       39:   "level 3 halted",
-       40:   "level 3 reset",
-       41:   "link number out of range",
-       42:   "protocol driver not attached",
-       43:   "no CSI structure available",
-       44:   "level 2 halted",
-       45:   "resource deadlock avoided",
-       46:   "no locks available",
-       50:   "invalid exchange",
-       51:   "invalid request descriptor",
-       52:   "exchange full",
-       53:   "no anode",
-       54:   "invalid request code",
-       55:   "invalid slot",
-       56:   "file locking deadlock error",
-       59:   "bad font file format",
-       60:   "device not a stream",
-       61:   "no data available",
-       62:   "timer expired",
-       63:   "out of streams resources",
-       64:   "machine is not on the network",
-       65:   "package not installed",
-       66:   "object is remote",
-       67:   "link has been severed",
-       68:   "advertise error",
-       69:   "srmount error",
-       70:   "communication error on send",
-       71:   "protocol error",
-       73:   "RFS specific error",
-       74:   "multihop attempted",
-       77:   "bad message",
-       78:   "file name too long",
-       79:   "value too large for defined data type",
-       80:   "name not unique on network",
-       81:   "file descriptor in bad state",
-       82:   "remote address changed",
-       83:   "can not access a needed shared library",
-       84:   "accessing a corrupted shared library",
-       85:   ".lib section in a.out corrupted",
-       86:   "attempting to link in too many shared libraries",
-       87:   "cannot exec a shared library directly",
-       88:   "invalid or incomplete multibyte or wide character",
-       89:   "function not implemented",
-       90:   "too many levels of symbolic links",
-       91:   "interrupted system call should be restarted",
-       92:   "streams pipe error",
-       93:   "directory not empty",
-       94:   "too many users",
-       95:   "socket operation on non-socket",
-       96:   "destination address required",
-       97:   "message too long",
-       98:   "protocol wrong type for socket",
-       99:   "protocol not available",
-       120:  "protocol not supported",
-       121:  "socket type not supported",
-       122:  "operation not supported",
-       123:  "protocol family not supported",
-       124:  "address family not supported by protocol",
-       125:  "address already in use",
-       126:  "cannot assign requested address",
-       127:  "network is down",
-       128:  "network is unreachable",
-       129:  "network dropped connection on reset",
-       130:  "software caused connection abort",
-       131:  "connection reset by peer",
-       132:  "no buffer space available",
-       133:  "transport endpoint is already connected",
-       134:  "transport endpoint is not connected",
-       135:  "structure needs cleaning",
-       137:  "not a XENIX named type file",
-       138:  "no XENIX semaphores available",
-       139:  "is a named type file",
-       140:  "remote I/O error",
-       141:  "unknown error 141",
-       142:  "unknown error 142",
-       143:  "cannot send after transport endpoint shutdown",
-       144:  "too many references: cannot splice",
-       145:  "connection timed out",
-       146:  "connection refused",
-       147:  "host is down",
-       148:  "no route to host",
-       149:  "operation already in progress",
-       150:  "operation now in progress",
-       151:  "stale file handle",
-       158:  "operation canceled",
-       159:  "no medium found",
-       160:  "wrong medium type",
-       161:  "required key not available",
-       162:  "key has expired",
-       163:  "key has been revoked",
-       164:  "key was rejected by service",
-       165:  "owner died",
-       166:  "state not recoverable",
-       167:  "operation not possible due to RF-kill",
-       168:  "memory page has hardware error",
-       1133: "disk quota exceeded",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "user defined signal 1",
-       17: "user defined signal 2",
-       18: "child exited",
-       19: "power failure",
-       20: "window changed",
-       21: "urgent I/O condition",
-       22: "I/O possible",
-       23: "stopped (signal)",
-       24: "stopped",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual timer expired",
-       29: "profiling timer expired",
-       30: "CPU time limit exceeded",
-       31: "file size limit exceeded",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
deleted file mode 100644 (file)
index 5b90d07..0000000
+++ /dev/null
@@ -1,1969 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build ppc64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x29
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x17
-       B110                             = 0x3
-       B115200                          = 0x11
-       B1152000                         = 0x18
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x19
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x1a
-       B230400                          = 0x12
-       B2400                            = 0xb
-       B2500000                         = 0x1b
-       B300                             = 0x7
-       B3000000                         = 0x1c
-       B3500000                         = 0x1d
-       B38400                           = 0xf
-       B4000000                         = 0x1e
-       B460800                          = 0x13
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x14
-       B57600                           = 0x10
-       B576000                          = 0x15
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x16
-       B9600                            = 0xd
-       BOTHER                           = 0x1f
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x8000
-       BSDLY                            = 0x8000
-       CBAUD                            = 0xff
-       CBAUDEX                          = 0x0
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0xff0000
-       CLOCAL                           = 0x8000
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x1000
-       CR2                              = 0x2000
-       CR3                              = 0x3000
-       CRDLY                            = 0x3000
-       CREAD                            = 0x800
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x100
-       CS7                              = 0x200
-       CS8                              = 0x300
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x300
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x400
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x40
-       ECHOE                            = 0x2
-       ECHOK                            = 0x4
-       ECHOKE                           = 0x1
-       ECHONL                           = 0x10
-       ECHOPRT                          = 0x20
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x4000
-       FFDLY                            = 0x4000
-       FLUSHO                           = 0x800000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x4000
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x100
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x400
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x80
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x1000
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x400
-       IXON                             = 0x200
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x80
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x40
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x2000
-       MCL_FUTURE                       = 0x4000
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NL2                              = 0x200
-       NL3                              = 0x300
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x300
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80000000
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x4
-       ONLCR                            = 0x2
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x20000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x1000
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x2000
-       PENDIN                           = 0x20000000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_SAO                         = 0x10
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETEVRREGS                = 0x14
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGS64                 = 0x16
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GETVRREGS                 = 0x12
-       PTRACE_GETVSRREGS                = 0x1b
-       PTRACE_GET_DEBUGREG              = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x1000ff
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETEVRREGS                = 0x15
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGS64                 = 0x17
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SETVRREGS                 = 0x13
-       PTRACE_SETVSRREGS                = 0x1c
-       PTRACE_SET_DEBUGREG              = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x100
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PT_CCR                           = 0x26
-       PT_CTR                           = 0x23
-       PT_DAR                           = 0x29
-       PT_DSCR                          = 0x2c
-       PT_DSISR                         = 0x2a
-       PT_FPR0                          = 0x30
-       PT_FPSCR                         = 0x50
-       PT_LNK                           = 0x24
-       PT_MSR                           = 0x21
-       PT_NIP                           = 0x20
-       PT_ORIG_R3                       = 0x22
-       PT_R0                            = 0x0
-       PT_R1                            = 0x1
-       PT_R10                           = 0xa
-       PT_R11                           = 0xb
-       PT_R12                           = 0xc
-       PT_R13                           = 0xd
-       PT_R14                           = 0xe
-       PT_R15                           = 0xf
-       PT_R16                           = 0x10
-       PT_R17                           = 0x11
-       PT_R18                           = 0x12
-       PT_R19                           = 0x13
-       PT_R2                            = 0x2
-       PT_R20                           = 0x14
-       PT_R21                           = 0x15
-       PT_R22                           = 0x16
-       PT_R23                           = 0x17
-       PT_R24                           = 0x18
-       PT_R25                           = 0x19
-       PT_R26                           = 0x1a
-       PT_R27                           = 0x1b
-       PT_R28                           = 0x1c
-       PT_R29                           = 0x1d
-       PT_R3                            = 0x3
-       PT_R30                           = 0x1e
-       PT_R31                           = 0x1f
-       PT_R4                            = 0x4
-       PT_R5                            = 0x5
-       PT_R6                            = 0x6
-       PT_R7                            = 0x7
-       PT_R8                            = 0x8
-       PT_R9                            = 0x9
-       PT_REGS_COUNT                    = 0x2c
-       PT_RESULT                        = 0x2b
-       PT_SOFTE                         = 0x27
-       PT_TRAP                          = 0x28
-       PT_VR0                           = 0x52
-       PT_VRSAVE                        = 0x94
-       PT_VSCR                          = 0x93
-       PT_VSR0                          = 0x96
-       PT_VSR31                         = 0xd4
-       PT_XER                           = 0x25
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0xf
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x11
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x57
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x12
-       RTM_NR_MSGTYPES                  = 0x48
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_DEBUG                         = 0x1
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x14
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x15
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x10
-       SO_RCVTIMEO                      = 0x12
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x11
-       SO_SNDTIMEO                      = 0x13
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_WIFI_STATUS                   = 0x29
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x400
-       TAB2                             = 0x800
-       TAB3                             = 0xc00
-       TABDLY                           = 0xc00
-       TCFLSH                           = 0x2000741f
-       TCGETA                           = 0x40147417
-       TCGETS                           = 0x402c7413
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x2000741d
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x80147418
-       TCSETAF                          = 0x8014741c
-       TCSETAW                          = 0x80147419
-       TCSETS                           = 0x802c7414
-       TCSETSF                          = 0x802c7416
-       TCSETSW                          = 0x802c7415
-       TCXONC                           = 0x2000741e
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x40045432
-       TIOCGETC                         = 0x40067412
-       TIOCGETD                         = 0x5424
-       TIOCGETP                         = 0x40067408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGLTC                         = 0x40067474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x4004667f
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_LOOP                       = 0x8000
-       TIOCM_OUT1                       = 0x2000
-       TIOCM_OUT2                       = 0x4000
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x40047473
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETC                         = 0x80067411
-       TIOCSETD                         = 0x5423
-       TIOCSETN                         = 0x8006740a
-       TIOCSETP                         = 0x80067409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSLTC                         = 0x80067475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTART                        = 0x2000746e
-       TIOCSTI                          = 0x5412
-       TIOCSTOP                         = 0x2000746f
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x400000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       VDISCARD                         = 0x10
-       VEOF                             = 0x4
-       VEOL                             = 0x6
-       VEOL2                            = 0x8
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x5
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xb
-       VSTART                           = 0xd
-       VSTOP                            = 0xe
-       VSUSP                            = 0xc
-       VSWTC                            = 0x9
-       VT0                              = 0x0
-       VT1                              = 0x10000
-       VTDLY                            = 0x10000
-       VTIME                            = 0x7
-       VWERASE                          = 0xa
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4000
-       XTABS                            = 0xc00
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x3a)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       58:  "file locking deadlock error",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
deleted file mode 100644 (file)
index 0861bd5..0000000
+++ /dev/null
@@ -1,1968 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build ppc64le,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x29
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x17
-       B110                             = 0x3
-       B115200                          = 0x11
-       B1152000                         = 0x18
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x19
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x1a
-       B230400                          = 0x12
-       B2400                            = 0xb
-       B2500000                         = 0x1b
-       B300                             = 0x7
-       B3000000                         = 0x1c
-       B3500000                         = 0x1d
-       B38400                           = 0xf
-       B4000000                         = 0x1e
-       B460800                          = 0x13
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x14
-       B57600                           = 0x10
-       B576000                          = 0x15
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x16
-       B9600                            = 0xd
-       BOTHER                           = 0x1f
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x8000
-       BSDLY                            = 0x8000
-       CBAUD                            = 0xff
-       CBAUDEX                          = 0x0
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0xff0000
-       CLOCAL                           = 0x8000
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x1000
-       CR2                              = 0x2000
-       CR3                              = 0x3000
-       CRDLY                            = 0x3000
-       CREAD                            = 0x800
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x100
-       CS7                              = 0x200
-       CS8                              = 0x300
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x300
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x400
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x40
-       ECHOE                            = 0x2
-       ECHOK                            = 0x4
-       ECHOKE                           = 0x1
-       ECHONL                           = 0x10
-       ECHOPRT                          = 0x20
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x4000
-       FFDLY                            = 0x4000
-       FLUSHO                           = 0x800000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x4000
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x100
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x400
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_NODAD                      = 0x2
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x7
-       IFF_802_1Q_VLAN                  = 0x1
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BONDING                      = 0x20
-       IFF_BRIDGE_PORT                  = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DISABLE_NETPOLL              = 0x1000
-       IFF_DONT_BRIDGE                  = 0x800
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_EBRIDGE                      = 0x2
-       IFF_ECHO                         = 0x40000
-       IFF_ISATAP                       = 0x80
-       IFF_LIVE_ADDR_CHANGE             = 0x100000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MACVLAN                      = 0x200000
-       IFF_MACVLAN_PORT                 = 0x2000
-       IFF_MASTER                       = 0x400
-       IFF_MASTER_8023AD                = 0x8
-       IFF_MASTER_ALB                   = 0x10
-       IFF_MASTER_ARPMON                = 0x100
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_OVS_DATAPATH                 = 0x8000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_SLAVE_INACTIVE               = 0x4
-       IFF_SLAVE_NEEDARP                = 0x40
-       IFF_SUPP_NOFCS                   = 0x80000
-       IFF_TAP                          = 0x2
-       IFF_TEAM_PORT                    = 0x40000
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_TX_SKB_SHARING               = 0x10000
-       IFF_UNICAST_FLT                  = 0x20000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFF_WAN_HDLC                     = 0x200
-       IFF_XMIT_DST_RELEASE             = 0x400
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x80
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x1000
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x400
-       IXON                             = 0x200
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x80
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x40
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x2000
-       MCL_FUTURE                       = 0x4000
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NL2                              = 0x200
-       NL3                              = 0x300
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x300
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80000000
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x4
-       ONLCR                            = 0x2
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x20000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x1000
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x2000
-       PENDIN                           = 0x20000000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_SAO                         = 0x10
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETEVRREGS                = 0x14
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGS64                 = 0x16
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GETVRREGS                 = 0x12
-       PTRACE_GETVSRREGS                = 0x1b
-       PTRACE_GET_DEBUGREG              = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x1000ff
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETEVRREGS                = 0x15
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGS64                 = 0x17
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SETVRREGS                 = 0x13
-       PTRACE_SETVSRREGS                = 0x1c
-       PTRACE_SET_DEBUGREG              = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x100
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PT_CCR                           = 0x26
-       PT_CTR                           = 0x23
-       PT_DAR                           = 0x29
-       PT_DSCR                          = 0x2c
-       PT_DSISR                         = 0x2a
-       PT_FPR0                          = 0x30
-       PT_FPSCR                         = 0x50
-       PT_LNK                           = 0x24
-       PT_MSR                           = 0x21
-       PT_NIP                           = 0x20
-       PT_ORIG_R3                       = 0x22
-       PT_R0                            = 0x0
-       PT_R1                            = 0x1
-       PT_R10                           = 0xa
-       PT_R11                           = 0xb
-       PT_R12                           = 0xc
-       PT_R13                           = 0xd
-       PT_R14                           = 0xe
-       PT_R15                           = 0xf
-       PT_R16                           = 0x10
-       PT_R17                           = 0x11
-       PT_R18                           = 0x12
-       PT_R19                           = 0x13
-       PT_R2                            = 0x2
-       PT_R20                           = 0x14
-       PT_R21                           = 0x15
-       PT_R22                           = 0x16
-       PT_R23                           = 0x17
-       PT_R24                           = 0x18
-       PT_R25                           = 0x19
-       PT_R26                           = 0x1a
-       PT_R27                           = 0x1b
-       PT_R28                           = 0x1c
-       PT_R29                           = 0x1d
-       PT_R3                            = 0x3
-       PT_R30                           = 0x1e
-       PT_R31                           = 0x1f
-       PT_R4                            = 0x4
-       PT_R5                            = 0x5
-       PT_R6                            = 0x6
-       PT_R7                            = 0x7
-       PT_R8                            = 0x8
-       PT_R9                            = 0x9
-       PT_REGS_COUNT                    = 0x2c
-       PT_RESULT                        = 0x2b
-       PT_SOFTE                         = 0x27
-       PT_TRAP                          = 0x28
-       PT_VR0                           = 0x52
-       PT_VRSAVE                        = 0x94
-       PT_VSCR                          = 0x93
-       PT_VSR0                          = 0x96
-       PT_VSR31                         = 0xd4
-       PT_XER                           = 0x25
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0xf
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x11
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x57
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x12
-       RTM_NR_MSGTYPES                  = 0x48
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_DEBUG                         = 0x1
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x14
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x15
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x10
-       SO_RCVTIMEO                      = 0x12
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x11
-       SO_SNDTIMEO                      = 0x13
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_WIFI_STATUS                   = 0x29
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x400
-       TAB2                             = 0x800
-       TAB3                             = 0xc00
-       TABDLY                           = 0xc00
-       TCFLSH                           = 0x2000741f
-       TCGETA                           = 0x40147417
-       TCGETS                           = 0x402c7413
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x2000741d
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x80147418
-       TCSETAF                          = 0x8014741c
-       TCSETAW                          = 0x80147419
-       TCSETS                           = 0x802c7414
-       TCSETSF                          = 0x802c7416
-       TCSETSW                          = 0x802c7415
-       TCXONC                           = 0x2000741e
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x40045432
-       TIOCGETC                         = 0x40067412
-       TIOCGETD                         = 0x5424
-       TIOCGETP                         = 0x40067408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGLTC                         = 0x40067474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x4004667f
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_LOOP                       = 0x8000
-       TIOCM_OUT1                       = 0x2000
-       TIOCM_OUT2                       = 0x4000
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x40047473
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETC                         = 0x80067411
-       TIOCSETD                         = 0x5423
-       TIOCSETN                         = 0x8006740a
-       TIOCSETP                         = 0x80067409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSLTC                         = 0x80067475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTART                        = 0x2000746e
-       TIOCSTI                          = 0x5412
-       TIOCSTOP                         = 0x2000746f
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x400000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       VDISCARD                         = 0x10
-       VEOF                             = 0x4
-       VEOL                             = 0x6
-       VEOL2                            = 0x8
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x5
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xb
-       VSTART                           = 0xd
-       VSTOP                            = 0xe
-       VSUSP                            = 0xc
-       VSWTC                            = 0x9
-       VT0                              = 0x0
-       VT1                              = 0x10000
-       VTDLY                            = 0x10000
-       VTIME                            = 0x7
-       VWERASE                          = 0xa
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4000
-       XTABS                            = 0xc00
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x3a)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       58:  "file locking deadlock error",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
deleted file mode 100644 (file)
index 329f25e..0000000
+++ /dev/null
@@ -1,2027 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build s390x,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x29
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0x5
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x4000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_DISABLE_TE                = 0x5010
-       PTRACE_ENABLE_TE                 = 0x5009
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_LAST_BREAK            = 0x5006
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_AREA             = 0x5003
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_AREA             = 0x5002
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_PEEKUSR_AREA              = 0x5000
-       PTRACE_PEEK_SYSTEM_CALL          = 0x5007
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_AREA             = 0x5005
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_AREA             = 0x5004
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_POKEUSR_AREA              = 0x5001
-       PTRACE_POKE_SYSTEM_CALL          = 0x5008
-       PTRACE_PROT                      = 0x15
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SINGLEBLOCK               = 0xc
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TE_ABORT_RAND             = 0x5011
-       PTRACE_TRACEME                   = 0x0
-       PT_ACR0                          = 0x90
-       PT_ACR1                          = 0x94
-       PT_ACR10                         = 0xb8
-       PT_ACR11                         = 0xbc
-       PT_ACR12                         = 0xc0
-       PT_ACR13                         = 0xc4
-       PT_ACR14                         = 0xc8
-       PT_ACR15                         = 0xcc
-       PT_ACR2                          = 0x98
-       PT_ACR3                          = 0x9c
-       PT_ACR4                          = 0xa0
-       PT_ACR5                          = 0xa4
-       PT_ACR6                          = 0xa8
-       PT_ACR7                          = 0xac
-       PT_ACR8                          = 0xb0
-       PT_ACR9                          = 0xb4
-       PT_CR_10                         = 0x168
-       PT_CR_11                         = 0x170
-       PT_CR_9                          = 0x160
-       PT_ENDREGS                       = 0x1af
-       PT_FPC                           = 0xd8
-       PT_FPR0                          = 0xe0
-       PT_FPR1                          = 0xe8
-       PT_FPR10                         = 0x130
-       PT_FPR11                         = 0x138
-       PT_FPR12                         = 0x140
-       PT_FPR13                         = 0x148
-       PT_FPR14                         = 0x150
-       PT_FPR15                         = 0x158
-       PT_FPR2                          = 0xf0
-       PT_FPR3                          = 0xf8
-       PT_FPR4                          = 0x100
-       PT_FPR5                          = 0x108
-       PT_FPR6                          = 0x110
-       PT_FPR7                          = 0x118
-       PT_FPR8                          = 0x120
-       PT_FPR9                          = 0x128
-       PT_GPR0                          = 0x10
-       PT_GPR1                          = 0x18
-       PT_GPR10                         = 0x60
-       PT_GPR11                         = 0x68
-       PT_GPR12                         = 0x70
-       PT_GPR13                         = 0x78
-       PT_GPR14                         = 0x80
-       PT_GPR15                         = 0x88
-       PT_GPR2                          = 0x20
-       PT_GPR3                          = 0x28
-       PT_GPR4                          = 0x30
-       PT_GPR5                          = 0x38
-       PT_GPR6                          = 0x40
-       PT_GPR7                          = 0x48
-       PT_GPR8                          = 0x50
-       PT_GPR9                          = 0x58
-       PT_IEEE_IP                       = 0x1a8
-       PT_LASTOFF                       = 0x1a8
-       PT_ORIGGPR2                      = 0xd0
-       PT_PSWADDR                       = 0x8
-       PT_PSWMASK                       = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x16
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5b
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x13
-       RTM_NR_MSGTYPES                  = 0x4c
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x11
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ATM                          = 0x108
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_PACKET                       = 0x107
-       SOL_RAW                          = 0xff
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_WIFI_STATUS                   = 0x29
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x401054d5
-       TUNDETACHFILTER                  = 0x401054d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x801054db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETBE                     = 0x800454df
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNGETVNETLE                     = 0x800454dd
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETBE                     = 0x400454de
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       TUNSETVNETLE                     = 0x400454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMIN                             = 0x6
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
deleted file mode 100644 (file)
index b4338d5..0000000
+++ /dev/null
@@ -1,1712 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,netbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x1c
-       AF_BLUETOOTH                      = 0x1f
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x20
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x23
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OROUTE                         = 0x11
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x22
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ARCNET                     = 0x7
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       ARPHRD_STRIP                      = 0x17
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427d
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084277
-       BIOCGETIF                         = 0x4090426b
-       BIOCGFEEDBACK                     = 0x4004427c
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRTIMEOUT                     = 0x400c427b
-       BIOCGSEESENT                      = 0x40044278
-       BIOCGSTATS                        = 0x4080426f
-       BIOCGSTATSOLD                     = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044276
-       BIOCSETF                          = 0x80084267
-       BIOCSETIF                         = 0x8090426c
-       BIOCSFEEDBACK                     = 0x8004427d
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRTIMEOUT                     = 0x800c427a
-       BIOCSSEESENT                      = 0x80044279
-       BIOCSTCPF                         = 0x80084272
-       BIOCSUDPF                         = 0x80084273
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALIGNMENT32                   = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DFLTBUFSIZE                   = 0x100000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x1000000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLONE_CSIGNAL                     = 0xff
-       CLONE_FILES                       = 0x400
-       CLONE_FS                          = 0x200
-       CLONE_PID                         = 0x1000
-       CLONE_PTRACE                      = 0x2000
-       CLONE_SIGHAND                     = 0x800
-       CLONE_VFORK                       = 0x4000
-       CLONE_VM                          = 0x100
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       CTL_QUERY                         = -0x2
-       DIOCBSFLUSH                       = 0x20006478
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HDLC                          = 0x10
-       DLT_HHDLC                         = 0x79
-       DLT_HIPPI                         = 0xf
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0xe
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RAWAF_MASK                    = 0x2240000
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xd
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMUL_LINUX                        = 0x1
-       EMUL_LINUX32                      = 0x5
-       EMUL_MAXID                        = 0x6
-       EN_SW_CTL_INF                     = 0x1000
-       EN_SW_CTL_PREC                    = 0x300
-       EN_SW_CTL_ROUND                   = 0xc00
-       EN_SW_DATACHAIN                   = 0x80
-       EN_SW_DENORM                      = 0x2
-       EN_SW_INVOP                       = 0x1
-       EN_SW_OVERFLOW                    = 0x8
-       EN_SW_PRECLOSS                    = 0x20
-       EN_SW_UNDERFLOW                   = 0x10
-       EN_SW_ZERODIV                     = 0x4
-       ETHERCAP_JUMBO_MTU                = 0x4
-       ETHERCAP_VLAN_HWTAGGING           = 0x2
-       ETHERCAP_VLAN_MTU                 = 0x1
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERMTU_JUMBO                    = 0x2328
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOWPROTOCOLS           = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MAX_LEN_JUMBO               = 0x233a
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_PPPOE_ENCAP_LEN             = 0x8
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = 0x2
-       EVFILT_PROC                       = 0x4
-       EVFILT_READ                       = 0x0
-       EVFILT_SIGNAL                     = 0x5
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = 0x6
-       EVFILT_VNODE                      = 0x3
-       EVFILT_WRITE                      = 0x1
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x100
-       FLUSHO                            = 0x800000
-       F_CLOSEM                          = 0xa
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xc
-       F_FSCTL                           = -0x80000000
-       F_FSDIRMASK                       = 0x70000000
-       F_FSIN                            = 0x10000000
-       F_FSINOUT                         = 0x30000000
-       F_FSOUT                           = 0x20000000
-       F_FSPRIV                          = 0x8000
-       F_FSVOID                          = 0x40000000
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETNOSIGPIPE                    = 0xd
-       F_GETOWN                          = 0x5
-       F_MAXFD                           = 0xb
-       F_OK                              = 0x0
-       F_PARAM_MASK                      = 0xfff
-       F_PARAM_MAX                       = 0xfff
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETNOSIGPIPE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8f52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IPV6_ICMP                 = 0x3a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VRRP                      = 0x70
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_EF                             = 0x8000
-       IP_ERRORMTU                       = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x16
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINFRAGSIZE                    = 0x45
-       IP_MINTTL                         = 0x18
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x17
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNMENT_16MB                = 0x18000000
-       MAP_ALIGNMENT_1TB                 = 0x28000000
-       MAP_ALIGNMENT_256TB               = 0x30000000
-       MAP_ALIGNMENT_4GB                 = 0x20000000
-       MAP_ALIGNMENT_64KB                = 0x10000000
-       MAP_ALIGNMENT_64PB                = 0x38000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DEFAULT               = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x2000
-       MAP_TRYFIXED                      = 0x400
-       MAP_WIRED                         = 0x800
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CMSG_CLOEXEC                  = 0x800
-       MSG_CONTROLMBUF                   = 0x2000000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_IOVUSRSPACE                   = 0x4000000
-       MSG_LENUSRSPACE                   = 0x8000000
-       MSG_MCAST                         = 0x200
-       MSG_NAMEMBUF                      = 0x1000000
-       MSG_NBIO                          = 0x1000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_USERFLAGS                     = 0xffffff
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x4
-       NAME_MAX                          = 0x1ff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x5
-       NET_RT_MAXID                      = 0x6
-       NET_RT_OIFLIST                    = 0x4
-       NET_RT_OOIFLIST                   = 0x3
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFIOGETBMAP                       = 0xc004667a
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALT_IO                          = 0x40000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x400000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x80000
-       O_DIRECTORY                       = 0x200000
-       O_DSYNC                           = 0x10000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_NOSIGPIPE                       = 0x1000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x20000
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PRI_IOFLUSH                       = 0x7c
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x9
-       RTAX_NETMASK                      = 0x2
-       RTAX_TAG                          = 0x8
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTA_TAG                           = 0x100
-       RTF_ANNOUNCE                      = 0x20000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x2000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_REJECT                        = 0x8
-       RTF_SRC                           = 0x10000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_CHGADDR                       = 0x15
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x11
-       RTM_IFANNOUNCE                    = 0x10
-       RTM_IFINFO                        = 0x14
-       RTM_LLINFO_UPD                    = 0x13
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_OIFINFO                       = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_OOIFINFO                      = 0xe
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_SETGATE                       = 0x12
-       RTM_VERSION                       = 0x4
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x4
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x8
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80906931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691c
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80906932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80906919
-       SIOCDIFPHYADDR                    = 0x80906949
-       SIOCDLIFADDR                      = 0x8118691e
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETPFSYNC                     = 0xc09069f8
-       SIOCGETSGCNT                      = 0xc0147534
-       SIOCGETVIFCNT                     = 0xc0147533
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0906921
-       SIOCGIFADDRPREF                   = 0xc0946920
-       SIOCGIFALIAS                      = 0xc040691b
-       SIOCGIFBRDADDR                    = 0xc0906923
-       SIOCGIFCAP                        = 0xc0206976
-       SIOCGIFCONF                       = 0xc0086926
-       SIOCGIFDATA                       = 0xc0946985
-       SIOCGIFDLT                        = 0xc0906977
-       SIOCGIFDSTADDR                    = 0xc0906922
-       SIOCGIFFLAGS                      = 0xc0906911
-       SIOCGIFGENERIC                    = 0xc090693a
-       SIOCGIFMEDIA                      = 0xc0286936
-       SIOCGIFMETRIC                     = 0xc0906917
-       SIOCGIFMTU                        = 0xc090697e
-       SIOCGIFNETMASK                    = 0xc0906925
-       SIOCGIFPDSTADDR                   = 0xc0906948
-       SIOCGIFPSRCADDR                   = 0xc0906947
-       SIOCGLIFADDR                      = 0xc118691d
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLINKSTR                      = 0xc01c6987
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGVH                           = 0xc0906983
-       SIOCIFCREATE                      = 0x8090697a
-       SIOCIFDESTROY                     = 0x80906979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCINITIFADDR                    = 0xc0446984
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSETPFSYNC                     = 0x809069f7
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8090690c
-       SIOCSIFADDRPREF                   = 0x8094691f
-       SIOCSIFBRDADDR                    = 0x80906913
-       SIOCSIFCAP                        = 0x80206975
-       SIOCSIFDSTADDR                    = 0x8090690e
-       SIOCSIFFLAGS                      = 0x80906910
-       SIOCSIFGENERIC                    = 0x80906939
-       SIOCSIFMEDIA                      = 0xc0906935
-       SIOCSIFMETRIC                     = 0x80906918
-       SIOCSIFMTU                        = 0x8090697f
-       SIOCSIFNETMASK                    = 0x80906916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLINKSTR                      = 0x801c6988
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSVH                           = 0xc0906982
-       SIOCZIFDATA                       = 0xc0946986
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_FLAGS_MASK                   = 0xf0000000
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_NOSIGPIPE                    = 0x40000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOHEADER                       = 0x100a
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_OVERFLOWED                     = 0x1009
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x100c
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x100b
-       SO_TIMESTAMP                      = 0x2000
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SYSCTL_VERSION                    = 0x1000000
-       SYSCTL_VERS_0                     = 0x0
-       SYSCTL_VERS_1                     = 0x1000000
-       SYSCTL_VERS_MASK                  = 0xff000000
-       S_ARCH1                           = 0x10000
-       S_ARCH2                           = 0x20000
-       S_BLKSIZE                         = 0x200
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       S_LOGIN_SET                       = 0x1
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONGCTL                       = 0x20
-       TCP_KEEPCNT                       = 0x6
-       TCP_KEEPIDLE                      = 0x3
-       TCP_KEEPINIT                      = 0x7
-       TCP_KEEPINTVL                     = 0x5
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x400c7458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CDTRCTS                  = 0x10
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGLINED                        = 0x40207442
-       TIOCGPGRP                         = 0x40047477
-       TIOCGQSIZE                        = 0x40047481
-       TIOCGRANTPT                       = 0x20007447
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMGET                        = 0x40287446
-       TIOCPTSNAME                       = 0x40287448
-       TIOCRCVFRAME                      = 0x80047445
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x2000745f
-       TIOCSLINED                        = 0x80207443
-       TIOCSPGRP                         = 0x80047476
-       TIOCSQSIZE                        = 0x80047480
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TIOCXMTFRAME                      = 0x80047444
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALL                              = 0x8
-       WALLSIG                           = 0x8
-       WALTSIG                           = 0x4
-       WCLONE                            = 0x4
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x10000
-       WNOZOMBIE                         = 0x20000
-       WOPTSCHECKED                      = 0x40000
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x58)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x57)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x55)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5e)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x59)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x5a)
-       ENOSTR          = syscall.Errno(0x5b)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x56)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x60)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x5c)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x20)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large or too small",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol option not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "illegal byte sequence",
-       86: "not supported",
-       87: "operation Canceled",
-       88: "bad or Corrupt message",
-       89: "no message available",
-       90: "no STREAM resources",
-       91: "not a STREAM",
-       92: "STREAM ioctl timeout",
-       93: "attribute not found",
-       94: "multihop attempted",
-       95: "link has been severed",
-       96: "protocol error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "power fail/restart",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
deleted file mode 100644 (file)
index 4994437..0000000
+++ /dev/null
@@ -1,1702 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,netbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x1c
-       AF_BLUETOOTH                      = 0x1f
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x20
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x23
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OROUTE                         = 0x11
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x22
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ARCNET                     = 0x7
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       ARPHRD_STRIP                      = 0x17
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427d
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0104277
-       BIOCGETIF                         = 0x4090426b
-       BIOCGFEEDBACK                     = 0x4004427c
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRTIMEOUT                     = 0x4010427b
-       BIOCGSEESENT                      = 0x40044278
-       BIOCGSTATS                        = 0x4080426f
-       BIOCGSTATSOLD                     = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044276
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8090426c
-       BIOCSFEEDBACK                     = 0x8004427d
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRTIMEOUT                     = 0x8010427a
-       BIOCSSEESENT                      = 0x80044279
-       BIOCSTCPF                         = 0x80104272
-       BIOCSUDPF                         = 0x80104273
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x8
-       BPF_ALIGNMENT32                   = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DFLTBUFSIZE                   = 0x100000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x1000000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLONE_CSIGNAL                     = 0xff
-       CLONE_FILES                       = 0x400
-       CLONE_FS                          = 0x200
-       CLONE_PID                         = 0x1000
-       CLONE_PTRACE                      = 0x2000
-       CLONE_SIGHAND                     = 0x800
-       CLONE_VFORK                       = 0x4000
-       CLONE_VM                          = 0x100
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       CTL_QUERY                         = -0x2
-       DIOCBSFLUSH                       = 0x20006478
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HDLC                          = 0x10
-       DLT_HHDLC                         = 0x79
-       DLT_HIPPI                         = 0xf
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0xe
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RAWAF_MASK                    = 0x2240000
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xd
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMUL_LINUX                        = 0x1
-       EMUL_LINUX32                      = 0x5
-       EMUL_MAXID                        = 0x6
-       ETHERCAP_JUMBO_MTU                = 0x4
-       ETHERCAP_VLAN_HWTAGGING           = 0x2
-       ETHERCAP_VLAN_MTU                 = 0x1
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERMTU_JUMBO                    = 0x2328
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOWPROTOCOLS           = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MAX_LEN_JUMBO               = 0x233a
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_PPPOE_ENCAP_LEN             = 0x8
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = 0x2
-       EVFILT_PROC                       = 0x4
-       EVFILT_READ                       = 0x0
-       EVFILT_SIGNAL                     = 0x5
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = 0x6
-       EVFILT_VNODE                      = 0x3
-       EVFILT_WRITE                      = 0x1
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x100
-       FLUSHO                            = 0x800000
-       F_CLOSEM                          = 0xa
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xc
-       F_FSCTL                           = -0x80000000
-       F_FSDIRMASK                       = 0x70000000
-       F_FSIN                            = 0x10000000
-       F_FSINOUT                         = 0x30000000
-       F_FSOUT                           = 0x20000000
-       F_FSPRIV                          = 0x8000
-       F_FSVOID                          = 0x40000000
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETNOSIGPIPE                    = 0xd
-       F_GETOWN                          = 0x5
-       F_MAXFD                           = 0xb
-       F_OK                              = 0x0
-       F_PARAM_MASK                      = 0xfff
-       F_PARAM_MAX                       = 0xfff
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETNOSIGPIPE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8f52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IPV6_ICMP                 = 0x3a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VRRP                      = 0x70
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_EF                             = 0x8000
-       IP_ERRORMTU                       = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x16
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINFRAGSIZE                    = 0x45
-       IP_MINTTL                         = 0x18
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x17
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNMENT_16MB                = 0x18000000
-       MAP_ALIGNMENT_1TB                 = 0x28000000
-       MAP_ALIGNMENT_256TB               = 0x30000000
-       MAP_ALIGNMENT_4GB                 = 0x20000000
-       MAP_ALIGNMENT_64KB                = 0x10000000
-       MAP_ALIGNMENT_64PB                = 0x38000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DEFAULT               = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x2000
-       MAP_TRYFIXED                      = 0x400
-       MAP_WIRED                         = 0x800
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CMSG_CLOEXEC                  = 0x800
-       MSG_CONTROLMBUF                   = 0x2000000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_IOVUSRSPACE                   = 0x4000000
-       MSG_LENUSRSPACE                   = 0x8000000
-       MSG_MCAST                         = 0x200
-       MSG_NAMEMBUF                      = 0x1000000
-       MSG_NBIO                          = 0x1000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_USERFLAGS                     = 0xffffff
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x4
-       NAME_MAX                          = 0x1ff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x5
-       NET_RT_MAXID                      = 0x6
-       NET_RT_OIFLIST                    = 0x4
-       NET_RT_OOIFLIST                   = 0x3
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFIOGETBMAP                       = 0xc004667a
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALT_IO                          = 0x40000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x400000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x80000
-       O_DIRECTORY                       = 0x200000
-       O_DSYNC                           = 0x10000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_NOSIGPIPE                       = 0x1000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x20000
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PRI_IOFLUSH                       = 0x7c
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x9
-       RTAX_NETMASK                      = 0x2
-       RTAX_TAG                          = 0x8
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTA_TAG                           = 0x100
-       RTF_ANNOUNCE                      = 0x20000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x2000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_REJECT                        = 0x8
-       RTF_SRC                           = 0x10000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_CHGADDR                       = 0x15
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x11
-       RTM_IFANNOUNCE                    = 0x10
-       RTM_IFINFO                        = 0x14
-       RTM_LLINFO_UPD                    = 0x13
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_OIFINFO                       = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_OOIFINFO                      = 0xe
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_SETGATE                       = 0x12
-       RTM_VERSION                       = 0x4
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x4
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x8
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80906931
-       SIOCADDRT                         = 0x8038720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691c
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80906932
-       SIOCDELRT                         = 0x8038720b
-       SIOCDIFADDR                       = 0x80906919
-       SIOCDIFPHYADDR                    = 0x80906949
-       SIOCDLIFADDR                      = 0x8118691e
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETPFSYNC                     = 0xc09069f8
-       SIOCGETSGCNT                      = 0xc0207534
-       SIOCGETVIFCNT                     = 0xc0287533
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0906921
-       SIOCGIFADDRPREF                   = 0xc0986920
-       SIOCGIFALIAS                      = 0xc040691b
-       SIOCGIFBRDADDR                    = 0xc0906923
-       SIOCGIFCAP                        = 0xc0206976
-       SIOCGIFCONF                       = 0xc0106926
-       SIOCGIFDATA                       = 0xc0986985
-       SIOCGIFDLT                        = 0xc0906977
-       SIOCGIFDSTADDR                    = 0xc0906922
-       SIOCGIFFLAGS                      = 0xc0906911
-       SIOCGIFGENERIC                    = 0xc090693a
-       SIOCGIFMEDIA                      = 0xc0306936
-       SIOCGIFMETRIC                     = 0xc0906917
-       SIOCGIFMTU                        = 0xc090697e
-       SIOCGIFNETMASK                    = 0xc0906925
-       SIOCGIFPDSTADDR                   = 0xc0906948
-       SIOCGIFPSRCADDR                   = 0xc0906947
-       SIOCGLIFADDR                      = 0xc118691d
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLINKSTR                      = 0xc0286987
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGVH                           = 0xc0906983
-       SIOCIFCREATE                      = 0x8090697a
-       SIOCIFDESTROY                     = 0x80906979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCINITIFADDR                    = 0xc0706984
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETPFSYNC                     = 0x809069f7
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8090690c
-       SIOCSIFADDRPREF                   = 0x8098691f
-       SIOCSIFBRDADDR                    = 0x80906913
-       SIOCSIFCAP                        = 0x80206975
-       SIOCSIFDSTADDR                    = 0x8090690e
-       SIOCSIFFLAGS                      = 0x80906910
-       SIOCSIFGENERIC                    = 0x80906939
-       SIOCSIFMEDIA                      = 0xc0906935
-       SIOCSIFMETRIC                     = 0x80906918
-       SIOCSIFMTU                        = 0x8090697f
-       SIOCSIFNETMASK                    = 0x80906916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLINKSTR                      = 0x80286988
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSVH                           = 0xc0906982
-       SIOCZIFDATA                       = 0xc0986986
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_FLAGS_MASK                   = 0xf0000000
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_NOSIGPIPE                    = 0x40000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOHEADER                       = 0x100a
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_OVERFLOWED                     = 0x1009
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x100c
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x100b
-       SO_TIMESTAMP                      = 0x2000
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SYSCTL_VERSION                    = 0x1000000
-       SYSCTL_VERS_0                     = 0x0
-       SYSCTL_VERS_1                     = 0x1000000
-       SYSCTL_VERS_MASK                  = 0xff000000
-       S_ARCH1                           = 0x10000
-       S_ARCH2                           = 0x20000
-       S_BLKSIZE                         = 0x200
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       S_LOGIN_SET                       = 0x1
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONGCTL                       = 0x20
-       TCP_KEEPCNT                       = 0x6
-       TCP_KEEPIDLE                      = 0x3
-       TCP_KEEPINIT                      = 0x7
-       TCP_KEEPINTVL                     = 0x5
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CDTRCTS                  = 0x10
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGLINED                        = 0x40207442
-       TIOCGPGRP                         = 0x40047477
-       TIOCGQSIZE                        = 0x40047481
-       TIOCGRANTPT                       = 0x20007447
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMGET                        = 0x40287446
-       TIOCPTSNAME                       = 0x40287448
-       TIOCRCVFRAME                      = 0x80087445
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x2000745f
-       TIOCSLINED                        = 0x80207443
-       TIOCSPGRP                         = 0x80047476
-       TIOCSQSIZE                        = 0x80047480
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TIOCXMTFRAME                      = 0x80087444
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALL                              = 0x8
-       WALLSIG                           = 0x8
-       WALTSIG                           = 0x4
-       WCLONE                            = 0x4
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x10000
-       WNOZOMBIE                         = 0x20000
-       WOPTSCHECKED                      = 0x40000
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x58)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x57)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x55)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5e)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x59)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x5a)
-       ENOSTR          = syscall.Errno(0x5b)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x56)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x60)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x5c)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x20)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large or too small",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol option not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "illegal byte sequence",
-       86: "not supported",
-       87: "operation Canceled",
-       88: "bad or Corrupt message",
-       89: "no message available",
-       90: "no STREAM resources",
-       91: "not a STREAM",
-       92: "STREAM ioctl timeout",
-       93: "attribute not found",
-       94: "multihop attempted",
-       95: "link has been severed",
-       96: "protocol error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "power fail/restart",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
deleted file mode 100644 (file)
index ac85ca6..0000000
+++ /dev/null
@@ -1,1688 +0,0 @@
-// mkerrors.sh -marm
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,netbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -marm _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x1c
-       AF_BLUETOOTH                      = 0x1f
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x20
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x23
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OROUTE                         = 0x11
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x22
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ARCNET                     = 0x7
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       ARPHRD_STRIP                      = 0x17
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427d
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084277
-       BIOCGETIF                         = 0x4090426b
-       BIOCGFEEDBACK                     = 0x4004427c
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRTIMEOUT                     = 0x400c427b
-       BIOCGSEESENT                      = 0x40044278
-       BIOCGSTATS                        = 0x4080426f
-       BIOCGSTATSOLD                     = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044276
-       BIOCSETF                          = 0x80084267
-       BIOCSETIF                         = 0x8090426c
-       BIOCSFEEDBACK                     = 0x8004427d
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRTIMEOUT                     = 0x800c427a
-       BIOCSSEESENT                      = 0x80044279
-       BIOCSTCPF                         = 0x80084272
-       BIOCSUDPF                         = 0x80084273
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALIGNMENT32                   = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DFLTBUFSIZE                   = 0x100000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x1000000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       CTL_QUERY                         = -0x2
-       DIOCBSFLUSH                       = 0x20006478
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HDLC                          = 0x10
-       DLT_HHDLC                         = 0x79
-       DLT_HIPPI                         = 0xf
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0xe
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RAWAF_MASK                    = 0x2240000
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xd
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMUL_LINUX                        = 0x1
-       EMUL_LINUX32                      = 0x5
-       EMUL_MAXID                        = 0x6
-       ETHERCAP_JUMBO_MTU                = 0x4
-       ETHERCAP_VLAN_HWTAGGING           = 0x2
-       ETHERCAP_VLAN_MTU                 = 0x1
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERMTU_JUMBO                    = 0x2328
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOWPROTOCOLS           = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MAX_LEN_JUMBO               = 0x233a
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_PPPOE_ENCAP_LEN             = 0x8
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = 0x2
-       EVFILT_PROC                       = 0x4
-       EVFILT_READ                       = 0x0
-       EVFILT_SIGNAL                     = 0x5
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = 0x6
-       EVFILT_VNODE                      = 0x3
-       EVFILT_WRITE                      = 0x1
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x100
-       FLUSHO                            = 0x800000
-       F_CLOSEM                          = 0xa
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xc
-       F_FSCTL                           = -0x80000000
-       F_FSDIRMASK                       = 0x70000000
-       F_FSIN                            = 0x10000000
-       F_FSINOUT                         = 0x30000000
-       F_FSOUT                           = 0x20000000
-       F_FSPRIV                          = 0x8000
-       F_FSVOID                          = 0x40000000
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETNOSIGPIPE                    = 0xd
-       F_GETOWN                          = 0x5
-       F_MAXFD                           = 0xb
-       F_OK                              = 0x0
-       F_PARAM_MASK                      = 0xfff
-       F_PARAM_MAX                       = 0xfff
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETNOSIGPIPE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8f52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IPV6_ICMP                 = 0x3a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VRRP                      = 0x70
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_EF                             = 0x8000
-       IP_ERRORMTU                       = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x16
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINFRAGSIZE                    = 0x45
-       IP_MINTTL                         = 0x18
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x17
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNMENT_16MB                = 0x18000000
-       MAP_ALIGNMENT_1TB                 = 0x28000000
-       MAP_ALIGNMENT_256TB               = 0x30000000
-       MAP_ALIGNMENT_4GB                 = 0x20000000
-       MAP_ALIGNMENT_64KB                = 0x10000000
-       MAP_ALIGNMENT_64PB                = 0x38000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DEFAULT               = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x2000
-       MAP_TRYFIXED                      = 0x400
-       MAP_WIRED                         = 0x800
-       MSG_BCAST                         = 0x100
-       MSG_CMSG_CLOEXEC                  = 0x800
-       MSG_CONTROLMBUF                   = 0x2000000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_IOVUSRSPACE                   = 0x4000000
-       MSG_LENUSRSPACE                   = 0x8000000
-       MSG_MCAST                         = 0x200
-       MSG_NAMEMBUF                      = 0x1000000
-       MSG_NBIO                          = 0x1000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_USERFLAGS                     = 0xffffff
-       MSG_WAITALL                       = 0x40
-       NAME_MAX                          = 0x1ff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x5
-       NET_RT_MAXID                      = 0x6
-       NET_RT_OIFLIST                    = 0x4
-       NET_RT_OOIFLIST                   = 0x3
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFIOGETBMAP                       = 0xc004667a
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALT_IO                          = 0x40000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x400000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x80000
-       O_DIRECTORY                       = 0x200000
-       O_DSYNC                           = 0x10000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_NOSIGPIPE                       = 0x1000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x20000
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PRI_IOFLUSH                       = 0x7c
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x9
-       RTAX_NETMASK                      = 0x2
-       RTAX_TAG                          = 0x8
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTA_TAG                           = 0x100
-       RTF_ANNOUNCE                      = 0x20000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x2000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_REJECT                        = 0x8
-       RTF_SRC                           = 0x10000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_CHGADDR                       = 0x15
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x11
-       RTM_IFANNOUNCE                    = 0x10
-       RTM_IFINFO                        = 0x14
-       RTM_LLINFO_UPD                    = 0x13
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_OIFINFO                       = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_OOIFINFO                      = 0xe
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_SETGATE                       = 0x12
-       RTM_VERSION                       = 0x4
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x4
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x8
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80906931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691c
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80906932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80906919
-       SIOCDIFPHYADDR                    = 0x80906949
-       SIOCDLIFADDR                      = 0x8118691e
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETPFSYNC                     = 0xc09069f8
-       SIOCGETSGCNT                      = 0xc0147534
-       SIOCGETVIFCNT                     = 0xc0147533
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0906921
-       SIOCGIFADDRPREF                   = 0xc0946920
-       SIOCGIFALIAS                      = 0xc040691b
-       SIOCGIFBRDADDR                    = 0xc0906923
-       SIOCGIFCAP                        = 0xc0206976
-       SIOCGIFCONF                       = 0xc0086926
-       SIOCGIFDATA                       = 0xc0946985
-       SIOCGIFDLT                        = 0xc0906977
-       SIOCGIFDSTADDR                    = 0xc0906922
-       SIOCGIFFLAGS                      = 0xc0906911
-       SIOCGIFGENERIC                    = 0xc090693a
-       SIOCGIFMEDIA                      = 0xc0286936
-       SIOCGIFMETRIC                     = 0xc0906917
-       SIOCGIFMTU                        = 0xc090697e
-       SIOCGIFNETMASK                    = 0xc0906925
-       SIOCGIFPDSTADDR                   = 0xc0906948
-       SIOCGIFPSRCADDR                   = 0xc0906947
-       SIOCGLIFADDR                      = 0xc118691d
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLINKSTR                      = 0xc01c6987
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGVH                           = 0xc0906983
-       SIOCIFCREATE                      = 0x8090697a
-       SIOCIFDESTROY                     = 0x80906979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCINITIFADDR                    = 0xc0446984
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSETPFSYNC                     = 0x809069f7
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8090690c
-       SIOCSIFADDRPREF                   = 0x8094691f
-       SIOCSIFBRDADDR                    = 0x80906913
-       SIOCSIFCAP                        = 0x80206975
-       SIOCSIFDSTADDR                    = 0x8090690e
-       SIOCSIFFLAGS                      = 0x80906910
-       SIOCSIFGENERIC                    = 0x80906939
-       SIOCSIFMEDIA                      = 0xc0906935
-       SIOCSIFMETRIC                     = 0x80906918
-       SIOCSIFMTU                        = 0x8090697f
-       SIOCSIFNETMASK                    = 0x80906916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLINKSTR                      = 0x801c6988
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSVH                           = 0xc0906982
-       SIOCZIFDATA                       = 0xc0946986
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_FLAGS_MASK                   = 0xf0000000
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_NOSIGPIPE                    = 0x40000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOHEADER                       = 0x100a
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_OVERFLOWED                     = 0x1009
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x100c
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x100b
-       SO_TIMESTAMP                      = 0x2000
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SYSCTL_VERSION                    = 0x1000000
-       SYSCTL_VERS_0                     = 0x0
-       SYSCTL_VERS_1                     = 0x1000000
-       SYSCTL_VERS_MASK                  = 0xff000000
-       S_ARCH1                           = 0x10000
-       S_ARCH2                           = 0x20000
-       S_BLKSIZE                         = 0x200
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONGCTL                       = 0x20
-       TCP_KEEPCNT                       = 0x6
-       TCP_KEEPIDLE                      = 0x3
-       TCP_KEEPINIT                      = 0x7
-       TCP_KEEPINTVL                     = 0x5
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x400c7458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CDTRCTS                  = 0x10
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGLINED                        = 0x40207442
-       TIOCGPGRP                         = 0x40047477
-       TIOCGQSIZE                        = 0x40047481
-       TIOCGRANTPT                       = 0x20007447
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMGET                        = 0x48087446
-       TIOCPTSNAME                       = 0x48087448
-       TIOCRCVFRAME                      = 0x80047445
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x2000745f
-       TIOCSLINED                        = 0x80207443
-       TIOCSPGRP                         = 0x80047476
-       TIOCSQSIZE                        = 0x80047480
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TIOCXMTFRAME                      = 0x80047444
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALL                              = 0x8
-       WALLSIG                           = 0x8
-       WALTSIG                           = 0x4
-       WCLONE                            = 0x4
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x10000
-       WNOZOMBIE                         = 0x20000
-       WOPTSCHECKED                      = 0x40000
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x58)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x57)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x55)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5e)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x59)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x5a)
-       ENOSTR          = syscall.Errno(0x5b)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x56)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x60)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x5c)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x20)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large or too small",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol option not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "illegal byte sequence",
-       86: "not supported",
-       87: "operation Canceled",
-       88: "bad or Corrupt message",
-       89: "no message available",
-       90: "no STREAM resources",
-       91: "not a STREAM",
-       92: "STREAM ioctl timeout",
-       93: "attribute not found",
-       94: "multihop attempted",
-       95: "link has been severed",
-       96: "protocol error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "power fail/restart",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
deleted file mode 100644 (file)
index 3322e99..0000000
+++ /dev/null
@@ -1,1584 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,openbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_BLUETOOTH                      = 0x20
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_ENCAP                          = 0x1c
-       AF_HYLINK                         = 0xf
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_KEY                            = 0x1e
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x24
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x1d
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRFILT                      = 0x4004427c
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc008427b
-       BIOCGETIF                         = 0x4020426b
-       BIOCGFILDROP                      = 0x40044278
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044273
-       BIOCGRTIMEOUT                     = 0x400c426e
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x20004276
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRFILT                      = 0x8004427d
-       BIOCSDLT                          = 0x8004427a
-       BIOCSETF                          = 0x80084267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x80084277
-       BIOCSFILDROP                      = 0x80044279
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044272
-       BIOCSRTIMEOUT                     = 0x800c426d
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIRECTION_IN                  = 0x1
-       BPF_DIRECTION_OUT                 = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x200000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0xff
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DIOCOSFPFLUSH                     = 0x2000444e
-       DLT_ARCNET                        = 0x7
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AX25                          = 0x3
-       DLT_CHAOS                         = 0x5
-       DLT_C_HDLC                        = 0x68
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0xd
-       DLT_FDDI                          = 0xa
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_LOOP                          = 0xc
-       DLT_MPLS                          = 0xdb
-       DLT_NULL                          = 0x0
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PRONET                        = 0x4
-       DLT_RAW                           = 0xe
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMT_TAGOVF                        = 0x1
-       EMUL_ENABLED                      = 0x1
-       EMUL_NATIVE                       = 0x2
-       ENDRUNDISC                        = 0x9
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_AOE                     = 0x88a2
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LLDP                    = 0x88cc
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_QINQ                    = 0x88a8
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOW                    = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_ALIGN                       = 0x2
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_DIX_LEN                 = 0x600
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = -0x3
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = -0x7
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xa
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETOWN                          = 0x5
-       F_OK                              = 0x0
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8e52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BLUETOOTH                     = 0xf8
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf7
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DUMMY                         = 0xf1
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf3
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFLOW                         = 0xf9
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf2
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_HOST                   = 0x1
-       IN_RFC3021_NET                    = 0xfffffffe
-       IN_RFC3021_NSHIFT                 = 0x1f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DIVERT_INIT               = 0x2
-       IPPROTO_DIVERT_RESP               = 0x1
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x103
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPV6_AUTH_LEVEL                   = 0x35
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_ESP_NETWORK_LEVEL            = 0x37
-       IPV6_ESP_TRANS_LEVEL              = 0x36
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPCOMP_LEVEL                 = 0x3c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_OPTIONS                      = 0x1
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PIPEX                        = 0x3f
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVDSTPORT                  = 0x40
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTABLE                       = 0x1021
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_AUTH_LEVEL                     = 0x14
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DIVERTFL                       = 0x1022
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_ESP_NETWORK_LEVEL              = 0x16
-       IP_ESP_TRANS_LEVEL                = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPCOMP_LEVEL                   = 0x1d
-       IP_IPSECFLOWINFO                  = 0x24
-       IP_IPSEC_LOCAL_AUTH               = 0x1b
-       IP_IPSEC_LOCAL_CRED               = 0x19
-       IP_IPSEC_LOCAL_ID                 = 0x17
-       IP_IPSEC_REMOTE_AUTH              = 0x1c
-       IP_IPSEC_REMOTE_CRED              = 0x1a
-       IP_IPSEC_REMOTE_ID                = 0x18
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x20
-       IP_MIN_MEMBERSHIPS                = 0xf
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PIPEX                          = 0x22
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVDSTPORT                    = 0x21
-       IP_RECVIF                         = 0x1e
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVRTABLE                     = 0x23
-       IP_RECVTTL                        = 0x1f
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RTABLE                         = 0x1021
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LCNT_OVERLOAD_FLUSH               = 0x6
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x4
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_FLAGMASK                      = 0x1ff7
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_TRYFIXED                      = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_MCAST                         = 0x200
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x4
-       MS_SYNC                           = 0x2
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_MAXID                      = 0x6
-       NET_RT_STATS                      = 0x4
-       NET_RT_TABLE                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EOF                          = 0x2
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRUNCATE                     = 0x80
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x80
-       ONOCR                             = 0x40
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x10000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x20000
-       O_DSYNC                           = 0x80
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x80
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PF_FLUSH                          = 0x1
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_MASK                           = 0x3ff000
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_LABEL                        = 0xa
-       RTAX_MAX                          = 0xb
-       RTAX_NETMASK                      = 0x2
-       RTAX_SRC                          = 0x8
-       RTAX_SRCMASK                      = 0x9
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_LABEL                         = 0x400
-       RTA_NETMASK                       = 0x4
-       RTA_SRC                           = 0x100
-       RTA_SRCMASK                       = 0x200
-       RTF_ANNOUNCE                      = 0x4000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x10000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x10f808
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_MPATH                         = 0x40000
-       RTF_MPLS                          = 0x100000
-       RTF_PERMANENT_ARP                 = 0x2000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x2000
-       RTF_REJECT                        = 0x8
-       RTF_SOURCE                        = 0x20000
-       RTF_STATIC                        = 0x800
-       RTF_TUNNEL                        = 0x100000
-       RTF_UP                            = 0x1
-       RTF_USETRAILERS                   = 0x8000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DESYNC                        = 0x10
-       RTM_GET                           = 0x4
-       RTM_IFANNOUNCE                    = 0xf
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MAXSIZE                       = 0x800
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RT_TABLEID_MAX                    = 0xff
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80246987
-       SIOCALIFADDR                      = 0x8218691c
-       SIOCATMARK                        = 0x40047307
-       SIOCBRDGADD                       = 0x8054693c
-       SIOCBRDGADDS                      = 0x80546941
-       SIOCBRDGARL                       = 0x806e694d
-       SIOCBRDGDADDR                     = 0x81286947
-       SIOCBRDGDEL                       = 0x8054693d
-       SIOCBRDGDELS                      = 0x80546942
-       SIOCBRDGFLUSH                     = 0x80546948
-       SIOCBRDGFRL                       = 0x806e694e
-       SIOCBRDGGCACHE                    = 0xc0146941
-       SIOCBRDGGFD                       = 0xc0146952
-       SIOCBRDGGHT                       = 0xc0146951
-       SIOCBRDGGIFFLGS                   = 0xc054693e
-       SIOCBRDGGMA                       = 0xc0146953
-       SIOCBRDGGPARAM                    = 0xc03c6958
-       SIOCBRDGGPRI                      = 0xc0146950
-       SIOCBRDGGRL                       = 0xc028694f
-       SIOCBRDGGSIFS                     = 0xc054693c
-       SIOCBRDGGTO                       = 0xc0146946
-       SIOCBRDGIFS                       = 0xc0546942
-       SIOCBRDGRTS                       = 0xc0186943
-       SIOCBRDGSADDR                     = 0xc1286944
-       SIOCBRDGSCACHE                    = 0x80146940
-       SIOCBRDGSFD                       = 0x80146952
-       SIOCBRDGSHT                       = 0x80146951
-       SIOCBRDGSIFCOST                   = 0x80546955
-       SIOCBRDGSIFFLGS                   = 0x8054693f
-       SIOCBRDGSIFPRIO                   = 0x80546954
-       SIOCBRDGSMA                       = 0x80146953
-       SIOCBRDGSPRI                      = 0x80146950
-       SIOCBRDGSPROTO                    = 0x8014695a
-       SIOCBRDGSTO                       = 0x80146945
-       SIOCBRDGSTXHC                     = 0x80146959
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80246989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8218691e
-       SIOCGETKALIVE                     = 0xc01869a4
-       SIOCGETLABEL                      = 0x8020699a
-       SIOCGETPFLOW                      = 0xc02069fe
-       SIOCGETPFSYNC                     = 0xc02069f8
-       SIOCGETSGCNT                      = 0xc0147534
-       SIOCGETVIFCNT                     = 0xc0147533
-       SIOCGETVLAN                       = 0xc0206990
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDATA                       = 0xc020691b
-       SIOCGIFDESCR                      = 0xc0206981
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGATTR                      = 0xc024698b
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc024698a
-       SIOCGIFGROUP                      = 0xc0246988
-       SIOCGIFHARDMTU                    = 0xc02069a5
-       SIOCGIFMEDIA                      = 0xc0286936
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc020697e
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPRIORITY                   = 0xc020699c
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFRDOMAIN                    = 0xc02069a0
-       SIOCGIFRTLABEL                    = 0xc0206983
-       SIOCGIFTIMESLOT                   = 0xc0206986
-       SIOCGIFXFLAGS                     = 0xc020699e
-       SIOCGLIFADDR                      = 0xc218691d
-       SIOCGLIFPHYADDR                   = 0xc218694b
-       SIOCGLIFPHYRTABLE                 = 0xc02069a2
-       SIOCGLIFPHYTTL                    = 0xc02069a9
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGSPPPPARAMS                   = 0xc0206994
-       SIOCGVH                           = 0xc02069f6
-       SIOCGVNETID                       = 0xc02069a7
-       SIOCIFCREATE                      = 0x8020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCSETKALIVE                     = 0x801869a3
-       SIOCSETLABEL                      = 0x80206999
-       SIOCSETPFLOW                      = 0x802069fd
-       SIOCSETPFSYNC                     = 0x802069f7
-       SIOCSETVLAN                       = 0x8020698f
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFDESCR                      = 0x80206980
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGATTR                      = 0x8024698c
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020691f
-       SIOCSIFMEDIA                      = 0xc0206935
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x8020697f
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPRIORITY                   = 0x8020699b
-       SIOCSIFRDOMAIN                    = 0x8020699f
-       SIOCSIFRTLABEL                    = 0x80206982
-       SIOCSIFTIMESLOT                   = 0x80206985
-       SIOCSIFXFLAGS                     = 0x8020699d
-       SIOCSLIFPHYADDR                   = 0x8218694a
-       SIOCSLIFPHYRTABLE                 = 0x802069a1
-       SIOCSLIFPHYTTL                    = 0x802069a8
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSSPPPPARAMS                   = 0x80206993
-       SIOCSVH                           = 0xc02069f5
-       SIOCSVNETID                       = 0x802069a6
-       SOCK_DGRAM                        = 0x2
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BINDANY                        = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NETPROC                        = 0x1020
-       SO_OOBINLINE                      = 0x100
-       SO_PEERCRED                       = 0x1022
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_RTABLE                         = 0x1021
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_SPLICE                         = 0x1023
-       SO_TIMESTAMP                      = 0x800
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x3
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x4
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOPUSH                        = 0x10
-       TCP_NSTATES                       = 0xb
-       TCP_SACK_ENABLE                   = 0x8
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_PPS                      = 0x10
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGPGRP                         = 0x40047477
-       TIOCGSID                          = 0x40047463
-       TIOCGTSTAMP                       = 0x400c745b
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x4004746a
-       TIOCMODS                          = 0x8004746d
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x8004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSTSTAMP                       = 0x8008745a
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALTSIG                           = 0x4
-       WCONTINUED                        = 0x8
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x58)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x59)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EIPSEC          = syscall.Errno(0x52)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x5b)
-       ELOOP           = syscall.Errno(0x3e)
-       EMEDIUMTYPE     = syscall.Errno(0x56)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x53)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOMEDIUM       = syscall.Errno(0x55)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5a)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x5b)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x57)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "IPsec processing failure",
-       83: "attribute not found",
-       84: "illegal byte sequence",
-       85: "no medium found",
-       86: "wrong medium type",
-       87: "value too large to be stored in data type",
-       88: "operation canceled",
-       89: "identifier removed",
-       90: "no message of desired type",
-       91: "not supported",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "thread AST",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
deleted file mode 100644 (file)
index 1758ecc..0000000
+++ /dev/null
@@ -1,1583 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,openbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_BLUETOOTH                      = 0x20
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_ENCAP                          = 0x1c
-       AF_HYLINK                         = 0xf
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_KEY                            = 0x1e
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x24
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x1d
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRFILT                      = 0x4004427c
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc010427b
-       BIOCGETIF                         = 0x4020426b
-       BIOCGFILDROP                      = 0x40044278
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044273
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x20004276
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRFILT                      = 0x8004427d
-       BIOCSDLT                          = 0x8004427a
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x80104277
-       BIOCSFILDROP                      = 0x80044279
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044272
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIRECTION_IN                  = 0x1
-       BPF_DIRECTION_OUT                 = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x200000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0xff
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DIOCOSFPFLUSH                     = 0x2000444e
-       DLT_ARCNET                        = 0x7
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AX25                          = 0x3
-       DLT_CHAOS                         = 0x5
-       DLT_C_HDLC                        = 0x68
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0xd
-       DLT_FDDI                          = 0xa
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_LOOP                          = 0xc
-       DLT_MPLS                          = 0xdb
-       DLT_NULL                          = 0x0
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PRONET                        = 0x4
-       DLT_RAW                           = 0xe
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMT_TAGOVF                        = 0x1
-       EMUL_ENABLED                      = 0x1
-       EMUL_NATIVE                       = 0x2
-       ENDRUNDISC                        = 0x9
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_AOE                     = 0x88a2
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LLDP                    = 0x88cc
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_QINQ                    = 0x88a8
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOW                    = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_ALIGN                       = 0x2
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_DIX_LEN                 = 0x600
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = -0x3
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = -0x7
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xa
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETOWN                          = 0x5
-       F_OK                              = 0x0
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8e52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BLUETOOTH                     = 0xf8
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf7
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DUMMY                         = 0xf1
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf3
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFLOW                         = 0xf9
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf2
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_HOST                   = 0x1
-       IN_RFC3021_NET                    = 0xfffffffe
-       IN_RFC3021_NSHIFT                 = 0x1f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DIVERT_INIT               = 0x2
-       IPPROTO_DIVERT_RESP               = 0x1
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x103
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPV6_AUTH_LEVEL                   = 0x35
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_ESP_NETWORK_LEVEL            = 0x37
-       IPV6_ESP_TRANS_LEVEL              = 0x36
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPCOMP_LEVEL                 = 0x3c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_OPTIONS                      = 0x1
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PIPEX                        = 0x3f
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVDSTPORT                  = 0x40
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTABLE                       = 0x1021
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_AUTH_LEVEL                     = 0x14
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DIVERTFL                       = 0x1022
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_ESP_NETWORK_LEVEL              = 0x16
-       IP_ESP_TRANS_LEVEL                = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPCOMP_LEVEL                   = 0x1d
-       IP_IPSECFLOWINFO                  = 0x24
-       IP_IPSEC_LOCAL_AUTH               = 0x1b
-       IP_IPSEC_LOCAL_CRED               = 0x19
-       IP_IPSEC_LOCAL_ID                 = 0x17
-       IP_IPSEC_REMOTE_AUTH              = 0x1c
-       IP_IPSEC_REMOTE_CRED              = 0x1a
-       IP_IPSEC_REMOTE_ID                = 0x18
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x20
-       IP_MIN_MEMBERSHIPS                = 0xf
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PIPEX                          = 0x22
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVDSTPORT                    = 0x21
-       IP_RECVIF                         = 0x1e
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVRTABLE                     = 0x23
-       IP_RECVTTL                        = 0x1f
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RTABLE                         = 0x1021
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LCNT_OVERLOAD_FLUSH               = 0x6
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x4
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_FLAGMASK                      = 0x1ff7
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_TRYFIXED                      = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_MCAST                         = 0x200
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x4
-       MS_SYNC                           = 0x2
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_MAXID                      = 0x6
-       NET_RT_STATS                      = 0x4
-       NET_RT_TABLE                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EOF                          = 0x2
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRUNCATE                     = 0x80
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x80
-       ONOCR                             = 0x40
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x10000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x20000
-       O_DSYNC                           = 0x80
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x80
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PF_FLUSH                          = 0x1
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_LABEL                        = 0xa
-       RTAX_MAX                          = 0xb
-       RTAX_NETMASK                      = 0x2
-       RTAX_SRC                          = 0x8
-       RTAX_SRCMASK                      = 0x9
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_LABEL                         = 0x400
-       RTA_NETMASK                       = 0x4
-       RTA_SRC                           = 0x100
-       RTA_SRCMASK                       = 0x200
-       RTF_ANNOUNCE                      = 0x4000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x10000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x10f808
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_MPATH                         = 0x40000
-       RTF_MPLS                          = 0x100000
-       RTF_PERMANENT_ARP                 = 0x2000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x2000
-       RTF_REJECT                        = 0x8
-       RTF_SOURCE                        = 0x20000
-       RTF_STATIC                        = 0x800
-       RTF_TUNNEL                        = 0x100000
-       RTF_UP                            = 0x1
-       RTF_USETRAILERS                   = 0x8000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DESYNC                        = 0x10
-       RTM_GET                           = 0x4
-       RTM_IFANNOUNCE                    = 0xf
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MAXSIZE                       = 0x800
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RT_TABLEID_MAX                    = 0xff
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80286987
-       SIOCALIFADDR                      = 0x8218691c
-       SIOCATMARK                        = 0x40047307
-       SIOCBRDGADD                       = 0x8058693c
-       SIOCBRDGADDS                      = 0x80586941
-       SIOCBRDGARL                       = 0x806e694d
-       SIOCBRDGDADDR                     = 0x81286947
-       SIOCBRDGDEL                       = 0x8058693d
-       SIOCBRDGDELS                      = 0x80586942
-       SIOCBRDGFLUSH                     = 0x80586948
-       SIOCBRDGFRL                       = 0x806e694e
-       SIOCBRDGGCACHE                    = 0xc0146941
-       SIOCBRDGGFD                       = 0xc0146952
-       SIOCBRDGGHT                       = 0xc0146951
-       SIOCBRDGGIFFLGS                   = 0xc058693e
-       SIOCBRDGGMA                       = 0xc0146953
-       SIOCBRDGGPARAM                    = 0xc0406958
-       SIOCBRDGGPRI                      = 0xc0146950
-       SIOCBRDGGRL                       = 0xc030694f
-       SIOCBRDGGSIFS                     = 0xc058693c
-       SIOCBRDGGTO                       = 0xc0146946
-       SIOCBRDGIFS                       = 0xc0586942
-       SIOCBRDGRTS                       = 0xc0206943
-       SIOCBRDGSADDR                     = 0xc1286944
-       SIOCBRDGSCACHE                    = 0x80146940
-       SIOCBRDGSFD                       = 0x80146952
-       SIOCBRDGSHT                       = 0x80146951
-       SIOCBRDGSIFCOST                   = 0x80586955
-       SIOCBRDGSIFFLGS                   = 0x8058693f
-       SIOCBRDGSIFPRIO                   = 0x80586954
-       SIOCBRDGSMA                       = 0x80146953
-       SIOCBRDGSPRI                      = 0x80146950
-       SIOCBRDGSPROTO                    = 0x8014695a
-       SIOCBRDGSTO                       = 0x80146945
-       SIOCBRDGSTXHC                     = 0x80146959
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80286989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8218691e
-       SIOCGETKALIVE                     = 0xc01869a4
-       SIOCGETLABEL                      = 0x8020699a
-       SIOCGETPFLOW                      = 0xc02069fe
-       SIOCGETPFSYNC                     = 0xc02069f8
-       SIOCGETSGCNT                      = 0xc0207534
-       SIOCGETVIFCNT                     = 0xc0287533
-       SIOCGETVLAN                       = 0xc0206990
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCONF                       = 0xc0106924
-       SIOCGIFDATA                       = 0xc020691b
-       SIOCGIFDESCR                      = 0xc0206981
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGATTR                      = 0xc028698b
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc028698a
-       SIOCGIFGROUP                      = 0xc0286988
-       SIOCGIFHARDMTU                    = 0xc02069a5
-       SIOCGIFMEDIA                      = 0xc0306936
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc020697e
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPRIORITY                   = 0xc020699c
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFRDOMAIN                    = 0xc02069a0
-       SIOCGIFRTLABEL                    = 0xc0206983
-       SIOCGIFTIMESLOT                   = 0xc0206986
-       SIOCGIFXFLAGS                     = 0xc020699e
-       SIOCGLIFADDR                      = 0xc218691d
-       SIOCGLIFPHYADDR                   = 0xc218694b
-       SIOCGLIFPHYRTABLE                 = 0xc02069a2
-       SIOCGLIFPHYTTL                    = 0xc02069a9
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGSPPPPARAMS                   = 0xc0206994
-       SIOCGVH                           = 0xc02069f6
-       SIOCGVNETID                       = 0xc02069a7
-       SIOCIFCREATE                      = 0x8020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCSETKALIVE                     = 0x801869a3
-       SIOCSETLABEL                      = 0x80206999
-       SIOCSETPFLOW                      = 0x802069fd
-       SIOCSETPFSYNC                     = 0x802069f7
-       SIOCSETVLAN                       = 0x8020698f
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFDESCR                      = 0x80206980
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGATTR                      = 0x8028698c
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020691f
-       SIOCSIFMEDIA                      = 0xc0206935
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x8020697f
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPRIORITY                   = 0x8020699b
-       SIOCSIFRDOMAIN                    = 0x8020699f
-       SIOCSIFRTLABEL                    = 0x80206982
-       SIOCSIFTIMESLOT                   = 0x80206985
-       SIOCSIFXFLAGS                     = 0x8020699d
-       SIOCSLIFPHYADDR                   = 0x8218694a
-       SIOCSLIFPHYRTABLE                 = 0x802069a1
-       SIOCSLIFPHYTTL                    = 0x802069a8
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSSPPPPARAMS                   = 0x80206993
-       SIOCSVH                           = 0xc02069f5
-       SIOCSVNETID                       = 0x802069a6
-       SOCK_DGRAM                        = 0x2
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BINDANY                        = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NETPROC                        = 0x1020
-       SO_OOBINLINE                      = 0x100
-       SO_PEERCRED                       = 0x1022
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_RTABLE                         = 0x1021
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_SPLICE                         = 0x1023
-       SO_TIMESTAMP                      = 0x800
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x3
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x4
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOPUSH                        = 0x10
-       TCP_NSTATES                       = 0xb
-       TCP_SACK_ENABLE                   = 0x8
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_PPS                      = 0x10
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGPGRP                         = 0x40047477
-       TIOCGSID                          = 0x40047463
-       TIOCGTSTAMP                       = 0x4010745b
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x4004746a
-       TIOCMODS                          = 0x8004746d
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x8004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSTSTAMP                       = 0x8008745a
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALTSIG                           = 0x4
-       WCONTINUED                        = 0x8
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x58)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x59)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EIPSEC          = syscall.Errno(0x52)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x5b)
-       ELOOP           = syscall.Errno(0x3e)
-       EMEDIUMTYPE     = syscall.Errno(0x56)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x53)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOMEDIUM       = syscall.Errno(0x55)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5a)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x5b)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x57)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "IPsec processing failure",
-       83: "attribute not found",
-       84: "illegal byte sequence",
-       85: "no medium found",
-       86: "wrong medium type",
-       87: "value too large to be stored in data type",
-       88: "operation canceled",
-       89: "identifier removed",
-       90: "no message of desired type",
-       91: "not supported",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "thread AST",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
deleted file mode 100644 (file)
index a08922b..0000000
+++ /dev/null
@@ -1,1436 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,solaris
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_802                        = 0x12
-       AF_APPLETALK                  = 0x10
-       AF_CCITT                      = 0xa
-       AF_CHAOS                      = 0x5
-       AF_DATAKIT                    = 0x9
-       AF_DECnet                     = 0xc
-       AF_DLI                        = 0xd
-       AF_ECMA                       = 0x8
-       AF_FILE                       = 0x1
-       AF_GOSIP                      = 0x16
-       AF_HYLINK                     = 0xf
-       AF_IMPLINK                    = 0x3
-       AF_INET                       = 0x2
-       AF_INET6                      = 0x1a
-       AF_INET_OFFLOAD               = 0x1e
-       AF_IPX                        = 0x17
-       AF_KEY                        = 0x1b
-       AF_LAT                        = 0xe
-       AF_LINK                       = 0x19
-       AF_LOCAL                      = 0x1
-       AF_MAX                        = 0x20
-       AF_NBS                        = 0x7
-       AF_NCA                        = 0x1c
-       AF_NIT                        = 0x11
-       AF_NS                         = 0x6
-       AF_OSI                        = 0x13
-       AF_OSINET                     = 0x15
-       AF_PACKET                     = 0x20
-       AF_POLICY                     = 0x1d
-       AF_PUP                        = 0x4
-       AF_ROUTE                      = 0x18
-       AF_SNA                        = 0xb
-       AF_TRILL                      = 0x1f
-       AF_UNIX                       = 0x1
-       AF_UNSPEC                     = 0x0
-       AF_X25                        = 0x14
-       ARPHRD_ARCNET                 = 0x7
-       ARPHRD_ATM                    = 0x10
-       ARPHRD_AX25                   = 0x3
-       ARPHRD_CHAOS                  = 0x5
-       ARPHRD_EETHER                 = 0x2
-       ARPHRD_ETHER                  = 0x1
-       ARPHRD_FC                     = 0x12
-       ARPHRD_FRAME                  = 0xf
-       ARPHRD_HDLC                   = 0x11
-       ARPHRD_IB                     = 0x20
-       ARPHRD_IEEE802                = 0x6
-       ARPHRD_IPATM                  = 0x13
-       ARPHRD_METRICOM               = 0x17
-       ARPHRD_TUNNEL                 = 0x1f
-       B0                            = 0x0
-       B110                          = 0x3
-       B115200                       = 0x12
-       B1200                         = 0x9
-       B134                          = 0x4
-       B150                          = 0x5
-       B153600                       = 0x13
-       B1800                         = 0xa
-       B19200                        = 0xe
-       B200                          = 0x6
-       B230400                       = 0x14
-       B2400                         = 0xb
-       B300                          = 0x7
-       B307200                       = 0x15
-       B38400                        = 0xf
-       B460800                       = 0x16
-       B4800                         = 0xc
-       B50                           = 0x1
-       B57600                        = 0x10
-       B600                          = 0x8
-       B75                           = 0x2
-       B76800                        = 0x11
-       B921600                       = 0x17
-       B9600                         = 0xd
-       BIOCFLUSH                     = 0x20004268
-       BIOCGBLEN                     = 0x40044266
-       BIOCGDLT                      = 0x4004426a
-       BIOCGDLTLIST                  = -0x3fefbd89
-       BIOCGDLTLIST32                = -0x3ff7bd89
-       BIOCGETIF                     = 0x4020426b
-       BIOCGETLIF                    = 0x4078426b
-       BIOCGHDRCMPLT                 = 0x40044274
-       BIOCGRTIMEOUT                 = 0x4010427b
-       BIOCGRTIMEOUT32               = 0x4008427b
-       BIOCGSEESENT                  = 0x40044278
-       BIOCGSTATS                    = 0x4080426f
-       BIOCGSTATSOLD                 = 0x4008426f
-       BIOCIMMEDIATE                 = -0x7ffbbd90
-       BIOCPROMISC                   = 0x20004269
-       BIOCSBLEN                     = -0x3ffbbd9a
-       BIOCSDLT                      = -0x7ffbbd8a
-       BIOCSETF                      = -0x7fefbd99
-       BIOCSETF32                    = -0x7ff7bd99
-       BIOCSETIF                     = -0x7fdfbd94
-       BIOCSETLIF                    = -0x7f87bd94
-       BIOCSHDRCMPLT                 = -0x7ffbbd8b
-       BIOCSRTIMEOUT                 = -0x7fefbd86
-       BIOCSRTIMEOUT32               = -0x7ff7bd86
-       BIOCSSEESENT                  = -0x7ffbbd87
-       BIOCSTCPF                     = -0x7fefbd8e
-       BIOCSUDPF                     = -0x7fefbd8d
-       BIOCVERSION                   = 0x40044271
-       BPF_A                         = 0x10
-       BPF_ABS                       = 0x20
-       BPF_ADD                       = 0x0
-       BPF_ALIGNMENT                 = 0x4
-       BPF_ALU                       = 0x4
-       BPF_AND                       = 0x50
-       BPF_B                         = 0x10
-       BPF_DFLTBUFSIZE               = 0x100000
-       BPF_DIV                       = 0x30
-       BPF_H                         = 0x8
-       BPF_IMM                       = 0x0
-       BPF_IND                       = 0x40
-       BPF_JA                        = 0x0
-       BPF_JEQ                       = 0x10
-       BPF_JGE                       = 0x30
-       BPF_JGT                       = 0x20
-       BPF_JMP                       = 0x5
-       BPF_JSET                      = 0x40
-       BPF_K                         = 0x0
-       BPF_LD                        = 0x0
-       BPF_LDX                       = 0x1
-       BPF_LEN                       = 0x80
-       BPF_LSH                       = 0x60
-       BPF_MAJOR_VERSION             = 0x1
-       BPF_MAXBUFSIZE                = 0x1000000
-       BPF_MAXINSNS                  = 0x200
-       BPF_MEM                       = 0x60
-       BPF_MEMWORDS                  = 0x10
-       BPF_MINBUFSIZE                = 0x20
-       BPF_MINOR_VERSION             = 0x1
-       BPF_MISC                      = 0x7
-       BPF_MSH                       = 0xa0
-       BPF_MUL                       = 0x20
-       BPF_NEG                       = 0x80
-       BPF_OR                        = 0x40
-       BPF_RELEASE                   = 0x30bb6
-       BPF_RET                       = 0x6
-       BPF_RSH                       = 0x70
-       BPF_ST                        = 0x2
-       BPF_STX                       = 0x3
-       BPF_SUB                       = 0x10
-       BPF_TAX                       = 0x0
-       BPF_TXA                       = 0x80
-       BPF_W                         = 0x0
-       BPF_X                         = 0x8
-       BRKINT                        = 0x2
-       CFLUSH                        = 0xf
-       CLOCAL                        = 0x800
-       CLOCK_HIGHRES                 = 0x4
-       CLOCK_LEVEL                   = 0xa
-       CLOCK_MONOTONIC               = 0x4
-       CLOCK_PROCESS_CPUTIME_ID      = 0x5
-       CLOCK_PROF                    = 0x2
-       CLOCK_REALTIME                = 0x3
-       CLOCK_THREAD_CPUTIME_ID       = 0x2
-       CLOCK_VIRTUAL                 = 0x1
-       CREAD                         = 0x80
-       CS5                           = 0x0
-       CS6                           = 0x10
-       CS7                           = 0x20
-       CS8                           = 0x30
-       CSIZE                         = 0x30
-       CSTART                        = 0x11
-       CSTATUS                       = 0x14
-       CSTOP                         = 0x13
-       CSTOPB                        = 0x40
-       CSUSP                         = 0x1a
-       CSWTCH                        = 0x1a
-       DLT_AIRONET_HEADER            = 0x78
-       DLT_APPLE_IP_OVER_IEEE1394    = 0x8a
-       DLT_ARCNET                    = 0x7
-       DLT_ARCNET_LINUX              = 0x81
-       DLT_ATM_CLIP                  = 0x13
-       DLT_ATM_RFC1483               = 0xb
-       DLT_AURORA                    = 0x7e
-       DLT_AX25                      = 0x3
-       DLT_BACNET_MS_TP              = 0xa5
-       DLT_CHAOS                     = 0x5
-       DLT_CISCO_IOS                 = 0x76
-       DLT_C_HDLC                    = 0x68
-       DLT_DOCSIS                    = 0x8f
-       DLT_ECONET                    = 0x73
-       DLT_EN10MB                    = 0x1
-       DLT_EN3MB                     = 0x2
-       DLT_ENC                       = 0x6d
-       DLT_ERF_ETH                   = 0xaf
-       DLT_ERF_POS                   = 0xb0
-       DLT_FDDI                      = 0xa
-       DLT_FRELAY                    = 0x6b
-       DLT_GCOM_SERIAL               = 0xad
-       DLT_GCOM_T1E1                 = 0xac
-       DLT_GPF_F                     = 0xab
-       DLT_GPF_T                     = 0xaa
-       DLT_GPRS_LLC                  = 0xa9
-       DLT_HDLC                      = 0x10
-       DLT_HHDLC                     = 0x79
-       DLT_HIPPI                     = 0xf
-       DLT_IBM_SN                    = 0x92
-       DLT_IBM_SP                    = 0x91
-       DLT_IEEE802                   = 0x6
-       DLT_IEEE802_11                = 0x69
-       DLT_IEEE802_11_RADIO          = 0x7f
-       DLT_IEEE802_11_RADIO_AVS      = 0xa3
-       DLT_IPNET                     = 0xe2
-       DLT_IPOIB                     = 0xa2
-       DLT_IP_OVER_FC                = 0x7a
-       DLT_JUNIPER_ATM1              = 0x89
-       DLT_JUNIPER_ATM2              = 0x87
-       DLT_JUNIPER_CHDLC             = 0xb5
-       DLT_JUNIPER_ES                = 0x84
-       DLT_JUNIPER_ETHER             = 0xb2
-       DLT_JUNIPER_FRELAY            = 0xb4
-       DLT_JUNIPER_GGSN              = 0x85
-       DLT_JUNIPER_MFR               = 0x86
-       DLT_JUNIPER_MLFR              = 0x83
-       DLT_JUNIPER_MLPPP             = 0x82
-       DLT_JUNIPER_MONITOR           = 0xa4
-       DLT_JUNIPER_PIC_PEER          = 0xae
-       DLT_JUNIPER_PPP               = 0xb3
-       DLT_JUNIPER_PPPOE             = 0xa7
-       DLT_JUNIPER_PPPOE_ATM         = 0xa8
-       DLT_JUNIPER_SERVICES          = 0x88
-       DLT_LINUX_IRDA                = 0x90
-       DLT_LINUX_LAPD                = 0xb1
-       DLT_LINUX_SLL                 = 0x71
-       DLT_LOOP                      = 0x6c
-       DLT_LTALK                     = 0x72
-       DLT_MTP2                      = 0x8c
-       DLT_MTP2_WITH_PHDR            = 0x8b
-       DLT_MTP3                      = 0x8d
-       DLT_NULL                      = 0x0
-       DLT_PCI_EXP                   = 0x7d
-       DLT_PFLOG                     = 0x75
-       DLT_PFSYNC                    = 0x12
-       DLT_PPP                       = 0x9
-       DLT_PPP_BSDOS                 = 0xe
-       DLT_PPP_PPPD                  = 0xa6
-       DLT_PRISM_HEADER              = 0x77
-       DLT_PRONET                    = 0x4
-       DLT_RAW                       = 0xc
-       DLT_RAWAF_MASK                = 0x2240000
-       DLT_RIO                       = 0x7c
-       DLT_SCCP                      = 0x8e
-       DLT_SLIP                      = 0x8
-       DLT_SLIP_BSDOS                = 0xd
-       DLT_SUNATM                    = 0x7b
-       DLT_SYMANTEC_FIREWALL         = 0x63
-       DLT_TZSP                      = 0x80
-       ECHO                          = 0x8
-       ECHOCTL                       = 0x200
-       ECHOE                         = 0x10
-       ECHOK                         = 0x20
-       ECHOKE                        = 0x800
-       ECHONL                        = 0x40
-       ECHOPRT                       = 0x400
-       EMPTY_SET                     = 0x0
-       EMT_CPCOVF                    = 0x1
-       EQUALITY_CHECK                = 0x0
-       EXTA                          = 0xe
-       EXTB                          = 0xf
-       FD_CLOEXEC                    = 0x1
-       FD_NFDBITS                    = 0x40
-       FD_SETSIZE                    = 0x10000
-       FLUSHALL                      = 0x1
-       FLUSHDATA                     = 0x0
-       FLUSHO                        = 0x2000
-       F_ALLOCSP                     = 0xa
-       F_ALLOCSP64                   = 0xa
-       F_BADFD                       = 0x2e
-       F_BLKSIZE                     = 0x13
-       F_BLOCKS                      = 0x12
-       F_CHKFL                       = 0x8
-       F_COMPAT                      = 0x8
-       F_DUP2FD                      = 0x9
-       F_DUP2FD_CLOEXEC              = 0x24
-       F_DUPFD                       = 0x0
-       F_DUPFD_CLOEXEC               = 0x25
-       F_FREESP                      = 0xb
-       F_FREESP64                    = 0xb
-       F_GETFD                       = 0x1
-       F_GETFL                       = 0x3
-       F_GETLK                       = 0xe
-       F_GETLK64                     = 0xe
-       F_GETOWN                      = 0x17
-       F_GETXFL                      = 0x2d
-       F_HASREMOTELOCKS              = 0x1a
-       F_ISSTREAM                    = 0xd
-       F_MANDDNY                     = 0x10
-       F_MDACC                       = 0x20
-       F_NODNY                       = 0x0
-       F_NPRIV                       = 0x10
-       F_PRIV                        = 0xf
-       F_QUOTACTL                    = 0x11
-       F_RDACC                       = 0x1
-       F_RDDNY                       = 0x1
-       F_RDLCK                       = 0x1
-       F_REVOKE                      = 0x19
-       F_RMACC                       = 0x4
-       F_RMDNY                       = 0x4
-       F_RWACC                       = 0x3
-       F_RWDNY                       = 0x3
-       F_SETFD                       = 0x2
-       F_SETFL                       = 0x4
-       F_SETLK                       = 0x6
-       F_SETLK64                     = 0x6
-       F_SETLK64_NBMAND              = 0x2a
-       F_SETLKW                      = 0x7
-       F_SETLKW64                    = 0x7
-       F_SETLK_NBMAND                = 0x2a
-       F_SETOWN                      = 0x18
-       F_SHARE                       = 0x28
-       F_SHARE_NBMAND                = 0x2b
-       F_UNLCK                       = 0x3
-       F_UNLKSYS                     = 0x4
-       F_UNSHARE                     = 0x29
-       F_WRACC                       = 0x2
-       F_WRDNY                       = 0x2
-       F_WRLCK                       = 0x2
-       HUPCL                         = 0x400
-       ICANON                        = 0x2
-       ICRNL                         = 0x100
-       IEXTEN                        = 0x8000
-       IFF_ADDRCONF                  = 0x80000
-       IFF_ALLMULTI                  = 0x200
-       IFF_ANYCAST                   = 0x400000
-       IFF_BROADCAST                 = 0x2
-       IFF_CANTCHANGE                = 0x7f203003b5a
-       IFF_COS_ENABLED               = 0x200000000
-       IFF_DEBUG                     = 0x4
-       IFF_DEPRECATED                = 0x40000
-       IFF_DHCPRUNNING               = 0x4000
-       IFF_DUPLICATE                 = 0x4000000000
-       IFF_FAILED                    = 0x10000000
-       IFF_FIXEDMTU                  = 0x1000000000
-       IFF_INACTIVE                  = 0x40000000
-       IFF_INTELLIGENT               = 0x400
-       IFF_IPMP                      = 0x8000000000
-       IFF_IPMP_CANTCHANGE           = 0x10000000
-       IFF_IPMP_INVALID              = 0x1ec200080
-       IFF_IPV4                      = 0x1000000
-       IFF_IPV6                      = 0x2000000
-       IFF_L3PROTECT                 = 0x40000000000
-       IFF_LOOPBACK                  = 0x8
-       IFF_MULTICAST                 = 0x800
-       IFF_MULTI_BCAST               = 0x1000
-       IFF_NOACCEPT                  = 0x4000000
-       IFF_NOARP                     = 0x80
-       IFF_NOFAILOVER                = 0x8000000
-       IFF_NOLINKLOCAL               = 0x20000000000
-       IFF_NOLOCAL                   = 0x20000
-       IFF_NONUD                     = 0x200000
-       IFF_NORTEXCH                  = 0x800000
-       IFF_NOTRAILERS                = 0x20
-       IFF_NOXMIT                    = 0x10000
-       IFF_OFFLINE                   = 0x80000000
-       IFF_POINTOPOINT               = 0x10
-       IFF_PREFERRED                 = 0x400000000
-       IFF_PRIVATE                   = 0x8000
-       IFF_PROMISC                   = 0x100
-       IFF_ROUTER                    = 0x100000
-       IFF_RUNNING                   = 0x40
-       IFF_STANDBY                   = 0x20000000
-       IFF_TEMPORARY                 = 0x800000000
-       IFF_UNNUMBERED                = 0x2000
-       IFF_UP                        = 0x1
-       IFF_VIRTUAL                   = 0x2000000000
-       IFF_VRRP                      = 0x10000000000
-       IFF_XRESOLV                   = 0x100000000
-       IFNAMSIZ                      = 0x10
-       IFT_1822                      = 0x2
-       IFT_6TO4                      = 0xca
-       IFT_AAL5                      = 0x31
-       IFT_ARCNET                    = 0x23
-       IFT_ARCNETPLUS                = 0x24
-       IFT_ATM                       = 0x25
-       IFT_CEPT                      = 0x13
-       IFT_DS3                       = 0x1e
-       IFT_EON                       = 0x19
-       IFT_ETHER                     = 0x6
-       IFT_FDDI                      = 0xf
-       IFT_FRELAY                    = 0x20
-       IFT_FRELAYDCE                 = 0x2c
-       IFT_HDH1822                   = 0x3
-       IFT_HIPPI                     = 0x2f
-       IFT_HSSI                      = 0x2e
-       IFT_HY                        = 0xe
-       IFT_IB                        = 0xc7
-       IFT_IPV4                      = 0xc8
-       IFT_IPV6                      = 0xc9
-       IFT_ISDNBASIC                 = 0x14
-       IFT_ISDNPRIMARY               = 0x15
-       IFT_ISO88022LLC               = 0x29
-       IFT_ISO88023                  = 0x7
-       IFT_ISO88024                  = 0x8
-       IFT_ISO88025                  = 0x9
-       IFT_ISO88026                  = 0xa
-       IFT_LAPB                      = 0x10
-       IFT_LOCALTALK                 = 0x2a
-       IFT_LOOP                      = 0x18
-       IFT_MIOX25                    = 0x26
-       IFT_MODEM                     = 0x30
-       IFT_NSIP                      = 0x1b
-       IFT_OTHER                     = 0x1
-       IFT_P10                       = 0xc
-       IFT_P80                       = 0xd
-       IFT_PARA                      = 0x22
-       IFT_PPP                       = 0x17
-       IFT_PROPMUX                   = 0x36
-       IFT_PROPVIRTUAL               = 0x35
-       IFT_PTPSERIAL                 = 0x16
-       IFT_RS232                     = 0x21
-       IFT_SDLC                      = 0x11
-       IFT_SIP                       = 0x1f
-       IFT_SLIP                      = 0x1c
-       IFT_SMDSDXI                   = 0x2b
-       IFT_SMDSICIP                  = 0x34
-       IFT_SONET                     = 0x27
-       IFT_SONETPATH                 = 0x32
-       IFT_SONETVT                   = 0x33
-       IFT_STARLAN                   = 0xb
-       IFT_T1                        = 0x12
-       IFT_ULTRA                     = 0x1d
-       IFT_V35                       = 0x2d
-       IFT_X25                       = 0x5
-       IFT_X25DDN                    = 0x4
-       IFT_X25PLE                    = 0x28
-       IFT_XETHER                    = 0x1a
-       IGNBRK                        = 0x1
-       IGNCR                         = 0x80
-       IGNPAR                        = 0x4
-       IMAXBEL                       = 0x2000
-       INLCR                         = 0x40
-       INPCK                         = 0x10
-       IN_AUTOCONF_MASK              = 0xffff0000
-       IN_AUTOCONF_NET               = 0xa9fe0000
-       IN_CLASSA_HOST                = 0xffffff
-       IN_CLASSA_MAX                 = 0x80
-       IN_CLASSA_NET                 = 0xff000000
-       IN_CLASSA_NSHIFT              = 0x18
-       IN_CLASSB_HOST                = 0xffff
-       IN_CLASSB_MAX                 = 0x10000
-       IN_CLASSB_NET                 = 0xffff0000
-       IN_CLASSB_NSHIFT              = 0x10
-       IN_CLASSC_HOST                = 0xff
-       IN_CLASSC_NET                 = 0xffffff00
-       IN_CLASSC_NSHIFT              = 0x8
-       IN_CLASSD_HOST                = 0xfffffff
-       IN_CLASSD_NET                 = 0xf0000000
-       IN_CLASSD_NSHIFT              = 0x1c
-       IN_CLASSE_NET                 = 0xffffffff
-       IN_LOOPBACKNET                = 0x7f
-       IN_PRIVATE12_MASK             = 0xfff00000
-       IN_PRIVATE12_NET              = 0xac100000
-       IN_PRIVATE16_MASK             = 0xffff0000
-       IN_PRIVATE16_NET              = 0xc0a80000
-       IN_PRIVATE8_MASK              = 0xff000000
-       IN_PRIVATE8_NET               = 0xa000000
-       IPPROTO_AH                    = 0x33
-       IPPROTO_DSTOPTS               = 0x3c
-       IPPROTO_EGP                   = 0x8
-       IPPROTO_ENCAP                 = 0x4
-       IPPROTO_EON                   = 0x50
-       IPPROTO_ESP                   = 0x32
-       IPPROTO_FRAGMENT              = 0x2c
-       IPPROTO_GGP                   = 0x3
-       IPPROTO_HELLO                 = 0x3f
-       IPPROTO_HOPOPTS               = 0x0
-       IPPROTO_ICMP                  = 0x1
-       IPPROTO_ICMPV6                = 0x3a
-       IPPROTO_IDP                   = 0x16
-       IPPROTO_IGMP                  = 0x2
-       IPPROTO_IP                    = 0x0
-       IPPROTO_IPV6                  = 0x29
-       IPPROTO_MAX                   = 0x100
-       IPPROTO_ND                    = 0x4d
-       IPPROTO_NONE                  = 0x3b
-       IPPROTO_OSPF                  = 0x59
-       IPPROTO_PIM                   = 0x67
-       IPPROTO_PUP                   = 0xc
-       IPPROTO_RAW                   = 0xff
-       IPPROTO_ROUTING               = 0x2b
-       IPPROTO_RSVP                  = 0x2e
-       IPPROTO_SCTP                  = 0x84
-       IPPROTO_TCP                   = 0x6
-       IPPROTO_UDP                   = 0x11
-       IPV6_ADD_MEMBERSHIP           = 0x9
-       IPV6_BOUND_IF                 = 0x41
-       IPV6_CHECKSUM                 = 0x18
-       IPV6_DONTFRAG                 = 0x21
-       IPV6_DROP_MEMBERSHIP          = 0xa
-       IPV6_DSTOPTS                  = 0xf
-       IPV6_FLOWINFO_FLOWLABEL       = 0xffff0f00
-       IPV6_FLOWINFO_TCLASS          = 0xf00f
-       IPV6_HOPLIMIT                 = 0xc
-       IPV6_HOPOPTS                  = 0xe
-       IPV6_JOIN_GROUP               = 0x9
-       IPV6_LEAVE_GROUP              = 0xa
-       IPV6_MULTICAST_HOPS           = 0x7
-       IPV6_MULTICAST_IF             = 0x6
-       IPV6_MULTICAST_LOOP           = 0x8
-       IPV6_NEXTHOP                  = 0xd
-       IPV6_PAD1_OPT                 = 0x0
-       IPV6_PATHMTU                  = 0x25
-       IPV6_PKTINFO                  = 0xb
-       IPV6_PREFER_SRC_CGA           = 0x20
-       IPV6_PREFER_SRC_CGADEFAULT    = 0x10
-       IPV6_PREFER_SRC_CGAMASK       = 0x30
-       IPV6_PREFER_SRC_COA           = 0x2
-       IPV6_PREFER_SRC_DEFAULT       = 0x15
-       IPV6_PREFER_SRC_HOME          = 0x1
-       IPV6_PREFER_SRC_MASK          = 0x3f
-       IPV6_PREFER_SRC_MIPDEFAULT    = 0x1
-       IPV6_PREFER_SRC_MIPMASK       = 0x3
-       IPV6_PREFER_SRC_NONCGA        = 0x10
-       IPV6_PREFER_SRC_PUBLIC        = 0x4
-       IPV6_PREFER_SRC_TMP           = 0x8
-       IPV6_PREFER_SRC_TMPDEFAULT    = 0x4
-       IPV6_PREFER_SRC_TMPMASK       = 0xc
-       IPV6_RECVDSTOPTS              = 0x28
-       IPV6_RECVHOPLIMIT             = 0x13
-       IPV6_RECVHOPOPTS              = 0x14
-       IPV6_RECVPATHMTU              = 0x24
-       IPV6_RECVPKTINFO              = 0x12
-       IPV6_RECVRTHDR                = 0x16
-       IPV6_RECVRTHDRDSTOPTS         = 0x17
-       IPV6_RECVTCLASS               = 0x19
-       IPV6_RTHDR                    = 0x10
-       IPV6_RTHDRDSTOPTS             = 0x11
-       IPV6_RTHDR_TYPE_0             = 0x0
-       IPV6_SEC_OPT                  = 0x22
-       IPV6_SRC_PREFERENCES          = 0x23
-       IPV6_TCLASS                   = 0x26
-       IPV6_UNICAST_HOPS             = 0x5
-       IPV6_UNSPEC_SRC               = 0x42
-       IPV6_USE_MIN_MTU              = 0x20
-       IPV6_V6ONLY                   = 0x27
-       IP_ADD_MEMBERSHIP             = 0x13
-       IP_ADD_SOURCE_MEMBERSHIP      = 0x17
-       IP_BLOCK_SOURCE               = 0x15
-       IP_BOUND_IF                   = 0x41
-       IP_BROADCAST                  = 0x106
-       IP_BROADCAST_TTL              = 0x43
-       IP_DEFAULT_MULTICAST_LOOP     = 0x1
-       IP_DEFAULT_MULTICAST_TTL      = 0x1
-       IP_DF                         = 0x4000
-       IP_DHCPINIT_IF                = 0x45
-       IP_DONTFRAG                   = 0x1b
-       IP_DONTROUTE                  = 0x105
-       IP_DROP_MEMBERSHIP            = 0x14
-       IP_DROP_SOURCE_MEMBERSHIP     = 0x18
-       IP_HDRINCL                    = 0x2
-       IP_MAXPACKET                  = 0xffff
-       IP_MF                         = 0x2000
-       IP_MSS                        = 0x240
-       IP_MULTICAST_IF               = 0x10
-       IP_MULTICAST_LOOP             = 0x12
-       IP_MULTICAST_TTL              = 0x11
-       IP_NEXTHOP                    = 0x19
-       IP_OPTIONS                    = 0x1
-       IP_PKTINFO                    = 0x1a
-       IP_RECVDSTADDR                = 0x7
-       IP_RECVIF                     = 0x9
-       IP_RECVOPTS                   = 0x5
-       IP_RECVPKTINFO                = 0x1a
-       IP_RECVRETOPTS                = 0x6
-       IP_RECVSLLA                   = 0xa
-       IP_RECVTTL                    = 0xb
-       IP_RETOPTS                    = 0x8
-       IP_REUSEADDR                  = 0x104
-       IP_SEC_OPT                    = 0x22
-       IP_TOS                        = 0x3
-       IP_TTL                        = 0x4
-       IP_UNBLOCK_SOURCE             = 0x16
-       IP_UNSPEC_SRC                 = 0x42
-       ISIG                          = 0x1
-       ISTRIP                        = 0x20
-       IXANY                         = 0x800
-       IXOFF                         = 0x1000
-       IXON                          = 0x400
-       MADV_ACCESS_DEFAULT           = 0x6
-       MADV_ACCESS_LWP               = 0x7
-       MADV_ACCESS_MANY              = 0x8
-       MADV_DONTNEED                 = 0x4
-       MADV_FREE                     = 0x5
-       MADV_NORMAL                   = 0x0
-       MADV_RANDOM                   = 0x1
-       MADV_SEQUENTIAL               = 0x2
-       MADV_WILLNEED                 = 0x3
-       MAP_32BIT                     = 0x80
-       MAP_ALIGN                     = 0x200
-       MAP_ANON                      = 0x100
-       MAP_ANONYMOUS                 = 0x100
-       MAP_FIXED                     = 0x10
-       MAP_INITDATA                  = 0x800
-       MAP_NORESERVE                 = 0x40
-       MAP_PRIVATE                   = 0x2
-       MAP_RENAME                    = 0x20
-       MAP_SHARED                    = 0x1
-       MAP_TEXT                      = 0x400
-       MAP_TYPE                      = 0xf
-       MCL_CURRENT                   = 0x1
-       MCL_FUTURE                    = 0x2
-       MSG_CTRUNC                    = 0x10
-       MSG_DONTROUTE                 = 0x4
-       MSG_DONTWAIT                  = 0x80
-       MSG_DUPCTRL                   = 0x800
-       MSG_EOR                       = 0x8
-       MSG_MAXIOVLEN                 = 0x10
-       MSG_NOTIFICATION              = 0x100
-       MSG_OOB                       = 0x1
-       MSG_PEEK                      = 0x2
-       MSG_TRUNC                     = 0x20
-       MSG_WAITALL                   = 0x40
-       MSG_XPG4_2                    = 0x8000
-       MS_ASYNC                      = 0x1
-       MS_INVALIDATE                 = 0x2
-       MS_OLDSYNC                    = 0x0
-       MS_SYNC                       = 0x4
-       M_FLUSH                       = 0x86
-       NOFLSH                        = 0x80
-       OCRNL                         = 0x8
-       OFDEL                         = 0x80
-       OFILL                         = 0x40
-       ONLCR                         = 0x4
-       ONLRET                        = 0x20
-       ONOCR                         = 0x10
-       OPENFAIL                      = -0x1
-       OPOST                         = 0x1
-       O_ACCMODE                     = 0x600003
-       O_APPEND                      = 0x8
-       O_CLOEXEC                     = 0x800000
-       O_CREAT                       = 0x100
-       O_DSYNC                       = 0x40
-       O_EXCL                        = 0x400
-       O_EXEC                        = 0x400000
-       O_LARGEFILE                   = 0x2000
-       O_NDELAY                      = 0x4
-       O_NOCTTY                      = 0x800
-       O_NOFOLLOW                    = 0x20000
-       O_NOLINKS                     = 0x40000
-       O_NONBLOCK                    = 0x80
-       O_RDONLY                      = 0x0
-       O_RDWR                        = 0x2
-       O_RSYNC                       = 0x8000
-       O_SEARCH                      = 0x200000
-       O_SIOCGIFCONF                 = -0x3ff796ec
-       O_SIOCGLIFCONF                = -0x3fef9688
-       O_SYNC                        = 0x10
-       O_TRUNC                       = 0x200
-       O_WRONLY                      = 0x1
-       O_XATTR                       = 0x4000
-       PARENB                        = 0x100
-       PAREXT                        = 0x100000
-       PARMRK                        = 0x8
-       PARODD                        = 0x200
-       PENDIN                        = 0x4000
-       PRIO_PGRP                     = 0x1
-       PRIO_PROCESS                  = 0x0
-       PRIO_USER                     = 0x2
-       PROT_EXEC                     = 0x4
-       PROT_NONE                     = 0x0
-       PROT_READ                     = 0x1
-       PROT_WRITE                    = 0x2
-       RLIMIT_AS                     = 0x6
-       RLIMIT_CORE                   = 0x4
-       RLIMIT_CPU                    = 0x0
-       RLIMIT_DATA                   = 0x2
-       RLIMIT_FSIZE                  = 0x1
-       RLIMIT_NOFILE                 = 0x5
-       RLIMIT_STACK                  = 0x3
-       RLIM_INFINITY                 = -0x3
-       RTAX_AUTHOR                   = 0x6
-       RTAX_BRD                      = 0x7
-       RTAX_DST                      = 0x0
-       RTAX_GATEWAY                  = 0x1
-       RTAX_GENMASK                  = 0x3
-       RTAX_IFA                      = 0x5
-       RTAX_IFP                      = 0x4
-       RTAX_MAX                      = 0x9
-       RTAX_NETMASK                  = 0x2
-       RTAX_SRC                      = 0x8
-       RTA_AUTHOR                    = 0x40
-       RTA_BRD                       = 0x80
-       RTA_DST                       = 0x1
-       RTA_GATEWAY                   = 0x2
-       RTA_GENMASK                   = 0x8
-       RTA_IFA                       = 0x20
-       RTA_IFP                       = 0x10
-       RTA_NETMASK                   = 0x4
-       RTA_NUMBITS                   = 0x9
-       RTA_SRC                       = 0x100
-       RTF_BLACKHOLE                 = 0x1000
-       RTF_CLONING                   = 0x100
-       RTF_DONE                      = 0x40
-       RTF_DYNAMIC                   = 0x10
-       RTF_GATEWAY                   = 0x2
-       RTF_HOST                      = 0x4
-       RTF_INDIRECT                  = 0x40000
-       RTF_KERNEL                    = 0x80000
-       RTF_LLINFO                    = 0x400
-       RTF_MASK                      = 0x80
-       RTF_MODIFIED                  = 0x20
-       RTF_MULTIRT                   = 0x10000
-       RTF_PRIVATE                   = 0x2000
-       RTF_PROTO1                    = 0x8000
-       RTF_PROTO2                    = 0x4000
-       RTF_REJECT                    = 0x8
-       RTF_SETSRC                    = 0x20000
-       RTF_STATIC                    = 0x800
-       RTF_UP                        = 0x1
-       RTF_XRESOLVE                  = 0x200
-       RTF_ZONE                      = 0x100000
-       RTM_ADD                       = 0x1
-       RTM_CHANGE                    = 0x3
-       RTM_CHGADDR                   = 0xf
-       RTM_DELADDR                   = 0xd
-       RTM_DELETE                    = 0x2
-       RTM_FREEADDR                  = 0x10
-       RTM_GET                       = 0x4
-       RTM_IFINFO                    = 0xe
-       RTM_LOCK                      = 0x8
-       RTM_LOSING                    = 0x5
-       RTM_MISS                      = 0x7
-       RTM_NEWADDR                   = 0xc
-       RTM_OLDADD                    = 0x9
-       RTM_OLDDEL                    = 0xa
-       RTM_REDIRECT                  = 0x6
-       RTM_RESOLVE                   = 0xb
-       RTM_VERSION                   = 0x3
-       RTV_EXPIRE                    = 0x4
-       RTV_HOPCOUNT                  = 0x2
-       RTV_MTU                       = 0x1
-       RTV_RPIPE                     = 0x8
-       RTV_RTT                       = 0x40
-       RTV_RTTVAR                    = 0x80
-       RTV_SPIPE                     = 0x10
-       RTV_SSTHRESH                  = 0x20
-       RT_AWARE                      = 0x1
-       RUSAGE_CHILDREN               = -0x1
-       RUSAGE_SELF                   = 0x0
-       SCM_RIGHTS                    = 0x1010
-       SCM_TIMESTAMP                 = 0x1013
-       SCM_UCRED                     = 0x1012
-       SHUT_RD                       = 0x0
-       SHUT_RDWR                     = 0x2
-       SHUT_WR                       = 0x1
-       SIG2STR_MAX                   = 0x20
-       SIOCADDMULTI                  = -0x7fdf96cf
-       SIOCADDRT                     = -0x7fcf8df6
-       SIOCATMARK                    = 0x40047307
-       SIOCDARP                      = -0x7fdb96e0
-       SIOCDELMULTI                  = -0x7fdf96ce
-       SIOCDELRT                     = -0x7fcf8df5
-       SIOCDXARP                     = -0x7fff9658
-       SIOCGARP                      = -0x3fdb96e1
-       SIOCGDSTINFO                  = -0x3fff965c
-       SIOCGENADDR                   = -0x3fdf96ab
-       SIOCGENPSTATS                 = -0x3fdf96c7
-       SIOCGETLSGCNT                 = -0x3fef8deb
-       SIOCGETNAME                   = 0x40107334
-       SIOCGETPEER                   = 0x40107335
-       SIOCGETPROP                   = -0x3fff8f44
-       SIOCGETSGCNT                  = -0x3feb8deb
-       SIOCGETSYNC                   = -0x3fdf96d3
-       SIOCGETVIFCNT                 = -0x3feb8dec
-       SIOCGHIWAT                    = 0x40047301
-       SIOCGIFADDR                   = -0x3fdf96f3
-       SIOCGIFBRDADDR                = -0x3fdf96e9
-       SIOCGIFCONF                   = -0x3ff796a4
-       SIOCGIFDSTADDR                = -0x3fdf96f1
-       SIOCGIFFLAGS                  = -0x3fdf96ef
-       SIOCGIFHWADDR                 = -0x3fdf9647
-       SIOCGIFINDEX                  = -0x3fdf96a6
-       SIOCGIFMEM                    = -0x3fdf96ed
-       SIOCGIFMETRIC                 = -0x3fdf96e5
-       SIOCGIFMTU                    = -0x3fdf96ea
-       SIOCGIFMUXID                  = -0x3fdf96a8
-       SIOCGIFNETMASK                = -0x3fdf96e7
-       SIOCGIFNUM                    = 0x40046957
-       SIOCGIP6ADDRPOLICY            = -0x3fff965e
-       SIOCGIPMSFILTER               = -0x3ffb964c
-       SIOCGLIFADDR                  = -0x3f87968f
-       SIOCGLIFBINDING               = -0x3f879666
-       SIOCGLIFBRDADDR               = -0x3f879685
-       SIOCGLIFCONF                  = -0x3fef965b
-       SIOCGLIFDADSTATE              = -0x3f879642
-       SIOCGLIFDSTADDR               = -0x3f87968d
-       SIOCGLIFFLAGS                 = -0x3f87968b
-       SIOCGLIFGROUPINFO             = -0x3f4b9663
-       SIOCGLIFGROUPNAME             = -0x3f879664
-       SIOCGLIFHWADDR                = -0x3f879640
-       SIOCGLIFINDEX                 = -0x3f87967b
-       SIOCGLIFLNKINFO               = -0x3f879674
-       SIOCGLIFMETRIC                = -0x3f879681
-       SIOCGLIFMTU                   = -0x3f879686
-       SIOCGLIFMUXID                 = -0x3f87967d
-       SIOCGLIFNETMASK               = -0x3f879683
-       SIOCGLIFNUM                   = -0x3ff3967e
-       SIOCGLIFSRCOF                 = -0x3fef964f
-       SIOCGLIFSUBNET                = -0x3f879676
-       SIOCGLIFTOKEN                 = -0x3f879678
-       SIOCGLIFUSESRC                = -0x3f879651
-       SIOCGLIFZONE                  = -0x3f879656
-       SIOCGLOWAT                    = 0x40047303
-       SIOCGMSFILTER                 = -0x3ffb964e
-       SIOCGPGRP                     = 0x40047309
-       SIOCGSTAMP                    = -0x3fef9646
-       SIOCGXARP                     = -0x3fff9659
-       SIOCIFDETACH                  = -0x7fdf96c8
-       SIOCILB                       = -0x3ffb9645
-       SIOCLIFADDIF                  = -0x3f879691
-       SIOCLIFDELND                  = -0x7f879673
-       SIOCLIFGETND                  = -0x3f879672
-       SIOCLIFREMOVEIF               = -0x7f879692
-       SIOCLIFSETND                  = -0x7f879671
-       SIOCLOWER                     = -0x7fdf96d7
-       SIOCSARP                      = -0x7fdb96e2
-       SIOCSCTPGOPT                  = -0x3fef9653
-       SIOCSCTPPEELOFF               = -0x3ffb9652
-       SIOCSCTPSOPT                  = -0x7fef9654
-       SIOCSENABLESDP                = -0x3ffb9649
-       SIOCSETPROP                   = -0x7ffb8f43
-       SIOCSETSYNC                   = -0x7fdf96d4
-       SIOCSHIWAT                    = -0x7ffb8d00
-       SIOCSIFADDR                   = -0x7fdf96f4
-       SIOCSIFBRDADDR                = -0x7fdf96e8
-       SIOCSIFDSTADDR                = -0x7fdf96f2
-       SIOCSIFFLAGS                  = -0x7fdf96f0
-       SIOCSIFINDEX                  = -0x7fdf96a5
-       SIOCSIFMEM                    = -0x7fdf96ee
-       SIOCSIFMETRIC                 = -0x7fdf96e4
-       SIOCSIFMTU                    = -0x7fdf96eb
-       SIOCSIFMUXID                  = -0x7fdf96a7
-       SIOCSIFNAME                   = -0x7fdf96b7
-       SIOCSIFNETMASK                = -0x7fdf96e6
-       SIOCSIP6ADDRPOLICY            = -0x7fff965d
-       SIOCSIPMSFILTER               = -0x7ffb964b
-       SIOCSLGETREQ                  = -0x3fdf96b9
-       SIOCSLIFADDR                  = -0x7f879690
-       SIOCSLIFBRDADDR               = -0x7f879684
-       SIOCSLIFDSTADDR               = -0x7f87968e
-       SIOCSLIFFLAGS                 = -0x7f87968c
-       SIOCSLIFGROUPNAME             = -0x7f879665
-       SIOCSLIFINDEX                 = -0x7f87967a
-       SIOCSLIFLNKINFO               = -0x7f879675
-       SIOCSLIFMETRIC                = -0x7f879680
-       SIOCSLIFMTU                   = -0x7f879687
-       SIOCSLIFMUXID                 = -0x7f87967c
-       SIOCSLIFNAME                  = -0x3f87967f
-       SIOCSLIFNETMASK               = -0x7f879682
-       SIOCSLIFPREFIX                = -0x3f879641
-       SIOCSLIFSUBNET                = -0x7f879677
-       SIOCSLIFTOKEN                 = -0x7f879679
-       SIOCSLIFUSESRC                = -0x7f879650
-       SIOCSLIFZONE                  = -0x7f879655
-       SIOCSLOWAT                    = -0x7ffb8cfe
-       SIOCSLSTAT                    = -0x7fdf96b8
-       SIOCSMSFILTER                 = -0x7ffb964d
-       SIOCSPGRP                     = -0x7ffb8cf8
-       SIOCSPROMISC                  = -0x7ffb96d0
-       SIOCSQPTR                     = -0x3ffb9648
-       SIOCSSDSTATS                  = -0x3fdf96d2
-       SIOCSSESTATS                  = -0x3fdf96d1
-       SIOCSXARP                     = -0x7fff965a
-       SIOCTMYADDR                   = -0x3ff79670
-       SIOCTMYSITE                   = -0x3ff7966e
-       SIOCTONLINK                   = -0x3ff7966f
-       SIOCUPPER                     = -0x7fdf96d8
-       SIOCX25RCV                    = -0x3fdf96c4
-       SIOCX25TBL                    = -0x3fdf96c3
-       SIOCX25XMT                    = -0x3fdf96c5
-       SIOCXPROTO                    = 0x20007337
-       SOCK_CLOEXEC                  = 0x80000
-       SOCK_DGRAM                    = 0x1
-       SOCK_NDELAY                   = 0x200000
-       SOCK_NONBLOCK                 = 0x100000
-       SOCK_RAW                      = 0x4
-       SOCK_RDM                      = 0x5
-       SOCK_SEQPACKET                = 0x6
-       SOCK_STREAM                   = 0x2
-       SOCK_TYPE_MASK                = 0xffff
-       SOL_FILTER                    = 0xfffc
-       SOL_PACKET                    = 0xfffd
-       SOL_ROUTE                     = 0xfffe
-       SOL_SOCKET                    = 0xffff
-       SOMAXCONN                     = 0x80
-       SO_ACCEPTCONN                 = 0x2
-       SO_ALL                        = 0x3f
-       SO_ALLZONES                   = 0x1014
-       SO_ANON_MLP                   = 0x100a
-       SO_ATTACH_FILTER              = 0x40000001
-       SO_BAND                       = 0x4000
-       SO_BROADCAST                  = 0x20
-       SO_COPYOPT                    = 0x80000
-       SO_DEBUG                      = 0x1
-       SO_DELIM                      = 0x8000
-       SO_DETACH_FILTER              = 0x40000002
-       SO_DGRAM_ERRIND               = 0x200
-       SO_DOMAIN                     = 0x100c
-       SO_DONTLINGER                 = -0x81
-       SO_DONTROUTE                  = 0x10
-       SO_ERROPT                     = 0x40000
-       SO_ERROR                      = 0x1007
-       SO_EXCLBIND                   = 0x1015
-       SO_HIWAT                      = 0x10
-       SO_ISNTTY                     = 0x800
-       SO_ISTTY                      = 0x400
-       SO_KEEPALIVE                  = 0x8
-       SO_LINGER                     = 0x80
-       SO_LOWAT                      = 0x20
-       SO_MAC_EXEMPT                 = 0x100b
-       SO_MAC_IMPLICIT               = 0x1016
-       SO_MAXBLK                     = 0x100000
-       SO_MAXPSZ                     = 0x8
-       SO_MINPSZ                     = 0x4
-       SO_MREADOFF                   = 0x80
-       SO_MREADON                    = 0x40
-       SO_NDELOFF                    = 0x200
-       SO_NDELON                     = 0x100
-       SO_NODELIM                    = 0x10000
-       SO_OOBINLINE                  = 0x100
-       SO_PROTOTYPE                  = 0x1009
-       SO_RCVBUF                     = 0x1002
-       SO_RCVLOWAT                   = 0x1004
-       SO_RCVPSH                     = 0x100d
-       SO_RCVTIMEO                   = 0x1006
-       SO_READOPT                    = 0x1
-       SO_RECVUCRED                  = 0x400
-       SO_REUSEADDR                  = 0x4
-       SO_SECATTR                    = 0x1011
-       SO_SNDBUF                     = 0x1001
-       SO_SNDLOWAT                   = 0x1003
-       SO_SNDTIMEO                   = 0x1005
-       SO_STRHOLD                    = 0x20000
-       SO_TAIL                       = 0x200000
-       SO_TIMESTAMP                  = 0x1013
-       SO_TONSTOP                    = 0x2000
-       SO_TOSTOP                     = 0x1000
-       SO_TYPE                       = 0x1008
-       SO_USELOOPBACK                = 0x40
-       SO_VRRP                       = 0x1017
-       SO_WROFF                      = 0x2
-       TCFLSH                        = 0x5407
-       TCGETA                        = 0x5401
-       TCGETS                        = 0x540d
-       TCIFLUSH                      = 0x0
-       TCIOFLUSH                     = 0x2
-       TCOFLUSH                      = 0x1
-       TCP_ABORT_THRESHOLD           = 0x11
-       TCP_ANONPRIVBIND              = 0x20
-       TCP_CONN_ABORT_THRESHOLD      = 0x13
-       TCP_CONN_NOTIFY_THRESHOLD     = 0x12
-       TCP_CORK                      = 0x18
-       TCP_EXCLBIND                  = 0x21
-       TCP_INIT_CWND                 = 0x15
-       TCP_KEEPALIVE                 = 0x8
-       TCP_KEEPALIVE_ABORT_THRESHOLD = 0x17
-       TCP_KEEPALIVE_THRESHOLD       = 0x16
-       TCP_KEEPCNT                   = 0x23
-       TCP_KEEPIDLE                  = 0x22
-       TCP_KEEPINTVL                 = 0x24
-       TCP_LINGER2                   = 0x1c
-       TCP_MAXSEG                    = 0x2
-       TCP_MSS                       = 0x218
-       TCP_NODELAY                   = 0x1
-       TCP_NOTIFY_THRESHOLD          = 0x10
-       TCP_RECVDSTADDR               = 0x14
-       TCP_RTO_INITIAL               = 0x19
-       TCP_RTO_MAX                   = 0x1b
-       TCP_RTO_MIN                   = 0x1a
-       TCSAFLUSH                     = 0x5410
-       TCSBRK                        = 0x5405
-       TCSETA                        = 0x5402
-       TCSETAF                       = 0x5404
-       TCSETAW                       = 0x5403
-       TCSETS                        = 0x540e
-       TCSETSF                       = 0x5410
-       TCSETSW                       = 0x540f
-       TCXONC                        = 0x5406
-       TIOC                          = 0x5400
-       TIOCCBRK                      = 0x747a
-       TIOCCDTR                      = 0x7478
-       TIOCCILOOP                    = 0x746c
-       TIOCEXCL                      = 0x740d
-       TIOCFLUSH                     = 0x7410
-       TIOCGETC                      = 0x7412
-       TIOCGETD                      = 0x7400
-       TIOCGETP                      = 0x7408
-       TIOCGLTC                      = 0x7474
-       TIOCGPGRP                     = 0x7414
-       TIOCGPPS                      = 0x547d
-       TIOCGPPSEV                    = 0x547f
-       TIOCGSID                      = 0x7416
-       TIOCGSOFTCAR                  = 0x5469
-       TIOCGWINSZ                    = 0x5468
-       TIOCHPCL                      = 0x7402
-       TIOCKBOF                      = 0x5409
-       TIOCKBON                      = 0x5408
-       TIOCLBIC                      = 0x747e
-       TIOCLBIS                      = 0x747f
-       TIOCLGET                      = 0x747c
-       TIOCLSET                      = 0x747d
-       TIOCMBIC                      = 0x741c
-       TIOCMBIS                      = 0x741b
-       TIOCMGET                      = 0x741d
-       TIOCMSET                      = 0x741a
-       TIOCM_CAR                     = 0x40
-       TIOCM_CD                      = 0x40
-       TIOCM_CTS                     = 0x20
-       TIOCM_DSR                     = 0x100
-       TIOCM_DTR                     = 0x2
-       TIOCM_LE                      = 0x1
-       TIOCM_RI                      = 0x80
-       TIOCM_RNG                     = 0x80
-       TIOCM_RTS                     = 0x4
-       TIOCM_SR                      = 0x10
-       TIOCM_ST                      = 0x8
-       TIOCNOTTY                     = 0x7471
-       TIOCNXCL                      = 0x740e
-       TIOCOUTQ                      = 0x7473
-       TIOCREMOTE                    = 0x741e
-       TIOCSBRK                      = 0x747b
-       TIOCSCTTY                     = 0x7484
-       TIOCSDTR                      = 0x7479
-       TIOCSETC                      = 0x7411
-       TIOCSETD                      = 0x7401
-       TIOCSETN                      = 0x740a
-       TIOCSETP                      = 0x7409
-       TIOCSIGNAL                    = 0x741f
-       TIOCSILOOP                    = 0x746d
-       TIOCSLTC                      = 0x7475
-       TIOCSPGRP                     = 0x7415
-       TIOCSPPS                      = 0x547e
-       TIOCSSOFTCAR                  = 0x546a
-       TIOCSTART                     = 0x746e
-       TIOCSTI                       = 0x7417
-       TIOCSTOP                      = 0x746f
-       TIOCSWINSZ                    = 0x5467
-       TOSTOP                        = 0x100
-       VCEOF                         = 0x8
-       VCEOL                         = 0x9
-       VDISCARD                      = 0xd
-       VDSUSP                        = 0xb
-       VEOF                          = 0x4
-       VEOL                          = 0x5
-       VEOL2                         = 0x6
-       VERASE                        = 0x2
-       VINTR                         = 0x0
-       VKILL                         = 0x3
-       VLNEXT                        = 0xf
-       VMIN                          = 0x4
-       VQUIT                         = 0x1
-       VREPRINT                      = 0xc
-       VSTART                        = 0x8
-       VSTATUS                       = 0x10
-       VSTOP                         = 0x9
-       VSUSP                         = 0xa
-       VSWTCH                        = 0x7
-       VT0                           = 0x0
-       VT1                           = 0x4000
-       VTDLY                         = 0x4000
-       VTIME                         = 0x5
-       VWERASE                       = 0xe
-       WCONTFLG                      = 0xffff
-       WCONTINUED                    = 0x8
-       WCOREFLG                      = 0x80
-       WEXITED                       = 0x1
-       WNOHANG                       = 0x40
-       WNOWAIT                       = 0x80
-       WOPTMASK                      = 0xcf
-       WRAP                          = 0x20000
-       WSIGMASK                      = 0x7f
-       WSTOPFLG                      = 0x7f
-       WSTOPPED                      = 0x4
-       WTRAPPED                      = 0x2
-       WUNTRACED                     = 0x4
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x39)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x2f)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x31)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOCKUNMAPPED   = syscall.Errno(0x48)
-       ELOOP           = syscall.Errno(0x5a)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTACTIVE      = syscall.Errno(0x49)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTRECOVERABLE = syscall.Errno(0x3b)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x30)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0x3a)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMOTE         = syscall.Errno(0x42)
-       ERESTART        = syscall.Errno(0x5b)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT    = syscall.Signal(0x6)
-       SIGALRM    = syscall.Signal(0xe)
-       SIGBUS     = syscall.Signal(0xa)
-       SIGCANCEL  = syscall.Signal(0x24)
-       SIGCHLD    = syscall.Signal(0x12)
-       SIGCLD     = syscall.Signal(0x12)
-       SIGCONT    = syscall.Signal(0x19)
-       SIGEMT     = syscall.Signal(0x7)
-       SIGFPE     = syscall.Signal(0x8)
-       SIGFREEZE  = syscall.Signal(0x22)
-       SIGHUP     = syscall.Signal(0x1)
-       SIGILL     = syscall.Signal(0x4)
-       SIGINFO    = syscall.Signal(0x29)
-       SIGINT     = syscall.Signal(0x2)
-       SIGIO      = syscall.Signal(0x16)
-       SIGIOT     = syscall.Signal(0x6)
-       SIGJVM1    = syscall.Signal(0x27)
-       SIGJVM2    = syscall.Signal(0x28)
-       SIGKILL    = syscall.Signal(0x9)
-       SIGLOST    = syscall.Signal(0x25)
-       SIGLWP     = syscall.Signal(0x21)
-       SIGPIPE    = syscall.Signal(0xd)
-       SIGPOLL    = syscall.Signal(0x16)
-       SIGPROF    = syscall.Signal(0x1d)
-       SIGPWR     = syscall.Signal(0x13)
-       SIGQUIT    = syscall.Signal(0x3)
-       SIGSEGV    = syscall.Signal(0xb)
-       SIGSTOP    = syscall.Signal(0x17)
-       SIGSYS     = syscall.Signal(0xc)
-       SIGTERM    = syscall.Signal(0xf)
-       SIGTHAW    = syscall.Signal(0x23)
-       SIGTRAP    = syscall.Signal(0x5)
-       SIGTSTP    = syscall.Signal(0x18)
-       SIGTTIN    = syscall.Signal(0x1a)
-       SIGTTOU    = syscall.Signal(0x1b)
-       SIGURG     = syscall.Signal(0x15)
-       SIGUSR1    = syscall.Signal(0x10)
-       SIGUSR2    = syscall.Signal(0x11)
-       SIGVTALRM  = syscall.Signal(0x1c)
-       SIGWAITING = syscall.Signal(0x20)
-       SIGWINCH   = syscall.Signal(0x14)
-       SIGXCPU    = syscall.Signal(0x1e)
-       SIGXFSZ    = syscall.Signal(0x1f)
-       SIGXRES    = syscall.Signal(0x26)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "not owner",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "I/O error",
-       6:   "no such device or address",
-       7:   "arg list too long",
-       8:   "exec format error",
-       9:   "bad file number",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "not enough space",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "file table overflow",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "argument out of domain",
-       34:  "result too large",
-       35:  "no message of desired type",
-       36:  "identifier removed",
-       37:  "channel number out of range",
-       38:  "level 2 not synchronized",
-       39:  "level 3 halted",
-       40:  "level 3 reset",
-       41:  "link number out of range",
-       42:  "protocol driver not attached",
-       43:  "no CSI structure available",
-       44:  "level 2 halted",
-       45:  "deadlock situation detected/avoided",
-       46:  "no record locks available",
-       47:  "operation canceled",
-       48:  "operation not supported",
-       49:  "disc quota exceeded",
-       50:  "bad exchange descriptor",
-       51:  "bad request descriptor",
-       52:  "message tables full",
-       53:  "anode table overflow",
-       54:  "bad request code",
-       55:  "invalid slot",
-       56:  "file locking deadlock",
-       57:  "bad font file format",
-       58:  "owner of the lock died",
-       59:  "lock is not recoverable",
-       60:  "not a stream device",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of stream resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "locked lock was unmapped ",
-       73:  "facility is not active",
-       74:  "multihop attempted",
-       77:  "not a data message",
-       78:  "file name too long",
-       79:  "value too large for defined data type",
-       80:  "name not unique on network",
-       81:  "file descriptor in bad state",
-       82:  "remote address changed",
-       83:  "can not access a needed shared library",
-       84:  "accessing a corrupted shared library",
-       85:  ".lib section in a.out corrupted",
-       86:  "attempting to link in more shared libraries than system limit",
-       87:  "can not exec a shared library directly",
-       88:  "illegal byte sequence",
-       89:  "operation not applicable",
-       90:  "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS",
-       91:  "error 91",
-       92:  "error 92",
-       93:  "directory not empty",
-       94:  "too many users",
-       95:  "socket operation on non-socket",
-       96:  "destination address required",
-       97:  "message too long",
-       98:  "protocol wrong type for socket",
-       99:  "option not supported by protocol",
-       120: "protocol not supported",
-       121: "socket type not supported",
-       122: "operation not supported on transport endpoint",
-       123: "protocol family not supported",
-       124: "address family not supported by protocol family",
-       125: "address already in use",
-       126: "cannot assign requested address",
-       127: "network is down",
-       128: "network is unreachable",
-       129: "network dropped connection because of reset",
-       130: "software caused connection abort",
-       131: "connection reset by peer",
-       132: "no buffer space available",
-       133: "transport endpoint is already connected",
-       134: "transport endpoint is not connected",
-       143: "cannot send after socket shutdown",
-       144: "too many references: cannot splice",
-       145: "connection timed out",
-       146: "connection refused",
-       147: "host is down",
-       148: "no route to host",
-       149: "operation already in progress",
-       150: "operation now in progress",
-       151: "stale NFS file handle",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal Instruction",
-       5:  "trace/Breakpoint Trap",
-       6:  "abort",
-       7:  "emulation Trap",
-       8:  "arithmetic Exception",
-       9:  "killed",
-       10: "bus Error",
-       11: "segmentation Fault",
-       12: "bad System Call",
-       13: "broken Pipe",
-       14: "alarm Clock",
-       15: "terminated",
-       16: "user Signal 1",
-       17: "user Signal 2",
-       18: "child Status Changed",
-       19: "power-Fail/Restart",
-       20: "window Size Change",
-       21: "urgent Socket Condition",
-       22: "pollable Event",
-       23: "stopped (signal)",
-       24: "stopped (user)",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual Timer Expired",
-       29: "profiling Timer Expired",
-       30: "cpu Limit Exceeded",
-       31: "file Size Limit Exceeded",
-       32: "no runnable lwp",
-       33: "inter-lwp signal",
-       34: "checkpoint Freeze",
-       35: "checkpoint Thaw",
-       36: "thread Cancellation",
-       37: "resource Lost",
-       38: "resource Control Exceeded",
-       39: "reserved for JVM 1",
-       40: "reserved for JVM 2",
-       41: "information Request",
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
deleted file mode 100644 (file)
index 031034a..0000000
+++ /dev/null
@@ -1,1427 +0,0 @@
-// mksyscall.pl -l32 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int32(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
deleted file mode 100644 (file)
index ee96f78..0000000
+++ /dev/null
@@ -1,1443 +0,0 @@
-// mksyscall.pl syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int64(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
deleted file mode 100644 (file)
index e52cd0d..0000000
+++ /dev/null
@@ -1,1427 +0,0 @@
-// mksyscall.pl syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int32(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
deleted file mode 100644 (file)
index 9863ef9..0000000
+++ /dev/null
@@ -1,1427 +0,0 @@
-// mksyscall.pl syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm64,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int64(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
deleted file mode 100644 (file)
index 78de48d..0000000
+++ /dev/null
@@ -1,1413 +0,0 @@
-// mksyscall.pl -dragonfly syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,dragonfly
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func extpread(fd int, p []byte, flags int, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EXTPREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EXTPWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
deleted file mode 100644 (file)
index fade994..0000000
+++ /dev/null
@@ -1,1665 +0,0 @@
-// mksyscall.pl -l32 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
deleted file mode 100644 (file)
index c28281e..0000000
+++ /dev/null
@@ -1,1665 +0,0 @@
-// mksyscall.pl syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
deleted file mode 100644 (file)
index a18ba5c..0000000
+++ /dev/null
@@ -1,1665 +0,0 @@
-// mksyscall.pl -l32 -arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       use(unsafe.Pointer(_p0))
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
deleted file mode 100644 (file)
index 749f3e4..0000000
+++ /dev/null
@@ -1,1638 +0,0 @@
-// mksyscall.pl -l32 syscall_linux.go syscall_linux_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE64, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN32, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(off>>32), uintptr(n), uintptr(n>>32), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
deleted file mode 100644 (file)
index 1096aa5..0000000
+++ /dev/null
@@ -1,1832 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
deleted file mode 100644 (file)
index 9066e1c..0000000
+++ /dev/null
@@ -1,1739 +0,0 @@
-// mksyscall.pl -l32 -arm syscall_linux.go syscall_linux_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN32, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
deleted file mode 100644 (file)
index 5b91612..0000000
+++ /dev/null
@@ -1,1723 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_arm64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm64,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
deleted file mode 100644 (file)
index 738c830..0000000
+++ /dev/null
@@ -1,1781 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_mips64x.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build mips64,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fstat(fd int, st *stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func lstat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func stat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
deleted file mode 100644 (file)
index 2a03578..0000000
+++ /dev/null
@@ -1,1781 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_mips64x.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build mips64le,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fstat(fd int, st *stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func lstat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func stat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
deleted file mode 100644 (file)
index 4bd18dc..0000000
+++ /dev/null
@@ -1,1843 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_ppc64x.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build ppc64,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
deleted file mode 100644 (file)
index fbb4351..0000000
+++ /dev/null
@@ -1,1843 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_ppc64x.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build ppc64le,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
deleted file mode 100644 (file)
index f8aa91f..0000000
+++ /dev/null
@@ -1,1623 +0,0 @@
-// mksyscall.pl syscall_linux.go syscall_linux_s390x.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build s390x,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       use(unsafe.Pointer(_p2))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       use(unsafe.Pointer(_p0))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       use(unsafe.Pointer(_p0))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
deleted file mode 100644 (file)
index b16e1d0..0000000
+++ /dev/null
@@ -1,1327 +0,0 @@
-// mksyscall.pl -l32 -netbsd syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,netbsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (fd1 int, fd2 int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       fd1 = int(r0)
-       fd2 = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
deleted file mode 100644 (file)
index b63667d..0000000
+++ /dev/null
@@ -1,1327 +0,0 @@
-// mksyscall.pl -netbsd syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,netbsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (fd1 int, fd2 int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       fd1 = int(r0)
-       fd2 = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
deleted file mode 100644 (file)
index b0d1903..0000000
+++ /dev/null
@@ -1,1327 +0,0 @@
-// mksyscall.pl -l32 -arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,netbsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (fd1 int, fd2 int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       fd1 = int(r0)
-       fd2 = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
deleted file mode 100644 (file)
index f91a5b8..0000000
+++ /dev/null
@@ -1,1387 +0,0 @@
-// mksyscall.pl -l32 -openbsd syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,openbsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
deleted file mode 100644 (file)
index 2e8d59d..0000000
+++ /dev/null
@@ -1,1387 +0,0 @@
-// mksyscall.pl -openbsd syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,openbsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       use(_p0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
deleted file mode 100644 (file)
index 4326427..0000000
+++ /dev/null
@@ -1,1559 +0,0 @@
-// mksyscall_solaris.pl syscall_solaris.go syscall_solaris_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,solaris
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-//go:cgo_import_dynamic libc_getsockname getsockname "libsocket.so"
-//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
-//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
-//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
-//go:cgo_import_dynamic libc_utimes utimes "libc.so"
-//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
-//go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
-//go:cgo_import_dynamic libc_futimesat futimesat "libc.so"
-//go:cgo_import_dynamic libc_accept accept "libsocket.so"
-//go:cgo_import_dynamic libc_recvmsg recvmsg "libsocket.so"
-//go:cgo_import_dynamic libc_sendmsg sendmsg "libsocket.so"
-//go:cgo_import_dynamic libc_acct acct "libc.so"
-//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
-//go:cgo_import_dynamic libc_access access "libc.so"
-//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
-//go:cgo_import_dynamic libc_chdir chdir "libc.so"
-//go:cgo_import_dynamic libc_chmod chmod "libc.so"
-//go:cgo_import_dynamic libc_chown chown "libc.so"
-//go:cgo_import_dynamic libc_chroot chroot "libc.so"
-//go:cgo_import_dynamic libc_close close "libc.so"
-//go:cgo_import_dynamic libc_creat creat "libc.so"
-//go:cgo_import_dynamic libc_dup dup "libc.so"
-//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
-//go:cgo_import_dynamic libc_exit exit "libc.so"
-//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
-//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
-//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
-//go:cgo_import_dynamic libc_fchown fchown "libc.so"
-//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
-//go:cgo_import_dynamic libc_fdatasync fdatasync "libc.so"
-//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
-//go:cgo_import_dynamic libc_fstat fstat "libc.so"
-//go:cgo_import_dynamic libc_getdents getdents "libc.so"
-//go:cgo_import_dynamic libc_getgid getgid "libc.so"
-//go:cgo_import_dynamic libc_getpid getpid "libc.so"
-//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
-//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
-//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
-//go:cgo_import_dynamic libc_getegid getegid "libc.so"
-//go:cgo_import_dynamic libc_getppid getppid "libc.so"
-//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
-//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
-//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
-//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
-//go:cgo_import_dynamic libc_getuid getuid "libc.so"
-//go:cgo_import_dynamic libc_kill kill "libc.so"
-//go:cgo_import_dynamic libc_lchown lchown "libc.so"
-//go:cgo_import_dynamic libc_link link "libc.so"
-//go:cgo_import_dynamic libc_listen listen "libsocket.so"
-//go:cgo_import_dynamic libc_lstat lstat "libc.so"
-//go:cgo_import_dynamic libc_madvise madvise "libc.so"
-//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
-//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
-//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
-//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
-//go:cgo_import_dynamic libc_mknod mknod "libc.so"
-//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
-//go:cgo_import_dynamic libc_mlock mlock "libc.so"
-//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
-//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
-//go:cgo_import_dynamic libc_munlock munlock "libc.so"
-//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
-//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
-//go:cgo_import_dynamic libc_open open "libc.so"
-//go:cgo_import_dynamic libc_openat openat "libc.so"
-//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
-//go:cgo_import_dynamic libc_pause pause "libc.so"
-//go:cgo_import_dynamic libc_pread pread "libc.so"
-//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
-//go:cgo_import_dynamic libc_read read "libc.so"
-//go:cgo_import_dynamic libc_readlink readlink "libc.so"
-//go:cgo_import_dynamic libc_rename rename "libc.so"
-//go:cgo_import_dynamic libc_renameat renameat "libc.so"
-//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
-//go:cgo_import_dynamic libc_lseek lseek "libc.so"
-//go:cgo_import_dynamic libc_setegid setegid "libc.so"
-//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
-//go:cgo_import_dynamic libc_setgid setgid "libc.so"
-//go:cgo_import_dynamic libc_sethostname sethostname "libc.so"
-//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
-//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
-//go:cgo_import_dynamic libc_setregid setregid "libc.so"
-//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
-//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
-//go:cgo_import_dynamic libc_setsid setsid "libc.so"
-//go:cgo_import_dynamic libc_setuid setuid "libc.so"
-//go:cgo_import_dynamic libc_shutdown shutdown "libsocket.so"
-//go:cgo_import_dynamic libc_stat stat "libc.so"
-//go:cgo_import_dynamic libc_symlink symlink "libc.so"
-//go:cgo_import_dynamic libc_sync sync "libc.so"
-//go:cgo_import_dynamic libc_times times "libc.so"
-//go:cgo_import_dynamic libc_truncate truncate "libc.so"
-//go:cgo_import_dynamic libc_fsync fsync "libc.so"
-//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
-//go:cgo_import_dynamic libc_umask umask "libc.so"
-//go:cgo_import_dynamic libc_uname uname "libc.so"
-//go:cgo_import_dynamic libc_umount umount "libc.so"
-//go:cgo_import_dynamic libc_unlink unlink "libc.so"
-//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
-//go:cgo_import_dynamic libc_ustat ustat "libc.so"
-//go:cgo_import_dynamic libc_utime utime "libc.so"
-//go:cgo_import_dynamic libc_bind bind "libsocket.so"
-//go:cgo_import_dynamic libc_connect connect "libsocket.so"
-//go:cgo_import_dynamic libc_mmap mmap "libc.so"
-//go:cgo_import_dynamic libc_munmap munmap "libc.so"
-//go:cgo_import_dynamic libc_sendto sendto "libsocket.so"
-//go:cgo_import_dynamic libc_socket socket "libsocket.so"
-//go:cgo_import_dynamic libc_socketpair socketpair "libsocket.so"
-//go:cgo_import_dynamic libc_write write "libc.so"
-//go:cgo_import_dynamic libc_getsockopt getsockopt "libsocket.so"
-//go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so"
-//go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so"
-//go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
-//go:cgo_import_dynamic libc_sysconf sysconf "libc.so"
-
-//go:linkname procgetsockname libc_getsockname
-//go:linkname procGetcwd libc_getcwd
-//go:linkname procgetgroups libc_getgroups
-//go:linkname procsetgroups libc_setgroups
-//go:linkname procutimes libc_utimes
-//go:linkname procutimensat libc_utimensat
-//go:linkname procfcntl libc_fcntl
-//go:linkname procfutimesat libc_futimesat
-//go:linkname procaccept libc_accept
-//go:linkname procrecvmsg libc_recvmsg
-//go:linkname procsendmsg libc_sendmsg
-//go:linkname procacct libc_acct
-//go:linkname procioctl libc_ioctl
-//go:linkname procAccess libc_access
-//go:linkname procAdjtime libc_adjtime
-//go:linkname procChdir libc_chdir
-//go:linkname procChmod libc_chmod
-//go:linkname procChown libc_chown
-//go:linkname procChroot libc_chroot
-//go:linkname procClose libc_close
-//go:linkname procCreat libc_creat
-//go:linkname procDup libc_dup
-//go:linkname procDup2 libc_dup2
-//go:linkname procExit libc_exit
-//go:linkname procFchdir libc_fchdir
-//go:linkname procFchmod libc_fchmod
-//go:linkname procFchmodat libc_fchmodat
-//go:linkname procFchown libc_fchown
-//go:linkname procFchownat libc_fchownat
-//go:linkname procFdatasync libc_fdatasync
-//go:linkname procFpathconf libc_fpathconf
-//go:linkname procFstat libc_fstat
-//go:linkname procGetdents libc_getdents
-//go:linkname procGetgid libc_getgid
-//go:linkname procGetpid libc_getpid
-//go:linkname procGetpgid libc_getpgid
-//go:linkname procGetpgrp libc_getpgrp
-//go:linkname procGeteuid libc_geteuid
-//go:linkname procGetegid libc_getegid
-//go:linkname procGetppid libc_getppid
-//go:linkname procGetpriority libc_getpriority
-//go:linkname procGetrlimit libc_getrlimit
-//go:linkname procGetrusage libc_getrusage
-//go:linkname procGettimeofday libc_gettimeofday
-//go:linkname procGetuid libc_getuid
-//go:linkname procKill libc_kill
-//go:linkname procLchown libc_lchown
-//go:linkname procLink libc_link
-//go:linkname proclisten libc_listen
-//go:linkname procLstat libc_lstat
-//go:linkname procMadvise libc_madvise
-//go:linkname procMkdir libc_mkdir
-//go:linkname procMkdirat libc_mkdirat
-//go:linkname procMkfifo libc_mkfifo
-//go:linkname procMkfifoat libc_mkfifoat
-//go:linkname procMknod libc_mknod
-//go:linkname procMknodat libc_mknodat
-//go:linkname procMlock libc_mlock
-//go:linkname procMlockall libc_mlockall
-//go:linkname procMprotect libc_mprotect
-//go:linkname procMunlock libc_munlock
-//go:linkname procMunlockall libc_munlockall
-//go:linkname procNanosleep libc_nanosleep
-//go:linkname procOpen libc_open
-//go:linkname procOpenat libc_openat
-//go:linkname procPathconf libc_pathconf
-//go:linkname procPause libc_pause
-//go:linkname procPread libc_pread
-//go:linkname procPwrite libc_pwrite
-//go:linkname procread libc_read
-//go:linkname procReadlink libc_readlink
-//go:linkname procRename libc_rename
-//go:linkname procRenameat libc_renameat
-//go:linkname procRmdir libc_rmdir
-//go:linkname proclseek libc_lseek
-//go:linkname procSetegid libc_setegid
-//go:linkname procSeteuid libc_seteuid
-//go:linkname procSetgid libc_setgid
-//go:linkname procSethostname libc_sethostname
-//go:linkname procSetpgid libc_setpgid
-//go:linkname procSetpriority libc_setpriority
-//go:linkname procSetregid libc_setregid
-//go:linkname procSetreuid libc_setreuid
-//go:linkname procSetrlimit libc_setrlimit
-//go:linkname procSetsid libc_setsid
-//go:linkname procSetuid libc_setuid
-//go:linkname procshutdown libc_shutdown
-//go:linkname procStat libc_stat
-//go:linkname procSymlink libc_symlink
-//go:linkname procSync libc_sync
-//go:linkname procTimes libc_times
-//go:linkname procTruncate libc_truncate
-//go:linkname procFsync libc_fsync
-//go:linkname procFtruncate libc_ftruncate
-//go:linkname procUmask libc_umask
-//go:linkname procUname libc_uname
-//go:linkname procumount libc_umount
-//go:linkname procUnlink libc_unlink
-//go:linkname procUnlinkat libc_unlinkat
-//go:linkname procUstat libc_ustat
-//go:linkname procUtime libc_utime
-//go:linkname procbind libc_bind
-//go:linkname procconnect libc_connect
-//go:linkname procmmap libc_mmap
-//go:linkname procmunmap libc_munmap
-//go:linkname procsendto libc_sendto
-//go:linkname procsocket libc_socket
-//go:linkname procsocketpair libc_socketpair
-//go:linkname procwrite libc_write
-//go:linkname procgetsockopt libc_getsockopt
-//go:linkname procgetpeername libc_getpeername
-//go:linkname procsetsockopt libc_setsockopt
-//go:linkname procrecvfrom libc_recvfrom
-//go:linkname procsysconf libc_sysconf
-
-var (
-       procgetsockname,
-       procGetcwd,
-       procgetgroups,
-       procsetgroups,
-       procutimes,
-       procutimensat,
-       procfcntl,
-       procfutimesat,
-       procaccept,
-       procrecvmsg,
-       procsendmsg,
-       procacct,
-       procioctl,
-       procAccess,
-       procAdjtime,
-       procChdir,
-       procChmod,
-       procChown,
-       procChroot,
-       procClose,
-       procCreat,
-       procDup,
-       procDup2,
-       procExit,
-       procFchdir,
-       procFchmod,
-       procFchmodat,
-       procFchown,
-       procFchownat,
-       procFdatasync,
-       procFpathconf,
-       procFstat,
-       procGetdents,
-       procGetgid,
-       procGetpid,
-       procGetpgid,
-       procGetpgrp,
-       procGeteuid,
-       procGetegid,
-       procGetppid,
-       procGetpriority,
-       procGetrlimit,
-       procGetrusage,
-       procGettimeofday,
-       procGetuid,
-       procKill,
-       procLchown,
-       procLink,
-       proclisten,
-       procLstat,
-       procMadvise,
-       procMkdir,
-       procMkdirat,
-       procMkfifo,
-       procMkfifoat,
-       procMknod,
-       procMknodat,
-       procMlock,
-       procMlockall,
-       procMprotect,
-       procMunlock,
-       procMunlockall,
-       procNanosleep,
-       procOpen,
-       procOpenat,
-       procPathconf,
-       procPause,
-       procPread,
-       procPwrite,
-       procread,
-       procReadlink,
-       procRename,
-       procRenameat,
-       procRmdir,
-       proclseek,
-       procSetegid,
-       procSeteuid,
-       procSetgid,
-       procSethostname,
-       procSetpgid,
-       procSetpriority,
-       procSetregid,
-       procSetreuid,
-       procSetrlimit,
-       procSetsid,
-       procSetuid,
-       procshutdown,
-       procStat,
-       procSymlink,
-       procSync,
-       procTimes,
-       procTruncate,
-       procFsync,
-       procFtruncate,
-       procUmask,
-       procUname,
-       procumount,
-       procUnlink,
-       procUnlinkat,
-       procUstat,
-       procUtime,
-       procbind,
-       procconnect,
-       procmmap,
-       procmunmap,
-       procsendto,
-       procsocket,
-       procsocketpair,
-       procwrite,
-       procgetsockopt,
-       procgetpeername,
-       procsetsockopt,
-       procrecvfrom,
-       procsysconf syscallFunc
-)
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func acct(path *byte) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func ioctl(fd int, req int, arg uintptr) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAccess)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChmod)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChroot)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Close(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Creat(path string, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procCreat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Exit(code int) {
-       sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0)
-       return
-}
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchownat)), 5, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetdents)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getgid() (gid int) {
-       r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-func Getpid() (pid int) {
-       r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getpgrp() (pgid int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Geteuid() (euid int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-func Getegid() (egid int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-func Getppid() (ppid int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-func Getpriority(which int, who int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getuid() (uid int) {
-       r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLchown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLstat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMadvise)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(advice), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdir)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdirat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifo)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifoat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknod)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mlock(b []byte) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMprotect)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(prot), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Munlock(b []byte) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Munlockall() (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpen)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       use(unsafe.Pointer(_p0))
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPathconf)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       val = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pause() (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       if len(buf) > 0 {
-               _p1 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procReadlink)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(len(buf)), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRename)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRenameat)), 4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRmdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Sethostname(p []byte) (err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSymlink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       use(unsafe.Pointer(_p1))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Sync() (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procTruncate)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procumount)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlink)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtime)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0)
-       use(unsafe.Pointer(_p0))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procbind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procconnect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendto)), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsocket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsocketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvfrom)), 6, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func sysconf(name int) (n int64, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
deleted file mode 100644 (file)
index 83bb935..0000000
+++ /dev/null
@@ -1,270 +0,0 @@
-// mksysctl_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-package unix
-
-type mibentry struct {
-       ctlname string
-       ctloid  []_C_int
-}
-
-var sysctlMib = []mibentry{
-       {"ddb.console", []_C_int{9, 6}},
-       {"ddb.log", []_C_int{9, 7}},
-       {"ddb.max_line", []_C_int{9, 3}},
-       {"ddb.max_width", []_C_int{9, 2}},
-       {"ddb.panic", []_C_int{9, 5}},
-       {"ddb.radix", []_C_int{9, 1}},
-       {"ddb.tab_stop_width", []_C_int{9, 4}},
-       {"ddb.trigger", []_C_int{9, 8}},
-       {"fs.posix.setuid", []_C_int{3, 1, 1}},
-       {"hw.allowpowerdown", []_C_int{6, 22}},
-       {"hw.byteorder", []_C_int{6, 4}},
-       {"hw.cpuspeed", []_C_int{6, 12}},
-       {"hw.diskcount", []_C_int{6, 10}},
-       {"hw.disknames", []_C_int{6, 8}},
-       {"hw.diskstats", []_C_int{6, 9}},
-       {"hw.machine", []_C_int{6, 1}},
-       {"hw.model", []_C_int{6, 2}},
-       {"hw.ncpu", []_C_int{6, 3}},
-       {"hw.ncpufound", []_C_int{6, 21}},
-       {"hw.pagesize", []_C_int{6, 7}},
-       {"hw.physmem", []_C_int{6, 19}},
-       {"hw.product", []_C_int{6, 15}},
-       {"hw.serialno", []_C_int{6, 17}},
-       {"hw.setperf", []_C_int{6, 13}},
-       {"hw.usermem", []_C_int{6, 20}},
-       {"hw.uuid", []_C_int{6, 18}},
-       {"hw.vendor", []_C_int{6, 14}},
-       {"hw.version", []_C_int{6, 16}},
-       {"kern.arandom", []_C_int{1, 37}},
-       {"kern.argmax", []_C_int{1, 8}},
-       {"kern.boottime", []_C_int{1, 21}},
-       {"kern.bufcachepercent", []_C_int{1, 72}},
-       {"kern.ccpu", []_C_int{1, 45}},
-       {"kern.clockrate", []_C_int{1, 12}},
-       {"kern.consdev", []_C_int{1, 75}},
-       {"kern.cp_time", []_C_int{1, 40}},
-       {"kern.cp_time2", []_C_int{1, 71}},
-       {"kern.cryptodevallowsoft", []_C_int{1, 53}},
-       {"kern.domainname", []_C_int{1, 22}},
-       {"kern.file", []_C_int{1, 73}},
-       {"kern.forkstat", []_C_int{1, 42}},
-       {"kern.fscale", []_C_int{1, 46}},
-       {"kern.fsync", []_C_int{1, 33}},
-       {"kern.hostid", []_C_int{1, 11}},
-       {"kern.hostname", []_C_int{1, 10}},
-       {"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
-       {"kern.job_control", []_C_int{1, 19}},
-       {"kern.malloc.buckets", []_C_int{1, 39, 1}},
-       {"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
-       {"kern.maxclusters", []_C_int{1, 67}},
-       {"kern.maxfiles", []_C_int{1, 7}},
-       {"kern.maxlocksperuid", []_C_int{1, 70}},
-       {"kern.maxpartitions", []_C_int{1, 23}},
-       {"kern.maxproc", []_C_int{1, 6}},
-       {"kern.maxthread", []_C_int{1, 25}},
-       {"kern.maxvnodes", []_C_int{1, 5}},
-       {"kern.mbstat", []_C_int{1, 59}},
-       {"kern.msgbuf", []_C_int{1, 48}},
-       {"kern.msgbufsize", []_C_int{1, 38}},
-       {"kern.nchstats", []_C_int{1, 41}},
-       {"kern.netlivelocks", []_C_int{1, 76}},
-       {"kern.nfiles", []_C_int{1, 56}},
-       {"kern.ngroups", []_C_int{1, 18}},
-       {"kern.nosuidcoredump", []_C_int{1, 32}},
-       {"kern.nprocs", []_C_int{1, 47}},
-       {"kern.nselcoll", []_C_int{1, 43}},
-       {"kern.nthreads", []_C_int{1, 26}},
-       {"kern.numvnodes", []_C_int{1, 58}},
-       {"kern.osrelease", []_C_int{1, 2}},
-       {"kern.osrevision", []_C_int{1, 3}},
-       {"kern.ostype", []_C_int{1, 1}},
-       {"kern.osversion", []_C_int{1, 27}},
-       {"kern.pool_debug", []_C_int{1, 77}},
-       {"kern.posix1version", []_C_int{1, 17}},
-       {"kern.proc", []_C_int{1, 66}},
-       {"kern.random", []_C_int{1, 31}},
-       {"kern.rawpartition", []_C_int{1, 24}},
-       {"kern.saved_ids", []_C_int{1, 20}},
-       {"kern.securelevel", []_C_int{1, 9}},
-       {"kern.seminfo", []_C_int{1, 61}},
-       {"kern.shminfo", []_C_int{1, 62}},
-       {"kern.somaxconn", []_C_int{1, 28}},
-       {"kern.sominconn", []_C_int{1, 29}},
-       {"kern.splassert", []_C_int{1, 54}},
-       {"kern.stackgap_random", []_C_int{1, 50}},
-       {"kern.sysvipc_info", []_C_int{1, 51}},
-       {"kern.sysvmsg", []_C_int{1, 34}},
-       {"kern.sysvsem", []_C_int{1, 35}},
-       {"kern.sysvshm", []_C_int{1, 36}},
-       {"kern.timecounter.choice", []_C_int{1, 69, 4}},
-       {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
-       {"kern.timecounter.tick", []_C_int{1, 69, 1}},
-       {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
-       {"kern.tty.maxptys", []_C_int{1, 44, 6}},
-       {"kern.tty.nptys", []_C_int{1, 44, 7}},
-       {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
-       {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
-       {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
-       {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
-       {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
-       {"kern.ttycount", []_C_int{1, 57}},
-       {"kern.userasymcrypto", []_C_int{1, 60}},
-       {"kern.usercrypto", []_C_int{1, 52}},
-       {"kern.usermount", []_C_int{1, 30}},
-       {"kern.version", []_C_int{1, 4}},
-       {"kern.vnode", []_C_int{1, 13}},
-       {"kern.watchdog.auto", []_C_int{1, 64, 2}},
-       {"kern.watchdog.period", []_C_int{1, 64, 1}},
-       {"net.bpf.bufsize", []_C_int{4, 31, 1}},
-       {"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
-       {"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
-       {"net.inet.ah.stats", []_C_int{4, 2, 51, 2}},
-       {"net.inet.carp.allow", []_C_int{4, 2, 112, 1}},
-       {"net.inet.carp.log", []_C_int{4, 2, 112, 3}},
-       {"net.inet.carp.preempt", []_C_int{4, 2, 112, 2}},
-       {"net.inet.carp.stats", []_C_int{4, 2, 112, 4}},
-       {"net.inet.divert.recvspace", []_C_int{4, 2, 258, 1}},
-       {"net.inet.divert.sendspace", []_C_int{4, 2, 258, 2}},
-       {"net.inet.divert.stats", []_C_int{4, 2, 258, 3}},
-       {"net.inet.esp.enable", []_C_int{4, 2, 50, 1}},
-       {"net.inet.esp.stats", []_C_int{4, 2, 50, 4}},
-       {"net.inet.esp.udpencap", []_C_int{4, 2, 50, 2}},
-       {"net.inet.esp.udpencap_port", []_C_int{4, 2, 50, 3}},
-       {"net.inet.etherip.allow", []_C_int{4, 2, 97, 1}},
-       {"net.inet.etherip.stats", []_C_int{4, 2, 97, 2}},
-       {"net.inet.gre.allow", []_C_int{4, 2, 47, 1}},
-       {"net.inet.gre.wccp", []_C_int{4, 2, 47, 2}},
-       {"net.inet.icmp.bmcastecho", []_C_int{4, 2, 1, 2}},
-       {"net.inet.icmp.errppslimit", []_C_int{4, 2, 1, 3}},
-       {"net.inet.icmp.maskrepl", []_C_int{4, 2, 1, 1}},
-       {"net.inet.icmp.rediraccept", []_C_int{4, 2, 1, 4}},
-       {"net.inet.icmp.redirtimeout", []_C_int{4, 2, 1, 5}},
-       {"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
-       {"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
-       {"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
-       {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
-       {"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
-       {"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
-       {"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
-       {"net.inet.ip.ifq.drops", []_C_int{4, 2, 0, 30, 3}},
-       {"net.inet.ip.ifq.len", []_C_int{4, 2, 0, 30, 1}},
-       {"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
-       {"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
-       {"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
-       {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
-       {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
-       {"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
-       {"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
-       {"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
-       {"net.inet.ip.multipath", []_C_int{4, 2, 0, 32}},
-       {"net.inet.ip.portfirst", []_C_int{4, 2, 0, 7}},
-       {"net.inet.ip.porthifirst", []_C_int{4, 2, 0, 9}},
-       {"net.inet.ip.porthilast", []_C_int{4, 2, 0, 10}},
-       {"net.inet.ip.portlast", []_C_int{4, 2, 0, 8}},
-       {"net.inet.ip.redirect", []_C_int{4, 2, 0, 2}},
-       {"net.inet.ip.sourceroute", []_C_int{4, 2, 0, 5}},
-       {"net.inet.ip.stats", []_C_int{4, 2, 0, 33}},
-       {"net.inet.ip.ttl", []_C_int{4, 2, 0, 3}},
-       {"net.inet.ipcomp.enable", []_C_int{4, 2, 108, 1}},
-       {"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
-       {"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
-       {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
-       {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
-       {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
-       {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
-       {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
-       {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
-       {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
-       {"net.inet.tcp.drop", []_C_int{4, 2, 6, 19}},
-       {"net.inet.tcp.ecn", []_C_int{4, 2, 6, 14}},
-       {"net.inet.tcp.ident", []_C_int{4, 2, 6, 9}},
-       {"net.inet.tcp.keepidle", []_C_int{4, 2, 6, 3}},
-       {"net.inet.tcp.keepinittime", []_C_int{4, 2, 6, 2}},
-       {"net.inet.tcp.keepintvl", []_C_int{4, 2, 6, 4}},
-       {"net.inet.tcp.mssdflt", []_C_int{4, 2, 6, 11}},
-       {"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
-       {"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
-       {"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
-       {"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
-       {"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
-       {"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
-       {"net.inet.tcp.slowhz", []_C_int{4, 2, 6, 5}},
-       {"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
-       {"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
-       {"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
-       {"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
-       {"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
-       {"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
-       {"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
-       {"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
-       {"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
-       {"net.inet6.divert.sendspace", []_C_int{4, 24, 86, 2}},
-       {"net.inet6.divert.stats", []_C_int{4, 24, 86, 3}},
-       {"net.inet6.icmp6.errppslimit", []_C_int{4, 24, 30, 14}},
-       {"net.inet6.icmp6.mtudisc_hiwat", []_C_int{4, 24, 30, 16}},
-       {"net.inet6.icmp6.mtudisc_lowat", []_C_int{4, 24, 30, 17}},
-       {"net.inet6.icmp6.nd6_debug", []_C_int{4, 24, 30, 18}},
-       {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
-       {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
-       {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
-       {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
-       {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
-       {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
-       {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
-       {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
-       {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
-       {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
-       {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
-       {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
-       {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
-       {"net.inet6.ip6.defmcasthlim", []_C_int{4, 24, 17, 18}},
-       {"net.inet6.ip6.forwarding", []_C_int{4, 24, 17, 1}},
-       {"net.inet6.ip6.forwsrcrt", []_C_int{4, 24, 17, 5}},
-       {"net.inet6.ip6.hdrnestlimit", []_C_int{4, 24, 17, 15}},
-       {"net.inet6.ip6.hlim", []_C_int{4, 24, 17, 3}},
-       {"net.inet6.ip6.log_interval", []_C_int{4, 24, 17, 14}},
-       {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
-       {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
-       {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
-       {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
-       {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
-       {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
-       {"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
-       {"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
-       {"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
-       {"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
-       {"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
-       {"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
-       {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
-       {"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
-       {"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
-       {"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
-       {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
-       {"net.key.sadb_dump", []_C_int{4, 30, 1}},
-       {"net.key.spd_dump", []_C_int{4, 30, 2}},
-       {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
-       {"net.mpls.ifq.drops", []_C_int{4, 33, 3, 3}},
-       {"net.mpls.ifq.len", []_C_int{4, 33, 3, 1}},
-       {"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
-       {"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
-       {"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
-       {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
-       {"net.mpls.ttl", []_C_int{4, 33, 2}},
-       {"net.pflow.stats", []_C_int{4, 34, 1}},
-       {"net.pipex.enable", []_C_int{4, 35, 1}},
-       {"vm.anonmin", []_C_int{2, 7}},
-       {"vm.loadavg", []_C_int{2, 2}},
-       {"vm.maxslp", []_C_int{2, 10}},
-       {"vm.nkmempages", []_C_int{2, 6}},
-       {"vm.psstrings", []_C_int{2, 3}},
-       {"vm.swapencrypt.enable", []_C_int{2, 5, 0}},
-       {"vm.swapencrypt.keyscreated", []_C_int{2, 5, 1}},
-       {"vm.swapencrypt.keysdeleted", []_C_int{2, 5, 2}},
-       {"vm.uspace", []_C_int{2, 11}},
-       {"vm.uvmexp", []_C_int{2, 4}},
-       {"vm.vmmeter", []_C_int{2, 1}},
-       {"vm.vnodemin", []_C_int{2, 9}},
-       {"vm.vtextmin", []_C_int{2, 8}},
-}
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
deleted file mode 100644 (file)
index 2786773..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE64                 = 179
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS_SYSCTL                         = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SYSCTLBYNAME                   = 274
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MEMORYSTATUS_CONTROL           = 440
-       SYS_GUARDED_OPEN_NP                = 441
-       SYS_GUARDED_CLOSE_NP               = 442
-       SYS_GUARDED_KQUEUE_NP              = 443
-       SYS_CHANGE_FDGUARD_NP              = 444
-       SYS_PROC_RLIMIT_CONTROL            = 446
-       SYS_CONNECTX                       = 447
-       SYS_DISCONNECTX                    = 448
-       SYS_PEELOFF                        = 449
-       SYS_SOCKET_DELEGATE                = 450
-       SYS_TELEMETRY                      = 451
-       SYS_PROC_UUID_POLICY               = 452
-       SYS_MEMORYSTATUS_GET_LEVEL         = 453
-       SYS_SYSTEM_OVERRIDE                = 454
-       SYS_VFS_PURGE                      = 455
-       SYS_SFI_CTL                        = 456
-       SYS_SFI_PIDCTL                     = 457
-       SYS_COALITION                      = 458
-       SYS_COALITION_INFO                 = 459
-       SYS_NECP_MATCH_POLICY              = 460
-       SYS_GETATTRLISTBULK                = 461
-       SYS_OPENAT                         = 463
-       SYS_OPENAT_NOCANCEL                = 464
-       SYS_RENAMEAT                       = 465
-       SYS_FACCESSAT                      = 466
-       SYS_FCHMODAT                       = 467
-       SYS_FCHOWNAT                       = 468
-       SYS_FSTATAT                        = 469
-       SYS_FSTATAT64                      = 470
-       SYS_LINKAT                         = 471
-       SYS_UNLINKAT                       = 472
-       SYS_READLINKAT                     = 473
-       SYS_SYMLINKAT                      = 474
-       SYS_MKDIRAT                        = 475
-       SYS_GETATTRLISTAT                  = 476
-       SYS_PROC_TRACE_LOG                 = 477
-       SYS_BSDTHREAD_CTL                  = 478
-       SYS_OPENBYID_NP                    = 479
-       SYS_RECVMSG_X                      = 480
-       SYS_SENDMSG_X                      = 481
-       SYS_THREAD_SELFUSAGE               = 482
-       SYS_CSRCTL                         = 483
-       SYS_GUARDED_OPEN_DPROTECTED_NP     = 484
-       SYS_GUARDED_WRITE_NP               = 485
-       SYS_GUARDED_PWRITE_NP              = 486
-       SYS_GUARDED_WRITEV_NP              = 487
-       SYS_RENAME_EXT                     = 488
-       SYS_MREMAP_ENCRYPTED               = 489
-       SYS_MAXSYSCALL                     = 490
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
deleted file mode 100644 (file)
index 09de240..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE64                 = 179
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS_SYSCTL                         = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SYSCTLBYNAME                   = 274
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MEMORYSTATUS_CONTROL           = 440
-       SYS_GUARDED_OPEN_NP                = 441
-       SYS_GUARDED_CLOSE_NP               = 442
-       SYS_GUARDED_KQUEUE_NP              = 443
-       SYS_CHANGE_FDGUARD_NP              = 444
-       SYS_PROC_RLIMIT_CONTROL            = 446
-       SYS_CONNECTX                       = 447
-       SYS_DISCONNECTX                    = 448
-       SYS_PEELOFF                        = 449
-       SYS_SOCKET_DELEGATE                = 450
-       SYS_TELEMETRY                      = 451
-       SYS_PROC_UUID_POLICY               = 452
-       SYS_MEMORYSTATUS_GET_LEVEL         = 453
-       SYS_SYSTEM_OVERRIDE                = 454
-       SYS_VFS_PURGE                      = 455
-       SYS_SFI_CTL                        = 456
-       SYS_SFI_PIDCTL                     = 457
-       SYS_COALITION                      = 458
-       SYS_COALITION_INFO                 = 459
-       SYS_NECP_MATCH_POLICY              = 460
-       SYS_GETATTRLISTBULK                = 461
-       SYS_OPENAT                         = 463
-       SYS_OPENAT_NOCANCEL                = 464
-       SYS_RENAMEAT                       = 465
-       SYS_FACCESSAT                      = 466
-       SYS_FCHMODAT                       = 467
-       SYS_FCHOWNAT                       = 468
-       SYS_FSTATAT                        = 469
-       SYS_FSTATAT64                      = 470
-       SYS_LINKAT                         = 471
-       SYS_UNLINKAT                       = 472
-       SYS_READLINKAT                     = 473
-       SYS_SYMLINKAT                      = 474
-       SYS_MKDIRAT                        = 475
-       SYS_GETATTRLISTAT                  = 476
-       SYS_PROC_TRACE_LOG                 = 477
-       SYS_BSDTHREAD_CTL                  = 478
-       SYS_OPENBYID_NP                    = 479
-       SYS_RECVMSG_X                      = 480
-       SYS_SENDMSG_X                      = 481
-       SYS_THREAD_SELFUSAGE               = 482
-       SYS_CSRCTL                         = 483
-       SYS_GUARDED_OPEN_DPROTECTED_NP     = 484
-       SYS_GUARDED_WRITE_NP               = 485
-       SYS_GUARDED_PWRITE_NP              = 486
-       SYS_GUARDED_WRITEV_NP              = 487
-       SYS_RENAME_EXT                     = 488
-       SYS_MREMAP_ENCRYPTED               = 489
-       SYS_MAXSYSCALL                     = 490
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
deleted file mode 100644 (file)
index b8c9aea..0000000
+++ /dev/null
@@ -1,358 +0,0 @@
-// mksysnum_darwin.pl /usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS___SYSCTL                       = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_ATSOCKET                       = 206
-       SYS_ATGETMSG                       = 207
-       SYS_ATPUTMSG                       = 208
-       SYS_ATPSNDREQ                      = 209
-       SYS_ATPSNDRSP                      = 210
-       SYS_ATPGETREQ                      = 211
-       SYS_ATPGETRSP                      = 212
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SEM_GETVALUE                   = 274
-       SYS_SEM_INIT                       = 275
-       SYS_SEM_DESTROY                    = 276
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MAXSYSCALL                     = 440
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
deleted file mode 100644 (file)
index 26677eb..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm64,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE64                 = 179
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS_SYSCTL                         = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SYSCTLBYNAME                   = 274
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MEMORYSTATUS_CONTROL           = 440
-       SYS_GUARDED_OPEN_NP                = 441
-       SYS_GUARDED_CLOSE_NP               = 442
-       SYS_GUARDED_KQUEUE_NP              = 443
-       SYS_CHANGE_FDGUARD_NP              = 444
-       SYS_PROC_RLIMIT_CONTROL            = 446
-       SYS_CONNECTX                       = 447
-       SYS_DISCONNECTX                    = 448
-       SYS_PEELOFF                        = 449
-       SYS_SOCKET_DELEGATE                = 450
-       SYS_TELEMETRY                      = 451
-       SYS_PROC_UUID_POLICY               = 452
-       SYS_MEMORYSTATUS_GET_LEVEL         = 453
-       SYS_SYSTEM_OVERRIDE                = 454
-       SYS_VFS_PURGE                      = 455
-       SYS_SFI_CTL                        = 456
-       SYS_SFI_PIDCTL                     = 457
-       SYS_COALITION                      = 458
-       SYS_COALITION_INFO                 = 459
-       SYS_NECP_MATCH_POLICY              = 460
-       SYS_GETATTRLISTBULK                = 461
-       SYS_OPENAT                         = 463
-       SYS_OPENAT_NOCANCEL                = 464
-       SYS_RENAMEAT                       = 465
-       SYS_FACCESSAT                      = 466
-       SYS_FCHMODAT                       = 467
-       SYS_FCHOWNAT                       = 468
-       SYS_FSTATAT                        = 469
-       SYS_FSTATAT64                      = 470
-       SYS_LINKAT                         = 471
-       SYS_UNLINKAT                       = 472
-       SYS_READLINKAT                     = 473
-       SYS_SYMLINKAT                      = 474
-       SYS_MKDIRAT                        = 475
-       SYS_GETATTRLISTAT                  = 476
-       SYS_PROC_TRACE_LOG                 = 477
-       SYS_BSDTHREAD_CTL                  = 478
-       SYS_OPENBYID_NP                    = 479
-       SYS_RECVMSG_X                      = 480
-       SYS_SENDMSG_X                      = 481
-       SYS_THREAD_SELFUSAGE               = 482
-       SYS_CSRCTL                         = 483
-       SYS_GUARDED_OPEN_DPROTECTED_NP     = 484
-       SYS_GUARDED_WRITE_NP               = 485
-       SYS_GUARDED_PWRITE_NP              = 486
-       SYS_GUARDED_WRITEV_NP              = 487
-       SYS_RENAME_EXT                     = 488
-       SYS_MREMAP_ENCRYPTED               = 489
-       SYS_MAXSYSCALL                     = 490
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
deleted file mode 100644 (file)
index d6038fa..0000000
+++ /dev/null
@@ -1,304 +0,0 @@
-// mksysnum_dragonfly.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,dragonfly
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT          = 1   // { void exit(int rval); }
-       SYS_FORK          = 2   // { int fork(void); }
-       SYS_READ          = 3   // { ssize_t read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE         = 4   // { ssize_t write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN          = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE         = 6   // { int close(int fd); }
-       SYS_WAIT4         = 7   // { int wait4(int pid, int *status, int options, \
-       SYS_LINK          = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK        = 10  // { int unlink(char *path); }
-       SYS_CHDIR         = 12  // { int chdir(char *path); }
-       SYS_FCHDIR        = 13  // { int fchdir(int fd); }
-       SYS_MKNOD         = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD         = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN         = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK        = 17  // { int obreak(char *nsize); } break obreak_args int
-       SYS_GETFSSTAT     = 18  // { int getfsstat(struct statfs *buf, long bufsize, \
-       SYS_GETPID        = 20  // { pid_t getpid(void); }
-       SYS_MOUNT         = 21  // { int mount(char *type, char *path, int flags, \
-       SYS_UNMOUNT       = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID        = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID        = 24  // { uid_t getuid(void); }
-       SYS_GETEUID       = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE        = 26  // { int ptrace(int req, pid_t pid, caddr_t addr, \
-       SYS_RECVMSG       = 27  // { int recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG       = 28  // { int sendmsg(int s, caddr_t msg, int flags); }
-       SYS_RECVFROM      = 29  // { int recvfrom(int s, caddr_t buf, size_t len, \
-       SYS_ACCEPT        = 30  // { int accept(int s, caddr_t name, int *anamelen); }
-       SYS_GETPEERNAME   = 31  // { int getpeername(int fdes, caddr_t asa, int *alen); }
-       SYS_GETSOCKNAME   = 32  // { int getsockname(int fdes, caddr_t asa, int *alen); }
-       SYS_ACCESS        = 33  // { int access(char *path, int flags); }
-       SYS_CHFLAGS       = 34  // { int chflags(char *path, int flags); }
-       SYS_FCHFLAGS      = 35  // { int fchflags(int fd, int flags); }
-       SYS_SYNC          = 36  // { int sync(void); }
-       SYS_KILL          = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID       = 39  // { pid_t getppid(void); }
-       SYS_DUP           = 41  // { int dup(u_int fd); }
-       SYS_PIPE          = 42  // { int pipe(void); }
-       SYS_GETEGID       = 43  // { gid_t getegid(void); }
-       SYS_PROFIL        = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE        = 45  // { int ktrace(const char *fname, int ops, int facs, \
-       SYS_GETGID        = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN      = 49  // { int getlogin(char *namebuf, u_int namelen); }
-       SYS_SETLOGIN      = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT          = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK   = 53  // { int sigaltstack(stack_t *ss, stack_t *oss); }
-       SYS_IOCTL         = 54  // { int ioctl(int fd, u_long com, caddr_t data); }
-       SYS_REBOOT        = 55  // { int reboot(int opt); }
-       SYS_REVOKE        = 56  // { int revoke(char *path); }
-       SYS_SYMLINK       = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK      = 58  // { int readlink(char *path, char *buf, int count); }
-       SYS_EXECVE        = 59  // { int execve(char *fname, char **argv, char **envv); }
-       SYS_UMASK         = 60  // { int umask(int newmask); } umask umask_args int
-       SYS_CHROOT        = 61  // { int chroot(char *path); }
-       SYS_MSYNC         = 65  // { int msync(void *addr, size_t len, int flags); }
-       SYS_VFORK         = 66  // { pid_t vfork(void); }
-       SYS_SBRK          = 69  // { int sbrk(int incr); }
-       SYS_SSTK          = 70  // { int sstk(int incr); }
-       SYS_MUNMAP        = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT      = 74  // { int mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE       = 75  // { int madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE       = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS     = 79  // { int getgroups(u_int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS     = 80  // { int setgroups(u_int gidsetsize, gid_t *gidset); }
-       SYS_GETPGRP       = 81  // { int getpgrp(void); }
-       SYS_SETPGID       = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER     = 83  // { int setitimer(u_int which, struct itimerval *itv, \
-       SYS_SWAPON        = 85  // { int swapon(char *name); }
-       SYS_GETITIMER     = 86  // { int getitimer(u_int which, struct itimerval *itv); }
-       SYS_GETDTABLESIZE = 89  // { int getdtablesize(void); }
-       SYS_DUP2          = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL         = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT        = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC         = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY   = 96  // { int setpriority(int which, int who, int prio); }
-       SYS_SOCKET        = 97  // { int socket(int domain, int type, int protocol); }
-       SYS_CONNECT       = 98  // { int connect(int s, caddr_t name, int namelen); }
-       SYS_GETPRIORITY   = 100 // { int getpriority(int which, int who); }
-       SYS_BIND          = 104 // { int bind(int s, caddr_t name, int namelen); }
-       SYS_SETSOCKOPT    = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN        = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY  = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE     = 117 // { int getrusage(int who, struct rusage *rusage); }
-       SYS_GETSOCKOPT    = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV         = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
-       SYS_WRITEV        = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY  = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN        = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD        = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID      = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID      = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME        = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK         = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO        = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO        = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN      = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR    = 135 // { int socketpair(int domain, int type, int protocol, \
-       SYS_MKDIR         = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR         = 137 // { int rmdir(char *path); }
-       SYS_UTIMES        = 138 // { int utimes(char *path, struct timeval *tptr); }
-       SYS_ADJTIME       = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID        = 147 // { int setsid(void); }
-       SYS_QUOTACTL      = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_STATFS        = 157 // { int statfs(char *path, struct statfs *buf); }
-       SYS_FSTATFS       = 158 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_GETFH         = 161 // { int getfh(char *fname, struct fhandle *fhp); }
-       SYS_GETDOMAINNAME = 162 // { int getdomainname(char *domainname, int len); }
-       SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
-       SYS_UNAME         = 164 // { int uname(struct utsname *name); }
-       SYS_SYSARCH       = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO        = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_EXTPREAD      = 173 // { ssize_t extpread(int fd, void *buf, \
-       SYS_EXTPWRITE     = 174 // { ssize_t extpwrite(int fd, const void *buf, \
-       SYS_NTP_ADJTIME   = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID        = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID       = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID       = 183 // { int seteuid(uid_t euid); }
-       SYS_PATHCONF      = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF     = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT     = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT     = 195 // { int setrlimit(u_int which, \
-       SYS_MMAP          = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \
-       // SYS_NOSYS = 198;  // { int nosys(void); } __syscall __syscall_args int
-       SYS_LSEEK                  = 199 // { off_t lseek(int fd, int pad, off_t offset, \
-       SYS_TRUNCATE               = 200 // { int truncate(char *path, int pad, off_t length); }
-       SYS_FTRUNCATE              = 201 // { int ftruncate(int fd, int pad, off_t length); }
-       SYS___SYSCTL               = 202 // { int __sysctl(int *name, u_int namelen, void *old, \
-       SYS_MLOCK                  = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE               = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                   = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS___SEMCTL               = 220 // { int __semctl(int semid, int semnum, int cmd, \
-       SYS_SEMGET                 = 221 // { int semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                  = 222 // { int semop(int semid, struct sembuf *sops, \
-       SYS_MSGCTL                 = 224 // { int msgctl(int msqid, int cmd, \
-       SYS_MSGGET                 = 225 // { int msgget(key_t key, int msgflg); }
-       SYS_MSGSND                 = 226 // { int msgsnd(int msqid, void *msgp, size_t msgsz, \
-       SYS_MSGRCV                 = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
-       SYS_SHMAT                  = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
-       SYS_SHMCTL                 = 229 // { int shmctl(int shmid, int cmd, \
-       SYS_SHMDT                  = 230 // { int shmdt(const void *shmaddr); }
-       SYS_SHMGET                 = 231 // { int shmget(key_t key, size_t size, int shmflg); }
-       SYS_CLOCK_GETTIME          = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME          = 233 // { int clock_settime(clockid_t clock_id, \
-       SYS_CLOCK_GETRES           = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_NANOSLEEP              = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_MINHERIT               = 250 // { int minherit(void *addr, size_t len, int inherit); }
-       SYS_RFORK                  = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL           = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \
-       SYS_ISSETUGID              = 253 // { int issetugid(void); }
-       SYS_LCHOWN                 = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_LCHMOD                 = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                = 276 // { int lutimes(char *path, struct timeval *tptr); }
-       SYS_EXTPREADV              = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \
-       SYS_EXTPWRITEV             = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\
-       SYS_FHSTATFS               = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
-       SYS_FHOPEN                 = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
-       SYS_MODNEXT                = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                = 301 // { int modstat(int modid, struct module_stat* stat); }
-       SYS_MODFNEXT               = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD              = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
-       SYS_KLDFIRSTMOD            = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                 = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID              = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-       SYS_SETRESGID              = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-       SYS_AIO_RETURN             = 314 // { int aio_return(struct aiocb *aiocbp); }
-       SYS_AIO_SUSPEND            = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
-       SYS_AIO_CANCEL             = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
-       SYS_AIO_ERROR              = 317 // { int aio_error(struct aiocb *aiocbp); }
-       SYS_AIO_READ               = 318 // { int aio_read(struct aiocb *aiocbp); }
-       SYS_AIO_WRITE              = 319 // { int aio_write(struct aiocb *aiocbp); }
-       SYS_LIO_LISTIO             = 320 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
-       SYS_YIELD                  = 321 // { int yield(void); }
-       SYS_MLOCKALL               = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL             = 325 // { int munlockall(void); }
-       SYS___GETCWD               = 326 // { int __getcwd(u_char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM         = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
-       SYS_SCHED_GETPARAM         = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
-       SYS_SCHED_SETSCHEDULER     = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-       SYS_SCHED_GETSCHEDULER     = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD            = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL  = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
-       SYS_UTRACE                 = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                 = 337 // { int kldsym(int fileid, int cmd, void *data); }
-       SYS_JAIL                   = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK            = 340 // { int sigprocmask(int how, const sigset_t *set, \
-       SYS_SIGSUSPEND             = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGACTION              = 342 // { int sigaction(int sig, const struct sigaction *act, \
-       SYS_SIGPENDING             = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGRETURN              = 344 // { int sigreturn(ucontext_t *sigcntxp); }
-       SYS_SIGTIMEDWAIT           = 345 // { int sigtimedwait(const sigset_t *set,\
-       SYS_SIGWAITINFO            = 346 // { int sigwaitinfo(const sigset_t *set,\
-       SYS___ACL_GET_FILE         = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE         = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD           = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \
-       SYS___ACL_SET_FD           = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \
-       SYS___ACL_DELETE_FILE      = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD        = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
-       SYS___ACL_ACLCHECK_FILE    = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD      = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
-       SYS_EXTATTRCTL             = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE       = 356 // { int extattr_set_file(const char *path, \
-       SYS_EXTATTR_GET_FILE       = 357 // { int extattr_get_file(const char *path, \
-       SYS_EXTATTR_DELETE_FILE    = 358 // { int extattr_delete_file(const char *path, \
-       SYS_AIO_WAITCOMPLETE       = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
-       SYS_GETRESUID              = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-       SYS_GETRESGID              = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-       SYS_KQUEUE                 = 362 // { int kqueue(void); }
-       SYS_KEVENT                 = 363 // { int kevent(int fd, \
-       SYS_SCTP_PEELOFF           = 364 // { int sctp_peeloff(int sd, caddr_t name ); }
-       SYS_LCHFLAGS               = 391 // { int lchflags(char *path, int flags); }
-       SYS_UUIDGEN                = 392 // { int uuidgen(struct uuid *store, int count); }
-       SYS_SENDFILE               = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
-       SYS_VARSYM_SET             = 450 // { int varsym_set(int level, const char *name, const char *data); }
-       SYS_VARSYM_GET             = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
-       SYS_VARSYM_LIST            = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
-       SYS_EXEC_SYS_REGISTER      = 465 // { int exec_sys_register(void *entry); }
-       SYS_EXEC_SYS_UNREGISTER    = 466 // { int exec_sys_unregister(int id); }
-       SYS_SYS_CHECKPOINT         = 467 // { int sys_checkpoint(int type, int fd, pid_t pid, int retval); }
-       SYS_MOUNTCTL               = 468 // { int mountctl(const char *path, int op, int fd, const void *ctl, int ctllen, void *buf, int buflen); }
-       SYS_UMTX_SLEEP             = 469 // { int umtx_sleep(volatile const int *ptr, int value, int timeout); }
-       SYS_UMTX_WAKEUP            = 470 // { int umtx_wakeup(volatile const int *ptr, int count); }
-       SYS_JAIL_ATTACH            = 471 // { int jail_attach(int jid); }
-       SYS_SET_TLS_AREA           = 472 // { int set_tls_area(int which, struct tls_info *info, size_t infosize); }
-       SYS_GET_TLS_AREA           = 473 // { int get_tls_area(int which, struct tls_info *info, size_t infosize); }
-       SYS_CLOSEFROM              = 474 // { int closefrom(int fd); }
-       SYS_STAT                   = 475 // { int stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                  = 476 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                  = 477 // { int lstat(const char *path, struct stat *ub); }
-       SYS_FHSTAT                 = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
-       SYS_GETDIRENTRIES          = 479 // { int getdirentries(int fd, char *buf, u_int count, \
-       SYS_GETDENTS               = 480 // { int getdents(int fd, char *buf, size_t count); }
-       SYS_USCHED_SET             = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
-       SYS_EXTACCEPT              = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
-       SYS_EXTCONNECT             = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
-       SYS_MCONTROL               = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
-       SYS_VMSPACE_CREATE         = 486 // { int vmspace_create(void *id, int type, void *data); }
-       SYS_VMSPACE_DESTROY        = 487 // { int vmspace_destroy(void *id); }
-       SYS_VMSPACE_CTL            = 488 // { int vmspace_ctl(void *id, int cmd,                \
-       SYS_VMSPACE_MMAP           = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \
-       SYS_VMSPACE_MUNMAP         = 490 // { int vmspace_munmap(void *id, void *addr,  \
-       SYS_VMSPACE_MCONTROL       = 491 // { int vmspace_mcontrol(void *id, void *addr,        \
-       SYS_VMSPACE_PREAD          = 492 // { ssize_t vmspace_pread(void *id, void *buf, \
-       SYS_VMSPACE_PWRITE         = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \
-       SYS_EXTEXIT                = 494 // { void extexit(int how, int status, void *addr); }
-       SYS_LWP_CREATE             = 495 // { int lwp_create(struct lwp_params *params); }
-       SYS_LWP_GETTID             = 496 // { lwpid_t lwp_gettid(void); }
-       SYS_LWP_KILL               = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
-       SYS_LWP_RTPRIO             = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
-       SYS_PSELECT                = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \
-       SYS_STATVFS                = 500 // { int statvfs(const char *path, struct statvfs *buf); }
-       SYS_FSTATVFS               = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
-       SYS_FHSTATVFS              = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
-       SYS_GETVFSSTAT             = 503 // { int getvfsstat(struct statfs *buf,          \
-       SYS_OPENAT                 = 504 // { int openat(int fd, char *path, int flags, int mode); }
-       SYS_FSTATAT                = 505 // { int fstatat(int fd, char *path,   \
-       SYS_FCHMODAT               = 506 // { int fchmodat(int fd, char *path, int mode, \
-       SYS_FCHOWNAT               = 507 // { int fchownat(int fd, char *path, int uid, int gid, \
-       SYS_UNLINKAT               = 508 // { int unlinkat(int fd, char *path, int flags); }
-       SYS_FACCESSAT              = 509 // { int faccessat(int fd, char *path, int amode, \
-       SYS_MQ_OPEN                = 510 // { mqd_t mq_open(const char * name, int oflag, \
-       SYS_MQ_CLOSE               = 511 // { int mq_close(mqd_t mqdes); }
-       SYS_MQ_UNLINK              = 512 // { int mq_unlink(const char *name); }
-       SYS_MQ_GETATTR             = 513 // { int mq_getattr(mqd_t mqdes, \
-       SYS_MQ_SETATTR             = 514 // { int mq_setattr(mqd_t mqdes, \
-       SYS_MQ_NOTIFY              = 515 // { int mq_notify(mqd_t mqdes, \
-       SYS_MQ_SEND                = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \
-       SYS_MQ_RECEIVE             = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
-       SYS_MQ_TIMEDSEND           = 518 // { int mq_timedsend(mqd_t mqdes, \
-       SYS_MQ_TIMEDRECEIVE        = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \
-       SYS_IOPRIO_SET             = 520 // { int ioprio_set(int which, int who, int prio); }
-       SYS_IOPRIO_GET             = 521 // { int ioprio_get(int which, int who); }
-       SYS_CHROOT_KERNEL          = 522 // { int chroot_kernel(char *path); }
-       SYS_RENAMEAT               = 523 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_MKDIRAT                = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT               = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                = 526 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_READLINKAT             = 527 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_SYMLINKAT              = 528 // { int symlinkat(char *path1, int fd, char *path2); }
-       SYS_SWAPOFF                = 529 // { int swapoff(char *name); }
-       SYS_VQUOTACTL              = 530 // { int vquotactl(const char *path, \
-       SYS_LINKAT                 = 531 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_EACCESS                = 532 // { int eaccess(char *path, int flags); }
-       SYS_LPATHCONF              = 533 // { int lpathconf(char *path, int name); }
-       SYS_VMM_GUEST_CTL          = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
-       SYS_VMM_GUEST_SYNC_ADDR    = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
deleted file mode 100644 (file)
index 262a845..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-// mksysnum_freebsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,freebsd
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit \
-       SYS_FORK                     = 2   // { int fork(void); }
-       SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, \
-       SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, \
-       SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE                    = 6   // { int close(int fd); }
-       SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
-       SYS_LINK                     = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK                   = 10  // { int unlink(char *path); }
-       SYS_CHDIR                    = 12  // { int chdir(char *path); }
-       SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
-       SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK                   = 17  // { int obreak(char *nsize); } break \
-       SYS_GETPID                   = 20  // { pid_t getpid(void); }
-       SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
-       SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID                   = 24  // { uid_t getuid(void); }
-       SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
-       SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
-       SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, \
-       SYS_ACCEPT                   = 30  // { int accept(int s, \
-       SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, \
-       SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, \
-       SYS_ACCESS                   = 33  // { int access(char *path, int amode); }
-       SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
-       SYS_SYNC                     = 36  // { int sync(void); }
-       SYS_KILL                     = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID                  = 39  // { pid_t getppid(void); }
-       SYS_DUP                      = 41  // { int dup(u_int fd); }
-       SYS_PIPE                     = 42  // { int pipe(void); }
-       SYS_GETEGID                  = 43  // { gid_t getegid(void); }
-       SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, \
-       SYS_GETGID                   = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
-       SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT                     = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
-       SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, \
-       SYS_REBOOT                   = 55  // { int reboot(int opt); }
-       SYS_REVOKE                   = 56  // { int revoke(char *path); }
-       SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, \
-       SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, \
-       SYS_UMASK                    = 60  // { int umask(int newmask); } umask umask_args \
-       SYS_CHROOT                   = 61  // { int chroot(char *path); }
-       SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, \
-       SYS_VFORK                    = 66  // { int vfork(void); }
-       SYS_SBRK                     = 69  // { int sbrk(int incr); }
-       SYS_SSTK                     = 70  // { int sstk(int incr); }
-       SYS_OVADVISE                 = 72  // { int ovadvise(int anom); } vadvise \
-       SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT                 = 74  // { int mprotect(const void *addr, size_t len, \
-       SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, \
-       SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, \
-       SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, \
-       SYS_GETPGRP                  = 81  // { int getpgrp(void); }
-       SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct \
-       SYS_SWAPON                   = 85  // { int swapon(char *name); }
-       SYS_GETITIMER                = 86  // { int getitimer(u_int which, \
-       SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
-       SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC                    = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, \
-       SYS_SOCKET                   = 97  // { int socket(int domain, int type, \
-       SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, \
-       SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); }
-       SYS_BIND                     = 104 // { int bind(int s, caddr_t name, \
-       SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN                   = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
-       SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
-       SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME                   = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK                    = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, \
-       SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR                    = 137 // { int rmdir(char *path); }
-       SYS_UTIMES                   = 138 // { int utimes(char *path, \
-       SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID                   = 147 // { int setsid(void); }
-       SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_LGETFH                   = 160 // { int lgetfh(char *fname, \
-       SYS_GETFH                    = 161 // { int getfh(char *fname, \
-       SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_FREEBSD6_PREAD           = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-       SYS_FREEBSD6_PWRITE          = 174 // { ssize_t freebsd6_pwrite(int fd, \
-       SYS_SETFIB                   = 175 // { int setfib(int fibnum); }
-       SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID                   = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID                  = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); }
-       SYS_STAT                     = 188 // { int stat(char *path, struct stat *ub); }
-       SYS_FSTAT                    = 189 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                    = 190 // { int lstat(char *path, struct stat *ub); }
-       SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, \
-       SYS_GETDIRENTRIES            = 196 // { int getdirentries(int fd, char *buf, \
-       SYS_FREEBSD6_MMAP            = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-       SYS_FREEBSD6_LSEEK           = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-       SYS_FREEBSD6_TRUNCATE        = 200 // { int freebsd6_truncate(char *path, int pad, \
-       SYS_FREEBSD6_FTRUNCATE       = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-       SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, \
-       SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE                 = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
-       SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
-       SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
-       SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
-       SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
-       SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
-       SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-       SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate( \
-       SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate( \
-       SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id,\
-       SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, \
-       SYS_RFORK                    = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL             = 252 // { int openbsd_poll(struct pollfd *fds, \
-       SYS_ISSETUGID                = 253 // { int issetugid(void); }
-       SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
-       SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
-       SYS_NSTAT                    = 278 // { int nstat(char *path, struct nstat *ub); }
-       SYS_NFSTAT                   = 279 // { int nfstat(int fd, struct nstat *sb); }
-       SYS_NLSTAT                   = 280 // { int nlstat(char *path, struct nstat *ub); }
-       SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-       SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-       SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, \
-       SYS_FHSTAT                   = 299 // { int fhstat(const struct fhandle *u_fhp, \
-       SYS_MODNEXT                  = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                  = 301 // { int modstat(int modid, \
-       SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                  = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                  = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                  = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct \
-       SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                   = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-       SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-       SYS_YIELD                    = 321 // { int yield(void); }
-       SYS_MLOCKALL                 = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL               = 325 // { int munlockall(void); }
-       SYS___GETCWD                 = 326 // { int __getcwd(char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, \
-       SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct \
-       SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int \
-       SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD              = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, \
-       SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, \
-       SYS_JAIL                     = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, \
-       SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, \
-       SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, \
-       SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, \
-       SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, \
-       SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, \
-       SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, \
-       SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file( \
-       SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file( \
-       SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, \
-       SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_KQUEUE                   = 362 // { int kqueue(void); }
-       SYS_KEVENT                   = 363 // { int kevent(int fd, \
-       SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, \
-       SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, \
-       SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, \
-       SYS___SETUGID                = 374 // { int __setugid(int flag); }
-       SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); }
-       SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, \
-       SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); }
-       SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); }
-       SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, \
-       SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, \
-       SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, \
-       SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, \
-       SYS_KENV                     = 390 // { int kenv(int what, const char *name, \
-       SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, \
-       SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, \
-       SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, \
-       SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, \
-       SYS_GETFSSTAT                = 395 // { int getfsstat(struct statfs *buf, \
-       SYS_STATFS                   = 396 // { int statfs(char *path, \
-       SYS_FSTATFS                  = 397 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS                 = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-       SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, \
-       SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, \
-       SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, \
-       SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link( \
-       SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link( \
-       SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link( \
-       SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, \
-       SYS_SIGACTION                = 416 // { int sigaction(int sig, \
-       SYS_SIGRETURN                = 417 // { int sigreturn( \
-       SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT               = 422 // { int setcontext( \
-       SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, \
-       SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); }
-       SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, \
-       SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, \
-       SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, \
-       SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, \
-       SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, \
-       SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-       SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
-       SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
-       SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
-       SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
-       SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(struct umtx *umtx); }
-       SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
-       SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, \
-       SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file( \
-       SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link( \
-       SYS_THR_SUSPEND              = 442 // { int thr_suspend( \
-       SYS_THR_WAKE                 = 443 // { int thr_wake(long id); }
-       SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); }
-       SYS_AUDIT                    = 445 // { int audit(const void *record, \
-       SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, \
-       SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); }
-       SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); }
-       SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); }
-       SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); }
-       SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr( \
-       SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr( \
-       SYS_AUDITCTL                 = 453 // { int auditctl(char *path); }
-       SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, \
-       SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, \
-       SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-       SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); }
-       SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); }
-       SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, \
-       SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); }
-       SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
-       SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
-       SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
-       SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, \
-       SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, \
-       SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-       SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, \
-       SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); }
-       SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); }
-       SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-       SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, \
-       SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); }
-       SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); }
-       SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-       SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, \
-       SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-       SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-       SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, \
-       SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-       SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-       SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, \
-       SYS_FSTATAT                  = 493 // { int fstatat(int fd, char *path, \
-       SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, \
-       SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                  = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, \
-       SYS_READLINKAT               = 500 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, \
-       SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); }
-       SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); }
-       SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, \
-       SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, \
-       SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); }
-       SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); }
-       SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); }
-       SYS_CAP_NEW                  = 514 // { int cap_new(int fd, uint64_t rights); }
-       SYS_CAP_GETRIGHTS            = 515 // { int cap_getrights(int fd, \
-       SYS_CAP_ENTER                = 516 // { int cap_enter(void); }
-       SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); }
-       SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); }
-       SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); }
-       SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-       SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, \
-       SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, \
-       SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); }
-       SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, \
-       SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, \
-       SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, \
-       SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, \
-       SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, \
-       SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
-       SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
-       SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
-       SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
-       SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
-       SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, \
-       SYS_ACCEPT4                  = 541 // { int accept4(int s, \
-       SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
-       SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
-       SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
deleted file mode 100644 (file)
index 57a60ea..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-// mksysnum_freebsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,freebsd
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit \
-       SYS_FORK                     = 2   // { int fork(void); }
-       SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, \
-       SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, \
-       SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE                    = 6   // { int close(int fd); }
-       SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
-       SYS_LINK                     = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK                   = 10  // { int unlink(char *path); }
-       SYS_CHDIR                    = 12  // { int chdir(char *path); }
-       SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
-       SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK                   = 17  // { int obreak(char *nsize); } break \
-       SYS_GETPID                   = 20  // { pid_t getpid(void); }
-       SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
-       SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID                   = 24  // { uid_t getuid(void); }
-       SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
-       SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
-       SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, \
-       SYS_ACCEPT                   = 30  // { int accept(int s, \
-       SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, \
-       SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, \
-       SYS_ACCESS                   = 33  // { int access(char *path, int amode); }
-       SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
-       SYS_SYNC                     = 36  // { int sync(void); }
-       SYS_KILL                     = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID                  = 39  // { pid_t getppid(void); }
-       SYS_DUP                      = 41  // { int dup(u_int fd); }
-       SYS_PIPE                     = 42  // { int pipe(void); }
-       SYS_GETEGID                  = 43  // { gid_t getegid(void); }
-       SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, \
-       SYS_GETGID                   = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
-       SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT                     = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
-       SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, \
-       SYS_REBOOT                   = 55  // { int reboot(int opt); }
-       SYS_REVOKE                   = 56  // { int revoke(char *path); }
-       SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, \
-       SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, \
-       SYS_UMASK                    = 60  // { int umask(int newmask); } umask umask_args \
-       SYS_CHROOT                   = 61  // { int chroot(char *path); }
-       SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, \
-       SYS_VFORK                    = 66  // { int vfork(void); }
-       SYS_SBRK                     = 69  // { int sbrk(int incr); }
-       SYS_SSTK                     = 70  // { int sstk(int incr); }
-       SYS_OVADVISE                 = 72  // { int ovadvise(int anom); } vadvise \
-       SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT                 = 74  // { int mprotect(const void *addr, size_t len, \
-       SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, \
-       SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, \
-       SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, \
-       SYS_GETPGRP                  = 81  // { int getpgrp(void); }
-       SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct \
-       SYS_SWAPON                   = 85  // { int swapon(char *name); }
-       SYS_GETITIMER                = 86  // { int getitimer(u_int which, \
-       SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
-       SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC                    = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, \
-       SYS_SOCKET                   = 97  // { int socket(int domain, int type, \
-       SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, \
-       SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); }
-       SYS_BIND                     = 104 // { int bind(int s, caddr_t name, \
-       SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN                   = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
-       SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
-       SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME                   = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK                    = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, \
-       SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR                    = 137 // { int rmdir(char *path); }
-       SYS_UTIMES                   = 138 // { int utimes(char *path, \
-       SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID                   = 147 // { int setsid(void); }
-       SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_LGETFH                   = 160 // { int lgetfh(char *fname, \
-       SYS_GETFH                    = 161 // { int getfh(char *fname, \
-       SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_FREEBSD6_PREAD           = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-       SYS_FREEBSD6_PWRITE          = 174 // { ssize_t freebsd6_pwrite(int fd, \
-       SYS_SETFIB                   = 175 // { int setfib(int fibnum); }
-       SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID                   = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID                  = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); }
-       SYS_STAT                     = 188 // { int stat(char *path, struct stat *ub); }
-       SYS_FSTAT                    = 189 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                    = 190 // { int lstat(char *path, struct stat *ub); }
-       SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, \
-       SYS_GETDIRENTRIES            = 196 // { int getdirentries(int fd, char *buf, \
-       SYS_FREEBSD6_MMAP            = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-       SYS_FREEBSD6_LSEEK           = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-       SYS_FREEBSD6_TRUNCATE        = 200 // { int freebsd6_truncate(char *path, int pad, \
-       SYS_FREEBSD6_FTRUNCATE       = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-       SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, \
-       SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE                 = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
-       SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
-       SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
-       SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
-       SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
-       SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
-       SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-       SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate( \
-       SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate( \
-       SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id,\
-       SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, \
-       SYS_RFORK                    = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL             = 252 // { int openbsd_poll(struct pollfd *fds, \
-       SYS_ISSETUGID                = 253 // { int issetugid(void); }
-       SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
-       SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
-       SYS_NSTAT                    = 278 // { int nstat(char *path, struct nstat *ub); }
-       SYS_NFSTAT                   = 279 // { int nfstat(int fd, struct nstat *sb); }
-       SYS_NLSTAT                   = 280 // { int nlstat(char *path, struct nstat *ub); }
-       SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-       SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-       SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, \
-       SYS_FHSTAT                   = 299 // { int fhstat(const struct fhandle *u_fhp, \
-       SYS_MODNEXT                  = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                  = 301 // { int modstat(int modid, \
-       SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                  = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                  = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                  = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct \
-       SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                   = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-       SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-       SYS_YIELD                    = 321 // { int yield(void); }
-       SYS_MLOCKALL                 = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL               = 325 // { int munlockall(void); }
-       SYS___GETCWD                 = 326 // { int __getcwd(char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, \
-       SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct \
-       SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int \
-       SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD              = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, \
-       SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, \
-       SYS_JAIL                     = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, \
-       SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, \
-       SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, \
-       SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, \
-       SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, \
-       SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, \
-       SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, \
-       SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file( \
-       SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file( \
-       SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, \
-       SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_KQUEUE                   = 362 // { int kqueue(void); }
-       SYS_KEVENT                   = 363 // { int kevent(int fd, \
-       SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, \
-       SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, \
-       SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, \
-       SYS___SETUGID                = 374 // { int __setugid(int flag); }
-       SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); }
-       SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, \
-       SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); }
-       SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); }
-       SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, \
-       SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, \
-       SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, \
-       SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, \
-       SYS_KENV                     = 390 // { int kenv(int what, const char *name, \
-       SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, \
-       SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, \
-       SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, \
-       SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, \
-       SYS_GETFSSTAT                = 395 // { int getfsstat(struct statfs *buf, \
-       SYS_STATFS                   = 396 // { int statfs(char *path, \
-       SYS_FSTATFS                  = 397 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS                 = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-       SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, \
-       SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, \
-       SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, \
-       SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link( \
-       SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link( \
-       SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link( \
-       SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, \
-       SYS_SIGACTION                = 416 // { int sigaction(int sig, \
-       SYS_SIGRETURN                = 417 // { int sigreturn( \
-       SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT               = 422 // { int setcontext( \
-       SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, \
-       SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); }
-       SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, \
-       SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, \
-       SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, \
-       SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, \
-       SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, \
-       SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-       SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
-       SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
-       SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
-       SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
-       SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(struct umtx *umtx); }
-       SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
-       SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, \
-       SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file( \
-       SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link( \
-       SYS_THR_SUSPEND              = 442 // { int thr_suspend( \
-       SYS_THR_WAKE                 = 443 // { int thr_wake(long id); }
-       SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); }
-       SYS_AUDIT                    = 445 // { int audit(const void *record, \
-       SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, \
-       SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); }
-       SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); }
-       SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); }
-       SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); }
-       SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr( \
-       SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr( \
-       SYS_AUDITCTL                 = 453 // { int auditctl(char *path); }
-       SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, \
-       SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, \
-       SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-       SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); }
-       SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); }
-       SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, \
-       SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); }
-       SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
-       SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
-       SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
-       SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, \
-       SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, \
-       SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-       SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, \
-       SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); }
-       SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); }
-       SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-       SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, \
-       SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); }
-       SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); }
-       SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-       SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, \
-       SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-       SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-       SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, \
-       SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-       SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-       SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, \
-       SYS_FSTATAT                  = 493 // { int fstatat(int fd, char *path, \
-       SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, \
-       SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                  = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, \
-       SYS_READLINKAT               = 500 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, \
-       SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); }
-       SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); }
-       SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, \
-       SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, \
-       SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); }
-       SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); }
-       SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); }
-       SYS_CAP_NEW                  = 514 // { int cap_new(int fd, uint64_t rights); }
-       SYS_CAP_GETRIGHTS            = 515 // { int cap_getrights(int fd, \
-       SYS_CAP_ENTER                = 516 // { int cap_enter(void); }
-       SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); }
-       SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); }
-       SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); }
-       SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-       SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, \
-       SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, \
-       SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); }
-       SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, \
-       SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, \
-       SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, \
-       SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, \
-       SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, \
-       SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
-       SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
-       SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
-       SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
-       SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
-       SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, \
-       SYS_ACCEPT4                  = 541 // { int accept4(int s, \
-       SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
-       SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
-       SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
deleted file mode 100644 (file)
index 206b9f6..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-// mksysnum_freebsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,freebsd
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit \
-       SYS_FORK                     = 2   // { int fork(void); }
-       SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, \
-       SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, \
-       SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE                    = 6   // { int close(int fd); }
-       SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
-       SYS_LINK                     = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK                   = 10  // { int unlink(char *path); }
-       SYS_CHDIR                    = 12  // { int chdir(char *path); }
-       SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
-       SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK                   = 17  // { int obreak(char *nsize); } break \
-       SYS_GETPID                   = 20  // { pid_t getpid(void); }
-       SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
-       SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID                   = 24  // { uid_t getuid(void); }
-       SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
-       SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
-       SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, \
-       SYS_ACCEPT                   = 30  // { int accept(int s, \
-       SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, \
-       SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, \
-       SYS_ACCESS                   = 33  // { int access(char *path, int amode); }
-       SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
-       SYS_SYNC                     = 36  // { int sync(void); }
-       SYS_KILL                     = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID                  = 39  // { pid_t getppid(void); }
-       SYS_DUP                      = 41  // { int dup(u_int fd); }
-       SYS_PIPE                     = 42  // { int pipe(void); }
-       SYS_GETEGID                  = 43  // { gid_t getegid(void); }
-       SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, \
-       SYS_GETGID                   = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
-       SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT                     = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
-       SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, \
-       SYS_REBOOT                   = 55  // { int reboot(int opt); }
-       SYS_REVOKE                   = 56  // { int revoke(char *path); }
-       SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, \
-       SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, \
-       SYS_UMASK                    = 60  // { int umask(int newmask); } umask umask_args \
-       SYS_CHROOT                   = 61  // { int chroot(char *path); }
-       SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, \
-       SYS_VFORK                    = 66  // { int vfork(void); }
-       SYS_SBRK                     = 69  // { int sbrk(int incr); }
-       SYS_SSTK                     = 70  // { int sstk(int incr); }
-       SYS_OVADVISE                 = 72  // { int ovadvise(int anom); } vadvise \
-       SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT                 = 74  // { int mprotect(const void *addr, size_t len, \
-       SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, \
-       SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, \
-       SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, \
-       SYS_GETPGRP                  = 81  // { int getpgrp(void); }
-       SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct \
-       SYS_SWAPON                   = 85  // { int swapon(char *name); }
-       SYS_GETITIMER                = 86  // { int getitimer(u_int which, \
-       SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
-       SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC                    = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, \
-       SYS_SOCKET                   = 97  // { int socket(int domain, int type, \
-       SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, \
-       SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); }
-       SYS_BIND                     = 104 // { int bind(int s, caddr_t name, \
-       SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN                   = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
-       SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
-       SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME                   = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK                    = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, \
-       SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR                    = 137 // { int rmdir(char *path); }
-       SYS_UTIMES                   = 138 // { int utimes(char *path, \
-       SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID                   = 147 // { int setsid(void); }
-       SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_LGETFH                   = 160 // { int lgetfh(char *fname, \
-       SYS_GETFH                    = 161 // { int getfh(char *fname, \
-       SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_FREEBSD6_PREAD           = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-       SYS_FREEBSD6_PWRITE          = 174 // { ssize_t freebsd6_pwrite(int fd, \
-       SYS_SETFIB                   = 175 // { int setfib(int fibnum); }
-       SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID                   = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID                  = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); }
-       SYS_STAT                     = 188 // { int stat(char *path, struct stat *ub); }
-       SYS_FSTAT                    = 189 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                    = 190 // { int lstat(char *path, struct stat *ub); }
-       SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, \
-       SYS_GETDIRENTRIES            = 196 // { int getdirentries(int fd, char *buf, \
-       SYS_FREEBSD6_MMAP            = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-       SYS_FREEBSD6_LSEEK           = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-       SYS_FREEBSD6_TRUNCATE        = 200 // { int freebsd6_truncate(char *path, int pad, \
-       SYS_FREEBSD6_FTRUNCATE       = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-       SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, \
-       SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE                 = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
-       SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
-       SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
-       SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
-       SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
-       SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
-       SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-       SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate( \
-       SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate( \
-       SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id,\
-       SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, \
-       SYS_RFORK                    = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL             = 252 // { int openbsd_poll(struct pollfd *fds, \
-       SYS_ISSETUGID                = 253 // { int issetugid(void); }
-       SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
-       SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
-       SYS_NSTAT                    = 278 // { int nstat(char *path, struct nstat *ub); }
-       SYS_NFSTAT                   = 279 // { int nfstat(int fd, struct nstat *sb); }
-       SYS_NLSTAT                   = 280 // { int nlstat(char *path, struct nstat *ub); }
-       SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-       SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-       SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, \
-       SYS_FHSTAT                   = 299 // { int fhstat(const struct fhandle *u_fhp, \
-       SYS_MODNEXT                  = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                  = 301 // { int modstat(int modid, \
-       SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                  = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                  = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                  = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct \
-       SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                   = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-       SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-       SYS_YIELD                    = 321 // { int yield(void); }
-       SYS_MLOCKALL                 = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL               = 325 // { int munlockall(void); }
-       SYS___GETCWD                 = 326 // { int __getcwd(char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, \
-       SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct \
-       SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int \
-       SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD              = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, \
-       SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, \
-       SYS_JAIL                     = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, \
-       SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, \
-       SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, \
-       SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, \
-       SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, \
-       SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, \
-       SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, \
-       SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file( \
-       SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file( \
-       SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, \
-       SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_KQUEUE                   = 362 // { int kqueue(void); }
-       SYS_KEVENT                   = 363 // { int kevent(int fd, \
-       SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, \
-       SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, \
-       SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, \
-       SYS___SETUGID                = 374 // { int __setugid(int flag); }
-       SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); }
-       SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, \
-       SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); }
-       SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); }
-       SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, \
-       SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, \
-       SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, \
-       SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, \
-       SYS_KENV                     = 390 // { int kenv(int what, const char *name, \
-       SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, \
-       SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, \
-       SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, \
-       SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, \
-       SYS_GETFSSTAT                = 395 // { int getfsstat(struct statfs *buf, \
-       SYS_STATFS                   = 396 // { int statfs(char *path, \
-       SYS_FSTATFS                  = 397 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS                 = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-       SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, \
-       SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, \
-       SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, \
-       SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link( \
-       SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link( \
-       SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link( \
-       SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, \
-       SYS_SIGACTION                = 416 // { int sigaction(int sig, \
-       SYS_SIGRETURN                = 417 // { int sigreturn( \
-       SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT               = 422 // { int setcontext( \
-       SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, \
-       SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); }
-       SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, \
-       SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, \
-       SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, \
-       SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, \
-       SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, \
-       SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-       SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
-       SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
-       SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
-       SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
-       SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(struct umtx *umtx); }
-       SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
-       SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, \
-       SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file( \
-       SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link( \
-       SYS_THR_SUSPEND              = 442 // { int thr_suspend( \
-       SYS_THR_WAKE                 = 443 // { int thr_wake(long id); }
-       SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); }
-       SYS_AUDIT                    = 445 // { int audit(const void *record, \
-       SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, \
-       SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); }
-       SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); }
-       SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); }
-       SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); }
-       SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr( \
-       SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr( \
-       SYS_AUDITCTL                 = 453 // { int auditctl(char *path); }
-       SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, \
-       SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, \
-       SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-       SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); }
-       SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); }
-       SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, \
-       SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); }
-       SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
-       SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
-       SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
-       SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, \
-       SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, \
-       SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-       SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, \
-       SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); }
-       SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); }
-       SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-       SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, \
-       SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); }
-       SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); }
-       SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-       SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, \
-       SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-       SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-       SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, \
-       SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-       SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-       SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, \
-       SYS_FSTATAT                  = 493 // { int fstatat(int fd, char *path, \
-       SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, \
-       SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                  = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, \
-       SYS_READLINKAT               = 500 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, \
-       SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); }
-       SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); }
-       SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, \
-       SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, \
-       SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); }
-       SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); }
-       SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); }
-       SYS_CAP_NEW                  = 514 // { int cap_new(int fd, uint64_t rights); }
-       SYS_CAP_GETRIGHTS            = 515 // { int cap_getrights(int fd, \
-       SYS_CAP_ENTER                = 516 // { int cap_enter(void); }
-       SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); }
-       SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); }
-       SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); }
-       SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-       SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, \
-       SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, \
-       SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); }
-       SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, \
-       SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, \
-       SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, \
-       SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, \
-       SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, \
-       SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
-       SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
-       SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
-       SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
-       SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
-       SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, \
-       SYS_ACCEPT4                  = 541 // { int accept4(int s, \
-       SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
-       SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
-       SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
deleted file mode 100644 (file)
index ba952c6..0000000
+++ /dev/null
@@ -1,355 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm/unistd_32.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAITPID                = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BREAK                  = 17
-       SYS_OLDSTAT                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_OLDFSTAT               = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_STTY                   = 31
-       SYS_GTTY                   = 32
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_FTIME                  = 35
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_PROF                   = 44
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_LOCK                   = 53
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_MPX                    = 56
-       SYS_SETPGID                = 57
-       SYS_ULIMIT                 = 58
-       SYS_OLDOLDUNAME            = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SGETMASK               = 68
-       SYS_SSETMASK               = 69
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_OLDLSTAT               = 84
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_PROFIL                 = 98
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_IOPERM                 = 101
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_OLDUNAME               = 109
-       SYS_IOPL                   = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_VM86OLD                = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_MODIFY_LDT             = 123
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_VM86                   = 166
-       SYS_QUERY_MODULE           = 167
-       SYS_POLL                   = 168
-       SYS_NFSSERVCTL             = 169
-       SYS_SETRESGID              = 170
-       SYS_GETRESGID              = 171
-       SYS_PRCTL                  = 172
-       SYS_RT_SIGRETURN           = 173
-       SYS_RT_SIGACTION           = 174
-       SYS_RT_SIGPROCMASK         = 175
-       SYS_RT_SIGPENDING          = 176
-       SYS_RT_SIGTIMEDWAIT        = 177
-       SYS_RT_SIGQUEUEINFO        = 178
-       SYS_RT_SIGSUSPEND          = 179
-       SYS_PREAD64                = 180
-       SYS_PWRITE64               = 181
-       SYS_CHOWN                  = 182
-       SYS_GETCWD                 = 183
-       SYS_CAPGET                 = 184
-       SYS_CAPSET                 = 185
-       SYS_SIGALTSTACK            = 186
-       SYS_SENDFILE               = 187
-       SYS_GETPMSG                = 188
-       SYS_PUTPMSG                = 189
-       SYS_VFORK                  = 190
-       SYS_UGETRLIMIT             = 191
-       SYS_MMAP2                  = 192
-       SYS_TRUNCATE64             = 193
-       SYS_FTRUNCATE64            = 194
-       SYS_STAT64                 = 195
-       SYS_LSTAT64                = 196
-       SYS_FSTAT64                = 197
-       SYS_LCHOWN32               = 198
-       SYS_GETUID32               = 199
-       SYS_GETGID32               = 200
-       SYS_GETEUID32              = 201
-       SYS_GETEGID32              = 202
-       SYS_SETREUID32             = 203
-       SYS_SETREGID32             = 204
-       SYS_GETGROUPS32            = 205
-       SYS_SETGROUPS32            = 206
-       SYS_FCHOWN32               = 207
-       SYS_SETRESUID32            = 208
-       SYS_GETRESUID32            = 209
-       SYS_SETRESGID32            = 210
-       SYS_GETRESGID32            = 211
-       SYS_CHOWN32                = 212
-       SYS_SETUID32               = 213
-       SYS_SETGID32               = 214
-       SYS_SETFSUID32             = 215
-       SYS_SETFSGID32             = 216
-       SYS_PIVOT_ROOT             = 217
-       SYS_MINCORE                = 218
-       SYS_MADVISE                = 219
-       SYS_MADVISE1               = 219
-       SYS_GETDENTS64             = 220
-       SYS_FCNTL64                = 221
-       SYS_GETTID                 = 224
-       SYS_READAHEAD              = 225
-       SYS_SETXATTR               = 226
-       SYS_LSETXATTR              = 227
-       SYS_FSETXATTR              = 228
-       SYS_GETXATTR               = 229
-       SYS_LGETXATTR              = 230
-       SYS_FGETXATTR              = 231
-       SYS_LISTXATTR              = 232
-       SYS_LLISTXATTR             = 233
-       SYS_FLISTXATTR             = 234
-       SYS_REMOVEXATTR            = 235
-       SYS_LREMOVEXATTR           = 236
-       SYS_FREMOVEXATTR           = 237
-       SYS_TKILL                  = 238
-       SYS_SENDFILE64             = 239
-       SYS_FUTEX                  = 240
-       SYS_SCHED_SETAFFINITY      = 241
-       SYS_SCHED_GETAFFINITY      = 242
-       SYS_SET_THREAD_AREA        = 243
-       SYS_GET_THREAD_AREA        = 244
-       SYS_IO_SETUP               = 245
-       SYS_IO_DESTROY             = 246
-       SYS_IO_GETEVENTS           = 247
-       SYS_IO_SUBMIT              = 248
-       SYS_IO_CANCEL              = 249
-       SYS_FADVISE64              = 250
-       SYS_EXIT_GROUP             = 252
-       SYS_LOOKUP_DCOOKIE         = 253
-       SYS_EPOLL_CREATE           = 254
-       SYS_EPOLL_CTL              = 255
-       SYS_EPOLL_WAIT             = 256
-       SYS_REMAP_FILE_PAGES       = 257
-       SYS_SET_TID_ADDRESS        = 258
-       SYS_TIMER_CREATE           = 259
-       SYS_TIMER_SETTIME          = 260
-       SYS_TIMER_GETTIME          = 261
-       SYS_TIMER_GETOVERRUN       = 262
-       SYS_TIMER_DELETE           = 263
-       SYS_CLOCK_SETTIME          = 264
-       SYS_CLOCK_GETTIME          = 265
-       SYS_CLOCK_GETRES           = 266
-       SYS_CLOCK_NANOSLEEP        = 267
-       SYS_STATFS64               = 268
-       SYS_FSTATFS64              = 269
-       SYS_TGKILL                 = 270
-       SYS_UTIMES                 = 271
-       SYS_FADVISE64_64           = 272
-       SYS_VSERVER                = 273
-       SYS_MBIND                  = 274
-       SYS_GET_MEMPOLICY          = 275
-       SYS_SET_MEMPOLICY          = 276
-       SYS_MQ_OPEN                = 277
-       SYS_MQ_UNLINK              = 278
-       SYS_MQ_TIMEDSEND           = 279
-       SYS_MQ_TIMEDRECEIVE        = 280
-       SYS_MQ_NOTIFY              = 281
-       SYS_MQ_GETSETATTR          = 282
-       SYS_KEXEC_LOAD             = 283
-       SYS_WAITID                 = 284
-       SYS_ADD_KEY                = 286
-       SYS_REQUEST_KEY            = 287
-       SYS_KEYCTL                 = 288
-       SYS_IOPRIO_SET             = 289
-       SYS_IOPRIO_GET             = 290
-       SYS_INOTIFY_INIT           = 291
-       SYS_INOTIFY_ADD_WATCH      = 292
-       SYS_INOTIFY_RM_WATCH       = 293
-       SYS_MIGRATE_PAGES          = 294
-       SYS_OPENAT                 = 295
-       SYS_MKDIRAT                = 296
-       SYS_MKNODAT                = 297
-       SYS_FCHOWNAT               = 298
-       SYS_FUTIMESAT              = 299
-       SYS_FSTATAT64              = 300
-       SYS_UNLINKAT               = 301
-       SYS_RENAMEAT               = 302
-       SYS_LINKAT                 = 303
-       SYS_SYMLINKAT              = 304
-       SYS_READLINKAT             = 305
-       SYS_FCHMODAT               = 306
-       SYS_FACCESSAT              = 307
-       SYS_PSELECT6               = 308
-       SYS_PPOLL                  = 309
-       SYS_UNSHARE                = 310
-       SYS_SET_ROBUST_LIST        = 311
-       SYS_GET_ROBUST_LIST        = 312
-       SYS_SPLICE                 = 313
-       SYS_SYNC_FILE_RANGE        = 314
-       SYS_TEE                    = 315
-       SYS_VMSPLICE               = 316
-       SYS_MOVE_PAGES             = 317
-       SYS_GETCPU                 = 318
-       SYS_EPOLL_PWAIT            = 319
-       SYS_UTIMENSAT              = 320
-       SYS_SIGNALFD               = 321
-       SYS_TIMERFD_CREATE         = 322
-       SYS_EVENTFD                = 323
-       SYS_FALLOCATE              = 324
-       SYS_TIMERFD_SETTIME        = 325
-       SYS_TIMERFD_GETTIME        = 326
-       SYS_SIGNALFD4              = 327
-       SYS_EVENTFD2               = 328
-       SYS_EPOLL_CREATE1          = 329
-       SYS_DUP3                   = 330
-       SYS_PIPE2                  = 331
-       SYS_INOTIFY_INIT1          = 332
-       SYS_PREADV                 = 333
-       SYS_PWRITEV                = 334
-       SYS_RT_TGSIGQUEUEINFO      = 335
-       SYS_PERF_EVENT_OPEN        = 336
-       SYS_RECVMMSG               = 337
-       SYS_FANOTIFY_INIT          = 338
-       SYS_FANOTIFY_MARK          = 339
-       SYS_PRLIMIT64              = 340
-       SYS_NAME_TO_HANDLE_AT      = 341
-       SYS_OPEN_BY_HANDLE_AT      = 342
-       SYS_CLOCK_ADJTIME          = 343
-       SYS_SYNCFS                 = 344
-       SYS_SENDMMSG               = 345
-       SYS_SETNS                  = 346
-       SYS_PROCESS_VM_READV       = 347
-       SYS_PROCESS_VM_WRITEV      = 348
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
deleted file mode 100644 (file)
index ddac31f..0000000
+++ /dev/null
@@ -1,321 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm/unistd_64.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,linux
-
-package unix
-
-const (
-       SYS_READ                   = 0
-       SYS_WRITE                  = 1
-       SYS_OPEN                   = 2
-       SYS_CLOSE                  = 3
-       SYS_STAT                   = 4
-       SYS_FSTAT                  = 5
-       SYS_LSTAT                  = 6
-       SYS_POLL                   = 7
-       SYS_LSEEK                  = 8
-       SYS_MMAP                   = 9
-       SYS_MPROTECT               = 10
-       SYS_MUNMAP                 = 11
-       SYS_BRK                    = 12
-       SYS_RT_SIGACTION           = 13
-       SYS_RT_SIGPROCMASK         = 14
-       SYS_RT_SIGRETURN           = 15
-       SYS_IOCTL                  = 16
-       SYS_PREAD64                = 17
-       SYS_PWRITE64               = 18
-       SYS_READV                  = 19
-       SYS_WRITEV                 = 20
-       SYS_ACCESS                 = 21
-       SYS_PIPE                   = 22
-       SYS_SELECT                 = 23
-       SYS_SCHED_YIELD            = 24
-       SYS_MREMAP                 = 25
-       SYS_MSYNC                  = 26
-       SYS_MINCORE                = 27
-       SYS_MADVISE                = 28
-       SYS_SHMGET                 = 29
-       SYS_SHMAT                  = 30
-       SYS_SHMCTL                 = 31
-       SYS_DUP                    = 32
-       SYS_DUP2                   = 33
-       SYS_PAUSE                  = 34
-       SYS_NANOSLEEP              = 35
-       SYS_GETITIMER              = 36
-       SYS_ALARM                  = 37
-       SYS_SETITIMER              = 38
-       SYS_GETPID                 = 39
-       SYS_SENDFILE               = 40
-       SYS_SOCKET                 = 41
-       SYS_CONNECT                = 42
-       SYS_ACCEPT                 = 43
-       SYS_SENDTO                 = 44
-       SYS_RECVFROM               = 45
-       SYS_SENDMSG                = 46
-       SYS_RECVMSG                = 47
-       SYS_SHUTDOWN               = 48
-       SYS_BIND                   = 49
-       SYS_LISTEN                 = 50
-       SYS_GETSOCKNAME            = 51
-       SYS_GETPEERNAME            = 52
-       SYS_SOCKETPAIR             = 53
-       SYS_SETSOCKOPT             = 54
-       SYS_GETSOCKOPT             = 55
-       SYS_CLONE                  = 56
-       SYS_FORK                   = 57
-       SYS_VFORK                  = 58
-       SYS_EXECVE                 = 59
-       SYS_EXIT                   = 60
-       SYS_WAIT4                  = 61
-       SYS_KILL                   = 62
-       SYS_UNAME                  = 63
-       SYS_SEMGET                 = 64
-       SYS_SEMOP                  = 65
-       SYS_SEMCTL                 = 66
-       SYS_SHMDT                  = 67
-       SYS_MSGGET                 = 68
-       SYS_MSGSND                 = 69
-       SYS_MSGRCV                 = 70
-       SYS_MSGCTL                 = 71
-       SYS_FCNTL                  = 72
-       SYS_FLOCK                  = 73
-       SYS_FSYNC                  = 74
-       SYS_FDATASYNC              = 75
-       SYS_TRUNCATE               = 76
-       SYS_FTRUNCATE              = 77
-       SYS_GETDENTS               = 78
-       SYS_GETCWD                 = 79
-       SYS_CHDIR                  = 80
-       SYS_FCHDIR                 = 81
-       SYS_RENAME                 = 82
-       SYS_MKDIR                  = 83
-       SYS_RMDIR                  = 84
-       SYS_CREAT                  = 85
-       SYS_LINK                   = 86
-       SYS_UNLINK                 = 87
-       SYS_SYMLINK                = 88
-       SYS_READLINK               = 89
-       SYS_CHMOD                  = 90
-       SYS_FCHMOD                 = 91
-       SYS_CHOWN                  = 92
-       SYS_FCHOWN                 = 93
-       SYS_LCHOWN                 = 94
-       SYS_UMASK                  = 95
-       SYS_GETTIMEOFDAY           = 96
-       SYS_GETRLIMIT              = 97
-       SYS_GETRUSAGE              = 98
-       SYS_SYSINFO                = 99
-       SYS_TIMES                  = 100
-       SYS_PTRACE                 = 101
-       SYS_GETUID                 = 102
-       SYS_SYSLOG                 = 103
-       SYS_GETGID                 = 104
-       SYS_SETUID                 = 105
-       SYS_SETGID                 = 106
-       SYS_GETEUID                = 107
-       SYS_GETEGID                = 108
-       SYS_SETPGID                = 109
-       SYS_GETPPID                = 110
-       SYS_GETPGRP                = 111
-       SYS_SETSID                 = 112
-       SYS_SETREUID               = 113
-       SYS_SETREGID               = 114
-       SYS_GETGROUPS              = 115
-       SYS_SETGROUPS              = 116
-       SYS_SETRESUID              = 117
-       SYS_GETRESUID              = 118
-       SYS_SETRESGID              = 119
-       SYS_GETRESGID              = 120
-       SYS_GETPGID                = 121
-       SYS_SETFSUID               = 122
-       SYS_SETFSGID               = 123
-       SYS_GETSID                 = 124
-       SYS_CAPGET                 = 125
-       SYS_CAPSET                 = 126
-       SYS_RT_SIGPENDING          = 127
-       SYS_RT_SIGTIMEDWAIT        = 128
-       SYS_RT_SIGQUEUEINFO        = 129
-       SYS_RT_SIGSUSPEND          = 130
-       SYS_SIGALTSTACK            = 131
-       SYS_UTIME                  = 132
-       SYS_MKNOD                  = 133
-       SYS_USELIB                 = 134
-       SYS_PERSONALITY            = 135
-       SYS_USTAT                  = 136
-       SYS_STATFS                 = 137
-       SYS_FSTATFS                = 138
-       SYS_SYSFS                  = 139
-       SYS_GETPRIORITY            = 140
-       SYS_SETPRIORITY            = 141
-       SYS_SCHED_SETPARAM         = 142
-       SYS_SCHED_GETPARAM         = 143
-       SYS_SCHED_SETSCHEDULER     = 144
-       SYS_SCHED_GETSCHEDULER     = 145
-       SYS_SCHED_GET_PRIORITY_MAX = 146
-       SYS_SCHED_GET_PRIORITY_MIN = 147
-       SYS_SCHED_RR_GET_INTERVAL  = 148
-       SYS_MLOCK                  = 149
-       SYS_MUNLOCK                = 150
-       SYS_MLOCKALL               = 151
-       SYS_MUNLOCKALL             = 152
-       SYS_VHANGUP                = 153
-       SYS_MODIFY_LDT             = 154
-       SYS_PIVOT_ROOT             = 155
-       SYS__SYSCTL                = 156
-       SYS_PRCTL                  = 157
-       SYS_ARCH_PRCTL             = 158
-       SYS_ADJTIMEX               = 159
-       SYS_SETRLIMIT              = 160
-       SYS_CHROOT                 = 161
-       SYS_SYNC                   = 162
-       SYS_ACCT                   = 163
-       SYS_SETTIMEOFDAY           = 164
-       SYS_MOUNT                  = 165
-       SYS_UMOUNT2                = 166
-       SYS_SWAPON                 = 167
-       SYS_SWAPOFF                = 168
-       SYS_REBOOT                 = 169
-       SYS_SETHOSTNAME            = 170
-       SYS_SETDOMAINNAME          = 171
-       SYS_IOPL                   = 172
-       SYS_IOPERM                 = 173
-       SYS_CREATE_MODULE          = 174
-       SYS_INIT_MODULE            = 175
-       SYS_DELETE_MODULE          = 176
-       SYS_GET_KERNEL_SYMS        = 177
-       SYS_QUERY_MODULE           = 178
-       SYS_QUOTACTL               = 179
-       SYS_NFSSERVCTL             = 180
-       SYS_GETPMSG                = 181
-       SYS_PUTPMSG                = 182
-       SYS_AFS_SYSCALL            = 183
-       SYS_TUXCALL                = 184
-       SYS_SECURITY               = 185
-       SYS_GETTID                 = 186
-       SYS_READAHEAD              = 187
-       SYS_SETXATTR               = 188
-       SYS_LSETXATTR              = 189
-       SYS_FSETXATTR              = 190
-       SYS_GETXATTR               = 191
-       SYS_LGETXATTR              = 192
-       SYS_FGETXATTR              = 193
-       SYS_LISTXATTR              = 194
-       SYS_LLISTXATTR             = 195
-       SYS_FLISTXATTR             = 196
-       SYS_REMOVEXATTR            = 197
-       SYS_LREMOVEXATTR           = 198
-       SYS_FREMOVEXATTR           = 199
-       SYS_TKILL                  = 200
-       SYS_TIME                   = 201
-       SYS_FUTEX                  = 202
-       SYS_SCHED_SETAFFINITY      = 203
-       SYS_SCHED_GETAFFINITY      = 204
-       SYS_SET_THREAD_AREA        = 205
-       SYS_IO_SETUP               = 206
-       SYS_IO_DESTROY             = 207
-       SYS_IO_GETEVENTS           = 208
-       SYS_IO_SUBMIT              = 209
-       SYS_IO_CANCEL              = 210
-       SYS_GET_THREAD_AREA        = 211
-       SYS_LOOKUP_DCOOKIE         = 212
-       SYS_EPOLL_CREATE           = 213
-       SYS_EPOLL_CTL_OLD          = 214
-       SYS_EPOLL_WAIT_OLD         = 215
-       SYS_REMAP_FILE_PAGES       = 216
-       SYS_GETDENTS64             = 217
-       SYS_SET_TID_ADDRESS        = 218
-       SYS_RESTART_SYSCALL        = 219
-       SYS_SEMTIMEDOP             = 220
-       SYS_FADVISE64              = 221
-       SYS_TIMER_CREATE           = 222
-       SYS_TIMER_SETTIME          = 223
-       SYS_TIMER_GETTIME          = 224
-       SYS_TIMER_GETOVERRUN       = 225
-       SYS_TIMER_DELETE           = 226
-       SYS_CLOCK_SETTIME          = 227
-       SYS_CLOCK_GETTIME          = 228
-       SYS_CLOCK_GETRES           = 229
-       SYS_CLOCK_NANOSLEEP        = 230
-       SYS_EXIT_GROUP             = 231
-       SYS_EPOLL_WAIT             = 232
-       SYS_EPOLL_CTL              = 233
-       SYS_TGKILL                 = 234
-       SYS_UTIMES                 = 235
-       SYS_VSERVER                = 236
-       SYS_MBIND                  = 237
-       SYS_SET_MEMPOLICY          = 238
-       SYS_GET_MEMPOLICY          = 239
-       SYS_MQ_OPEN                = 240
-       SYS_MQ_UNLINK              = 241
-       SYS_MQ_TIMEDSEND           = 242
-       SYS_MQ_TIMEDRECEIVE        = 243
-       SYS_MQ_NOTIFY              = 244
-       SYS_MQ_GETSETATTR          = 245
-       SYS_KEXEC_LOAD             = 246
-       SYS_WAITID                 = 247
-       SYS_ADD_KEY                = 248
-       SYS_REQUEST_KEY            = 249
-       SYS_KEYCTL                 = 250
-       SYS_IOPRIO_SET             = 251
-       SYS_IOPRIO_GET             = 252
-       SYS_INOTIFY_INIT           = 253
-       SYS_INOTIFY_ADD_WATCH      = 254
-       SYS_INOTIFY_RM_WATCH       = 255
-       SYS_MIGRATE_PAGES          = 256
-       SYS_OPENAT                 = 257
-       SYS_MKDIRAT                = 258
-       SYS_MKNODAT                = 259
-       SYS_FCHOWNAT               = 260
-       SYS_FUTIMESAT              = 261
-       SYS_NEWFSTATAT             = 262
-       SYS_UNLINKAT               = 263
-       SYS_RENAMEAT               = 264
-       SYS_LINKAT                 = 265
-       SYS_SYMLINKAT              = 266
-       SYS_READLINKAT             = 267
-       SYS_FCHMODAT               = 268
-       SYS_FACCESSAT              = 269
-       SYS_PSELECT6               = 270
-       SYS_PPOLL                  = 271
-       SYS_UNSHARE                = 272
-       SYS_SET_ROBUST_LIST        = 273
-       SYS_GET_ROBUST_LIST        = 274
-       SYS_SPLICE                 = 275
-       SYS_TEE                    = 276
-       SYS_SYNC_FILE_RANGE        = 277
-       SYS_VMSPLICE               = 278
-       SYS_MOVE_PAGES             = 279
-       SYS_UTIMENSAT              = 280
-       SYS_EPOLL_PWAIT            = 281
-       SYS_SIGNALFD               = 282
-       SYS_TIMERFD_CREATE         = 283
-       SYS_EVENTFD                = 284
-       SYS_FALLOCATE              = 285
-       SYS_TIMERFD_SETTIME        = 286
-       SYS_TIMERFD_GETTIME        = 287
-       SYS_ACCEPT4                = 288
-       SYS_SIGNALFD4              = 289
-       SYS_EVENTFD2               = 290
-       SYS_EPOLL_CREATE1          = 291
-       SYS_DUP3                   = 292
-       SYS_PIPE2                  = 293
-       SYS_INOTIFY_INIT1          = 294
-       SYS_PREADV                 = 295
-       SYS_PWRITEV                = 296
-       SYS_RT_TGSIGQUEUEINFO      = 297
-       SYS_PERF_EVENT_OPEN        = 298
-       SYS_RECVMMSG               = 299
-       SYS_FANOTIFY_INIT          = 300
-       SYS_FANOTIFY_MARK          = 301
-       SYS_PRLIMIT64              = 302
-       SYS_NAME_TO_HANDLE_AT      = 303
-       SYS_OPEN_BY_HANDLE_AT      = 304
-       SYS_CLOCK_ADJTIME          = 305
-       SYS_SYNCFS                 = 306
-       SYS_SENDMMSG               = 307
-       SYS_SETNS                  = 308
-       SYS_GETCPU                 = 309
-       SYS_PROCESS_VM_READV       = 310
-       SYS_PROCESS_VM_WRITEV      = 311
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
deleted file mode 100644 (file)
index 45ced17..0000000
+++ /dev/null
@@ -1,356 +0,0 @@
-// mksysnum_linux.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,linux
-
-package unix
-
-const (
-       SYS_OABI_SYSCALL_BASE      = 0
-       SYS_SYSCALL_BASE           = 0
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_SETPGID                = 57
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_VHANGUP                = 111
-       SYS_SYSCALL                = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_POLL                   = 168
-       SYS_NFSSERVCTL             = 169
-       SYS_SETRESGID              = 170
-       SYS_GETRESGID              = 171
-       SYS_PRCTL                  = 172
-       SYS_RT_SIGRETURN           = 173
-       SYS_RT_SIGACTION           = 174
-       SYS_RT_SIGPROCMASK         = 175
-       SYS_RT_SIGPENDING          = 176
-       SYS_RT_SIGTIMEDWAIT        = 177
-       SYS_RT_SIGQUEUEINFO        = 178
-       SYS_RT_SIGSUSPEND          = 179
-       SYS_PREAD64                = 180
-       SYS_PWRITE64               = 181
-       SYS_CHOWN                  = 182
-       SYS_GETCWD                 = 183
-       SYS_CAPGET                 = 184
-       SYS_CAPSET                 = 185
-       SYS_SIGALTSTACK            = 186
-       SYS_SENDFILE               = 187
-       SYS_VFORK                  = 190
-       SYS_UGETRLIMIT             = 191
-       SYS_MMAP2                  = 192
-       SYS_TRUNCATE64             = 193
-       SYS_FTRUNCATE64            = 194
-       SYS_STAT64                 = 195
-       SYS_LSTAT64                = 196
-       SYS_FSTAT64                = 197
-       SYS_LCHOWN32               = 198
-       SYS_GETUID32               = 199
-       SYS_GETGID32               = 200
-       SYS_GETEUID32              = 201
-       SYS_GETEGID32              = 202
-       SYS_SETREUID32             = 203
-       SYS_SETREGID32             = 204
-       SYS_GETGROUPS32            = 205
-       SYS_SETGROUPS32            = 206
-       SYS_FCHOWN32               = 207
-       SYS_SETRESUID32            = 208
-       SYS_GETRESUID32            = 209
-       SYS_SETRESGID32            = 210
-       SYS_GETRESGID32            = 211
-       SYS_CHOWN32                = 212
-       SYS_SETUID32               = 213
-       SYS_SETGID32               = 214
-       SYS_SETFSUID32             = 215
-       SYS_SETFSGID32             = 216
-       SYS_GETDENTS64             = 217
-       SYS_PIVOT_ROOT             = 218
-       SYS_MINCORE                = 219
-       SYS_MADVISE                = 220
-       SYS_FCNTL64                = 221
-       SYS_GETTID                 = 224
-       SYS_READAHEAD              = 225
-       SYS_SETXATTR               = 226
-       SYS_LSETXATTR              = 227
-       SYS_FSETXATTR              = 228
-       SYS_GETXATTR               = 229
-       SYS_LGETXATTR              = 230
-       SYS_FGETXATTR              = 231
-       SYS_LISTXATTR              = 232
-       SYS_LLISTXATTR             = 233
-       SYS_FLISTXATTR             = 234
-       SYS_REMOVEXATTR            = 235
-       SYS_LREMOVEXATTR           = 236
-       SYS_FREMOVEXATTR           = 237
-       SYS_TKILL                  = 238
-       SYS_SENDFILE64             = 239
-       SYS_FUTEX                  = 240
-       SYS_SCHED_SETAFFINITY      = 241
-       SYS_SCHED_GETAFFINITY      = 242
-       SYS_IO_SETUP               = 243
-       SYS_IO_DESTROY             = 244
-       SYS_IO_GETEVENTS           = 245
-       SYS_IO_SUBMIT              = 246
-       SYS_IO_CANCEL              = 247
-       SYS_EXIT_GROUP             = 248
-       SYS_LOOKUP_DCOOKIE         = 249
-       SYS_EPOLL_CREATE           = 250
-       SYS_EPOLL_CTL              = 251
-       SYS_EPOLL_WAIT             = 252
-       SYS_REMAP_FILE_PAGES       = 253
-       SYS_SET_TID_ADDRESS        = 256
-       SYS_TIMER_CREATE           = 257
-       SYS_TIMER_SETTIME          = 258
-       SYS_TIMER_GETTIME          = 259
-       SYS_TIMER_GETOVERRUN       = 260
-       SYS_TIMER_DELETE           = 261
-       SYS_CLOCK_SETTIME          = 262
-       SYS_CLOCK_GETTIME          = 263
-       SYS_CLOCK_GETRES           = 264
-       SYS_CLOCK_NANOSLEEP        = 265
-       SYS_STATFS64               = 266
-       SYS_FSTATFS64              = 267
-       SYS_TGKILL                 = 268
-       SYS_UTIMES                 = 269
-       SYS_ARM_FADVISE64_64       = 270
-       SYS_PCICONFIG_IOBASE       = 271
-       SYS_PCICONFIG_READ         = 272
-       SYS_PCICONFIG_WRITE        = 273
-       SYS_MQ_OPEN                = 274
-       SYS_MQ_UNLINK              = 275
-       SYS_MQ_TIMEDSEND           = 276
-       SYS_MQ_TIMEDRECEIVE        = 277
-       SYS_MQ_NOTIFY              = 278
-       SYS_MQ_GETSETATTR          = 279
-       SYS_WAITID                 = 280
-       SYS_SOCKET                 = 281
-       SYS_BIND                   = 282
-       SYS_CONNECT                = 283
-       SYS_LISTEN                 = 284
-       SYS_ACCEPT                 = 285
-       SYS_GETSOCKNAME            = 286
-       SYS_GETPEERNAME            = 287
-       SYS_SOCKETPAIR             = 288
-       SYS_SEND                   = 289
-       SYS_SENDTO                 = 290
-       SYS_RECV                   = 291
-       SYS_RECVFROM               = 292
-       SYS_SHUTDOWN               = 293
-       SYS_SETSOCKOPT             = 294
-       SYS_GETSOCKOPT             = 295
-       SYS_SENDMSG                = 296
-       SYS_RECVMSG                = 297
-       SYS_SEMOP                  = 298
-       SYS_SEMGET                 = 299
-       SYS_SEMCTL                 = 300
-       SYS_MSGSND                 = 301
-       SYS_MSGRCV                 = 302
-       SYS_MSGGET                 = 303
-       SYS_MSGCTL                 = 304
-       SYS_SHMAT                  = 305
-       SYS_SHMDT                  = 306
-       SYS_SHMGET                 = 307
-       SYS_SHMCTL                 = 308
-       SYS_ADD_KEY                = 309
-       SYS_REQUEST_KEY            = 310
-       SYS_KEYCTL                 = 311
-       SYS_SEMTIMEDOP             = 312
-       SYS_VSERVER                = 313
-       SYS_IOPRIO_SET             = 314
-       SYS_IOPRIO_GET             = 315
-       SYS_INOTIFY_INIT           = 316
-       SYS_INOTIFY_ADD_WATCH      = 317
-       SYS_INOTIFY_RM_WATCH       = 318
-       SYS_MBIND                  = 319
-       SYS_GET_MEMPOLICY          = 320
-       SYS_SET_MEMPOLICY          = 321
-       SYS_OPENAT                 = 322
-       SYS_MKDIRAT                = 323
-       SYS_MKNODAT                = 324
-       SYS_FCHOWNAT               = 325
-       SYS_FUTIMESAT              = 326
-       SYS_FSTATAT64              = 327
-       SYS_UNLINKAT               = 328
-       SYS_RENAMEAT               = 329
-       SYS_LINKAT                 = 330
-       SYS_SYMLINKAT              = 331
-       SYS_READLINKAT             = 332
-       SYS_FCHMODAT               = 333
-       SYS_FACCESSAT              = 334
-       SYS_PSELECT6               = 335
-       SYS_PPOLL                  = 336
-       SYS_UNSHARE                = 337
-       SYS_SET_ROBUST_LIST        = 338
-       SYS_GET_ROBUST_LIST        = 339
-       SYS_SPLICE                 = 340
-       SYS_ARM_SYNC_FILE_RANGE    = 341
-       SYS_TEE                    = 342
-       SYS_VMSPLICE               = 343
-       SYS_MOVE_PAGES             = 344
-       SYS_GETCPU                 = 345
-       SYS_EPOLL_PWAIT            = 346
-       SYS_KEXEC_LOAD             = 347
-       SYS_UTIMENSAT              = 348
-       SYS_SIGNALFD               = 349
-       SYS_TIMERFD_CREATE         = 350
-       SYS_EVENTFD                = 351
-       SYS_FALLOCATE              = 352
-       SYS_TIMERFD_SETTIME        = 353
-       SYS_TIMERFD_GETTIME        = 354
-       SYS_SIGNALFD4              = 355
-       SYS_EVENTFD2               = 356
-       SYS_EPOLL_CREATE1          = 357
-       SYS_DUP3                   = 358
-       SYS_PIPE2                  = 359
-       SYS_INOTIFY_INIT1          = 360
-       SYS_PREADV                 = 361
-       SYS_PWRITEV                = 362
-       SYS_RT_TGSIGQUEUEINFO      = 363
-       SYS_PERF_EVENT_OPEN        = 364
-       SYS_RECVMMSG               = 365
-       SYS_ACCEPT4                = 366
-       SYS_FANOTIFY_INIT          = 367
-       SYS_FANOTIFY_MARK          = 368
-       SYS_PRLIMIT64              = 369
-       SYS_NAME_TO_HANDLE_AT      = 370
-       SYS_OPEN_BY_HANDLE_AT      = 371
-       SYS_CLOCK_ADJTIME          = 372
-       SYS_SYNCFS                 = 373
-       SYS_SENDMMSG               = 374
-       SYS_SETNS                  = 375
-       SYS_PROCESS_VM_READV       = 376
-       SYS_PROCESS_VM_WRITEV      = 377
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
deleted file mode 100644 (file)
index 2e9514f..0000000
+++ /dev/null
@@ -1,272 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm-generic/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm64,linux
-
-package unix
-
-const (
-       SYS_IO_SETUP               = 0
-       SYS_IO_DESTROY             = 1
-       SYS_IO_SUBMIT              = 2
-       SYS_IO_CANCEL              = 3
-       SYS_IO_GETEVENTS           = 4
-       SYS_SETXATTR               = 5
-       SYS_LSETXATTR              = 6
-       SYS_FSETXATTR              = 7
-       SYS_GETXATTR               = 8
-       SYS_LGETXATTR              = 9
-       SYS_FGETXATTR              = 10
-       SYS_LISTXATTR              = 11
-       SYS_LLISTXATTR             = 12
-       SYS_FLISTXATTR             = 13
-       SYS_REMOVEXATTR            = 14
-       SYS_LREMOVEXATTR           = 15
-       SYS_FREMOVEXATTR           = 16
-       SYS_GETCWD                 = 17
-       SYS_LOOKUP_DCOOKIE         = 18
-       SYS_EVENTFD2               = 19
-       SYS_EPOLL_CREATE1          = 20
-       SYS_EPOLL_CTL              = 21
-       SYS_EPOLL_PWAIT            = 22
-       SYS_DUP                    = 23
-       SYS_DUP3                   = 24
-       SYS_FCNTL                  = 25
-       SYS_INOTIFY_INIT1          = 26
-       SYS_INOTIFY_ADD_WATCH      = 27
-       SYS_INOTIFY_RM_WATCH       = 28
-       SYS_IOCTL                  = 29
-       SYS_IOPRIO_SET             = 30
-       SYS_IOPRIO_GET             = 31
-       SYS_FLOCK                  = 32
-       SYS_MKNODAT                = 33
-       SYS_MKDIRAT                = 34
-       SYS_UNLINKAT               = 35
-       SYS_SYMLINKAT              = 36
-       SYS_LINKAT                 = 37
-       SYS_RENAMEAT               = 38
-       SYS_UMOUNT2                = 39
-       SYS_MOUNT                  = 40
-       SYS_PIVOT_ROOT             = 41
-       SYS_NFSSERVCTL             = 42
-       SYS_STATFS                 = 43
-       SYS_FSTATFS                = 44
-       SYS_TRUNCATE               = 45
-       SYS_FTRUNCATE              = 46
-       SYS_FALLOCATE              = 47
-       SYS_FACCESSAT              = 48
-       SYS_CHDIR                  = 49
-       SYS_FCHDIR                 = 50
-       SYS_CHROOT                 = 51
-       SYS_FCHMOD                 = 52
-       SYS_FCHMODAT               = 53
-       SYS_FCHOWNAT               = 54
-       SYS_FCHOWN                 = 55
-       SYS_OPENAT                 = 56
-       SYS_CLOSE                  = 57
-       SYS_VHANGUP                = 58
-       SYS_PIPE2                  = 59
-       SYS_QUOTACTL               = 60
-       SYS_GETDENTS64             = 61
-       SYS_LSEEK                  = 62
-       SYS_READ                   = 63
-       SYS_WRITE                  = 64
-       SYS_READV                  = 65
-       SYS_WRITEV                 = 66
-       SYS_PREAD64                = 67
-       SYS_PWRITE64               = 68
-       SYS_PREADV                 = 69
-       SYS_PWRITEV                = 70
-       SYS_SENDFILE               = 71
-       SYS_PSELECT6               = 72
-       SYS_PPOLL                  = 73
-       SYS_SIGNALFD4              = 74
-       SYS_VMSPLICE               = 75
-       SYS_SPLICE                 = 76
-       SYS_TEE                    = 77
-       SYS_READLINKAT             = 78
-       SYS_FSTATAT                = 79
-       SYS_FSTAT                  = 80
-       SYS_SYNC                   = 81
-       SYS_FSYNC                  = 82
-       SYS_FDATASYNC              = 83
-       SYS_SYNC_FILE_RANGE        = 84
-       SYS_TIMERFD_CREATE         = 85
-       SYS_TIMERFD_SETTIME        = 86
-       SYS_TIMERFD_GETTIME        = 87
-       SYS_UTIMENSAT              = 88
-       SYS_ACCT                   = 89
-       SYS_CAPGET                 = 90
-       SYS_CAPSET                 = 91
-       SYS_PERSONALITY            = 92
-       SYS_EXIT                   = 93
-       SYS_EXIT_GROUP             = 94
-       SYS_WAITID                 = 95
-       SYS_SET_TID_ADDRESS        = 96
-       SYS_UNSHARE                = 97
-       SYS_FUTEX                  = 98
-       SYS_SET_ROBUST_LIST        = 99
-       SYS_GET_ROBUST_LIST        = 100
-       SYS_NANOSLEEP              = 101
-       SYS_GETITIMER              = 102
-       SYS_SETITIMER              = 103
-       SYS_KEXEC_LOAD             = 104
-       SYS_INIT_MODULE            = 105
-       SYS_DELETE_MODULE          = 106
-       SYS_TIMER_CREATE           = 107
-       SYS_TIMER_GETTIME          = 108
-       SYS_TIMER_GETOVERRUN       = 109
-       SYS_TIMER_SETTIME          = 110
-       SYS_TIMER_DELETE           = 111
-       SYS_CLOCK_SETTIME          = 112
-       SYS_CLOCK_GETTIME          = 113
-       SYS_CLOCK_GETRES           = 114
-       SYS_CLOCK_NANOSLEEP        = 115
-       SYS_SYSLOG                 = 116
-       SYS_PTRACE                 = 117
-       SYS_SCHED_SETPARAM         = 118
-       SYS_SCHED_SETSCHEDULER     = 119
-       SYS_SCHED_GETSCHEDULER     = 120
-       SYS_SCHED_GETPARAM         = 121
-       SYS_SCHED_SETAFFINITY      = 122
-       SYS_SCHED_GETAFFINITY      = 123
-       SYS_SCHED_YIELD            = 124
-       SYS_SCHED_GET_PRIORITY_MAX = 125
-       SYS_SCHED_GET_PRIORITY_MIN = 126
-       SYS_SCHED_RR_GET_INTERVAL  = 127
-       SYS_RESTART_SYSCALL        = 128
-       SYS_KILL                   = 129
-       SYS_TKILL                  = 130
-       SYS_TGKILL                 = 131
-       SYS_SIGALTSTACK            = 132
-       SYS_RT_SIGSUSPEND          = 133
-       SYS_RT_SIGACTION           = 134
-       SYS_RT_SIGPROCMASK         = 135
-       SYS_RT_SIGPENDING          = 136
-       SYS_RT_SIGTIMEDWAIT        = 137
-       SYS_RT_SIGQUEUEINFO        = 138
-       SYS_RT_SIGRETURN           = 139
-       SYS_SETPRIORITY            = 140
-       SYS_GETPRIORITY            = 141
-       SYS_REBOOT                 = 142
-       SYS_SETREGID               = 143
-       SYS_SETGID                 = 144
-       SYS_SETREUID               = 145
-       SYS_SETUID                 = 146
-       SYS_SETRESUID              = 147
-       SYS_GETRESUID              = 148
-       SYS_SETRESGID              = 149
-       SYS_GETRESGID              = 150
-       SYS_SETFSUID               = 151
-       SYS_SETFSGID               = 152
-       SYS_TIMES                  = 153
-       SYS_SETPGID                = 154
-       SYS_GETPGID                = 155
-       SYS_GETSID                 = 156
-       SYS_SETSID                 = 157
-       SYS_GETGROUPS              = 158
-       SYS_SETGROUPS              = 159
-       SYS_UNAME                  = 160
-       SYS_SETHOSTNAME            = 161
-       SYS_SETDOMAINNAME          = 162
-       SYS_GETRLIMIT              = 163
-       SYS_SETRLIMIT              = 164
-       SYS_GETRUSAGE              = 165
-       SYS_UMASK                  = 166
-       SYS_PRCTL                  = 167
-       SYS_GETCPU                 = 168
-       SYS_GETTIMEOFDAY           = 169
-       SYS_SETTIMEOFDAY           = 170
-       SYS_ADJTIMEX               = 171
-       SYS_GETPID                 = 172
-       SYS_GETPPID                = 173
-       SYS_GETUID                 = 174
-       SYS_GETEUID                = 175
-       SYS_GETGID                 = 176
-       SYS_GETEGID                = 177
-       SYS_GETTID                 = 178
-       SYS_SYSINFO                = 179
-       SYS_MQ_OPEN                = 180
-       SYS_MQ_UNLINK              = 181
-       SYS_MQ_TIMEDSEND           = 182
-       SYS_MQ_TIMEDRECEIVE        = 183
-       SYS_MQ_NOTIFY              = 184
-       SYS_MQ_GETSETATTR          = 185
-       SYS_MSGGET                 = 186
-       SYS_MSGCTL                 = 187
-       SYS_MSGRCV                 = 188
-       SYS_MSGSND                 = 189
-       SYS_SEMGET                 = 190
-       SYS_SEMCTL                 = 191
-       SYS_SEMTIMEDOP             = 192
-       SYS_SEMOP                  = 193
-       SYS_SHMGET                 = 194
-       SYS_SHMCTL                 = 195
-       SYS_SHMAT                  = 196
-       SYS_SHMDT                  = 197
-       SYS_SOCKET                 = 198
-       SYS_SOCKETPAIR             = 199
-       SYS_BIND                   = 200
-       SYS_LISTEN                 = 201
-       SYS_ACCEPT                 = 202
-       SYS_CONNECT                = 203
-       SYS_GETSOCKNAME            = 204
-       SYS_GETPEERNAME            = 205
-       SYS_SENDTO                 = 206
-       SYS_RECVFROM               = 207
-       SYS_SETSOCKOPT             = 208
-       SYS_GETSOCKOPT             = 209
-       SYS_SHUTDOWN               = 210
-       SYS_SENDMSG                = 211
-       SYS_RECVMSG                = 212
-       SYS_READAHEAD              = 213
-       SYS_BRK                    = 214
-       SYS_MUNMAP                 = 215
-       SYS_MREMAP                 = 216
-       SYS_ADD_KEY                = 217
-       SYS_REQUEST_KEY            = 218
-       SYS_KEYCTL                 = 219
-       SYS_CLONE                  = 220
-       SYS_EXECVE                 = 221
-       SYS_MMAP                   = 222
-       SYS_FADVISE64              = 223
-       SYS_SWAPON                 = 224
-       SYS_SWAPOFF                = 225
-       SYS_MPROTECT               = 226
-       SYS_MSYNC                  = 227
-       SYS_MLOCK                  = 228
-       SYS_MUNLOCK                = 229
-       SYS_MLOCKALL               = 230
-       SYS_MUNLOCKALL             = 231
-       SYS_MINCORE                = 232
-       SYS_MADVISE                = 233
-       SYS_REMAP_FILE_PAGES       = 234
-       SYS_MBIND                  = 235
-       SYS_GET_MEMPOLICY          = 236
-       SYS_SET_MEMPOLICY          = 237
-       SYS_MIGRATE_PAGES          = 238
-       SYS_MOVE_PAGES             = 239
-       SYS_RT_TGSIGQUEUEINFO      = 240
-       SYS_PERF_EVENT_OPEN        = 241
-       SYS_ACCEPT4                = 242
-       SYS_RECVMMSG               = 243
-       SYS_ARCH_SPECIFIC_SYSCALL  = 244
-       SYS_WAIT4                  = 260
-       SYS_PRLIMIT64              = 261
-       SYS_FANOTIFY_INIT          = 262
-       SYS_FANOTIFY_MARK          = 263
-       SYS_NAME_TO_HANDLE_AT      = 264
-       SYS_OPEN_BY_HANDLE_AT      = 265
-       SYS_CLOCK_ADJTIME          = 266
-       SYS_SYNCFS                 = 267
-       SYS_SETNS                  = 268
-       SYS_SENDMMSG               = 269
-       SYS_PROCESS_VM_READV       = 270
-       SYS_PROCESS_VM_WRITEV      = 271
-       SYS_KCMP                   = 272
-       SYS_FINIT_MODULE           = 273
-       SYS_SCHED_SETATTR          = 274
-       SYS_SCHED_GETATTR          = 275
-       SYS_RENAMEAT2              = 276
-       SYS_SECCOMP                = 277
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
deleted file mode 100644 (file)
index 5ffe1c7..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build mips64,linux
-
-package unix
-
-const (
-       SYS_READ                   = 5000
-       SYS_WRITE                  = 5001
-       SYS_OPEN                   = 5002
-       SYS_CLOSE                  = 5003
-       SYS_STAT                   = 5004
-       SYS_FSTAT                  = 5005
-       SYS_LSTAT                  = 5006
-       SYS_POLL                   = 5007
-       SYS_LSEEK                  = 5008
-       SYS_MMAP                   = 5009
-       SYS_MPROTECT               = 5010
-       SYS_MUNMAP                 = 5011
-       SYS_BRK                    = 5012
-       SYS_RT_SIGACTION           = 5013
-       SYS_RT_SIGPROCMASK         = 5014
-       SYS_IOCTL                  = 5015
-       SYS_PREAD64                = 5016
-       SYS_PWRITE64               = 5017
-       SYS_READV                  = 5018
-       SYS_WRITEV                 = 5019
-       SYS_ACCESS                 = 5020
-       SYS_PIPE                   = 5021
-       SYS__NEWSELECT             = 5022
-       SYS_SCHED_YIELD            = 5023
-       SYS_MREMAP                 = 5024
-       SYS_MSYNC                  = 5025
-       SYS_MINCORE                = 5026
-       SYS_MADVISE                = 5027
-       SYS_SHMGET                 = 5028
-       SYS_SHMAT                  = 5029
-       SYS_SHMCTL                 = 5030
-       SYS_DUP                    = 5031
-       SYS_DUP2                   = 5032
-       SYS_PAUSE                  = 5033
-       SYS_NANOSLEEP              = 5034
-       SYS_GETITIMER              = 5035
-       SYS_SETITIMER              = 5036
-       SYS_ALARM                  = 5037
-       SYS_GETPID                 = 5038
-       SYS_SENDFILE               = 5039
-       SYS_SOCKET                 = 5040
-       SYS_CONNECT                = 5041
-       SYS_ACCEPT                 = 5042
-       SYS_SENDTO                 = 5043
-       SYS_RECVFROM               = 5044
-       SYS_SENDMSG                = 5045
-       SYS_RECVMSG                = 5046
-       SYS_SHUTDOWN               = 5047
-       SYS_BIND                   = 5048
-       SYS_LISTEN                 = 5049
-       SYS_GETSOCKNAME            = 5050
-       SYS_GETPEERNAME            = 5051
-       SYS_SOCKETPAIR             = 5052
-       SYS_SETSOCKOPT             = 5053
-       SYS_GETSOCKOPT             = 5054
-       SYS_CLONE                  = 5055
-       SYS_FORK                   = 5056
-       SYS_EXECVE                 = 5057
-       SYS_EXIT                   = 5058
-       SYS_WAIT4                  = 5059
-       SYS_KILL                   = 5060
-       SYS_UNAME                  = 5061
-       SYS_SEMGET                 = 5062
-       SYS_SEMOP                  = 5063
-       SYS_SEMCTL                 = 5064
-       SYS_SHMDT                  = 5065
-       SYS_MSGGET                 = 5066
-       SYS_MSGSND                 = 5067
-       SYS_MSGRCV                 = 5068
-       SYS_MSGCTL                 = 5069
-       SYS_FCNTL                  = 5070
-       SYS_FLOCK                  = 5071
-       SYS_FSYNC                  = 5072
-       SYS_FDATASYNC              = 5073
-       SYS_TRUNCATE               = 5074
-       SYS_FTRUNCATE              = 5075
-       SYS_GETDENTS               = 5076
-       SYS_GETCWD                 = 5077
-       SYS_CHDIR                  = 5078
-       SYS_FCHDIR                 = 5079
-       SYS_RENAME                 = 5080
-       SYS_MKDIR                  = 5081
-       SYS_RMDIR                  = 5082
-       SYS_CREAT                  = 5083
-       SYS_LINK                   = 5084
-       SYS_UNLINK                 = 5085
-       SYS_SYMLINK                = 5086
-       SYS_READLINK               = 5087
-       SYS_CHMOD                  = 5088
-       SYS_FCHMOD                 = 5089
-       SYS_CHOWN                  = 5090
-       SYS_FCHOWN                 = 5091
-       SYS_LCHOWN                 = 5092
-       SYS_UMASK                  = 5093
-       SYS_GETTIMEOFDAY           = 5094
-       SYS_GETRLIMIT              = 5095
-       SYS_GETRUSAGE              = 5096
-       SYS_SYSINFO                = 5097
-       SYS_TIMES                  = 5098
-       SYS_PTRACE                 = 5099
-       SYS_GETUID                 = 5100
-       SYS_SYSLOG                 = 5101
-       SYS_GETGID                 = 5102
-       SYS_SETUID                 = 5103
-       SYS_SETGID                 = 5104
-       SYS_GETEUID                = 5105
-       SYS_GETEGID                = 5106
-       SYS_SETPGID                = 5107
-       SYS_GETPPID                = 5108
-       SYS_GETPGRP                = 5109
-       SYS_SETSID                 = 5110
-       SYS_SETREUID               = 5111
-       SYS_SETREGID               = 5112
-       SYS_GETGROUPS              = 5113
-       SYS_SETGROUPS              = 5114
-       SYS_SETRESUID              = 5115
-       SYS_GETRESUID              = 5116
-       SYS_SETRESGID              = 5117
-       SYS_GETRESGID              = 5118
-       SYS_GETPGID                = 5119
-       SYS_SETFSUID               = 5120
-       SYS_SETFSGID               = 5121
-       SYS_GETSID                 = 5122
-       SYS_CAPGET                 = 5123
-       SYS_CAPSET                 = 5124
-       SYS_RT_SIGPENDING          = 5125
-       SYS_RT_SIGTIMEDWAIT        = 5126
-       SYS_RT_SIGQUEUEINFO        = 5127
-       SYS_RT_SIGSUSPEND          = 5128
-       SYS_SIGALTSTACK            = 5129
-       SYS_UTIME                  = 5130
-       SYS_MKNOD                  = 5131
-       SYS_PERSONALITY            = 5132
-       SYS_USTAT                  = 5133
-       SYS_STATFS                 = 5134
-       SYS_FSTATFS                = 5135
-       SYS_SYSFS                  = 5136
-       SYS_GETPRIORITY            = 5137
-       SYS_SETPRIORITY            = 5138
-       SYS_SCHED_SETPARAM         = 5139
-       SYS_SCHED_GETPARAM         = 5140
-       SYS_SCHED_SETSCHEDULER     = 5141
-       SYS_SCHED_GETSCHEDULER     = 5142
-       SYS_SCHED_GET_PRIORITY_MAX = 5143
-       SYS_SCHED_GET_PRIORITY_MIN = 5144
-       SYS_SCHED_RR_GET_INTERVAL  = 5145
-       SYS_MLOCK                  = 5146
-       SYS_MUNLOCK                = 5147
-       SYS_MLOCKALL               = 5148
-       SYS_MUNLOCKALL             = 5149
-       SYS_VHANGUP                = 5150
-       SYS_PIVOT_ROOT             = 5151
-       SYS__SYSCTL                = 5152
-       SYS_PRCTL                  = 5153
-       SYS_ADJTIMEX               = 5154
-       SYS_SETRLIMIT              = 5155
-       SYS_CHROOT                 = 5156
-       SYS_SYNC                   = 5157
-       SYS_ACCT                   = 5158
-       SYS_SETTIMEOFDAY           = 5159
-       SYS_MOUNT                  = 5160
-       SYS_UMOUNT2                = 5161
-       SYS_SWAPON                 = 5162
-       SYS_SWAPOFF                = 5163
-       SYS_REBOOT                 = 5164
-       SYS_SETHOSTNAME            = 5165
-       SYS_SETDOMAINNAME          = 5166
-       SYS_CREATE_MODULE          = 5167
-       SYS_INIT_MODULE            = 5168
-       SYS_DELETE_MODULE          = 5169
-       SYS_GET_KERNEL_SYMS        = 5170
-       SYS_QUERY_MODULE           = 5171
-       SYS_QUOTACTL               = 5172
-       SYS_NFSSERVCTL             = 5173
-       SYS_GETPMSG                = 5174
-       SYS_PUTPMSG                = 5175
-       SYS_AFS_SYSCALL            = 5176
-       SYS_RESERVED177            = 5177
-       SYS_GETTID                 = 5178
-       SYS_READAHEAD              = 5179
-       SYS_SETXATTR               = 5180
-       SYS_LSETXATTR              = 5181
-       SYS_FSETXATTR              = 5182
-       SYS_GETXATTR               = 5183
-       SYS_LGETXATTR              = 5184
-       SYS_FGETXATTR              = 5185
-       SYS_LISTXATTR              = 5186
-       SYS_LLISTXATTR             = 5187
-       SYS_FLISTXATTR             = 5188
-       SYS_REMOVEXATTR            = 5189
-       SYS_LREMOVEXATTR           = 5190
-       SYS_FREMOVEXATTR           = 5191
-       SYS_TKILL                  = 5192
-       SYS_RESERVED193            = 5193
-       SYS_FUTEX                  = 5194
-       SYS_SCHED_SETAFFINITY      = 5195
-       SYS_SCHED_GETAFFINITY      = 5196
-       SYS_CACHEFLUSH             = 5197
-       SYS_CACHECTL               = 5198
-       SYS_SYSMIPS                = 5199
-       SYS_IO_SETUP               = 5200
-       SYS_IO_DESTROY             = 5201
-       SYS_IO_GETEVENTS           = 5202
-       SYS_IO_SUBMIT              = 5203
-       SYS_IO_CANCEL              = 5204
-       SYS_EXIT_GROUP             = 5205
-       SYS_LOOKUP_DCOOKIE         = 5206
-       SYS_EPOLL_CREATE           = 5207
-       SYS_EPOLL_CTL              = 5208
-       SYS_EPOLL_WAIT             = 5209
-       SYS_REMAP_FILE_PAGES       = 5210
-       SYS_RT_SIGRETURN           = 5211
-       SYS_SET_TID_ADDRESS        = 5212
-       SYS_RESTART_SYSCALL        = 5213
-       SYS_SEMTIMEDOP             = 5214
-       SYS_FADVISE64              = 5215
-       SYS_TIMER_CREATE           = 5216
-       SYS_TIMER_SETTIME          = 5217
-       SYS_TIMER_GETTIME          = 5218
-       SYS_TIMER_GETOVERRUN       = 5219
-       SYS_TIMER_DELETE           = 5220
-       SYS_CLOCK_SETTIME          = 5221
-       SYS_CLOCK_GETTIME          = 5222
-       SYS_CLOCK_GETRES           = 5223
-       SYS_CLOCK_NANOSLEEP        = 5224
-       SYS_TGKILL                 = 5225
-       SYS_UTIMES                 = 5226
-       SYS_MBIND                  = 5227
-       SYS_GET_MEMPOLICY          = 5228
-       SYS_SET_MEMPOLICY          = 5229
-       SYS_MQ_OPEN                = 5230
-       SYS_MQ_UNLINK              = 5231
-       SYS_MQ_TIMEDSEND           = 5232
-       SYS_MQ_TIMEDRECEIVE        = 5233
-       SYS_MQ_NOTIFY              = 5234
-       SYS_MQ_GETSETATTR          = 5235
-       SYS_VSERVER                = 5236
-       SYS_WAITID                 = 5237
-       SYS_ADD_KEY                = 5239
-       SYS_REQUEST_KEY            = 5240
-       SYS_KEYCTL                 = 5241
-       SYS_SET_THREAD_AREA        = 5242
-       SYS_INOTIFY_INIT           = 5243
-       SYS_INOTIFY_ADD_WATCH      = 5244
-       SYS_INOTIFY_RM_WATCH       = 5245
-       SYS_MIGRATE_PAGES          = 5246
-       SYS_OPENAT                 = 5247
-       SYS_MKDIRAT                = 5248
-       SYS_MKNODAT                = 5249
-       SYS_FCHOWNAT               = 5250
-       SYS_FUTIMESAT              = 5251
-       SYS_NEWFSTATAT             = 5252
-       SYS_UNLINKAT               = 5253
-       SYS_RENAMEAT               = 5254
-       SYS_LINKAT                 = 5255
-       SYS_SYMLINKAT              = 5256
-       SYS_READLINKAT             = 5257
-       SYS_FCHMODAT               = 5258
-       SYS_FACCESSAT              = 5259
-       SYS_PSELECT6               = 5260
-       SYS_PPOLL                  = 5261
-       SYS_UNSHARE                = 5262
-       SYS_SPLICE                 = 5263
-       SYS_SYNC_FILE_RANGE        = 5264
-       SYS_TEE                    = 5265
-       SYS_VMSPLICE               = 5266
-       SYS_MOVE_PAGES             = 5267
-       SYS_SET_ROBUST_LIST        = 5268
-       SYS_GET_ROBUST_LIST        = 5269
-       SYS_KEXEC_LOAD             = 5270
-       SYS_GETCPU                 = 5271
-       SYS_EPOLL_PWAIT            = 5272
-       SYS_IOPRIO_SET             = 5273
-       SYS_IOPRIO_GET             = 5274
-       SYS_UTIMENSAT              = 5275
-       SYS_SIGNALFD               = 5276
-       SYS_TIMERFD                = 5277
-       SYS_EVENTFD                = 5278
-       SYS_FALLOCATE              = 5279
-       SYS_TIMERFD_CREATE         = 5280
-       SYS_TIMERFD_GETTIME        = 5281
-       SYS_TIMERFD_SETTIME        = 5282
-       SYS_SIGNALFD4              = 5283
-       SYS_EVENTFD2               = 5284
-       SYS_EPOLL_CREATE1          = 5285
-       SYS_DUP3                   = 5286
-       SYS_PIPE2                  = 5287
-       SYS_INOTIFY_INIT1          = 5288
-       SYS_PREADV                 = 5289
-       SYS_PWRITEV                = 5290
-       SYS_RT_TGSIGQUEUEINFO      = 5291
-       SYS_PERF_EVENT_OPEN        = 5292
-       SYS_ACCEPT4                = 5293
-       SYS_RECVMMSG               = 5294
-       SYS_FANOTIFY_INIT          = 5295
-       SYS_FANOTIFY_MARK          = 5296
-       SYS_PRLIMIT64              = 5297
-       SYS_NAME_TO_HANDLE_AT      = 5298
-       SYS_OPEN_BY_HANDLE_AT      = 5299
-       SYS_CLOCK_ADJTIME          = 5300
-       SYS_SYNCFS                 = 5301
-       SYS_SENDMMSG               = 5302
-       SYS_SETNS                  = 5303
-       SYS_PROCESS_VM_READV       = 5304
-       SYS_PROCESS_VM_WRITEV      = 5305
-       SYS_KCMP                   = 5306
-       SYS_FINIT_MODULE           = 5307
-       SYS_GETDENTS64             = 5308
-       SYS_SCHED_SETATTR          = 5309
-       SYS_SCHED_GETATTR          = 5310
-       SYS_RENAMEAT2              = 5311
-       SYS_SECCOMP                = 5312
-       SYS_GETRANDOM              = 5313
-       SYS_MEMFD_CREATE           = 5314
-       SYS_BPF                    = 5315
-       SYS_EXECVEAT               = 5316
-       SYS_USERFAULTFD            = 5317
-       SYS_MEMBARRIER             = 5318
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
deleted file mode 100644 (file)
index d192b94..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build mips64le,linux
-
-package unix
-
-const (
-       SYS_READ                   = 5000
-       SYS_WRITE                  = 5001
-       SYS_OPEN                   = 5002
-       SYS_CLOSE                  = 5003
-       SYS_STAT                   = 5004
-       SYS_FSTAT                  = 5005
-       SYS_LSTAT                  = 5006
-       SYS_POLL                   = 5007
-       SYS_LSEEK                  = 5008
-       SYS_MMAP                   = 5009
-       SYS_MPROTECT               = 5010
-       SYS_MUNMAP                 = 5011
-       SYS_BRK                    = 5012
-       SYS_RT_SIGACTION           = 5013
-       SYS_RT_SIGPROCMASK         = 5014
-       SYS_IOCTL                  = 5015
-       SYS_PREAD64                = 5016
-       SYS_PWRITE64               = 5017
-       SYS_READV                  = 5018
-       SYS_WRITEV                 = 5019
-       SYS_ACCESS                 = 5020
-       SYS_PIPE                   = 5021
-       SYS__NEWSELECT             = 5022
-       SYS_SCHED_YIELD            = 5023
-       SYS_MREMAP                 = 5024
-       SYS_MSYNC                  = 5025
-       SYS_MINCORE                = 5026
-       SYS_MADVISE                = 5027
-       SYS_SHMGET                 = 5028
-       SYS_SHMAT                  = 5029
-       SYS_SHMCTL                 = 5030
-       SYS_DUP                    = 5031
-       SYS_DUP2                   = 5032
-       SYS_PAUSE                  = 5033
-       SYS_NANOSLEEP              = 5034
-       SYS_GETITIMER              = 5035
-       SYS_SETITIMER              = 5036
-       SYS_ALARM                  = 5037
-       SYS_GETPID                 = 5038
-       SYS_SENDFILE               = 5039
-       SYS_SOCKET                 = 5040
-       SYS_CONNECT                = 5041
-       SYS_ACCEPT                 = 5042
-       SYS_SENDTO                 = 5043
-       SYS_RECVFROM               = 5044
-       SYS_SENDMSG                = 5045
-       SYS_RECVMSG                = 5046
-       SYS_SHUTDOWN               = 5047
-       SYS_BIND                   = 5048
-       SYS_LISTEN                 = 5049
-       SYS_GETSOCKNAME            = 5050
-       SYS_GETPEERNAME            = 5051
-       SYS_SOCKETPAIR             = 5052
-       SYS_SETSOCKOPT             = 5053
-       SYS_GETSOCKOPT             = 5054
-       SYS_CLONE                  = 5055
-       SYS_FORK                   = 5056
-       SYS_EXECVE                 = 5057
-       SYS_EXIT                   = 5058
-       SYS_WAIT4                  = 5059
-       SYS_KILL                   = 5060
-       SYS_UNAME                  = 5061
-       SYS_SEMGET                 = 5062
-       SYS_SEMOP                  = 5063
-       SYS_SEMCTL                 = 5064
-       SYS_SHMDT                  = 5065
-       SYS_MSGGET                 = 5066
-       SYS_MSGSND                 = 5067
-       SYS_MSGRCV                 = 5068
-       SYS_MSGCTL                 = 5069
-       SYS_FCNTL                  = 5070
-       SYS_FLOCK                  = 5071
-       SYS_FSYNC                  = 5072
-       SYS_FDATASYNC              = 5073
-       SYS_TRUNCATE               = 5074
-       SYS_FTRUNCATE              = 5075
-       SYS_GETDENTS               = 5076
-       SYS_GETCWD                 = 5077
-       SYS_CHDIR                  = 5078
-       SYS_FCHDIR                 = 5079
-       SYS_RENAME                 = 5080
-       SYS_MKDIR                  = 5081
-       SYS_RMDIR                  = 5082
-       SYS_CREAT                  = 5083
-       SYS_LINK                   = 5084
-       SYS_UNLINK                 = 5085
-       SYS_SYMLINK                = 5086
-       SYS_READLINK               = 5087
-       SYS_CHMOD                  = 5088
-       SYS_FCHMOD                 = 5089
-       SYS_CHOWN                  = 5090
-       SYS_FCHOWN                 = 5091
-       SYS_LCHOWN                 = 5092
-       SYS_UMASK                  = 5093
-       SYS_GETTIMEOFDAY           = 5094
-       SYS_GETRLIMIT              = 5095
-       SYS_GETRUSAGE              = 5096
-       SYS_SYSINFO                = 5097
-       SYS_TIMES                  = 5098
-       SYS_PTRACE                 = 5099
-       SYS_GETUID                 = 5100
-       SYS_SYSLOG                 = 5101
-       SYS_GETGID                 = 5102
-       SYS_SETUID                 = 5103
-       SYS_SETGID                 = 5104
-       SYS_GETEUID                = 5105
-       SYS_GETEGID                = 5106
-       SYS_SETPGID                = 5107
-       SYS_GETPPID                = 5108
-       SYS_GETPGRP                = 5109
-       SYS_SETSID                 = 5110
-       SYS_SETREUID               = 5111
-       SYS_SETREGID               = 5112
-       SYS_GETGROUPS              = 5113
-       SYS_SETGROUPS              = 5114
-       SYS_SETRESUID              = 5115
-       SYS_GETRESUID              = 5116
-       SYS_SETRESGID              = 5117
-       SYS_GETRESGID              = 5118
-       SYS_GETPGID                = 5119
-       SYS_SETFSUID               = 5120
-       SYS_SETFSGID               = 5121
-       SYS_GETSID                 = 5122
-       SYS_CAPGET                 = 5123
-       SYS_CAPSET                 = 5124
-       SYS_RT_SIGPENDING          = 5125
-       SYS_RT_SIGTIMEDWAIT        = 5126
-       SYS_RT_SIGQUEUEINFO        = 5127
-       SYS_RT_SIGSUSPEND          = 5128
-       SYS_SIGALTSTACK            = 5129
-       SYS_UTIME                  = 5130
-       SYS_MKNOD                  = 5131
-       SYS_PERSONALITY            = 5132
-       SYS_USTAT                  = 5133
-       SYS_STATFS                 = 5134
-       SYS_FSTATFS                = 5135
-       SYS_SYSFS                  = 5136
-       SYS_GETPRIORITY            = 5137
-       SYS_SETPRIORITY            = 5138
-       SYS_SCHED_SETPARAM         = 5139
-       SYS_SCHED_GETPARAM         = 5140
-       SYS_SCHED_SETSCHEDULER     = 5141
-       SYS_SCHED_GETSCHEDULER     = 5142
-       SYS_SCHED_GET_PRIORITY_MAX = 5143
-       SYS_SCHED_GET_PRIORITY_MIN = 5144
-       SYS_SCHED_RR_GET_INTERVAL  = 5145
-       SYS_MLOCK                  = 5146
-       SYS_MUNLOCK                = 5147
-       SYS_MLOCKALL               = 5148
-       SYS_MUNLOCKALL             = 5149
-       SYS_VHANGUP                = 5150
-       SYS_PIVOT_ROOT             = 5151
-       SYS__SYSCTL                = 5152
-       SYS_PRCTL                  = 5153
-       SYS_ADJTIMEX               = 5154
-       SYS_SETRLIMIT              = 5155
-       SYS_CHROOT                 = 5156
-       SYS_SYNC                   = 5157
-       SYS_ACCT                   = 5158
-       SYS_SETTIMEOFDAY           = 5159
-       SYS_MOUNT                  = 5160
-       SYS_UMOUNT2                = 5161
-       SYS_SWAPON                 = 5162
-       SYS_SWAPOFF                = 5163
-       SYS_REBOOT                 = 5164
-       SYS_SETHOSTNAME            = 5165
-       SYS_SETDOMAINNAME          = 5166
-       SYS_CREATE_MODULE          = 5167
-       SYS_INIT_MODULE            = 5168
-       SYS_DELETE_MODULE          = 5169
-       SYS_GET_KERNEL_SYMS        = 5170
-       SYS_QUERY_MODULE           = 5171
-       SYS_QUOTACTL               = 5172
-       SYS_NFSSERVCTL             = 5173
-       SYS_GETPMSG                = 5174
-       SYS_PUTPMSG                = 5175
-       SYS_AFS_SYSCALL            = 5176
-       SYS_RESERVED177            = 5177
-       SYS_GETTID                 = 5178
-       SYS_READAHEAD              = 5179
-       SYS_SETXATTR               = 5180
-       SYS_LSETXATTR              = 5181
-       SYS_FSETXATTR              = 5182
-       SYS_GETXATTR               = 5183
-       SYS_LGETXATTR              = 5184
-       SYS_FGETXATTR              = 5185
-       SYS_LISTXATTR              = 5186
-       SYS_LLISTXATTR             = 5187
-       SYS_FLISTXATTR             = 5188
-       SYS_REMOVEXATTR            = 5189
-       SYS_LREMOVEXATTR           = 5190
-       SYS_FREMOVEXATTR           = 5191
-       SYS_TKILL                  = 5192
-       SYS_RESERVED193            = 5193
-       SYS_FUTEX                  = 5194
-       SYS_SCHED_SETAFFINITY      = 5195
-       SYS_SCHED_GETAFFINITY      = 5196
-       SYS_CACHEFLUSH             = 5197
-       SYS_CACHECTL               = 5198
-       SYS_SYSMIPS                = 5199
-       SYS_IO_SETUP               = 5200
-       SYS_IO_DESTROY             = 5201
-       SYS_IO_GETEVENTS           = 5202
-       SYS_IO_SUBMIT              = 5203
-       SYS_IO_CANCEL              = 5204
-       SYS_EXIT_GROUP             = 5205
-       SYS_LOOKUP_DCOOKIE         = 5206
-       SYS_EPOLL_CREATE           = 5207
-       SYS_EPOLL_CTL              = 5208
-       SYS_EPOLL_WAIT             = 5209
-       SYS_REMAP_FILE_PAGES       = 5210
-       SYS_RT_SIGRETURN           = 5211
-       SYS_SET_TID_ADDRESS        = 5212
-       SYS_RESTART_SYSCALL        = 5213
-       SYS_SEMTIMEDOP             = 5214
-       SYS_FADVISE64              = 5215
-       SYS_TIMER_CREATE           = 5216
-       SYS_TIMER_SETTIME          = 5217
-       SYS_TIMER_GETTIME          = 5218
-       SYS_TIMER_GETOVERRUN       = 5219
-       SYS_TIMER_DELETE           = 5220
-       SYS_CLOCK_SETTIME          = 5221
-       SYS_CLOCK_GETTIME          = 5222
-       SYS_CLOCK_GETRES           = 5223
-       SYS_CLOCK_NANOSLEEP        = 5224
-       SYS_TGKILL                 = 5225
-       SYS_UTIMES                 = 5226
-       SYS_MBIND                  = 5227
-       SYS_GET_MEMPOLICY          = 5228
-       SYS_SET_MEMPOLICY          = 5229
-       SYS_MQ_OPEN                = 5230
-       SYS_MQ_UNLINK              = 5231
-       SYS_MQ_TIMEDSEND           = 5232
-       SYS_MQ_TIMEDRECEIVE        = 5233
-       SYS_MQ_NOTIFY              = 5234
-       SYS_MQ_GETSETATTR          = 5235
-       SYS_VSERVER                = 5236
-       SYS_WAITID                 = 5237
-       SYS_ADD_KEY                = 5239
-       SYS_REQUEST_KEY            = 5240
-       SYS_KEYCTL                 = 5241
-       SYS_SET_THREAD_AREA        = 5242
-       SYS_INOTIFY_INIT           = 5243
-       SYS_INOTIFY_ADD_WATCH      = 5244
-       SYS_INOTIFY_RM_WATCH       = 5245
-       SYS_MIGRATE_PAGES          = 5246
-       SYS_OPENAT                 = 5247
-       SYS_MKDIRAT                = 5248
-       SYS_MKNODAT                = 5249
-       SYS_FCHOWNAT               = 5250
-       SYS_FUTIMESAT              = 5251
-       SYS_NEWFSTATAT             = 5252
-       SYS_UNLINKAT               = 5253
-       SYS_RENAMEAT               = 5254
-       SYS_LINKAT                 = 5255
-       SYS_SYMLINKAT              = 5256
-       SYS_READLINKAT             = 5257
-       SYS_FCHMODAT               = 5258
-       SYS_FACCESSAT              = 5259
-       SYS_PSELECT6               = 5260
-       SYS_PPOLL                  = 5261
-       SYS_UNSHARE                = 5262
-       SYS_SPLICE                 = 5263
-       SYS_SYNC_FILE_RANGE        = 5264
-       SYS_TEE                    = 5265
-       SYS_VMSPLICE               = 5266
-       SYS_MOVE_PAGES             = 5267
-       SYS_SET_ROBUST_LIST        = 5268
-       SYS_GET_ROBUST_LIST        = 5269
-       SYS_KEXEC_LOAD             = 5270
-       SYS_GETCPU                 = 5271
-       SYS_EPOLL_PWAIT            = 5272
-       SYS_IOPRIO_SET             = 5273
-       SYS_IOPRIO_GET             = 5274
-       SYS_UTIMENSAT              = 5275
-       SYS_SIGNALFD               = 5276
-       SYS_TIMERFD                = 5277
-       SYS_EVENTFD                = 5278
-       SYS_FALLOCATE              = 5279
-       SYS_TIMERFD_CREATE         = 5280
-       SYS_TIMERFD_GETTIME        = 5281
-       SYS_TIMERFD_SETTIME        = 5282
-       SYS_SIGNALFD4              = 5283
-       SYS_EVENTFD2               = 5284
-       SYS_EPOLL_CREATE1          = 5285
-       SYS_DUP3                   = 5286
-       SYS_PIPE2                  = 5287
-       SYS_INOTIFY_INIT1          = 5288
-       SYS_PREADV                 = 5289
-       SYS_PWRITEV                = 5290
-       SYS_RT_TGSIGQUEUEINFO      = 5291
-       SYS_PERF_EVENT_OPEN        = 5292
-       SYS_ACCEPT4                = 5293
-       SYS_RECVMMSG               = 5294
-       SYS_FANOTIFY_INIT          = 5295
-       SYS_FANOTIFY_MARK          = 5296
-       SYS_PRLIMIT64              = 5297
-       SYS_NAME_TO_HANDLE_AT      = 5298
-       SYS_OPEN_BY_HANDLE_AT      = 5299
-       SYS_CLOCK_ADJTIME          = 5300
-       SYS_SYNCFS                 = 5301
-       SYS_SENDMMSG               = 5302
-       SYS_SETNS                  = 5303
-       SYS_PROCESS_VM_READV       = 5304
-       SYS_PROCESS_VM_WRITEV      = 5305
-       SYS_KCMP                   = 5306
-       SYS_FINIT_MODULE           = 5307
-       SYS_GETDENTS64             = 5308
-       SYS_SCHED_SETATTR          = 5309
-       SYS_SCHED_GETATTR          = 5310
-       SYS_RENAMEAT2              = 5311
-       SYS_SECCOMP                = 5312
-       SYS_GETRANDOM              = 5313
-       SYS_MEMFD_CREATE           = 5314
-       SYS_BPF                    = 5315
-       SYS_EXECVEAT               = 5316
-       SYS_USERFAULTFD            = 5317
-       SYS_MEMBARRIER             = 5318
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
deleted file mode 100644 (file)
index e1b08f0..0000000
+++ /dev/null
@@ -1,360 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build ppc64,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAITPID                = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BREAK                  = 17
-       SYS_OLDSTAT                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_OLDFSTAT               = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_STTY                   = 31
-       SYS_GTTY                   = 32
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_FTIME                  = 35
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_PROF                   = 44
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_LOCK                   = 53
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_MPX                    = 56
-       SYS_SETPGID                = 57
-       SYS_ULIMIT                 = 58
-       SYS_OLDOLDUNAME            = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SGETMASK               = 68
-       SYS_SSETMASK               = 69
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_OLDLSTAT               = 84
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_PROFIL                 = 98
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_IOPERM                 = 101
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_OLDUNAME               = 109
-       SYS_IOPL                   = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_VM86                   = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_MODIFY_LDT             = 123
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_QUERY_MODULE           = 166
-       SYS_POLL                   = 167
-       SYS_NFSSERVCTL             = 168
-       SYS_SETRESGID              = 169
-       SYS_GETRESGID              = 170
-       SYS_PRCTL                  = 171
-       SYS_RT_SIGRETURN           = 172
-       SYS_RT_SIGACTION           = 173
-       SYS_RT_SIGPROCMASK         = 174
-       SYS_RT_SIGPENDING          = 175
-       SYS_RT_SIGTIMEDWAIT        = 176
-       SYS_RT_SIGQUEUEINFO        = 177
-       SYS_RT_SIGSUSPEND          = 178
-       SYS_PREAD64                = 179
-       SYS_PWRITE64               = 180
-       SYS_CHOWN                  = 181
-       SYS_GETCWD                 = 182
-       SYS_CAPGET                 = 183
-       SYS_CAPSET                 = 184
-       SYS_SIGALTSTACK            = 185
-       SYS_SENDFILE               = 186
-       SYS_GETPMSG                = 187
-       SYS_PUTPMSG                = 188
-       SYS_VFORK                  = 189
-       SYS_UGETRLIMIT             = 190
-       SYS_READAHEAD              = 191
-       SYS_PCICONFIG_READ         = 198
-       SYS_PCICONFIG_WRITE        = 199
-       SYS_PCICONFIG_IOBASE       = 200
-       SYS_MULTIPLEXER            = 201
-       SYS_GETDENTS64             = 202
-       SYS_PIVOT_ROOT             = 203
-       SYS_MADVISE                = 205
-       SYS_MINCORE                = 206
-       SYS_GETTID                 = 207
-       SYS_TKILL                  = 208
-       SYS_SETXATTR               = 209
-       SYS_LSETXATTR              = 210
-       SYS_FSETXATTR              = 211
-       SYS_GETXATTR               = 212
-       SYS_LGETXATTR              = 213
-       SYS_FGETXATTR              = 214
-       SYS_LISTXATTR              = 215
-       SYS_LLISTXATTR             = 216
-       SYS_FLISTXATTR             = 217
-       SYS_REMOVEXATTR            = 218
-       SYS_LREMOVEXATTR           = 219
-       SYS_FREMOVEXATTR           = 220
-       SYS_FUTEX                  = 221
-       SYS_SCHED_SETAFFINITY      = 222
-       SYS_SCHED_GETAFFINITY      = 223
-       SYS_TUXCALL                = 225
-       SYS_IO_SETUP               = 227
-       SYS_IO_DESTROY             = 228
-       SYS_IO_GETEVENTS           = 229
-       SYS_IO_SUBMIT              = 230
-       SYS_IO_CANCEL              = 231
-       SYS_SET_TID_ADDRESS        = 232
-       SYS_FADVISE64              = 233
-       SYS_EXIT_GROUP             = 234
-       SYS_LOOKUP_DCOOKIE         = 235
-       SYS_EPOLL_CREATE           = 236
-       SYS_EPOLL_CTL              = 237
-       SYS_EPOLL_WAIT             = 238
-       SYS_REMAP_FILE_PAGES       = 239
-       SYS_TIMER_CREATE           = 240
-       SYS_TIMER_SETTIME          = 241
-       SYS_TIMER_GETTIME          = 242
-       SYS_TIMER_GETOVERRUN       = 243
-       SYS_TIMER_DELETE           = 244
-       SYS_CLOCK_SETTIME          = 245
-       SYS_CLOCK_GETTIME          = 246
-       SYS_CLOCK_GETRES           = 247
-       SYS_CLOCK_NANOSLEEP        = 248
-       SYS_SWAPCONTEXT            = 249
-       SYS_TGKILL                 = 250
-       SYS_UTIMES                 = 251
-       SYS_STATFS64               = 252
-       SYS_FSTATFS64              = 253
-       SYS_RTAS                   = 255
-       SYS_SYS_DEBUG_SETCONTEXT   = 256
-       SYS_MIGRATE_PAGES          = 258
-       SYS_MBIND                  = 259
-       SYS_GET_MEMPOLICY          = 260
-       SYS_SET_MEMPOLICY          = 261
-       SYS_MQ_OPEN                = 262
-       SYS_MQ_UNLINK              = 263
-       SYS_MQ_TIMEDSEND           = 264
-       SYS_MQ_TIMEDRECEIVE        = 265
-       SYS_MQ_NOTIFY              = 266
-       SYS_MQ_GETSETATTR          = 267
-       SYS_KEXEC_LOAD             = 268
-       SYS_ADD_KEY                = 269
-       SYS_REQUEST_KEY            = 270
-       SYS_KEYCTL                 = 271
-       SYS_WAITID                 = 272
-       SYS_IOPRIO_SET             = 273
-       SYS_IOPRIO_GET             = 274
-       SYS_INOTIFY_INIT           = 275
-       SYS_INOTIFY_ADD_WATCH      = 276
-       SYS_INOTIFY_RM_WATCH       = 277
-       SYS_SPU_RUN                = 278
-       SYS_SPU_CREATE             = 279
-       SYS_PSELECT6               = 280
-       SYS_PPOLL                  = 281
-       SYS_UNSHARE                = 282
-       SYS_SPLICE                 = 283
-       SYS_TEE                    = 284
-       SYS_VMSPLICE               = 285
-       SYS_OPENAT                 = 286
-       SYS_MKDIRAT                = 287
-       SYS_MKNODAT                = 288
-       SYS_FCHOWNAT               = 289
-       SYS_FUTIMESAT              = 290
-       SYS_NEWFSTATAT             = 291
-       SYS_UNLINKAT               = 292
-       SYS_RENAMEAT               = 293
-       SYS_LINKAT                 = 294
-       SYS_SYMLINKAT              = 295
-       SYS_READLINKAT             = 296
-       SYS_FCHMODAT               = 297
-       SYS_FACCESSAT              = 298
-       SYS_GET_ROBUST_LIST        = 299
-       SYS_SET_ROBUST_LIST        = 300
-       SYS_MOVE_PAGES             = 301
-       SYS_GETCPU                 = 302
-       SYS_EPOLL_PWAIT            = 303
-       SYS_UTIMENSAT              = 304
-       SYS_SIGNALFD               = 305
-       SYS_TIMERFD_CREATE         = 306
-       SYS_EVENTFD                = 307
-       SYS_SYNC_FILE_RANGE2       = 308
-       SYS_FALLOCATE              = 309
-       SYS_SUBPAGE_PROT           = 310
-       SYS_TIMERFD_SETTIME        = 311
-       SYS_TIMERFD_GETTIME        = 312
-       SYS_SIGNALFD4              = 313
-       SYS_EVENTFD2               = 314
-       SYS_EPOLL_CREATE1          = 315
-       SYS_DUP3                   = 316
-       SYS_PIPE2                  = 317
-       SYS_INOTIFY_INIT1          = 318
-       SYS_PERF_EVENT_OPEN        = 319
-       SYS_PREADV                 = 320
-       SYS_PWRITEV                = 321
-       SYS_RT_TGSIGQUEUEINFO      = 322
-       SYS_FANOTIFY_INIT          = 323
-       SYS_FANOTIFY_MARK          = 324
-       SYS_PRLIMIT64              = 325
-       SYS_SOCKET                 = 326
-       SYS_BIND                   = 327
-       SYS_CONNECT                = 328
-       SYS_LISTEN                 = 329
-       SYS_ACCEPT                 = 330
-       SYS_GETSOCKNAME            = 331
-       SYS_GETPEERNAME            = 332
-       SYS_SOCKETPAIR             = 333
-       SYS_SEND                   = 334
-       SYS_SENDTO                 = 335
-       SYS_RECV                   = 336
-       SYS_RECVFROM               = 337
-       SYS_SHUTDOWN               = 338
-       SYS_SETSOCKOPT             = 339
-       SYS_GETSOCKOPT             = 340
-       SYS_SENDMSG                = 341
-       SYS_RECVMSG                = 342
-       SYS_RECVMMSG               = 343
-       SYS_ACCEPT4                = 344
-       SYS_NAME_TO_HANDLE_AT      = 345
-       SYS_OPEN_BY_HANDLE_AT      = 346
-       SYS_CLOCK_ADJTIME          = 347
-       SYS_SYNCFS                 = 348
-       SYS_SENDMMSG               = 349
-       SYS_SETNS                  = 350
-       SYS_PROCESS_VM_READV       = 351
-       SYS_PROCESS_VM_WRITEV      = 352
-       SYS_FINIT_MODULE           = 353
-       SYS_KCMP                   = 354
-       SYS_SCHED_SETATTR          = 355
-       SYS_SCHED_GETATTR          = 356
-       SYS_RENAMEAT2              = 357
-       SYS_SECCOMP                = 358
-       SYS_GETRANDOM              = 359
-       SYS_MEMFD_CREATE           = 360
-       SYS_BPF                    = 361
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
deleted file mode 100644 (file)
index 45e63f5..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-// mksysnum_linux.pl /usr/include/powerpc64le-linux-gnu/asm/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build ppc64le,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAITPID                = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BREAK                  = 17
-       SYS_OLDSTAT                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_OLDFSTAT               = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_STTY                   = 31
-       SYS_GTTY                   = 32
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_FTIME                  = 35
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_PROF                   = 44
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_LOCK                   = 53
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_MPX                    = 56
-       SYS_SETPGID                = 57
-       SYS_ULIMIT                 = 58
-       SYS_OLDOLDUNAME            = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SGETMASK               = 68
-       SYS_SSETMASK               = 69
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_OLDLSTAT               = 84
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_PROFIL                 = 98
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_IOPERM                 = 101
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_OLDUNAME               = 109
-       SYS_IOPL                   = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_VM86                   = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_MODIFY_LDT             = 123
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_QUERY_MODULE           = 166
-       SYS_POLL                   = 167
-       SYS_NFSSERVCTL             = 168
-       SYS_SETRESGID              = 169
-       SYS_GETRESGID              = 170
-       SYS_PRCTL                  = 171
-       SYS_RT_SIGRETURN           = 172
-       SYS_RT_SIGACTION           = 173
-       SYS_RT_SIGPROCMASK         = 174
-       SYS_RT_SIGPENDING          = 175
-       SYS_RT_SIGTIMEDWAIT        = 176
-       SYS_RT_SIGQUEUEINFO        = 177
-       SYS_RT_SIGSUSPEND          = 178
-       SYS_PREAD64                = 179
-       SYS_PWRITE64               = 180
-       SYS_CHOWN                  = 181
-       SYS_GETCWD                 = 182
-       SYS_CAPGET                 = 183
-       SYS_CAPSET                 = 184
-       SYS_SIGALTSTACK            = 185
-       SYS_SENDFILE               = 186
-       SYS_GETPMSG                = 187
-       SYS_PUTPMSG                = 188
-       SYS_VFORK                  = 189
-       SYS_UGETRLIMIT             = 190
-       SYS_READAHEAD              = 191
-       SYS_PCICONFIG_READ         = 198
-       SYS_PCICONFIG_WRITE        = 199
-       SYS_PCICONFIG_IOBASE       = 200
-       SYS_MULTIPLEXER            = 201
-       SYS_GETDENTS64             = 202
-       SYS_PIVOT_ROOT             = 203
-       SYS_MADVISE                = 205
-       SYS_MINCORE                = 206
-       SYS_GETTID                 = 207
-       SYS_TKILL                  = 208
-       SYS_SETXATTR               = 209
-       SYS_LSETXATTR              = 210
-       SYS_FSETXATTR              = 211
-       SYS_GETXATTR               = 212
-       SYS_LGETXATTR              = 213
-       SYS_FGETXATTR              = 214
-       SYS_LISTXATTR              = 215
-       SYS_LLISTXATTR             = 216
-       SYS_FLISTXATTR             = 217
-       SYS_REMOVEXATTR            = 218
-       SYS_LREMOVEXATTR           = 219
-       SYS_FREMOVEXATTR           = 220
-       SYS_FUTEX                  = 221
-       SYS_SCHED_SETAFFINITY      = 222
-       SYS_SCHED_GETAFFINITY      = 223
-       SYS_TUXCALL                = 225
-       SYS_IO_SETUP               = 227
-       SYS_IO_DESTROY             = 228
-       SYS_IO_GETEVENTS           = 229
-       SYS_IO_SUBMIT              = 230
-       SYS_IO_CANCEL              = 231
-       SYS_SET_TID_ADDRESS        = 232
-       SYS_FADVISE64              = 233
-       SYS_EXIT_GROUP             = 234
-       SYS_LOOKUP_DCOOKIE         = 235
-       SYS_EPOLL_CREATE           = 236
-       SYS_EPOLL_CTL              = 237
-       SYS_EPOLL_WAIT             = 238
-       SYS_REMAP_FILE_PAGES       = 239
-       SYS_TIMER_CREATE           = 240
-       SYS_TIMER_SETTIME          = 241
-       SYS_TIMER_GETTIME          = 242
-       SYS_TIMER_GETOVERRUN       = 243
-       SYS_TIMER_DELETE           = 244
-       SYS_CLOCK_SETTIME          = 245
-       SYS_CLOCK_GETTIME          = 246
-       SYS_CLOCK_GETRES           = 247
-       SYS_CLOCK_NANOSLEEP        = 248
-       SYS_SWAPCONTEXT            = 249
-       SYS_TGKILL                 = 250
-       SYS_UTIMES                 = 251
-       SYS_STATFS64               = 252
-       SYS_FSTATFS64              = 253
-       SYS_RTAS                   = 255
-       SYS_SYS_DEBUG_SETCONTEXT   = 256
-       SYS_MIGRATE_PAGES          = 258
-       SYS_MBIND                  = 259
-       SYS_GET_MEMPOLICY          = 260
-       SYS_SET_MEMPOLICY          = 261
-       SYS_MQ_OPEN                = 262
-       SYS_MQ_UNLINK              = 263
-       SYS_MQ_TIMEDSEND           = 264
-       SYS_MQ_TIMEDRECEIVE        = 265
-       SYS_MQ_NOTIFY              = 266
-       SYS_MQ_GETSETATTR          = 267
-       SYS_KEXEC_LOAD             = 268
-       SYS_ADD_KEY                = 269
-       SYS_REQUEST_KEY            = 270
-       SYS_KEYCTL                 = 271
-       SYS_WAITID                 = 272
-       SYS_IOPRIO_SET             = 273
-       SYS_IOPRIO_GET             = 274
-       SYS_INOTIFY_INIT           = 275
-       SYS_INOTIFY_ADD_WATCH      = 276
-       SYS_INOTIFY_RM_WATCH       = 277
-       SYS_SPU_RUN                = 278
-       SYS_SPU_CREATE             = 279
-       SYS_PSELECT6               = 280
-       SYS_PPOLL                  = 281
-       SYS_UNSHARE                = 282
-       SYS_SPLICE                 = 283
-       SYS_TEE                    = 284
-       SYS_VMSPLICE               = 285
-       SYS_OPENAT                 = 286
-       SYS_MKDIRAT                = 287
-       SYS_MKNODAT                = 288
-       SYS_FCHOWNAT               = 289
-       SYS_FUTIMESAT              = 290
-       SYS_NEWFSTATAT             = 291
-       SYS_UNLINKAT               = 292
-       SYS_RENAMEAT               = 293
-       SYS_LINKAT                 = 294
-       SYS_SYMLINKAT              = 295
-       SYS_READLINKAT             = 296
-       SYS_FCHMODAT               = 297
-       SYS_FACCESSAT              = 298
-       SYS_GET_ROBUST_LIST        = 299
-       SYS_SET_ROBUST_LIST        = 300
-       SYS_MOVE_PAGES             = 301
-       SYS_GETCPU                 = 302
-       SYS_EPOLL_PWAIT            = 303
-       SYS_UTIMENSAT              = 304
-       SYS_SIGNALFD               = 305
-       SYS_TIMERFD_CREATE         = 306
-       SYS_EVENTFD                = 307
-       SYS_SYNC_FILE_RANGE2       = 308
-       SYS_FALLOCATE              = 309
-       SYS_SUBPAGE_PROT           = 310
-       SYS_TIMERFD_SETTIME        = 311
-       SYS_TIMERFD_GETTIME        = 312
-       SYS_SIGNALFD4              = 313
-       SYS_EVENTFD2               = 314
-       SYS_EPOLL_CREATE1          = 315
-       SYS_DUP3                   = 316
-       SYS_PIPE2                  = 317
-       SYS_INOTIFY_INIT1          = 318
-       SYS_PERF_EVENT_OPEN        = 319
-       SYS_PREADV                 = 320
-       SYS_PWRITEV                = 321
-       SYS_RT_TGSIGQUEUEINFO      = 322
-       SYS_FANOTIFY_INIT          = 323
-       SYS_FANOTIFY_MARK          = 324
-       SYS_PRLIMIT64              = 325
-       SYS_SOCKET                 = 326
-       SYS_BIND                   = 327
-       SYS_CONNECT                = 328
-       SYS_LISTEN                 = 329
-       SYS_ACCEPT                 = 330
-       SYS_GETSOCKNAME            = 331
-       SYS_GETPEERNAME            = 332
-       SYS_SOCKETPAIR             = 333
-       SYS_SEND                   = 334
-       SYS_SENDTO                 = 335
-       SYS_RECV                   = 336
-       SYS_RECVFROM               = 337
-       SYS_SHUTDOWN               = 338
-       SYS_SETSOCKOPT             = 339
-       SYS_GETSOCKOPT             = 340
-       SYS_SENDMSG                = 341
-       SYS_RECVMSG                = 342
-       SYS_RECVMMSG               = 343
-       SYS_ACCEPT4                = 344
-       SYS_NAME_TO_HANDLE_AT      = 345
-       SYS_OPEN_BY_HANDLE_AT      = 346
-       SYS_CLOCK_ADJTIME          = 347
-       SYS_SYNCFS                 = 348
-       SYS_SENDMMSG               = 349
-       SYS_SETNS                  = 350
-       SYS_PROCESS_VM_READV       = 351
-       SYS_PROCESS_VM_WRITEV      = 352
-       SYS_FINIT_MODULE           = 353
-       SYS_KCMP                   = 354
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
deleted file mode 100644 (file)
index 42d4f5c..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-// mksysnum_linux.pl /usr/include/asm/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build s390x,linux
-
-package unix
-
-const (
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_RESTART_SYSCALL        = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_BRK                    = 45
-       SYS_SIGNAL                 = 48
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_SETPGID                = 57
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_SYMLINK                = 83
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_LOOKUP_DCOOKIE         = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_GETDENTS               = 141
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_QUERY_MODULE           = 167
-       SYS_POLL                   = 168
-       SYS_NFSSERVCTL             = 169
-       SYS_PRCTL                  = 172
-       SYS_RT_SIGRETURN           = 173
-       SYS_RT_SIGACTION           = 174
-       SYS_RT_SIGPROCMASK         = 175
-       SYS_RT_SIGPENDING          = 176
-       SYS_RT_SIGTIMEDWAIT        = 177
-       SYS_RT_SIGQUEUEINFO        = 178
-       SYS_RT_SIGSUSPEND          = 179
-       SYS_PREAD64                = 180
-       SYS_PWRITE64               = 181
-       SYS_GETCWD                 = 183
-       SYS_CAPGET                 = 184
-       SYS_CAPSET                 = 185
-       SYS_SIGALTSTACK            = 186
-       SYS_SENDFILE               = 187
-       SYS_GETPMSG                = 188
-       SYS_PUTPMSG                = 189
-       SYS_VFORK                  = 190
-       SYS_PIVOT_ROOT             = 217
-       SYS_MINCORE                = 218
-       SYS_MADVISE                = 219
-       SYS_GETDENTS64             = 220
-       SYS_READAHEAD              = 222
-       SYS_SETXATTR               = 224
-       SYS_LSETXATTR              = 225
-       SYS_FSETXATTR              = 226
-       SYS_GETXATTR               = 227
-       SYS_LGETXATTR              = 228
-       SYS_FGETXATTR              = 229
-       SYS_LISTXATTR              = 230
-       SYS_LLISTXATTR             = 231
-       SYS_FLISTXATTR             = 232
-       SYS_REMOVEXATTR            = 233
-       SYS_LREMOVEXATTR           = 234
-       SYS_FREMOVEXATTR           = 235
-       SYS_GETTID                 = 236
-       SYS_TKILL                  = 237
-       SYS_FUTEX                  = 238
-       SYS_SCHED_SETAFFINITY      = 239
-       SYS_SCHED_GETAFFINITY      = 240
-       SYS_TGKILL                 = 241
-       SYS_IO_SETUP               = 243
-       SYS_IO_DESTROY             = 244
-       SYS_IO_GETEVENTS           = 245
-       SYS_IO_SUBMIT              = 246
-       SYS_IO_CANCEL              = 247
-       SYS_EXIT_GROUP             = 248
-       SYS_EPOLL_CREATE           = 249
-       SYS_EPOLL_CTL              = 250
-       SYS_EPOLL_WAIT             = 251
-       SYS_SET_TID_ADDRESS        = 252
-       SYS_FADVISE64              = 253
-       SYS_TIMER_CREATE           = 254
-       SYS_TIMER_SETTIME          = 255
-       SYS_TIMER_GETTIME          = 256
-       SYS_TIMER_GETOVERRUN       = 257
-       SYS_TIMER_DELETE           = 258
-       SYS_CLOCK_SETTIME          = 259
-       SYS_CLOCK_GETTIME          = 260
-       SYS_CLOCK_GETRES           = 261
-       SYS_CLOCK_NANOSLEEP        = 262
-       SYS_STATFS64               = 265
-       SYS_FSTATFS64              = 266
-       SYS_REMAP_FILE_PAGES       = 267
-       SYS_MBIND                  = 268
-       SYS_GET_MEMPOLICY          = 269
-       SYS_SET_MEMPOLICY          = 270
-       SYS_MQ_OPEN                = 271
-       SYS_MQ_UNLINK              = 272
-       SYS_MQ_TIMEDSEND           = 273
-       SYS_MQ_TIMEDRECEIVE        = 274
-       SYS_MQ_NOTIFY              = 275
-       SYS_MQ_GETSETATTR          = 276
-       SYS_KEXEC_LOAD             = 277
-       SYS_ADD_KEY                = 278
-       SYS_REQUEST_KEY            = 279
-       SYS_KEYCTL                 = 280
-       SYS_WAITID                 = 281
-       SYS_IOPRIO_SET             = 282
-       SYS_IOPRIO_GET             = 283
-       SYS_INOTIFY_INIT           = 284
-       SYS_INOTIFY_ADD_WATCH      = 285
-       SYS_INOTIFY_RM_WATCH       = 286
-       SYS_MIGRATE_PAGES          = 287
-       SYS_OPENAT                 = 288
-       SYS_MKDIRAT                = 289
-       SYS_MKNODAT                = 290
-       SYS_FCHOWNAT               = 291
-       SYS_FUTIMESAT              = 292
-       SYS_UNLINKAT               = 294
-       SYS_RENAMEAT               = 295
-       SYS_LINKAT                 = 296
-       SYS_SYMLINKAT              = 297
-       SYS_READLINKAT             = 298
-       SYS_FCHMODAT               = 299
-       SYS_FACCESSAT              = 300
-       SYS_PSELECT6               = 301
-       SYS_PPOLL                  = 302
-       SYS_UNSHARE                = 303
-       SYS_SET_ROBUST_LIST        = 304
-       SYS_GET_ROBUST_LIST        = 305
-       SYS_SPLICE                 = 306
-       SYS_SYNC_FILE_RANGE        = 307
-       SYS_TEE                    = 308
-       SYS_VMSPLICE               = 309
-       SYS_MOVE_PAGES             = 310
-       SYS_GETCPU                 = 311
-       SYS_EPOLL_PWAIT            = 312
-       SYS_UTIMES                 = 313
-       SYS_FALLOCATE              = 314
-       SYS_UTIMENSAT              = 315
-       SYS_SIGNALFD               = 316
-       SYS_TIMERFD                = 317
-       SYS_EVENTFD                = 318
-       SYS_TIMERFD_CREATE         = 319
-       SYS_TIMERFD_SETTIME        = 320
-       SYS_TIMERFD_GETTIME        = 321
-       SYS_SIGNALFD4              = 322
-       SYS_EVENTFD2               = 323
-       SYS_INOTIFY_INIT1          = 324
-       SYS_PIPE2                  = 325
-       SYS_DUP3                   = 326
-       SYS_EPOLL_CREATE1          = 327
-       SYS_PREADV                 = 328
-       SYS_PWRITEV                = 329
-       SYS_RT_TGSIGQUEUEINFO      = 330
-       SYS_PERF_EVENT_OPEN        = 331
-       SYS_FANOTIFY_INIT          = 332
-       SYS_FANOTIFY_MARK          = 333
-       SYS_PRLIMIT64              = 334
-       SYS_NAME_TO_HANDLE_AT      = 335
-       SYS_OPEN_BY_HANDLE_AT      = 336
-       SYS_CLOCK_ADJTIME          = 337
-       SYS_SYNCFS                 = 338
-       SYS_SETNS                  = 339
-       SYS_PROCESS_VM_READV       = 340
-       SYS_PROCESS_VM_WRITEV      = 341
-       SYS_S390_RUNTIME_INSTR     = 342
-       SYS_KCMP                   = 343
-       SYS_FINIT_MODULE           = 344
-       SYS_SCHED_SETATTR          = 345
-       SYS_SCHED_GETATTR          = 346
-       SYS_RENAMEAT2              = 347
-       SYS_SECCOMP                = 348
-       SYS_GETRANDOM              = 349
-       SYS_MEMFD_CREATE           = 350
-       SYS_BPF                    = 351
-       SYS_S390_PCI_MMIO_WRITE    = 352
-       SYS_S390_PCI_MMIO_READ     = 353
-       SYS_EXECVEAT               = 354
-       SYS_USERFAULTFD            = 355
-       SYS_MEMBARRIER             = 356
-       SYS_RECVMMSG               = 357
-       SYS_SENDMMSG               = 358
-       SYS_SOCKET                 = 359
-       SYS_SOCKETPAIR             = 360
-       SYS_BIND                   = 361
-       SYS_CONNECT                = 362
-       SYS_LISTEN                 = 363
-       SYS_ACCEPT4                = 364
-       SYS_GETSOCKOPT             = 365
-       SYS_SETSOCKOPT             = 366
-       SYS_GETSOCKNAME            = 367
-       SYS_GETPEERNAME            = 368
-       SYS_SENDTO                 = 369
-       SYS_SENDMSG                = 370
-       SYS_RECVFROM               = 371
-       SYS_RECVMSG                = 372
-       SYS_SHUTDOWN               = 373
-       SYS_MLOCK2                 = 374
-       SYS_SELECT                 = 142
-       SYS_GETRLIMIT              = 191
-       SYS_LCHOWN                 = 198
-       SYS_GETUID                 = 199
-       SYS_GETGID                 = 200
-       SYS_GETEUID                = 201
-       SYS_GETEGID                = 202
-       SYS_SETREUID               = 203
-       SYS_SETREGID               = 204
-       SYS_GETGROUPS              = 205
-       SYS_SETGROUPS              = 206
-       SYS_FCHOWN                 = 207
-       SYS_SETRESUID              = 208
-       SYS_GETRESUID              = 209
-       SYS_SETRESGID              = 210
-       SYS_GETRESGID              = 211
-       SYS_CHOWN                  = 212
-       SYS_SETUID                 = 213
-       SYS_SETGID                 = 214
-       SYS_SETFSUID               = 215
-       SYS_SETFSGID               = 216
-       SYS_NEWFSTATAT             = 293
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
deleted file mode 100644 (file)
index f60d8f9..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-// mksysnum_netbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,netbsd
-
-package unix
-
-const (
-       SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
-       SYS_FORK                 = 2   // { int|sys||fork(void); }
-       SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE                = 4   // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN                 = 5   // { int|sys||open(const char *path, int flags, ... mode_t mode); }
-       SYS_CLOSE                = 6   // { int|sys||close(int fd); }
-       SYS_LINK                 = 9   // { int|sys||link(const char *path, const char *link); }
-       SYS_UNLINK               = 10  // { int|sys||unlink(const char *path); }
-       SYS_CHDIR                = 12  // { int|sys||chdir(const char *path); }
-       SYS_FCHDIR               = 13  // { int|sys||fchdir(int fd); }
-       SYS_CHMOD                = 15  // { int|sys||chmod(const char *path, mode_t mode); }
-       SYS_CHOWN                = 16  // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
-       SYS_BREAK                = 17  // { int|sys||obreak(char *nsize); }
-       SYS_GETPID               = 20  // { pid_t|sys||getpid_with_ppid(void); }
-       SYS_UNMOUNT              = 22  // { int|sys||unmount(const char *path, int flags); }
-       SYS_SETUID               = 23  // { int|sys||setuid(uid_t uid); }
-       SYS_GETUID               = 24  // { uid_t|sys||getuid_with_euid(void); }
-       SYS_GETEUID              = 25  // { uid_t|sys||geteuid(void); }
-       SYS_PTRACE               = 26  // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
-       SYS_RECVMSG              = 27  // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG              = 28  // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
-       SYS_RECVFROM             = 29  // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
-       SYS_ACCEPT               = 30  // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
-       SYS_GETPEERNAME          = 31  // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_GETSOCKNAME          = 32  // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_ACCESS               = 33  // { int|sys||access(const char *path, int flags); }
-       SYS_CHFLAGS              = 34  // { int|sys||chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS             = 35  // { int|sys||fchflags(int fd, u_long flags); }
-       SYS_SYNC                 = 36  // { void|sys||sync(void); }
-       SYS_KILL                 = 37  // { int|sys||kill(pid_t pid, int signum); }
-       SYS_GETPPID              = 39  // { pid_t|sys||getppid(void); }
-       SYS_DUP                  = 41  // { int|sys||dup(int fd); }
-       SYS_PIPE                 = 42  // { int|sys||pipe(void); }
-       SYS_GETEGID              = 43  // { gid_t|sys||getegid(void); }
-       SYS_PROFIL               = 44  // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
-       SYS_KTRACE               = 45  // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
-       SYS_GETGID               = 47  // { gid_t|sys||getgid_with_egid(void); }
-       SYS___GETLOGIN           = 49  // { int|sys||__getlogin(char *namebuf, size_t namelen); }
-       SYS___SETLOGIN           = 50  // { int|sys||__setlogin(const char *namebuf); }
-       SYS_ACCT                 = 51  // { int|sys||acct(const char *path); }
-       SYS_IOCTL                = 54  // { int|sys||ioctl(int fd, u_long com, ... void *data); }
-       SYS_REVOKE               = 56  // { int|sys||revoke(const char *path); }
-       SYS_SYMLINK              = 57  // { int|sys||symlink(const char *path, const char *link); }
-       SYS_READLINK             = 58  // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
-       SYS_EXECVE               = 59  // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
-       SYS_UMASK                = 60  // { mode_t|sys||umask(mode_t newmask); }
-       SYS_CHROOT               = 61  // { int|sys||chroot(const char *path); }
-       SYS_VFORK                = 66  // { int|sys||vfork(void); }
-       SYS_SBRK                 = 69  // { int|sys||sbrk(intptr_t incr); }
-       SYS_SSTK                 = 70  // { int|sys||sstk(int incr); }
-       SYS_VADVISE              = 72  // { int|sys||ovadvise(int anom); }
-       SYS_MUNMAP               = 73  // { int|sys||munmap(void *addr, size_t len); }
-       SYS_MPROTECT             = 74  // { int|sys||mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE              = 75  // { int|sys||madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE              = 78  // { int|sys||mincore(void *addr, size_t len, char *vec); }
-       SYS_GETGROUPS            = 79  // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS            = 80  // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
-       SYS_GETPGRP              = 81  // { int|sys||getpgrp(void); }
-       SYS_SETPGID              = 82  // { int|sys||setpgid(pid_t pid, pid_t pgid); }
-       SYS_DUP2                 = 90  // { int|sys||dup2(int from, int to); }
-       SYS_FCNTL                = 92  // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
-       SYS_FSYNC                = 95  // { int|sys||fsync(int fd); }
-       SYS_SETPRIORITY          = 96  // { int|sys||setpriority(int which, id_t who, int prio); }
-       SYS_CONNECT              = 98  // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_GETPRIORITY          = 100 // { int|sys||getpriority(int which, id_t who); }
-       SYS_BIND                 = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_SETSOCKOPT           = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
-       SYS_LISTEN               = 106 // { int|sys||listen(int s, int backlog); }
-       SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
-       SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_FCHOWN               = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD               = 124 // { int|sys||fchmod(int fd, mode_t mode); }
-       SYS_SETREUID             = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID             = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME               = 128 // { int|sys||rename(const char *from, const char *to); }
-       SYS_FLOCK                = 131 // { int|sys||flock(int fd, int how); }
-       SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
-       SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
-       SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
-       SYS_MKDIR                = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR                = 137 // { int|sys||rmdir(const char *path); }
-       SYS_SETSID               = 147 // { int|sys||setsid(void); }
-       SYS_SYSARCH              = 165 // { int|sys||sysarch(int op, void *parms); }
-       SYS_PREAD                = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_PWRITE               = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
-       SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
-       SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
-       SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
-       SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
-       SYS_FPATHCONF            = 192 // { long|sys||fpathconf(int fd, int name); }
-       SYS_GETRLIMIT            = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
-       SYS_SETRLIMIT            = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
-       SYS_MMAP                 = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
-       SYS_LSEEK                = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
-       SYS_TRUNCATE             = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
-       SYS_FTRUNCATE            = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
-       SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
-       SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
-       SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
-       SYS_GETPGID              = 207 // { pid_t|sys||getpgid(pid_t pid); }
-       SYS_REBOOT               = 208 // { int|sys||reboot(int opt, char *bootstr); }
-       SYS_POLL                 = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
-       SYS_SEMGET               = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
-       SYS_SEMCONFIG            = 223 // { int|sys||semconfig(int flag); }
-       SYS_MSGGET               = 225 // { int|sys||msgget(key_t key, int msgflg); }
-       SYS_MSGSND               = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
-       SYS_MSGRCV               = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
-       SYS_SHMAT                = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
-       SYS_SHMDT                = 230 // { int|sys||shmdt(const void *shmaddr); }
-       SYS_SHMGET               = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
-       SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
-       SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
-       SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
-       SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
-       SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
-       SYS_MUNLOCKALL           = 243 // { int|sys||munlockall(void); }
-       SYS_SIGQUEUEINFO         = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
-       SYS_MODCTL               = 246 // { int|sys||modctl(int cmd, void *arg); }
-       SYS___POSIX_RENAME       = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
-       SYS_SWAPCTL              = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
-       SYS_MINHERIT             = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
-       SYS_LCHMOD               = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
-       SYS_LCHOWN               = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_CHOWN        = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_FCHOWN       = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS___POSIX_LCHOWN       = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID               = 286 // { pid_t|sys||getsid(pid_t pid); }
-       SYS___CLONE              = 287 // { pid_t|sys||__clone(int flags, void *stack); }
-       SYS_FKTRACE              = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
-       SYS_PREADV               = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS_PWRITEV              = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS___GETCWD             = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
-       SYS_FCHROOT              = 297 // { int|sys||fchroot(int fd); }
-       SYS_LCHFLAGS             = 304 // { int|sys||lchflags(const char *path, u_long flags); }
-       SYS_ISSETUGID            = 305 // { int|sys||issetugid(void); }
-       SYS_UTRACE               = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
-       SYS_GETCONTEXT           = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT           = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
-       SYS__LWP_CREATE          = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
-       SYS__LWP_EXIT            = 310 // { int|sys||_lwp_exit(void); }
-       SYS__LWP_SELF            = 311 // { lwpid_t|sys||_lwp_self(void); }
-       SYS__LWP_WAIT            = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
-       SYS__LWP_SUSPEND         = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
-       SYS__LWP_CONTINUE        = 314 // { int|sys||_lwp_continue(lwpid_t target); }
-       SYS__LWP_WAKEUP          = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
-       SYS__LWP_GETPRIVATE      = 316 // { void *|sys||_lwp_getprivate(void); }
-       SYS__LWP_SETPRIVATE      = 317 // { void|sys||_lwp_setprivate(void *ptr); }
-       SYS__LWP_KILL            = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
-       SYS__LWP_DETACH          = 319 // { int|sys||_lwp_detach(lwpid_t target); }
-       SYS__LWP_UNPARK          = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
-       SYS__LWP_UNPARK_ALL      = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
-       SYS__LWP_SETNAME         = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
-       SYS__LWP_GETNAME         = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
-       SYS__LWP_CTL             = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
-       SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
-       SYS_PMC_GET_INFO         = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
-       SYS_PMC_CONTROL          = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
-       SYS_RASCTL               = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
-       SYS_KQUEUE               = 344 // { int|sys||kqueue(void); }
-       SYS__SCHED_SETPARAM      = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
-       SYS__SCHED_GETPARAM      = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
-       SYS__SCHED_SETAFFINITY   = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
-       SYS__SCHED_GETAFFINITY   = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
-       SYS_SCHED_YIELD          = 350 // { int|sys||sched_yield(void); }
-       SYS_FSYNC_RANGE          = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
-       SYS_UUIDGEN              = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
-       SYS_GETVFSSTAT           = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
-       SYS_STATVFS1             = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
-       SYS_FSTATVFS1            = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
-       SYS_EXTATTRCTL           = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FILE     = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FILE     = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FILE  = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FD       = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FD       = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FD    = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_LINK     = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_LINK     = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_LINK  = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_LIST_FD      = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_FILE    = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_LINK    = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
-       SYS_GETXATTR             = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_LGETXATTR            = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_FGETXATTR            = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
-       SYS_LISTXATTR            = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
-       SYS_LLISTXATTR           = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
-       SYS_FLISTXATTR           = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
-       SYS_REMOVEXATTR          = 384 // { int|sys||removexattr(const char *path, const char *name); }
-       SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
-       SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
-       SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
-       SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
-       SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
-       SYS_MOUNT                = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
-       SYS_MREMAP               = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
-       SYS_PSET_CREATE          = 412 // { int|sys||pset_create(psetid_t *psid); }
-       SYS_PSET_DESTROY         = 413 // { int|sys||pset_destroy(psetid_t psid); }
-       SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
-       SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
-       SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
-       SYS_SELECT               = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
-       SYS_GETTIMEOFDAY         = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
-       SYS_SETTIMEOFDAY         = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
-       SYS_UTIMES               = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
-       SYS_ADJTIME              = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
-       SYS_FUTIMES              = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
-       SYS_LUTIMES              = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
-       SYS_SETITIMER            = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
-       SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
-       SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
-       SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
-       SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
-       SYS_NANOSLEEP            = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
-       SYS___SIGTIMEDWAIT       = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
-       SYS__LWP_PARK            = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
-       SYS_KEVENT               = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
-       SYS_PSELECT              = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
-       SYS_POLLTS               = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
-       SYS_STAT                 = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
-       SYS___SEMCTL             = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
-       SYS_SHMCTL               = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-       SYS_MSGCTL               = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-       SYS_GETRUSAGE            = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
-       SYS_TIMER_SETTIME        = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
-       SYS_TIMER_GETTIME        = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
-       SYS_NTP_GETTIME          = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_WAIT4                = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
-       SYS_MKNOD                = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
-       SYS_FHSTAT               = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
-       SYS_PIPE2                = 453 // { int|sys||pipe2(int *fildes, int flags); }
-       SYS_DUP3                 = 454 // { int|sys||dup3(int from, int to, int flags); }
-       SYS_KQUEUE1              = 455 // { int|sys||kqueue1(int flags); }
-       SYS_PACCEPT              = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
-       SYS_LINKAT               = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
-       SYS_RENAMEAT             = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
-       SYS_MKFIFOAT             = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
-       SYS_MKNODAT              = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
-       SYS_MKDIRAT              = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
-       SYS_FACCESSAT            = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
-       SYS_FCHMODAT             = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
-       SYS_FCHOWNAT             = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
-       SYS_FEXECVE              = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
-       SYS_FSTATAT              = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
-       SYS_UTIMENSAT            = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
-       SYS_OPENAT               = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
-       SYS_READLINKAT           = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
-       SYS_SYMLINKAT            = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
-       SYS_UNLINKAT             = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
-       SYS_FUTIMENS             = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
-       SYS___QUOTACTL           = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
-       SYS_POSIX_SPAWN          = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
-       SYS_RECVMMSG             = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
-       SYS_SENDMMSG             = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
deleted file mode 100644 (file)
index 48a91d4..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-// mksysnum_netbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,netbsd
-
-package unix
-
-const (
-       SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
-       SYS_FORK                 = 2   // { int|sys||fork(void); }
-       SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE                = 4   // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN                 = 5   // { int|sys||open(const char *path, int flags, ... mode_t mode); }
-       SYS_CLOSE                = 6   // { int|sys||close(int fd); }
-       SYS_LINK                 = 9   // { int|sys||link(const char *path, const char *link); }
-       SYS_UNLINK               = 10  // { int|sys||unlink(const char *path); }
-       SYS_CHDIR                = 12  // { int|sys||chdir(const char *path); }
-       SYS_FCHDIR               = 13  // { int|sys||fchdir(int fd); }
-       SYS_CHMOD                = 15  // { int|sys||chmod(const char *path, mode_t mode); }
-       SYS_CHOWN                = 16  // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
-       SYS_BREAK                = 17  // { int|sys||obreak(char *nsize); }
-       SYS_GETPID               = 20  // { pid_t|sys||getpid_with_ppid(void); }
-       SYS_UNMOUNT              = 22  // { int|sys||unmount(const char *path, int flags); }
-       SYS_SETUID               = 23  // { int|sys||setuid(uid_t uid); }
-       SYS_GETUID               = 24  // { uid_t|sys||getuid_with_euid(void); }
-       SYS_GETEUID              = 25  // { uid_t|sys||geteuid(void); }
-       SYS_PTRACE               = 26  // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
-       SYS_RECVMSG              = 27  // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG              = 28  // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
-       SYS_RECVFROM             = 29  // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
-       SYS_ACCEPT               = 30  // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
-       SYS_GETPEERNAME          = 31  // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_GETSOCKNAME          = 32  // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_ACCESS               = 33  // { int|sys||access(const char *path, int flags); }
-       SYS_CHFLAGS              = 34  // { int|sys||chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS             = 35  // { int|sys||fchflags(int fd, u_long flags); }
-       SYS_SYNC                 = 36  // { void|sys||sync(void); }
-       SYS_KILL                 = 37  // { int|sys||kill(pid_t pid, int signum); }
-       SYS_GETPPID              = 39  // { pid_t|sys||getppid(void); }
-       SYS_DUP                  = 41  // { int|sys||dup(int fd); }
-       SYS_PIPE                 = 42  // { int|sys||pipe(void); }
-       SYS_GETEGID              = 43  // { gid_t|sys||getegid(void); }
-       SYS_PROFIL               = 44  // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
-       SYS_KTRACE               = 45  // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
-       SYS_GETGID               = 47  // { gid_t|sys||getgid_with_egid(void); }
-       SYS___GETLOGIN           = 49  // { int|sys||__getlogin(char *namebuf, size_t namelen); }
-       SYS___SETLOGIN           = 50  // { int|sys||__setlogin(const char *namebuf); }
-       SYS_ACCT                 = 51  // { int|sys||acct(const char *path); }
-       SYS_IOCTL                = 54  // { int|sys||ioctl(int fd, u_long com, ... void *data); }
-       SYS_REVOKE               = 56  // { int|sys||revoke(const char *path); }
-       SYS_SYMLINK              = 57  // { int|sys||symlink(const char *path, const char *link); }
-       SYS_READLINK             = 58  // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
-       SYS_EXECVE               = 59  // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
-       SYS_UMASK                = 60  // { mode_t|sys||umask(mode_t newmask); }
-       SYS_CHROOT               = 61  // { int|sys||chroot(const char *path); }
-       SYS_VFORK                = 66  // { int|sys||vfork(void); }
-       SYS_SBRK                 = 69  // { int|sys||sbrk(intptr_t incr); }
-       SYS_SSTK                 = 70  // { int|sys||sstk(int incr); }
-       SYS_VADVISE              = 72  // { int|sys||ovadvise(int anom); }
-       SYS_MUNMAP               = 73  // { int|sys||munmap(void *addr, size_t len); }
-       SYS_MPROTECT             = 74  // { int|sys||mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE              = 75  // { int|sys||madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE              = 78  // { int|sys||mincore(void *addr, size_t len, char *vec); }
-       SYS_GETGROUPS            = 79  // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS            = 80  // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
-       SYS_GETPGRP              = 81  // { int|sys||getpgrp(void); }
-       SYS_SETPGID              = 82  // { int|sys||setpgid(pid_t pid, pid_t pgid); }
-       SYS_DUP2                 = 90  // { int|sys||dup2(int from, int to); }
-       SYS_FCNTL                = 92  // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
-       SYS_FSYNC                = 95  // { int|sys||fsync(int fd); }
-       SYS_SETPRIORITY          = 96  // { int|sys||setpriority(int which, id_t who, int prio); }
-       SYS_CONNECT              = 98  // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_GETPRIORITY          = 100 // { int|sys||getpriority(int which, id_t who); }
-       SYS_BIND                 = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_SETSOCKOPT           = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
-       SYS_LISTEN               = 106 // { int|sys||listen(int s, int backlog); }
-       SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
-       SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_FCHOWN               = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD               = 124 // { int|sys||fchmod(int fd, mode_t mode); }
-       SYS_SETREUID             = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID             = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME               = 128 // { int|sys||rename(const char *from, const char *to); }
-       SYS_FLOCK                = 131 // { int|sys||flock(int fd, int how); }
-       SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
-       SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
-       SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
-       SYS_MKDIR                = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR                = 137 // { int|sys||rmdir(const char *path); }
-       SYS_SETSID               = 147 // { int|sys||setsid(void); }
-       SYS_SYSARCH              = 165 // { int|sys||sysarch(int op, void *parms); }
-       SYS_PREAD                = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_PWRITE               = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
-       SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
-       SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
-       SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
-       SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
-       SYS_FPATHCONF            = 192 // { long|sys||fpathconf(int fd, int name); }
-       SYS_GETRLIMIT            = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
-       SYS_SETRLIMIT            = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
-       SYS_MMAP                 = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
-       SYS_LSEEK                = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
-       SYS_TRUNCATE             = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
-       SYS_FTRUNCATE            = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
-       SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
-       SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
-       SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
-       SYS_GETPGID              = 207 // { pid_t|sys||getpgid(pid_t pid); }
-       SYS_REBOOT               = 208 // { int|sys||reboot(int opt, char *bootstr); }
-       SYS_POLL                 = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
-       SYS_SEMGET               = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
-       SYS_SEMCONFIG            = 223 // { int|sys||semconfig(int flag); }
-       SYS_MSGGET               = 225 // { int|sys||msgget(key_t key, int msgflg); }
-       SYS_MSGSND               = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
-       SYS_MSGRCV               = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
-       SYS_SHMAT                = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
-       SYS_SHMDT                = 230 // { int|sys||shmdt(const void *shmaddr); }
-       SYS_SHMGET               = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
-       SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
-       SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
-       SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
-       SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
-       SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
-       SYS_MUNLOCKALL           = 243 // { int|sys||munlockall(void); }
-       SYS_SIGQUEUEINFO         = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
-       SYS_MODCTL               = 246 // { int|sys||modctl(int cmd, void *arg); }
-       SYS___POSIX_RENAME       = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
-       SYS_SWAPCTL              = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
-       SYS_MINHERIT             = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
-       SYS_LCHMOD               = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
-       SYS_LCHOWN               = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_CHOWN        = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_FCHOWN       = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS___POSIX_LCHOWN       = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID               = 286 // { pid_t|sys||getsid(pid_t pid); }
-       SYS___CLONE              = 287 // { pid_t|sys||__clone(int flags, void *stack); }
-       SYS_FKTRACE              = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
-       SYS_PREADV               = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS_PWRITEV              = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS___GETCWD             = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
-       SYS_FCHROOT              = 297 // { int|sys||fchroot(int fd); }
-       SYS_LCHFLAGS             = 304 // { int|sys||lchflags(const char *path, u_long flags); }
-       SYS_ISSETUGID            = 305 // { int|sys||issetugid(void); }
-       SYS_UTRACE               = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
-       SYS_GETCONTEXT           = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT           = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
-       SYS__LWP_CREATE          = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
-       SYS__LWP_EXIT            = 310 // { int|sys||_lwp_exit(void); }
-       SYS__LWP_SELF            = 311 // { lwpid_t|sys||_lwp_self(void); }
-       SYS__LWP_WAIT            = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
-       SYS__LWP_SUSPEND         = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
-       SYS__LWP_CONTINUE        = 314 // { int|sys||_lwp_continue(lwpid_t target); }
-       SYS__LWP_WAKEUP          = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
-       SYS__LWP_GETPRIVATE      = 316 // { void *|sys||_lwp_getprivate(void); }
-       SYS__LWP_SETPRIVATE      = 317 // { void|sys||_lwp_setprivate(void *ptr); }
-       SYS__LWP_KILL            = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
-       SYS__LWP_DETACH          = 319 // { int|sys||_lwp_detach(lwpid_t target); }
-       SYS__LWP_UNPARK          = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
-       SYS__LWP_UNPARK_ALL      = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
-       SYS__LWP_SETNAME         = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
-       SYS__LWP_GETNAME         = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
-       SYS__LWP_CTL             = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
-       SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
-       SYS_PMC_GET_INFO         = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
-       SYS_PMC_CONTROL          = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
-       SYS_RASCTL               = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
-       SYS_KQUEUE               = 344 // { int|sys||kqueue(void); }
-       SYS__SCHED_SETPARAM      = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
-       SYS__SCHED_GETPARAM      = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
-       SYS__SCHED_SETAFFINITY   = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
-       SYS__SCHED_GETAFFINITY   = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
-       SYS_SCHED_YIELD          = 350 // { int|sys||sched_yield(void); }
-       SYS_FSYNC_RANGE          = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
-       SYS_UUIDGEN              = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
-       SYS_GETVFSSTAT           = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
-       SYS_STATVFS1             = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
-       SYS_FSTATVFS1            = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
-       SYS_EXTATTRCTL           = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FILE     = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FILE     = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FILE  = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FD       = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FD       = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FD    = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_LINK     = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_LINK     = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_LINK  = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_LIST_FD      = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_FILE    = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_LINK    = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
-       SYS_GETXATTR             = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_LGETXATTR            = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_FGETXATTR            = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
-       SYS_LISTXATTR            = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
-       SYS_LLISTXATTR           = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
-       SYS_FLISTXATTR           = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
-       SYS_REMOVEXATTR          = 384 // { int|sys||removexattr(const char *path, const char *name); }
-       SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
-       SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
-       SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
-       SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
-       SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
-       SYS_MOUNT                = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
-       SYS_MREMAP               = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
-       SYS_PSET_CREATE          = 412 // { int|sys||pset_create(psetid_t *psid); }
-       SYS_PSET_DESTROY         = 413 // { int|sys||pset_destroy(psetid_t psid); }
-       SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
-       SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
-       SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
-       SYS_SELECT               = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
-       SYS_GETTIMEOFDAY         = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
-       SYS_SETTIMEOFDAY         = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
-       SYS_UTIMES               = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
-       SYS_ADJTIME              = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
-       SYS_FUTIMES              = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
-       SYS_LUTIMES              = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
-       SYS_SETITIMER            = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
-       SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
-       SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
-       SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
-       SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
-       SYS_NANOSLEEP            = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
-       SYS___SIGTIMEDWAIT       = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
-       SYS__LWP_PARK            = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
-       SYS_KEVENT               = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
-       SYS_PSELECT              = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
-       SYS_POLLTS               = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
-       SYS_STAT                 = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
-       SYS___SEMCTL             = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
-       SYS_SHMCTL               = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-       SYS_MSGCTL               = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-       SYS_GETRUSAGE            = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
-       SYS_TIMER_SETTIME        = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
-       SYS_TIMER_GETTIME        = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
-       SYS_NTP_GETTIME          = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_WAIT4                = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
-       SYS_MKNOD                = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
-       SYS_FHSTAT               = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
-       SYS_PIPE2                = 453 // { int|sys||pipe2(int *fildes, int flags); }
-       SYS_DUP3                 = 454 // { int|sys||dup3(int from, int to, int flags); }
-       SYS_KQUEUE1              = 455 // { int|sys||kqueue1(int flags); }
-       SYS_PACCEPT              = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
-       SYS_LINKAT               = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
-       SYS_RENAMEAT             = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
-       SYS_MKFIFOAT             = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
-       SYS_MKNODAT              = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
-       SYS_MKDIRAT              = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
-       SYS_FACCESSAT            = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
-       SYS_FCHMODAT             = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
-       SYS_FCHOWNAT             = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
-       SYS_FEXECVE              = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
-       SYS_FSTATAT              = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
-       SYS_UTIMENSAT            = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
-       SYS_OPENAT               = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
-       SYS_READLINKAT           = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
-       SYS_SYMLINKAT            = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
-       SYS_UNLINKAT             = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
-       SYS_FUTIMENS             = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
-       SYS___QUOTACTL           = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
-       SYS_POSIX_SPAWN          = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
-       SYS_RECVMMSG             = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
-       SYS_SENDMMSG             = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
deleted file mode 100644 (file)
index 612ba66..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-// mksysnum_netbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,netbsd
-
-package unix
-
-const (
-       SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
-       SYS_FORK                 = 2   // { int|sys||fork(void); }
-       SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE                = 4   // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN                 = 5   // { int|sys||open(const char *path, int flags, ... mode_t mode); }
-       SYS_CLOSE                = 6   // { int|sys||close(int fd); }
-       SYS_LINK                 = 9   // { int|sys||link(const char *path, const char *link); }
-       SYS_UNLINK               = 10  // { int|sys||unlink(const char *path); }
-       SYS_CHDIR                = 12  // { int|sys||chdir(const char *path); }
-       SYS_FCHDIR               = 13  // { int|sys||fchdir(int fd); }
-       SYS_CHMOD                = 15  // { int|sys||chmod(const char *path, mode_t mode); }
-       SYS_CHOWN                = 16  // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
-       SYS_BREAK                = 17  // { int|sys||obreak(char *nsize); }
-       SYS_GETPID               = 20  // { pid_t|sys||getpid_with_ppid(void); }
-       SYS_UNMOUNT              = 22  // { int|sys||unmount(const char *path, int flags); }
-       SYS_SETUID               = 23  // { int|sys||setuid(uid_t uid); }
-       SYS_GETUID               = 24  // { uid_t|sys||getuid_with_euid(void); }
-       SYS_GETEUID              = 25  // { uid_t|sys||geteuid(void); }
-       SYS_PTRACE               = 26  // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
-       SYS_RECVMSG              = 27  // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG              = 28  // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
-       SYS_RECVFROM             = 29  // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
-       SYS_ACCEPT               = 30  // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
-       SYS_GETPEERNAME          = 31  // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_GETSOCKNAME          = 32  // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_ACCESS               = 33  // { int|sys||access(const char *path, int flags); }
-       SYS_CHFLAGS              = 34  // { int|sys||chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS             = 35  // { int|sys||fchflags(int fd, u_long flags); }
-       SYS_SYNC                 = 36  // { void|sys||sync(void); }
-       SYS_KILL                 = 37  // { int|sys||kill(pid_t pid, int signum); }
-       SYS_GETPPID              = 39  // { pid_t|sys||getppid(void); }
-       SYS_DUP                  = 41  // { int|sys||dup(int fd); }
-       SYS_PIPE                 = 42  // { int|sys||pipe(void); }
-       SYS_GETEGID              = 43  // { gid_t|sys||getegid(void); }
-       SYS_PROFIL               = 44  // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
-       SYS_KTRACE               = 45  // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
-       SYS_GETGID               = 47  // { gid_t|sys||getgid_with_egid(void); }
-       SYS___GETLOGIN           = 49  // { int|sys||__getlogin(char *namebuf, size_t namelen); }
-       SYS___SETLOGIN           = 50  // { int|sys||__setlogin(const char *namebuf); }
-       SYS_ACCT                 = 51  // { int|sys||acct(const char *path); }
-       SYS_IOCTL                = 54  // { int|sys||ioctl(int fd, u_long com, ... void *data); }
-       SYS_REVOKE               = 56  // { int|sys||revoke(const char *path); }
-       SYS_SYMLINK              = 57  // { int|sys||symlink(const char *path, const char *link); }
-       SYS_READLINK             = 58  // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
-       SYS_EXECVE               = 59  // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
-       SYS_UMASK                = 60  // { mode_t|sys||umask(mode_t newmask); }
-       SYS_CHROOT               = 61  // { int|sys||chroot(const char *path); }
-       SYS_VFORK                = 66  // { int|sys||vfork(void); }
-       SYS_SBRK                 = 69  // { int|sys||sbrk(intptr_t incr); }
-       SYS_SSTK                 = 70  // { int|sys||sstk(int incr); }
-       SYS_VADVISE              = 72  // { int|sys||ovadvise(int anom); }
-       SYS_MUNMAP               = 73  // { int|sys||munmap(void *addr, size_t len); }
-       SYS_MPROTECT             = 74  // { int|sys||mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE              = 75  // { int|sys||madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE              = 78  // { int|sys||mincore(void *addr, size_t len, char *vec); }
-       SYS_GETGROUPS            = 79  // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS            = 80  // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
-       SYS_GETPGRP              = 81  // { int|sys||getpgrp(void); }
-       SYS_SETPGID              = 82  // { int|sys||setpgid(pid_t pid, pid_t pgid); }
-       SYS_DUP2                 = 90  // { int|sys||dup2(int from, int to); }
-       SYS_FCNTL                = 92  // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
-       SYS_FSYNC                = 95  // { int|sys||fsync(int fd); }
-       SYS_SETPRIORITY          = 96  // { int|sys||setpriority(int which, id_t who, int prio); }
-       SYS_CONNECT              = 98  // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_GETPRIORITY          = 100 // { int|sys||getpriority(int which, id_t who); }
-       SYS_BIND                 = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_SETSOCKOPT           = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
-       SYS_LISTEN               = 106 // { int|sys||listen(int s, int backlog); }
-       SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
-       SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_FCHOWN               = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD               = 124 // { int|sys||fchmod(int fd, mode_t mode); }
-       SYS_SETREUID             = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID             = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME               = 128 // { int|sys||rename(const char *from, const char *to); }
-       SYS_FLOCK                = 131 // { int|sys||flock(int fd, int how); }
-       SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
-       SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
-       SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
-       SYS_MKDIR                = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR                = 137 // { int|sys||rmdir(const char *path); }
-       SYS_SETSID               = 147 // { int|sys||setsid(void); }
-       SYS_SYSARCH              = 165 // { int|sys||sysarch(int op, void *parms); }
-       SYS_PREAD                = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_PWRITE               = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
-       SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
-       SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
-       SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
-       SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
-       SYS_FPATHCONF            = 192 // { long|sys||fpathconf(int fd, int name); }
-       SYS_GETRLIMIT            = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
-       SYS_SETRLIMIT            = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
-       SYS_MMAP                 = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
-       SYS_LSEEK                = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
-       SYS_TRUNCATE             = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
-       SYS_FTRUNCATE            = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
-       SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
-       SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
-       SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
-       SYS_GETPGID              = 207 // { pid_t|sys||getpgid(pid_t pid); }
-       SYS_REBOOT               = 208 // { int|sys||reboot(int opt, char *bootstr); }
-       SYS_POLL                 = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
-       SYS_SEMGET               = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
-       SYS_SEMCONFIG            = 223 // { int|sys||semconfig(int flag); }
-       SYS_MSGGET               = 225 // { int|sys||msgget(key_t key, int msgflg); }
-       SYS_MSGSND               = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
-       SYS_MSGRCV               = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
-       SYS_SHMAT                = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
-       SYS_SHMDT                = 230 // { int|sys||shmdt(const void *shmaddr); }
-       SYS_SHMGET               = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
-       SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
-       SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
-       SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
-       SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
-       SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
-       SYS_MUNLOCKALL           = 243 // { int|sys||munlockall(void); }
-       SYS_SIGQUEUEINFO         = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
-       SYS_MODCTL               = 246 // { int|sys||modctl(int cmd, void *arg); }
-       SYS___POSIX_RENAME       = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
-       SYS_SWAPCTL              = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
-       SYS_MINHERIT             = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
-       SYS_LCHMOD               = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
-       SYS_LCHOWN               = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_CHOWN        = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_FCHOWN       = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS___POSIX_LCHOWN       = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID               = 286 // { pid_t|sys||getsid(pid_t pid); }
-       SYS___CLONE              = 287 // { pid_t|sys||__clone(int flags, void *stack); }
-       SYS_FKTRACE              = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
-       SYS_PREADV               = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS_PWRITEV              = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS___GETCWD             = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
-       SYS_FCHROOT              = 297 // { int|sys||fchroot(int fd); }
-       SYS_LCHFLAGS             = 304 // { int|sys||lchflags(const char *path, u_long flags); }
-       SYS_ISSETUGID            = 305 // { int|sys||issetugid(void); }
-       SYS_UTRACE               = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
-       SYS_GETCONTEXT           = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT           = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
-       SYS__LWP_CREATE          = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
-       SYS__LWP_EXIT            = 310 // { int|sys||_lwp_exit(void); }
-       SYS__LWP_SELF            = 311 // { lwpid_t|sys||_lwp_self(void); }
-       SYS__LWP_WAIT            = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
-       SYS__LWP_SUSPEND         = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
-       SYS__LWP_CONTINUE        = 314 // { int|sys||_lwp_continue(lwpid_t target); }
-       SYS__LWP_WAKEUP          = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
-       SYS__LWP_GETPRIVATE      = 316 // { void *|sys||_lwp_getprivate(void); }
-       SYS__LWP_SETPRIVATE      = 317 // { void|sys||_lwp_setprivate(void *ptr); }
-       SYS__LWP_KILL            = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
-       SYS__LWP_DETACH          = 319 // { int|sys||_lwp_detach(lwpid_t target); }
-       SYS__LWP_UNPARK          = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
-       SYS__LWP_UNPARK_ALL      = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
-       SYS__LWP_SETNAME         = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
-       SYS__LWP_GETNAME         = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
-       SYS__LWP_CTL             = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
-       SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
-       SYS_PMC_GET_INFO         = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
-       SYS_PMC_CONTROL          = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
-       SYS_RASCTL               = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
-       SYS_KQUEUE               = 344 // { int|sys||kqueue(void); }
-       SYS__SCHED_SETPARAM      = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
-       SYS__SCHED_GETPARAM      = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
-       SYS__SCHED_SETAFFINITY   = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
-       SYS__SCHED_GETAFFINITY   = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
-       SYS_SCHED_YIELD          = 350 // { int|sys||sched_yield(void); }
-       SYS_FSYNC_RANGE          = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
-       SYS_UUIDGEN              = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
-       SYS_GETVFSSTAT           = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
-       SYS_STATVFS1             = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
-       SYS_FSTATVFS1            = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
-       SYS_EXTATTRCTL           = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FILE     = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FILE     = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FILE  = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FD       = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FD       = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FD    = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_LINK     = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_LINK     = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_LINK  = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_LIST_FD      = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_FILE    = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_LINK    = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
-       SYS_GETXATTR             = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_LGETXATTR            = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_FGETXATTR            = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
-       SYS_LISTXATTR            = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
-       SYS_LLISTXATTR           = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
-       SYS_FLISTXATTR           = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
-       SYS_REMOVEXATTR          = 384 // { int|sys||removexattr(const char *path, const char *name); }
-       SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
-       SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
-       SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
-       SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
-       SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
-       SYS_MOUNT                = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
-       SYS_MREMAP               = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
-       SYS_PSET_CREATE          = 412 // { int|sys||pset_create(psetid_t *psid); }
-       SYS_PSET_DESTROY         = 413 // { int|sys||pset_destroy(psetid_t psid); }
-       SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
-       SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
-       SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
-       SYS_SELECT               = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
-       SYS_GETTIMEOFDAY         = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
-       SYS_SETTIMEOFDAY         = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
-       SYS_UTIMES               = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
-       SYS_ADJTIME              = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
-       SYS_FUTIMES              = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
-       SYS_LUTIMES              = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
-       SYS_SETITIMER            = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
-       SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
-       SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
-       SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
-       SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
-       SYS_NANOSLEEP            = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
-       SYS___SIGTIMEDWAIT       = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
-       SYS__LWP_PARK            = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
-       SYS_KEVENT               = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
-       SYS_PSELECT              = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
-       SYS_POLLTS               = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
-       SYS_STAT                 = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
-       SYS___SEMCTL             = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
-       SYS_SHMCTL               = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-       SYS_MSGCTL               = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-       SYS_GETRUSAGE            = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
-       SYS_TIMER_SETTIME        = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
-       SYS_TIMER_GETTIME        = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
-       SYS_NTP_GETTIME          = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_WAIT4                = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
-       SYS_MKNOD                = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
-       SYS_FHSTAT               = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
-       SYS_PIPE2                = 453 // { int|sys||pipe2(int *fildes, int flags); }
-       SYS_DUP3                 = 454 // { int|sys||dup3(int from, int to, int flags); }
-       SYS_KQUEUE1              = 455 // { int|sys||kqueue1(int flags); }
-       SYS_PACCEPT              = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
-       SYS_LINKAT               = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
-       SYS_RENAMEAT             = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
-       SYS_MKFIFOAT             = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
-       SYS_MKNODAT              = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
-       SYS_MKDIRAT              = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
-       SYS_FACCESSAT            = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
-       SYS_FCHMODAT             = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
-       SYS_FCHOWNAT             = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
-       SYS_FEXECVE              = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
-       SYS_FSTATAT              = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
-       SYS_UTIMENSAT            = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
-       SYS_OPENAT               = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
-       SYS_READLINKAT           = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
-       SYS_SYMLINKAT            = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
-       SYS_UNLINKAT             = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
-       SYS_FUTIMENS             = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
-       SYS___QUOTACTL           = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
-       SYS_POSIX_SPAWN          = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
-       SYS_RECVMMSG             = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
-       SYS_SENDMMSG             = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
deleted file mode 100644 (file)
index 3e8ce2a..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-// mksysnum_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,openbsd
-
-package unix
-
-const (
-       SYS_EXIT           = 1   // { void sys_exit(int rval); }
-       SYS_FORK           = 2   // { int sys_fork(void); }
-       SYS_READ           = 3   // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE          = 4   // { ssize_t sys_write(int fd, const void *buf, \
-       SYS_OPEN           = 5   // { int sys_open(const char *path, \
-       SYS_CLOSE          = 6   // { int sys_close(int fd); }
-       SYS___TFORK        = 8   // { int sys___tfork(const struct __tfork *param, \
-       SYS_LINK           = 9   // { int sys_link(const char *path, const char *link); }
-       SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
-       SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, \
-       SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
-       SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
-       SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, \
-       SYS_CHMOD          = 15  // { int sys_chmod(const char *path, mode_t mode); }
-       SYS_CHOWN          = 16  // { int sys_chown(const char *path, uid_t uid, \
-       SYS_OBREAK         = 17  // { int sys_obreak(char *nsize); } break
-       SYS_GETDTABLECOUNT = 18  // { int sys_getdtablecount(void); }
-       SYS_GETRUSAGE      = 19  // { int sys_getrusage(int who, \
-       SYS_GETPID         = 20  // { pid_t sys_getpid(void); }
-       SYS_MOUNT          = 21  // { int sys_mount(const char *type, const char *path, \
-       SYS_UNMOUNT        = 22  // { int sys_unmount(const char *path, int flags); }
-       SYS_SETUID         = 23  // { int sys_setuid(uid_t uid); }
-       SYS_GETUID         = 24  // { uid_t sys_getuid(void); }
-       SYS_GETEUID        = 25  // { uid_t sys_geteuid(void); }
-       SYS_PTRACE         = 26  // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
-       SYS_RECVMSG        = 27  // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG        = 28  // { ssize_t sys_sendmsg(int s, \
-       SYS_RECVFROM       = 29  // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-       SYS_ACCEPT         = 30  // { int sys_accept(int s, struct sockaddr *name, \
-       SYS_GETPEERNAME    = 31  // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-       SYS_GETSOCKNAME    = 32  // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-       SYS_ACCESS         = 33  // { int sys_access(const char *path, int flags); }
-       SYS_CHFLAGS        = 34  // { int sys_chflags(const char *path, u_int flags); }
-       SYS_FCHFLAGS       = 35  // { int sys_fchflags(int fd, u_int flags); }
-       SYS_SYNC           = 36  // { void sys_sync(void); }
-       SYS_KILL           = 37  // { int sys_kill(int pid, int signum); }
-       SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
-       SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
-       SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
-       SYS_DUP            = 41  // { int sys_dup(int fd); }
-       SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
-       SYS_GETEGID        = 43  // { gid_t sys_getegid(void); }
-       SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, \
-       SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, \
-       SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, \
-       SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
-       SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
-       SYS_GETLOGIN       = 49  // { int sys_getlogin(char *namebuf, u_int namelen); }
-       SYS_SETLOGIN       = 50  // { int sys_setlogin(const char *namebuf); }
-       SYS_ACCT           = 51  // { int sys_acct(const char *path); }
-       SYS_SIGPENDING     = 52  // { int sys_sigpending(void); }
-       SYS_FSTAT          = 53  // { int sys_fstat(int fd, struct stat *sb); }
-       SYS_IOCTL          = 54  // { int sys_ioctl(int fd, \
-       SYS_REBOOT         = 55  // { int sys_reboot(int opt); }
-       SYS_REVOKE         = 56  // { int sys_revoke(const char *path); }
-       SYS_SYMLINK        = 57  // { int sys_symlink(const char *path, \
-       SYS_READLINK       = 58  // { int sys_readlink(const char *path, char *buf, \
-       SYS_EXECVE         = 59  // { int sys_execve(const char *path, \
-       SYS_UMASK          = 60  // { mode_t sys_umask(mode_t newmask); }
-       SYS_CHROOT         = 61  // { int sys_chroot(const char *path); }
-       SYS_GETFSSTAT      = 62  // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
-       SYS_STATFS         = 63  // { int sys_statfs(const char *path, \
-       SYS_FSTATFS        = 64  // { int sys_fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS       = 65  // { int sys_fhstatfs(const fhandle_t *fhp, \
-       SYS_VFORK          = 66  // { int sys_vfork(void); }
-       SYS_GETTIMEOFDAY   = 67  // { int sys_gettimeofday(struct timeval *tp, \
-       SYS_SETTIMEOFDAY   = 68  // { int sys_settimeofday(const struct timeval *tv, \
-       SYS_SETITIMER      = 69  // { int sys_setitimer(int which, \
-       SYS_GETITIMER      = 70  // { int sys_getitimer(int which, \
-       SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-       SYS_KEVENT         = 72  // { int sys_kevent(int fd, \
-       SYS_MUNMAP         = 73  // { int sys_munmap(void *addr, size_t len); }
-       SYS_MPROTECT       = 74  // { int sys_mprotect(void *addr, size_t len, \
-       SYS_MADVISE        = 75  // { int sys_madvise(void *addr, size_t len, \
-       SYS_UTIMES         = 76  // { int sys_utimes(const char *path, \
-       SYS_FUTIMES        = 77  // { int sys_futimes(int fd, \
-       SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, \
-       SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, \
-       SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, \
-       SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
-       SYS_SETPGID        = 82  // { int sys_setpgid(pid_t pid, int pgid); }
-       SYS_UTIMENSAT      = 84  // { int sys_utimensat(int fd, const char *path, \
-       SYS_FUTIMENS       = 85  // { int sys_futimens(int fd, \
-       SYS_CLOCK_GETTIME  = 87  // { int sys_clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME  = 88  // { int sys_clock_settime(clockid_t clock_id, \
-       SYS_CLOCK_GETRES   = 89  // { int sys_clock_getres(clockid_t clock_id, \
-       SYS_DUP2           = 90  // { int sys_dup2(int from, int to); }
-       SYS_NANOSLEEP      = 91  // { int sys_nanosleep(const struct timespec *rqtp, \
-       SYS_FCNTL          = 92  // { int sys_fcntl(int fd, int cmd, ... void *arg); }
-       SYS___THRSLEEP     = 94  // { int sys___thrsleep(const volatile void *ident, \
-       SYS_FSYNC          = 95  // { int sys_fsync(int fd); }
-       SYS_SETPRIORITY    = 96  // { int sys_setpriority(int which, id_t who, int prio); }
-       SYS_SOCKET         = 97  // { int sys_socket(int domain, int type, int protocol); }
-       SYS_CONNECT        = 98  // { int sys_connect(int s, const struct sockaddr *name, \
-       SYS_GETDENTS       = 99  // { int sys_getdents(int fd, void *buf, size_t buflen); }
-       SYS_GETPRIORITY    = 100 // { int sys_getpriority(int which, id_t who); }
-       SYS_SIGRETURN      = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
-       SYS_BIND           = 104 // { int sys_bind(int s, const struct sockaddr *name, \
-       SYS_SETSOCKOPT     = 105 // { int sys_setsockopt(int s, int level, int name, \
-       SYS_LISTEN         = 106 // { int sys_listen(int s, int backlog); }
-       SYS_PPOLL          = 109 // { int sys_ppoll(struct pollfd *fds, \
-       SYS_PSELECT        = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-       SYS_SIGSUSPEND     = 111 // { int sys_sigsuspend(int mask); }
-       SYS_GETSOCKOPT     = 118 // { int sys_getsockopt(int s, int level, int name, \
-       SYS_READV          = 120 // { ssize_t sys_readv(int fd, \
-       SYS_WRITEV         = 121 // { ssize_t sys_writev(int fd, \
-       SYS_FCHOWN         = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD         = 124 // { int sys_fchmod(int fd, mode_t mode); }
-       SYS_SETREUID       = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID       = 127 // { int sys_setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME         = 128 // { int sys_rename(const char *from, const char *to); }
-       SYS_FLOCK          = 131 // { int sys_flock(int fd, int how); }
-       SYS_MKFIFO         = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO         = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-       SYS_SHUTDOWN       = 134 // { int sys_shutdown(int s, int how); }
-       SYS_SOCKETPAIR     = 135 // { int sys_socketpair(int domain, int type, \
-       SYS_MKDIR          = 136 // { int sys_mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR          = 137 // { int sys_rmdir(const char *path); }
-       SYS_ADJTIME        = 140 // { int sys_adjtime(const struct timeval *delta, \
-       SYS_SETSID         = 147 // { int sys_setsid(void); }
-       SYS_QUOTACTL       = 148 // { int sys_quotactl(const char *path, int cmd, \
-       SYS_NFSSVC         = 155 // { int sys_nfssvc(int flag, void *argp); }
-       SYS_GETFH          = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
-       SYS_SYSARCH        = 165 // { int sys_sysarch(int op, void *parms); }
-       SYS_PREAD          = 173 // { ssize_t sys_pread(int fd, void *buf, \
-       SYS_PWRITE         = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-       SYS_SETGID         = 181 // { int sys_setgid(gid_t gid); }
-       SYS_SETEGID        = 182 // { int sys_setegid(gid_t egid); }
-       SYS_SETEUID        = 183 // { int sys_seteuid(uid_t euid); }
-       SYS_PATHCONF       = 191 // { long sys_pathconf(const char *path, int name); }
-       SYS_FPATHCONF      = 192 // { long sys_fpathconf(int fd, int name); }
-       SYS_SWAPCTL        = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
-       SYS_GETRLIMIT      = 194 // { int sys_getrlimit(int which, \
-       SYS_SETRLIMIT      = 195 // { int sys_setrlimit(int which, \
-       SYS_MMAP           = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-       SYS_LSEEK          = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-       SYS_TRUNCATE       = 200 // { int sys_truncate(const char *path, int pad, \
-       SYS_FTRUNCATE      = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
-       SYS___SYSCTL       = 202 // { int sys___sysctl(const int *name, u_int namelen, \
-       SYS_MLOCK          = 203 // { int sys_mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK        = 204 // { int sys_munlock(const void *addr, size_t len); }
-       SYS_GETPGID        = 207 // { pid_t sys_getpgid(pid_t pid); }
-       SYS_UTRACE         = 209 // { int sys_utrace(const char *label, const void *addr, \
-       SYS_SEMGET         = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
-       SYS_MSGGET         = 225 // { int sys_msgget(key_t key, int msgflg); }
-       SYS_MSGSND         = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
-       SYS_MSGRCV         = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-       SYS_SHMAT          = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-       SYS_SHMDT          = 230 // { int sys_shmdt(const void *shmaddr); }
-       SYS_MINHERIT       = 250 // { int sys_minherit(void *addr, size_t len, \
-       SYS_POLL           = 252 // { int sys_poll(struct pollfd *fds, \
-       SYS_ISSETUGID      = 253 // { int sys_issetugid(void); }
-       SYS_LCHOWN         = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID         = 255 // { pid_t sys_getsid(pid_t pid); }
-       SYS_MSYNC          = 256 // { int sys_msync(void *addr, size_t len, int flags); }
-       SYS_PIPE           = 263 // { int sys_pipe(int *fdp); }
-       SYS_FHOPEN         = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
-       SYS_PREADV         = 267 // { ssize_t sys_preadv(int fd, \
-       SYS_PWRITEV        = 268 // { ssize_t sys_pwritev(int fd, \
-       SYS_KQUEUE         = 269 // { int sys_kqueue(void); }
-       SYS_MLOCKALL       = 271 // { int sys_mlockall(int flags); }
-       SYS_MUNLOCKALL     = 272 // { int sys_munlockall(void); }
-       SYS_GETRESUID      = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_SETRESUID      = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-       SYS_GETRESGID      = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_SETRESGID      = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-       SYS_MQUERY         = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-       SYS_CLOSEFROM      = 287 // { int sys_closefrom(int fd); }
-       SYS_SIGALTSTACK    = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
-       SYS_SHMGET         = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
-       SYS_SEMOP          = 290 // { int sys_semop(int semid, struct sembuf *sops, \
-       SYS_FHSTAT         = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-       SYS___SEMCTL       = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-       SYS_SHMCTL         = 296 // { int sys_shmctl(int shmid, int cmd, \
-       SYS_MSGCTL         = 297 // { int sys_msgctl(int msqid, int cmd, \
-       SYS_SCHED_YIELD    = 298 // { int sys_sched_yield(void); }
-       SYS_GETTHRID       = 299 // { pid_t sys_getthrid(void); }
-       SYS___THRWAKEUP    = 301 // { int sys___thrwakeup(const volatile void *ident, \
-       SYS___THREXIT      = 302 // { void sys___threxit(pid_t *notdead); }
-       SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
-       SYS___GETCWD       = 304 // { int sys___getcwd(char *buf, size_t len); }
-       SYS_ADJFREQ        = 305 // { int sys_adjfreq(const int64_t *freq, \
-       SYS_SETRTABLE      = 310 // { int sys_setrtable(int rtableid); }
-       SYS_GETRTABLE      = 311 // { int sys_getrtable(void); }
-       SYS_FACCESSAT      = 313 // { int sys_faccessat(int fd, const char *path, \
-       SYS_FCHMODAT       = 314 // { int sys_fchmodat(int fd, const char *path, \
-       SYS_FCHOWNAT       = 315 // { int sys_fchownat(int fd, const char *path, \
-       SYS_LINKAT         = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-       SYS_MKDIRAT        = 318 // { int sys_mkdirat(int fd, const char *path, \
-       SYS_MKFIFOAT       = 319 // { int sys_mkfifoat(int fd, const char *path, \
-       SYS_MKNODAT        = 320 // { int sys_mknodat(int fd, const char *path, \
-       SYS_OPENAT         = 321 // { int sys_openat(int fd, const char *path, int flags, \
-       SYS_READLINKAT     = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-       SYS_RENAMEAT       = 323 // { int sys_renameat(int fromfd, const char *from, \
-       SYS_SYMLINKAT      = 324 // { int sys_symlinkat(const char *path, int fd, \
-       SYS_UNLINKAT       = 325 // { int sys_unlinkat(int fd, const char *path, \
-       SYS___SET_TCB      = 329 // { void sys___set_tcb(void *tcb); }
-       SYS___GET_TCB      = 330 // { void *sys___get_tcb(void); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
deleted file mode 100644 (file)
index bd28146..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-// mksysnum_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,openbsd
-
-package unix
-
-const (
-       SYS_EXIT           = 1   // { void sys_exit(int rval); }
-       SYS_FORK           = 2   // { int sys_fork(void); }
-       SYS_READ           = 3   // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE          = 4   // { ssize_t sys_write(int fd, const void *buf, \
-       SYS_OPEN           = 5   // { int sys_open(const char *path, \
-       SYS_CLOSE          = 6   // { int sys_close(int fd); }
-       SYS___TFORK        = 8   // { int sys___tfork(const struct __tfork *param, \
-       SYS_LINK           = 9   // { int sys_link(const char *path, const char *link); }
-       SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
-       SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, \
-       SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
-       SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
-       SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, \
-       SYS_CHMOD          = 15  // { int sys_chmod(const char *path, mode_t mode); }
-       SYS_CHOWN          = 16  // { int sys_chown(const char *path, uid_t uid, \
-       SYS_OBREAK         = 17  // { int sys_obreak(char *nsize); } break
-       SYS_GETDTABLECOUNT = 18  // { int sys_getdtablecount(void); }
-       SYS_GETRUSAGE      = 19  // { int sys_getrusage(int who, \
-       SYS_GETPID         = 20  // { pid_t sys_getpid(void); }
-       SYS_MOUNT          = 21  // { int sys_mount(const char *type, const char *path, \
-       SYS_UNMOUNT        = 22  // { int sys_unmount(const char *path, int flags); }
-       SYS_SETUID         = 23  // { int sys_setuid(uid_t uid); }
-       SYS_GETUID         = 24  // { uid_t sys_getuid(void); }
-       SYS_GETEUID        = 25  // { uid_t sys_geteuid(void); }
-       SYS_PTRACE         = 26  // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
-       SYS_RECVMSG        = 27  // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG        = 28  // { ssize_t sys_sendmsg(int s, \
-       SYS_RECVFROM       = 29  // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-       SYS_ACCEPT         = 30  // { int sys_accept(int s, struct sockaddr *name, \
-       SYS_GETPEERNAME    = 31  // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-       SYS_GETSOCKNAME    = 32  // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-       SYS_ACCESS         = 33  // { int sys_access(const char *path, int flags); }
-       SYS_CHFLAGS        = 34  // { int sys_chflags(const char *path, u_int flags); }
-       SYS_FCHFLAGS       = 35  // { int sys_fchflags(int fd, u_int flags); }
-       SYS_SYNC           = 36  // { void sys_sync(void); }
-       SYS_KILL           = 37  // { int sys_kill(int pid, int signum); }
-       SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
-       SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
-       SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
-       SYS_DUP            = 41  // { int sys_dup(int fd); }
-       SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
-       SYS_GETEGID        = 43  // { gid_t sys_getegid(void); }
-       SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, \
-       SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, \
-       SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, \
-       SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
-       SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
-       SYS_GETLOGIN       = 49  // { int sys_getlogin(char *namebuf, u_int namelen); }
-       SYS_SETLOGIN       = 50  // { int sys_setlogin(const char *namebuf); }
-       SYS_ACCT           = 51  // { int sys_acct(const char *path); }
-       SYS_SIGPENDING     = 52  // { int sys_sigpending(void); }
-       SYS_FSTAT          = 53  // { int sys_fstat(int fd, struct stat *sb); }
-       SYS_IOCTL          = 54  // { int sys_ioctl(int fd, \
-       SYS_REBOOT         = 55  // { int sys_reboot(int opt); }
-       SYS_REVOKE         = 56  // { int sys_revoke(const char *path); }
-       SYS_SYMLINK        = 57  // { int sys_symlink(const char *path, \
-       SYS_READLINK       = 58  // { int sys_readlink(const char *path, char *buf, \
-       SYS_EXECVE         = 59  // { int sys_execve(const char *path, \
-       SYS_UMASK          = 60  // { mode_t sys_umask(mode_t newmask); }
-       SYS_CHROOT         = 61  // { int sys_chroot(const char *path); }
-       SYS_GETFSSTAT      = 62  // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
-       SYS_STATFS         = 63  // { int sys_statfs(const char *path, \
-       SYS_FSTATFS        = 64  // { int sys_fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS       = 65  // { int sys_fhstatfs(const fhandle_t *fhp, \
-       SYS_VFORK          = 66  // { int sys_vfork(void); }
-       SYS_GETTIMEOFDAY   = 67  // { int sys_gettimeofday(struct timeval *tp, \
-       SYS_SETTIMEOFDAY   = 68  // { int sys_settimeofday(const struct timeval *tv, \
-       SYS_SETITIMER      = 69  // { int sys_setitimer(int which, \
-       SYS_GETITIMER      = 70  // { int sys_getitimer(int which, \
-       SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-       SYS_KEVENT         = 72  // { int sys_kevent(int fd, \
-       SYS_MUNMAP         = 73  // { int sys_munmap(void *addr, size_t len); }
-       SYS_MPROTECT       = 74  // { int sys_mprotect(void *addr, size_t len, \
-       SYS_MADVISE        = 75  // { int sys_madvise(void *addr, size_t len, \
-       SYS_UTIMES         = 76  // { int sys_utimes(const char *path, \
-       SYS_FUTIMES        = 77  // { int sys_futimes(int fd, \
-       SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, \
-       SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, \
-       SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, \
-       SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
-       SYS_SETPGID        = 82  // { int sys_setpgid(pid_t pid, int pgid); }
-       SYS_UTIMENSAT      = 84  // { int sys_utimensat(int fd, const char *path, \
-       SYS_FUTIMENS       = 85  // { int sys_futimens(int fd, \
-       SYS_CLOCK_GETTIME  = 87  // { int sys_clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME  = 88  // { int sys_clock_settime(clockid_t clock_id, \
-       SYS_CLOCK_GETRES   = 89  // { int sys_clock_getres(clockid_t clock_id, \
-       SYS_DUP2           = 90  // { int sys_dup2(int from, int to); }
-       SYS_NANOSLEEP      = 91  // { int sys_nanosleep(const struct timespec *rqtp, \
-       SYS_FCNTL          = 92  // { int sys_fcntl(int fd, int cmd, ... void *arg); }
-       SYS___THRSLEEP     = 94  // { int sys___thrsleep(const volatile void *ident, \
-       SYS_FSYNC          = 95  // { int sys_fsync(int fd); }
-       SYS_SETPRIORITY    = 96  // { int sys_setpriority(int which, id_t who, int prio); }
-       SYS_SOCKET         = 97  // { int sys_socket(int domain, int type, int protocol); }
-       SYS_CONNECT        = 98  // { int sys_connect(int s, const struct sockaddr *name, \
-       SYS_GETDENTS       = 99  // { int sys_getdents(int fd, void *buf, size_t buflen); }
-       SYS_GETPRIORITY    = 100 // { int sys_getpriority(int which, id_t who); }
-       SYS_SIGRETURN      = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
-       SYS_BIND           = 104 // { int sys_bind(int s, const struct sockaddr *name, \
-       SYS_SETSOCKOPT     = 105 // { int sys_setsockopt(int s, int level, int name, \
-       SYS_LISTEN         = 106 // { int sys_listen(int s, int backlog); }
-       SYS_PPOLL          = 109 // { int sys_ppoll(struct pollfd *fds, \
-       SYS_PSELECT        = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-       SYS_SIGSUSPEND     = 111 // { int sys_sigsuspend(int mask); }
-       SYS_GETSOCKOPT     = 118 // { int sys_getsockopt(int s, int level, int name, \
-       SYS_READV          = 120 // { ssize_t sys_readv(int fd, \
-       SYS_WRITEV         = 121 // { ssize_t sys_writev(int fd, \
-       SYS_FCHOWN         = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD         = 124 // { int sys_fchmod(int fd, mode_t mode); }
-       SYS_SETREUID       = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID       = 127 // { int sys_setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME         = 128 // { int sys_rename(const char *from, const char *to); }
-       SYS_FLOCK          = 131 // { int sys_flock(int fd, int how); }
-       SYS_MKFIFO         = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO         = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-       SYS_SHUTDOWN       = 134 // { int sys_shutdown(int s, int how); }
-       SYS_SOCKETPAIR     = 135 // { int sys_socketpair(int domain, int type, \
-       SYS_MKDIR          = 136 // { int sys_mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR          = 137 // { int sys_rmdir(const char *path); }
-       SYS_ADJTIME        = 140 // { int sys_adjtime(const struct timeval *delta, \
-       SYS_SETSID         = 147 // { int sys_setsid(void); }
-       SYS_QUOTACTL       = 148 // { int sys_quotactl(const char *path, int cmd, \
-       SYS_NFSSVC         = 155 // { int sys_nfssvc(int flag, void *argp); }
-       SYS_GETFH          = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
-       SYS_SYSARCH        = 165 // { int sys_sysarch(int op, void *parms); }
-       SYS_PREAD          = 173 // { ssize_t sys_pread(int fd, void *buf, \
-       SYS_PWRITE         = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-       SYS_SETGID         = 181 // { int sys_setgid(gid_t gid); }
-       SYS_SETEGID        = 182 // { int sys_setegid(gid_t egid); }
-       SYS_SETEUID        = 183 // { int sys_seteuid(uid_t euid); }
-       SYS_PATHCONF       = 191 // { long sys_pathconf(const char *path, int name); }
-       SYS_FPATHCONF      = 192 // { long sys_fpathconf(int fd, int name); }
-       SYS_SWAPCTL        = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
-       SYS_GETRLIMIT      = 194 // { int sys_getrlimit(int which, \
-       SYS_SETRLIMIT      = 195 // { int sys_setrlimit(int which, \
-       SYS_MMAP           = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-       SYS_LSEEK          = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-       SYS_TRUNCATE       = 200 // { int sys_truncate(const char *path, int pad, \
-       SYS_FTRUNCATE      = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
-       SYS___SYSCTL       = 202 // { int sys___sysctl(const int *name, u_int namelen, \
-       SYS_MLOCK          = 203 // { int sys_mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK        = 204 // { int sys_munlock(const void *addr, size_t len); }
-       SYS_GETPGID        = 207 // { pid_t sys_getpgid(pid_t pid); }
-       SYS_UTRACE         = 209 // { int sys_utrace(const char *label, const void *addr, \
-       SYS_SEMGET         = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
-       SYS_MSGGET         = 225 // { int sys_msgget(key_t key, int msgflg); }
-       SYS_MSGSND         = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
-       SYS_MSGRCV         = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-       SYS_SHMAT          = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-       SYS_SHMDT          = 230 // { int sys_shmdt(const void *shmaddr); }
-       SYS_MINHERIT       = 250 // { int sys_minherit(void *addr, size_t len, \
-       SYS_POLL           = 252 // { int sys_poll(struct pollfd *fds, \
-       SYS_ISSETUGID      = 253 // { int sys_issetugid(void); }
-       SYS_LCHOWN         = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID         = 255 // { pid_t sys_getsid(pid_t pid); }
-       SYS_MSYNC          = 256 // { int sys_msync(void *addr, size_t len, int flags); }
-       SYS_PIPE           = 263 // { int sys_pipe(int *fdp); }
-       SYS_FHOPEN         = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
-       SYS_PREADV         = 267 // { ssize_t sys_preadv(int fd, \
-       SYS_PWRITEV        = 268 // { ssize_t sys_pwritev(int fd, \
-       SYS_KQUEUE         = 269 // { int sys_kqueue(void); }
-       SYS_MLOCKALL       = 271 // { int sys_mlockall(int flags); }
-       SYS_MUNLOCKALL     = 272 // { int sys_munlockall(void); }
-       SYS_GETRESUID      = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_SETRESUID      = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-       SYS_GETRESGID      = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_SETRESGID      = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-       SYS_MQUERY         = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-       SYS_CLOSEFROM      = 287 // { int sys_closefrom(int fd); }
-       SYS_SIGALTSTACK    = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
-       SYS_SHMGET         = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
-       SYS_SEMOP          = 290 // { int sys_semop(int semid, struct sembuf *sops, \
-       SYS_FHSTAT         = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-       SYS___SEMCTL       = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-       SYS_SHMCTL         = 296 // { int sys_shmctl(int shmid, int cmd, \
-       SYS_MSGCTL         = 297 // { int sys_msgctl(int msqid, int cmd, \
-       SYS_SCHED_YIELD    = 298 // { int sys_sched_yield(void); }
-       SYS_GETTHRID       = 299 // { pid_t sys_getthrid(void); }
-       SYS___THRWAKEUP    = 301 // { int sys___thrwakeup(const volatile void *ident, \
-       SYS___THREXIT      = 302 // { void sys___threxit(pid_t *notdead); }
-       SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
-       SYS___GETCWD       = 304 // { int sys___getcwd(char *buf, size_t len); }
-       SYS_ADJFREQ        = 305 // { int sys_adjfreq(const int64_t *freq, \
-       SYS_SETRTABLE      = 310 // { int sys_setrtable(int rtableid); }
-       SYS_GETRTABLE      = 311 // { int sys_getrtable(void); }
-       SYS_FACCESSAT      = 313 // { int sys_faccessat(int fd, const char *path, \
-       SYS_FCHMODAT       = 314 // { int sys_fchmodat(int fd, const char *path, \
-       SYS_FCHOWNAT       = 315 // { int sys_fchownat(int fd, const char *path, \
-       SYS_LINKAT         = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-       SYS_MKDIRAT        = 318 // { int sys_mkdirat(int fd, const char *path, \
-       SYS_MKFIFOAT       = 319 // { int sys_mkfifoat(int fd, const char *path, \
-       SYS_MKNODAT        = 320 // { int sys_mknodat(int fd, const char *path, \
-       SYS_OPENAT         = 321 // { int sys_openat(int fd, const char *path, int flags, \
-       SYS_READLINKAT     = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-       SYS_RENAMEAT       = 323 // { int sys_renameat(int fromfd, const char *from, \
-       SYS_SYMLINKAT      = 324 // { int sys_symlinkat(const char *path, int fd, \
-       SYS_UNLINKAT       = 325 // { int sys_unlinkat(int fd, const char *path, \
-       SYS___SET_TCB      = 329 // { void sys___set_tcb(void *tcb); }
-       SYS___GET_TCB      = 330 // { void *sys___get_tcb(void); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
deleted file mode 100644 (file)
index c708659..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,solaris
-
-package unix
-
-// TODO(aram): remove these before Go 1.3.
-const (
-       SYS_EXECVE = 59
-       SYS_FCNTL  = 62
-)
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
deleted file mode 100644 (file)
index 2de1d44..0000000
+++ /dev/null
@@ -1,447 +0,0 @@
-// +build 386,darwin
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timeval32 struct{}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset int64
-       Count  int32
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint32
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags       uint32
-       Contigbytes int64
-       Devoffset   int64
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
deleted file mode 100644 (file)
index 0446578..0000000
+++ /dev/null
@@ -1,462 +0,0 @@
-// +build amd64,darwin
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval32 struct {
-       Sec  int32
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Pad_cgo_0     [4]byte
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset    int64
-       Count     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint64
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags     uint32
-       Pad_cgo_0 [8]byte
-       Pad_cgo_1 [8]byte
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval32
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval32
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag     uint64
-       Oflag     uint64
-       Cflag     uint64
-       Lflag     uint64
-       Cc        [20]uint8
-       Pad_cgo_0 [4]byte
-       Ispeed    uint64
-       Ospeed    uint64
-}
-
-const (
-       AT_FDCWD            = -0x2
-       AT_SYMLINK_NOFOLLOW = 0x20
-)
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
deleted file mode 100644 (file)
index 66df363..0000000
+++ /dev/null
@@ -1,449 +0,0 @@
-// NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-// +build arm,darwin
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timeval32 [0]byte
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset int64
-       Count  int32
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint32
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags       uint32
-       Contigbytes int64
-       Devoffset   int64
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
deleted file mode 100644 (file)
index 85d56ea..0000000
+++ /dev/null
@@ -1,457 +0,0 @@
-// +build arm64,darwin
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval32 struct {
-       Sec  int32
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Pad_cgo_0     [4]byte
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset    int64
-       Count     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint64
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags     uint32
-       Pad_cgo_0 [8]byte
-       Pad_cgo_1 [8]byte
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval32
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval32
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag     uint64
-       Oflag     uint64
-       Cflag     uint64
-       Lflag     uint64
-       Cc        [20]uint8
-       Pad_cgo_0 [4]byte
-       Ispeed    uint64
-       Ospeed    uint64
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
deleted file mode 100644 (file)
index 8a6f4e1..0000000
+++ /dev/null
@@ -1,443 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_dragonfly.go
-
-// +build amd64,dragonfly
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Ino      uint64
-       Nlink    uint32
-       Dev      uint32
-       Mode     uint16
-       Padding1 uint16
-       Uid      uint32
-       Gid      uint32
-       Rdev     uint32
-       Atim     Timespec
-       Mtim     Timespec
-       Ctim     Timespec
-       Size     int64
-       Blocks   int64
-       Blksize  uint32
-       Flags    uint32
-       Gen      uint32
-       Lspare   int32
-       Qspare1  int64
-       Qspare2  int64
-}
-
-type Statfs_t struct {
-       Spare2      int64
-       Bsize       int64
-       Iosize      int64
-       Blocks      int64
-       Bfree       int64
-       Bavail      int64
-       Files       int64
-       Ffree       int64
-       Fsid        Fsid
-       Owner       uint32
-       Type        int32
-       Flags       int32
-       Pad_cgo_0   [4]byte
-       Syncwrites  int64
-       Asyncwrites int64
-       Fstypename  [16]int8
-       Mntonname   [80]int8
-       Syncreads   int64
-       Asyncreads  int64
-       Spares1     int16
-       Mntfromname [80]int8
-       Spares2     int16
-       Pad_cgo_1   [4]byte
-       Spare       [2]int64
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno  uint64
-       Namlen  uint16
-       Type    uint8
-       Unused1 uint8
-       Unused2 uint32
-       Name    [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       Rcf    uint16
-       Route  [16]uint16
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [16]uint64
-}
-
-const (
-       SizeofIfMsghdr         = 0xb0
-       SizeofIfData           = 0xa0
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x98
-       SizeofRtMetrics        = 0x70
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Pad_cgo_0  [2]byte
-       Mtu        uint64
-       Metric     uint64
-       Link_state uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Hwassist   uint64
-       Unused     uint64
-       Lastchange Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint64
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks     uint64
-       Mtu       uint64
-       Pksent    uint64
-       Expire    uint64
-       Sendpipe  uint64
-       Ssthresh  uint64
-       Rtt       uint64
-       Rttvar    uint64
-       Recvpipe  uint64
-       Hopcount  uint64
-       Mssopt    uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Msl       uint64
-       Iwmaxsegs uint64
-       Iwcapsegs uint64
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
deleted file mode 100644 (file)
index 8cf3094..0000000
+++ /dev/null
@@ -1,502 +0,0 @@
-// +build 386,freebsd
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_freebsd.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev           uint32
-       Ino           uint32
-       Mode          uint16
-       Nlink         uint16
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Birthtimespec Timespec
-       Pad_cgo_0     [8]byte
-}
-
-type Statfs_t struct {
-       Version     uint32
-       Type        uint32
-       Flags       uint64
-       Bsize       uint64
-       Iosize      uint64
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      int64
-       Files       uint64
-       Ffree       int64
-       Syncwrites  uint64
-       Asyncwrites uint64
-       Syncreads   uint64
-       Asyncreads  uint64
-       Spare       [10]uint64
-       Namemax     uint32
-       Owner       uint32
-       Fsid        Fsid
-       Charspare   [80]int8
-       Fstypename  [16]int8
-       Mntfromname [88]int8
-       Mntonname   [88]int8
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-       Sysid  int32
-}
-
-type Dirent struct {
-       Fileno uint32
-       Reclen uint16
-       Type   uint8
-       Namlen uint8
-       Name   [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPMreqn          = 0xc
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       X__fds_bits [32]uint32
-}
-
-const (
-       sizeofIfMsghdr         = 0x64
-       SizeofIfMsghdr         = 0x60
-       sizeofIfData           = 0x54
-       SizeofIfData           = 0x50
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x5c
-       SizeofRtMetrics        = 0x38
-)
-
-type ifMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      ifData
-}
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type ifData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Vhid        uint8
-       Baudrate_pf uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint64
-       Epoch       int32
-       Lastchange  Timeval
-}
-
-type IfData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Spare_char1 uint8
-       Spare_char2 uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint32
-       Epoch       int32
-       Lastchange  Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Fmask     int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Weight   uint32
-       Filler   [3]uint32
-}
-
-const (
-       SizeofBpfVersion    = 0x4
-       SizeofBpfStat       = 0x8
-       SizeofBpfZbuf       = 0xc
-       SizeofBpfProgram    = 0x8
-       SizeofBpfInsn       = 0x8
-       SizeofBpfHdr        = 0x14
-       SizeofBpfZbufHeader = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfZbuf struct {
-       Bufa   *byte
-       Bufb   *byte
-       Buflen uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfZbufHeader struct {
-       Kernel_gen uint32
-       Kernel_len uint32
-       User_gen   uint32
-       X_bzh_pad  [5]uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
deleted file mode 100644 (file)
index e5feb20..0000000
+++ /dev/null
@@ -1,505 +0,0 @@
-// +build amd64,freebsd
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_freebsd.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev           uint32
-       Ino           uint32
-       Mode          uint16
-       Nlink         uint16
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Birthtimespec Timespec
-}
-
-type Statfs_t struct {
-       Version     uint32
-       Type        uint32
-       Flags       uint64
-       Bsize       uint64
-       Iosize      uint64
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      int64
-       Files       uint64
-       Ffree       int64
-       Syncwrites  uint64
-       Asyncwrites uint64
-       Syncreads   uint64
-       Asyncreads  uint64
-       Spare       [10]uint64
-       Namemax     uint32
-       Owner       uint32
-       Fsid        Fsid
-       Charspare   [80]int8
-       Fstypename  [16]int8
-       Mntfromname [88]int8
-       Mntonname   [88]int8
-}
-
-type Flock_t struct {
-       Start     int64
-       Len       int64
-       Pid       int32
-       Type      int16
-       Whence    int16
-       Sysid     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Dirent struct {
-       Fileno uint32
-       Reclen uint16
-       Type   uint8
-       Namlen uint8
-       Name   [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPMreqn          = 0xc
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       X__fds_bits [16]uint64
-}
-
-const (
-       sizeofIfMsghdr         = 0xa8
-       SizeofIfMsghdr         = 0xa8
-       sizeofIfData           = 0x98
-       SizeofIfData           = 0x98
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x98
-       SizeofRtMetrics        = 0x70
-)
-
-type ifMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      ifData
-}
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type ifData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Vhid        uint8
-       Baudrate_pf uint8
-       Datalen     uint8
-       Mtu         uint64
-       Metric      uint64
-       Baudrate    uint64
-       Ipackets    uint64
-       Ierrors     uint64
-       Opackets    uint64
-       Oerrors     uint64
-       Collisions  uint64
-       Ibytes      uint64
-       Obytes      uint64
-       Imcasts     uint64
-       Omcasts     uint64
-       Iqdrops     uint64
-       Noproto     uint64
-       Hwassist    uint64
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Spare_char1 uint8
-       Spare_char2 uint8
-       Datalen     uint8
-       Mtu         uint64
-       Metric      uint64
-       Baudrate    uint64
-       Ipackets    uint64
-       Ierrors     uint64
-       Opackets    uint64
-       Oerrors     uint64
-       Collisions  uint64
-       Ibytes      uint64
-       Obytes      uint64
-       Imcasts     uint64
-       Omcasts     uint64
-       Iqdrops     uint64
-       Noproto     uint64
-       Hwassist    uint64
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Fmask     int32
-       Inits     uint64
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Expire   uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Pksent   uint64
-       Weight   uint64
-       Filler   [3]uint64
-}
-
-const (
-       SizeofBpfVersion    = 0x4
-       SizeofBpfStat       = 0x8
-       SizeofBpfZbuf       = 0x18
-       SizeofBpfProgram    = 0x10
-       SizeofBpfInsn       = 0x8
-       SizeofBpfHdr        = 0x20
-       SizeofBpfZbufHeader = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfZbuf struct {
-       Bufa   *byte
-       Bufb   *byte
-       Buflen uint64
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type BpfZbufHeader struct {
-       Kernel_gen uint32
-       Kernel_len uint32
-       User_gen   uint32
-       X_bzh_pad  [5]uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
deleted file mode 100644 (file)
index 5472b54..0000000
+++ /dev/null
@@ -1,497 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -fsigned-char types_freebsd.go
-
-// +build arm,freebsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec       int64
-       Nsec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev           uint32
-       Ino           uint32
-       Mode          uint16
-       Nlink         uint16
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Birthtimespec Timespec
-}
-
-type Statfs_t struct {
-       Version     uint32
-       Type        uint32
-       Flags       uint64
-       Bsize       uint64
-       Iosize      uint64
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      int64
-       Files       uint64
-       Ffree       int64
-       Syncwrites  uint64
-       Asyncwrites uint64
-       Syncreads   uint64
-       Asyncreads  uint64
-       Spare       [10]uint64
-       Namemax     uint32
-       Owner       uint32
-       Fsid        Fsid
-       Charspare   [80]int8
-       Fstypename  [16]int8
-       Mntfromname [88]int8
-       Mntonname   [88]int8
-}
-
-type Flock_t struct {
-       Start     int64
-       Len       int64
-       Pid       int32
-       Type      int16
-       Whence    int16
-       Sysid     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Dirent struct {
-       Fileno uint32
-       Reclen uint16
-       Type   uint8
-       Namlen uint8
-       Name   [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPMreqn          = 0xc
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       X__fds_bits [32]uint32
-}
-
-const (
-       sizeofIfMsghdr         = 0x70
-       SizeofIfMsghdr         = 0x70
-       sizeofIfData           = 0x60
-       SizeofIfData           = 0x60
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x5c
-       SizeofRtMetrics        = 0x38
-)
-
-type ifMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      ifData
-}
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type ifData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Vhid        uint8
-       Baudrate_pf uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint64
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Spare_char1 uint8
-       Spare_char2 uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint32
-       Pad_cgo_0   [4]byte
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Fmask     int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Weight   uint32
-       Filler   [3]uint32
-}
-
-const (
-       SizeofBpfVersion    = 0x4
-       SizeofBpfStat       = 0x8
-       SizeofBpfZbuf       = 0xc
-       SizeofBpfProgram    = 0x8
-       SizeofBpfInsn       = 0x8
-       SizeofBpfHdr        = 0x20
-       SizeofBpfZbufHeader = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfZbuf struct {
-       Bufa   *byte
-       Bufb   *byte
-       Buflen uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type BpfZbufHeader struct {
-       Kernel_gen uint32
-       Kernel_len uint32
-       User_gen   uint32
-       X_bzh_pad  [5]uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
deleted file mode 100644 (file)
index fb1257a..0000000
+++ /dev/null
@@ -1,607 +0,0 @@
-// +build 386,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timex struct {
-       Modes     uint32
-       Offset    int32
-       Freq      int32
-       Maxerror  int32
-       Esterror  int32
-       Status    int32
-       Constant  int32
-       Precision int32
-       Tolerance int32
-       Time      Timeval
-       Tick      int32
-       Ppsfreq   int32
-       Jitter    int32
-       Shift     int32
-       Stabil    int32
-       Jitcnt    int32
-       Calcnt    int32
-       Errcnt    int32
-       Stbcnt    int32
-       Tai       int32
-       Pad_cgo_0 [44]byte
-}
-
-type Time_t int32
-
-type Tms struct {
-       Utime  int32
-       Stime  int32
-       Cutime int32
-       Cstime int32
-}
-
-type Utimbuf struct {
-       Actime  int32
-       Modtime int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev       uint64
-       X__pad1   uint16
-       Pad_cgo_0 [2]byte
-       X__st_ino uint32
-       Mode      uint32
-       Nlink     uint32
-       Uid       uint32
-       Gid       uint32
-       Rdev      uint64
-       X__pad2   uint16
-       Pad_cgo_1 [2]byte
-       Size      int64
-       Blksize   int32
-       Blocks    int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       Ino       uint64
-}
-
-type Statfs_t struct {
-       Type    int32
-       Bsize   int32
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int32
-       Frsize  int32
-       Flags   int32
-       Spare   [4]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [1]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type   int16
-       Whence int16
-       Start  int64
-       Len    int64
-       Pid    int32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len          uint32
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x1c
-       SizeofCmsghdr           = 0xc
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x1d
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x8
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [2]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-       Name   [0]int8
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Ebx      int32
-       Ecx      int32
-       Edx      int32
-       Esi      int32
-       Edi      int32
-       Ebp      int32
-       Eax      int32
-       Xds      int32
-       Xes      int32
-       Xfs      int32
-       Xgs      int32
-       Orig_eax int32
-       Eip      int32
-       Xcs      int32
-       Eflags   int32
-       Esp      int32
-       Xss      int32
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-type Sysinfo_t struct {
-       Uptime    int32
-       Loads     [3]uint32
-       Totalram  uint32
-       Freeram   uint32
-       Sharedram uint32
-       Bufferram uint32
-       Totalswap uint32
-       Freeswap  uint32
-       Procs     uint16
-       Pad       uint16
-       Totalhigh uint32
-       Freehigh  uint32
-       Unit      uint32
-       X_f       [8]int8
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       Tinode uint32
-       Fname  [6]int8
-       Fpack  [6]int8
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
deleted file mode 100644 (file)
index 34edb36..0000000
+++ /dev/null
@@ -1,625 +0,0 @@
-// +build amd64,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev       uint64
-       Ino       uint64
-       Nlink     uint64
-       Mode      uint32
-       Uid       uint32
-       Gid       uint32
-       X__pad0   int32
-       Rdev      uint64
-       Size      int64
-       Blksize   int64
-       Blocks    int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       X__unused [3]int64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len          uint64
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x1d
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-       Name   [0]int8
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       R15      uint64
-       R14      uint64
-       R13      uint64
-       R12      uint64
-       Rbp      uint64
-       Rbx      uint64
-       R11      uint64
-       R10      uint64
-       R9       uint64
-       R8       uint64
-       Rax      uint64
-       Rcx      uint64
-       Rdx      uint64
-       Rsi      uint64
-       Rdi      uint64
-       Orig_rax uint64
-       Rip      uint64
-       Cs       uint64
-       Eflags   uint64
-       Rsp      uint64
-       Ss       uint64
-       Fs_base  uint64
-       Gs_base  uint64
-       Ds       uint64
-       Es       uint64
-       Fs       uint64
-       Gs       uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
deleted file mode 100644 (file)
index 0fef350..0000000
+++ /dev/null
@@ -1,587 +0,0 @@
-// +build arm,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timex struct {
-       Modes     uint32
-       Offset    int32
-       Freq      int32
-       Maxerror  int32
-       Esterror  int32
-       Status    int32
-       Constant  int32
-       Precision int32
-       Tolerance int32
-       Time      Timeval
-       Tick      int32
-       Ppsfreq   int32
-       Jitter    int32
-       Shift     int32
-       Stabil    int32
-       Jitcnt    int32
-       Calcnt    int32
-       Errcnt    int32
-       Stbcnt    int32
-       Tai       int32
-       Pad_cgo_0 [44]byte
-}
-
-type Time_t int32
-
-type Tms struct {
-       Utime  int32
-       Stime  int32
-       Cutime int32
-       Cstime int32
-}
-
-type Utimbuf struct {
-       Actime  int32
-       Modtime int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev       uint64
-       X__pad1   uint16
-       Pad_cgo_0 [2]byte
-       X__st_ino uint32
-       Mode      uint32
-       Nlink     uint32
-       Uid       uint32
-       Gid       uint32
-       Rdev      uint64
-       X__pad2   uint16
-       Pad_cgo_1 [6]byte
-       Size      int64
-       Blksize   int32
-       Pad_cgo_2 [4]byte
-       Blocks    int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       Ino       uint64
-}
-
-type Statfs_t struct {
-       Type      int32
-       Bsize     int32
-       Blocks    uint64
-       Bfree     uint64
-       Bavail    uint64
-       Files     uint64
-       Ffree     uint64
-       Fsid      Fsid
-       Namelen   int32
-       Frsize    int32
-       Flags     int32
-       Spare     [4]int32
-       Pad_cgo_0 [4]byte
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]uint8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]uint8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]uint8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len          uint32
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x1c
-       SizeofCmsghdr           = 0xc
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x1d
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x8
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [2]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-       Name   [0]uint8
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Uregs [18]uint32
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-type Sysinfo_t struct {
-       Uptime    int32
-       Loads     [3]uint32
-       Totalram  uint32
-       Freeram   uint32
-       Sharedram uint32
-       Bufferram uint32
-       Totalswap uint32
-       Freeswap  uint32
-       Procs     uint16
-       Pad       uint16
-       Totalhigh uint32
-       Freehigh  uint32
-       Unit      uint32
-       X_f       [8]uint8
-}
-
-type Utsname struct {
-       Sysname    [65]uint8
-       Nodename   [65]uint8
-       Release    [65]uint8
-       Version    [65]uint8
-       Machine    [65]uint8
-       Domainname [65]uint8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       Tinode uint32
-       Fname  [6]uint8
-       Fpack  [6]uint8
-}
-
-type EpollEvent struct {
-       Events uint32
-       PadFd  int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
deleted file mode 100644 (file)
index 28b7cd4..0000000
+++ /dev/null
@@ -1,604 +0,0 @@
-// +build arm64,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -fsigned-char types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev               uint64
-       Ino               uint64
-       Mode              uint32
-       Nlink             uint32
-       Uid               uint32
-       Gid               uint32
-       Rdev              uint64
-       X__pad1           uint64
-       Size              int64
-       Blksize           int32
-       X__pad2           int32
-       Blocks            int64
-       Atim              Timespec
-       Mtim              Timespec
-       Ctim              Timespec
-       X__glibc_reserved [2]int32
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len          uint64
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x22
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-       Name   [0]int8
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs   [31]uint64
-       Sp     uint64
-       Pc     uint64
-       Pstate uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       PadFd  int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
deleted file mode 100644 (file)
index 8fe5af2..0000000
+++ /dev/null
@@ -1,607 +0,0 @@
-// +build mips64,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint32
-       Pad1    [3]int32
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint32
-       Pad2    [3]uint32
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize uint32
-       Pad4    uint32
-       Blocks  int64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Frsize  int64
-       Blocks  uint64
-       Bfree   uint64
-       Files   uint64
-       Ffree   uint64
-       Bavail  uint64
-       Fsid    Fsid
-       Namelen int64
-       Flags   int64
-       Spare   [5]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x27
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs        [102]uint64
-       U_tsize     uint64
-       U_dsize     uint64
-       U_ssize     uint64
-       Start_code  uint64
-       Start_data  uint64
-       Start_stack uint64
-       Signal      int64
-       U_ar0       uint64
-       Magic       uint64
-       U_comm      [32]int8
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag     uint32
-       Oflag     uint32
-       Cflag     uint32
-       Lflag     uint32
-       Line      uint8
-       Cc        [32]uint8
-       Pad_cgo_0 [3]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
deleted file mode 100644 (file)
index df16e83..0000000
+++ /dev/null
@@ -1,607 +0,0 @@
-// +build mips64le,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint32
-       Pad1    [3]int32
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint32
-       Pad2    [3]uint32
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize uint32
-       Pad4    uint32
-       Blocks  int64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Frsize  int64
-       Blocks  uint64
-       Bfree   uint64
-       Files   uint64
-       Ffree   uint64
-       Bavail  uint64
-       Fsid    Fsid
-       Namelen int64
-       Flags   int64
-       Spare   [5]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x27
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs        [102]uint64
-       U_tsize     uint64
-       U_dsize     uint64
-       U_ssize     uint64
-       Start_code  uint64
-       Start_data  uint64
-       Start_stack uint64
-       Signal      int64
-       U_ar0       uint64
-       Magic       uint64
-       U_comm      [32]int8
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag     uint32
-       Oflag     uint32
-       Cflag     uint32
-       Lflag     uint32
-       Line      uint8
-       Cc        [32]uint8
-       Pad_cgo_0 [3]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
deleted file mode 100644 (file)
index d110540..0000000
+++ /dev/null
@@ -1,614 +0,0 @@
-// +build ppc64,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev                uint64
-       Ino                uint64
-       Nlink              uint64
-       Mode               uint32
-       Uid                uint32
-       Gid                uint32
-       X__pad2            int32
-       Rdev               uint64
-       Size               int64
-       Blksize            int64
-       Blocks             int64
-       Atim               Timespec
-       Mtim               Timespec
-       Ctim               Timespec
-       X__glibc_reserved4 uint64
-       X__glibc_reserved5 uint64
-       X__glibc_reserved6 uint64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]uint8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]uint8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]uint8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len          uint64
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x23
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-       Name   [0]uint8
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Gpr       [32]uint64
-       Nip       uint64
-       Msr       uint64
-       Orig_gpr3 uint64
-       Ctr       uint64
-       Link      uint64
-       Xer       uint64
-       Ccr       uint64
-       Softe     uint64
-       Trap      uint64
-       Dar       uint64
-       Dsisr     uint64
-       Result    uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]uint8
-       Nodename   [65]uint8
-       Release    [65]uint8
-       Version    [65]uint8
-       Machine    [65]uint8
-       Domainname [65]uint8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]uint8
-       Fpack     [6]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events  uint32
-       X_padFd int32
-       Fd      int32
-       Pad     int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [19]uint8
-       Line   uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
deleted file mode 100644 (file)
index 8e25c9f..0000000
+++ /dev/null
@@ -1,614 +0,0 @@
-// +build ppc64le,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev                uint64
-       Ino                uint64
-       Nlink              uint64
-       Mode               uint32
-       Uid                uint32
-       Gid                uint32
-       X__pad2            int32
-       Rdev               uint64
-       Size               int64
-       Blksize            int64
-       Blocks             int64
-       Atim               Timespec
-       Mtim               Timespec
-       Ctim               Timespec
-       X__glibc_reserved4 uint64
-       X__glibc_reserved5 uint64
-       X__glibc_reserved6 uint64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]uint8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]uint8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]uint8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len          uint64
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x22
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-       Name   [0]uint8
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Gpr       [32]uint64
-       Nip       uint64
-       Msr       uint64
-       Orig_gpr3 uint64
-       Ctr       uint64
-       Link      uint64
-       Xer       uint64
-       Ccr       uint64
-       Softe     uint64
-       Trap      uint64
-       Dar       uint64
-       Dsisr     uint64
-       Result    uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]uint8
-       Nodename   [65]uint8
-       Release    [65]uint8
-       Version    [65]uint8
-       Machine    [65]uint8
-       Domainname [65]uint8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]uint8
-       Fpack     [6]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events  uint32
-       X_padFd int32
-       Fd      int32
-       Pad     int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [19]uint8
-       Line   uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
deleted file mode 100644 (file)
index 268e373..0000000
+++ /dev/null
@@ -1,629 +0,0 @@
-// +build s390x,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -fsigned-char types_linux.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       _         [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       _         [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       _         [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       _         [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint64
-       Ino     uint64
-       Nlink   uint64
-       Mode    uint32
-       Uid     uint32
-       Gid     uint32
-       _       int32
-       Rdev    uint64
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize int64
-       Blocks  int64
-       _       [3]int64
-}
-
-type Statfs_t struct {
-       Type    uint32
-       Bsize   uint32
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen uint32
-       Frsize  uint32
-       Flags   uint32
-       Spare   [4]uint32
-       _       [4]byte
-}
-
-type Dirent struct {
-       Ino    uint64
-       Off    int64
-       Reclen uint16
-       Type   uint8
-       Name   [256]int8
-       _      [5]byte
-}
-
-type Fsid struct {
-       _ [2]int32
-}
-
-type Flock_t struct {
-       Type   int16
-       Whence int16
-       _      [4]byte
-       Start  int64
-       Len    int64
-       Pid    int32
-       _      [4]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x6
-       FADV_NOREUSE    = 0x7
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       _          [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       _          [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       _              [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x27
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family uint8
-       _      uint8
-       Type   uint16
-       Index  int32
-       Flags  uint32
-       Change uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len    uint16
-       _      [6]byte
-       Filter *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Psw                      PtracePsw
-       Gprs                     [16]uint64
-       Acrs                     [16]uint32
-       Orig_gpr2                uint64
-       Fp_regs                  PtraceFpregs
-       Per_info                 PtracePer
-       Ieee_instruction_pointer uint64
-}
-
-type PtracePsw struct {
-       Mask uint64
-       Addr uint64
-}
-
-type PtraceFpregs struct {
-       Fpc  uint32
-       _    [4]byte
-       Fprs [16]float64
-}
-
-type PtracePer struct {
-       _             [0]uint64
-       _             [24]byte
-       _             [8]byte
-       Starting_addr uint64
-       Ending_addr   uint64
-       Perc_atmid    uint16
-       _             [6]byte
-       Address       uint64
-       Access_id     uint8
-       _             [7]byte
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       _         [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       _         [0]int8
-       _         [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       _      [4]byte
-       Tinode uint64
-       Fname  [6]int8
-       Fpack  [6]int8
-       _      [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       _      int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
deleted file mode 100644 (file)
index caf755f..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_netbsd.go
-
-// +build 386,netbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           uint64
-       Mode          uint32
-       Ino           uint64
-       Nlink         uint32
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint64
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Spare         [2]uint32
-}
-
-type Statfs_t [0]byte
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno    uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [512]int8
-       Pad_cgo_0 [3]byte
-}
-
-type Fsid struct {
-       X__fsid_val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter uint32
-       Flags  uint32
-       Fflags uint32
-       Data   int64
-       Udata  int32
-}
-
-type FdSet struct {
-       Bits [8]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0x98
-       SizeofIfData           = 0x84
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x78
-       SizeofRtMetrics        = 0x50
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-       Pad_cgo_1 [4]byte
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Link_state int32
-       Mtu        uint64
-       Metric     uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Lastchange Timespec
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Metric    int32
-       Index     uint16
-       Pad_cgo_0 [6]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     int32
-       Pad_cgo_1 [4]byte
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Expire   int64
-       Pksent   int64
-}
-
-type Mclpool [0]byte
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
-
-type Sysctlnode struct {
-       Flags           uint32
-       Num             int32
-       Name            [32]int8
-       Ver             uint32
-       X__rsvd         uint32
-       Un              [16]byte
-       X_sysctl_size   [8]byte
-       X_sysctl_func   [8]byte
-       X_sysctl_parent [8]byte
-       X_sysctl_desc   [8]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
deleted file mode 100644 (file)
index 91b4a53..0000000
+++ /dev/null
@@ -1,403 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_netbsd.go
-
-// +build amd64,netbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           uint64
-       Mode          uint32
-       Pad_cgo_0     [4]byte
-       Ino           uint64
-       Nlink         uint32
-       Uid           uint32
-       Gid           uint32
-       Pad_cgo_1     [4]byte
-       Rdev          uint64
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Spare         [2]uint32
-       Pad_cgo_2     [4]byte
-}
-
-type Statfs_t [0]byte
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno    uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [512]int8
-       Pad_cgo_0 [3]byte
-}
-
-type Fsid struct {
-       X__fsid_val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident     uint64
-       Filter    uint32
-       Flags     uint32
-       Fflags    uint32
-       Pad_cgo_0 [4]byte
-       Data      int64
-       Udata     int64
-}
-
-type FdSet struct {
-       Bits [8]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0x98
-       SizeofIfData           = 0x88
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x78
-       SizeofRtMetrics        = 0x50
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Link_state int32
-       Mtu        uint64
-       Metric     uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Lastchange Timespec
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Metric    int32
-       Index     uint16
-       Pad_cgo_0 [6]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     int32
-       Pad_cgo_1 [4]byte
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Expire   int64
-       Pksent   int64
-}
-
-type Mclpool [0]byte
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type BpfTimeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
-
-type Sysctlnode struct {
-       Flags           uint32
-       Num             int32
-       Name            [32]int8
-       Ver             uint32
-       X__rsvd         uint32
-       Un              [16]byte
-       X_sysctl_size   [8]byte
-       X_sysctl_func   [8]byte
-       X_sysctl_parent [8]byte
-       X_sysctl_desc   [8]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
deleted file mode 100644 (file)
index c0758f9..0000000
+++ /dev/null
@@ -1,401 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_netbsd.go
-
-// +build arm,netbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec       int64
-       Nsec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           uint64
-       Mode          uint32
-       Pad_cgo_0     [4]byte
-       Ino           uint64
-       Nlink         uint32
-       Uid           uint32
-       Gid           uint32
-       Pad_cgo_1     [4]byte
-       Rdev          uint64
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Spare         [2]uint32
-       Pad_cgo_2     [4]byte
-}
-
-type Statfs_t [0]byte
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno    uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [512]int8
-       Pad_cgo_0 [3]byte
-}
-
-type Fsid struct {
-       X__fsid_val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident     uint32
-       Filter    uint32
-       Flags     uint32
-       Fflags    uint32
-       Data      int64
-       Udata     int32
-       Pad_cgo_0 [4]byte
-}
-
-type FdSet struct {
-       Bits [8]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0x98
-       SizeofIfData           = 0x88
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x78
-       SizeofRtMetrics        = 0x50
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Link_state int32
-       Mtu        uint64
-       Metric     uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Lastchange Timespec
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Metric    int32
-       Index     uint16
-       Pad_cgo_0 [6]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     int32
-       Pad_cgo_1 [4]byte
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Expire   int64
-       Pksent   int64
-}
-
-type Mclpool [0]byte
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
-
-type Sysctlnode struct {
-       Flags           uint32
-       Num             int32
-       Name            [32]int8
-       Ver             uint32
-       X__rsvd         uint32
-       Un              [16]byte
-       X_sysctl_size   [8]byte
-       X_sysctl_func   [8]byte
-       X_sysctl_parent [8]byte
-       X_sysctl_desc   [8]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
deleted file mode 100644 (file)
index 860a469..0000000
+++ /dev/null
@@ -1,441 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_openbsd.go
-
-// +build 386,openbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Mode           uint32
-       Dev            int32
-       Ino            uint64
-       Nlink          uint32
-       Uid            uint32
-       Gid            uint32
-       Rdev           int32
-       Atim           Timespec
-       Mtim           Timespec
-       Ctim           Timespec
-       Size           int64
-       Blocks         int64
-       Blksize        uint32
-       Flags          uint32
-       Gen            uint32
-       X__st_birthtim Timespec
-}
-
-type Statfs_t struct {
-       F_flags       uint32
-       F_bsize       uint32
-       F_iosize      uint32
-       F_blocks      uint64
-       F_bfree       uint64
-       F_bavail      int64
-       F_files       uint64
-       F_ffree       uint64
-       F_favail      int64
-       F_syncwrites  uint64
-       F_syncreads   uint64
-       F_asyncwrites uint64
-       F_asyncreads  uint64
-       F_fsid        Fsid
-       F_namemax     uint32
-       F_owner       uint32
-       F_ctime       uint64
-       F_fstypename  [16]int8
-       F_mntonname   [90]int8
-       F_mntfromname [90]int8
-       F_mntfromspec [90]int8
-       Pad_cgo_0     [2]byte
-       Mount_info    [160]byte
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno       uint64
-       Off          int64
-       Reclen       uint16
-       Type         uint8
-       Namlen       uint8
-       X__d_padding [4]uint8
-       Name         [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [24]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x20
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0xec
-       SizeofIfData           = 0xd4
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x1a
-       SizeofRtMsghdr         = 0x60
-       SizeofRtMetrics        = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Xflags  int32
-       Data    IfData
-}
-
-type IfData struct {
-       Type         uint8
-       Addrlen      uint8
-       Hdrlen       uint8
-       Link_state   uint8
-       Mtu          uint32
-       Metric       uint32
-       Pad          uint32
-       Baudrate     uint64
-       Ipackets     uint64
-       Ierrors      uint64
-       Opackets     uint64
-       Oerrors      uint64
-       Collisions   uint64
-       Ibytes       uint64
-       Obytes       uint64
-       Imcasts      uint64
-       Omcasts      uint64
-       Iqdrops      uint64
-       Noproto      uint64
-       Capabilities uint32
-       Lastchange   Timeval
-       Mclpool      [7]Mclpool
-}
-
-type IfaMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Metric  int32
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       What    uint16
-       Name    [16]int8
-}
-
-type RtMsghdr struct {
-       Msglen   uint16
-       Version  uint8
-       Type     uint8
-       Hdrlen   uint16
-       Index    uint16
-       Tableid  uint16
-       Priority uint8
-       Mpls     uint8
-       Addrs    int32
-       Flags    int32
-       Fmask    int32
-       Pid      int32
-       Seq      int32
-       Errno    int32
-       Inits    uint32
-       Rmx      RtMetrics
-}
-
-type RtMetrics struct {
-       Pksent   uint64
-       Expire   int64
-       Locks    uint32
-       Mtu      uint32
-       Refcnt   uint32
-       Hopcount uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pad      uint32
-}
-
-type Mclpool struct {
-       Grown int32
-       Alive uint16
-       Hwm   uint16
-       Cwm   uint16
-       Lwm   uint16
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  uint32
-       Usec uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
deleted file mode 100644 (file)
index 23c5272..0000000
+++ /dev/null
@@ -1,448 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_openbsd.go
-
-// +build amd64,openbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Mode           uint32
-       Dev            int32
-       Ino            uint64
-       Nlink          uint32
-       Uid            uint32
-       Gid            uint32
-       Rdev           int32
-       Atim           Timespec
-       Mtim           Timespec
-       Ctim           Timespec
-       Size           int64
-       Blocks         int64
-       Blksize        uint32
-       Flags          uint32
-       Gen            uint32
-       Pad_cgo_0      [4]byte
-       X__st_birthtim Timespec
-}
-
-type Statfs_t struct {
-       F_flags       uint32
-       F_bsize       uint32
-       F_iosize      uint32
-       Pad_cgo_0     [4]byte
-       F_blocks      uint64
-       F_bfree       uint64
-       F_bavail      int64
-       F_files       uint64
-       F_ffree       uint64
-       F_favail      int64
-       F_syncwrites  uint64
-       F_syncreads   uint64
-       F_asyncwrites uint64
-       F_asyncreads  uint64
-       F_fsid        Fsid
-       F_namemax     uint32
-       F_owner       uint32
-       F_ctime       uint64
-       F_fstypename  [16]int8
-       F_mntonname   [90]int8
-       F_mntfromname [90]int8
-       F_mntfromspec [90]int8
-       Pad_cgo_1     [2]byte
-       Mount_info    [160]byte
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno       uint64
-       Off          int64
-       Reclen       uint16
-       Type         uint8
-       Namlen       uint8
-       X__d_padding [4]uint8
-       Name         [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [24]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x20
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0xf8
-       SizeofIfData           = 0xe0
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x1a
-       SizeofRtMsghdr         = 0x60
-       SizeofRtMetrics        = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Xflags  int32
-       Data    IfData
-}
-
-type IfData struct {
-       Type         uint8
-       Addrlen      uint8
-       Hdrlen       uint8
-       Link_state   uint8
-       Mtu          uint32
-       Metric       uint32
-       Pad          uint32
-       Baudrate     uint64
-       Ipackets     uint64
-       Ierrors      uint64
-       Opackets     uint64
-       Oerrors      uint64
-       Collisions   uint64
-       Ibytes       uint64
-       Obytes       uint64
-       Imcasts      uint64
-       Omcasts      uint64
-       Iqdrops      uint64
-       Noproto      uint64
-       Capabilities uint32
-       Pad_cgo_0    [4]byte
-       Lastchange   Timeval
-       Mclpool      [7]Mclpool
-       Pad_cgo_1    [4]byte
-}
-
-type IfaMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Metric  int32
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       What    uint16
-       Name    [16]int8
-}
-
-type RtMsghdr struct {
-       Msglen   uint16
-       Version  uint8
-       Type     uint8
-       Hdrlen   uint16
-       Index    uint16
-       Tableid  uint16
-       Priority uint8
-       Mpls     uint8
-       Addrs    int32
-       Flags    int32
-       Fmask    int32
-       Pid      int32
-       Seq      int32
-       Errno    int32
-       Inits    uint32
-       Rmx      RtMetrics
-}
-
-type RtMetrics struct {
-       Pksent   uint64
-       Expire   int64
-       Locks    uint32
-       Mtu      uint32
-       Refcnt   uint32
-       Hopcount uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pad      uint32
-}
-
-type Mclpool struct {
-       Grown int32
-       Alive uint16
-       Hwm   uint16
-       Cwm   uint16
-       Lwm   uint16
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  uint32
-       Usec uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
deleted file mode 100644 (file)
index b3b928a..0000000
+++ /dev/null
@@ -1,422 +0,0 @@
-// +build amd64,solaris
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_solaris.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x400
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timeval32 struct {
-       Sec  int32
-       Usec int32
-}
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev       uint64
-       Ino       uint64
-       Mode      uint32
-       Nlink     uint32
-       Uid       uint32
-       Gid       uint32
-       Rdev      uint64
-       Size      int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       Blksize   int32
-       Pad_cgo_0 [4]byte
-       Blocks    int64
-       Fstype    [16]int8
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Sysid     int32
-       Pid       int32
-       Pad       [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Name      [1]int8
-       Pad_cgo_0 [5]byte
-}
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Family         uint16
-       Port           uint16
-       Flowinfo       uint32
-       Addr           [16]byte /* in6_addr */
-       Scope_id       uint32
-       X__sin6_src_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrDatalink struct {
-       Family uint16
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [244]int8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [236]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *int8
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name         *byte
-       Namelen      uint32
-       Pad_cgo_0    [4]byte
-       Iov          *Iovec
-       Iovlen       int32
-       Pad_cgo_1    [4]byte
-       Accrights    *int8
-       Accrightslen int32
-       Pad_cgo_2    [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       X__icmp6_filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x20
-       SizeofSockaddrAny      = 0xfc
-       SizeofSockaddrUnix     = 0x6e
-       SizeofSockaddrDatalink = 0xfc
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x24
-       SizeofICMPv6Filter     = 0x20
-)
-
-type FdSet struct {
-       Bits [1024]int64
-}
-
-type Utsname struct {
-       Sysname  [257]int8
-       Nodename [257]int8
-       Release  [257]int8
-       Version  [257]int8
-       Machine  [257]int8
-}
-
-type Ustat_t struct {
-       Tfree     int64
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_0 [4]byte
-}
-
-const (
-       AT_FDCWD            = 0xffd19553
-       AT_SYMLINK_NOFOLLOW = 0x1000
-       AT_SYMLINK_FOLLOW   = 0x2000
-       AT_REMOVEDIR        = 0x1
-       AT_EACCESS          = 0x4
-)
-
-const (
-       SizeofIfMsghdr  = 0x54
-       SizeofIfData    = 0x44
-       SizeofIfaMsghdr = 0x14
-       SizeofRtMsghdr  = 0x4c
-       SizeofRtMetrics = 0x28
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Lastchange Timeval32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfTimeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-const _SC_PAGESIZE = 0xb
-
-type Termios struct {
-       Iflag     uint32
-       Oflag     uint32
-       Cflag     uint32
-       Lflag     uint32
-       Cc        [19]uint8
-       Pad_cgo_0 [1]byte
-}
-
-type Termio struct {
-       Iflag     uint16
-       Oflag     uint16
-       Cflag     uint16
-       Lflag     uint16
-       Line      int8
-       Cc        [8]uint8
-       Pad_cgo_0 [1]byte
-}
-
-type Winsize struct {
-       Row    uint16
-       Col    uint16
-       Xpixel uint16
-       Ypixel uint16
-}