From 194e6196d59382db9479ca88bf79882004a8dd96 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Wed, 14 Dec 2022 09:57:43 +0800 Subject: [PATCH] update sys to support loongarch64 --- 0001-update-sys-to-support-loongarch64.patch | 70369 +++++++++++++++++ containernetworking-plugins.spec | 8 +- 2 files changed, 70376 insertions(+), 1 deletion(-) create mode 100644 0001-update-sys-to-support-loongarch64.patch diff --git a/0001-update-sys-to-support-loongarch64.patch b/0001-update-sys-to-support-loongarch64.patch new file mode 100644 index 0000000..c94262a --- /dev/null +++ b/0001-update-sys-to-support-loongarch64.patch @@ -0,0 +1,70369 @@ +From 6a1e409bb7fa7e60954c1d1b3b4776137f292627 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Wed, 14 Dec 2022 01:41:05 +0000 +Subject: [PATCH] update sys to support loongarch64 + +--- + go.mod | 2 +- + go.sum | 4 +- + vendor/golang.org/x/sys/AUTHORS | 3 - + vendor/golang.org/x/sys/CONTRIBUTORS | 3 - + vendor/golang.org/x/sys/unix/README.md | 2 +- + vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s | 31 + + .../golang.org/x/sys/unix/asm_bsd_riscv64.s | 29 + + .../golang.org/x/sys/unix/asm_linux_loong64.s | 54 + + vendor/golang.org/x/sys/unix/dirent.go | 4 +- + vendor/golang.org/x/sys/unix/endian_little.go | 4 +- + .../x/sys/unix/errors_freebsd_386.go | 233 -- + .../x/sys/unix/errors_freebsd_amd64.go | 233 -- + .../x/sys/unix/errors_freebsd_arm.go | 226 -- + .../x/sys/unix/errors_freebsd_arm64.go | 17 - + vendor/golang.org/x/sys/unix/ifreq_linux.go | 116 +- + vendor/golang.org/x/sys/unix/ioctl_linux.go | 67 +- + vendor/golang.org/x/sys/unix/mkall.sh | 60 +- + vendor/golang.org/x/sys/unix/mkerrors.sh | 39 +- + .../golang.org/x/sys/unix/sockcmsg_linux.go | 49 + + vendor/golang.org/x/sys/unix/sockcmsg_unix.go | 14 + + vendor/golang.org/x/sys/unix/str.go | 27 - + vendor/golang.org/x/sys/unix/syscall.go | 10 +- + vendor/golang.org/x/sys/unix/syscall_aix.go | 103 +- + vendor/golang.org/x/sys/unix/syscall_bsd.go | 101 +- + .../x/sys/unix/syscall_darwin.1_12.go | 32 - + .../x/sys/unix/syscall_darwin.1_13.go | 108 - + .../golang.org/x/sys/unix/syscall_darwin.go | 211 +- + .../x/sys/unix/syscall_dragonfly.go | 21 +- + .../golang.org/x/sys/unix/syscall_freebsd.go | 342 +- + .../x/sys/unix/syscall_freebsd_386.go | 6 +- + .../x/sys/unix/syscall_freebsd_amd64.go | 6 +- + .../x/sys/unix/syscall_freebsd_arm.go | 4 +- + .../x/sys/unix/syscall_freebsd_arm64.go | 4 +- + .../x/sys/unix/syscall_freebsd_riscv64.go | 63 + + .../golang.org/x/sys/unix/syscall_illumos.go | 103 +- + vendor/golang.org/x/sys/unix/syscall_linux.go | 434 ++- + .../x/sys/unix/syscall_linux_386.go | 58 +- + .../x/sys/unix/syscall_linux_alarm.go | 14 + + .../x/sys/unix/syscall_linux_amd64.go | 58 +- + .../x/sys/unix/syscall_linux_arm.go | 55 +- + .../x/sys/unix/syscall_linux_arm64.go | 65 +- + .../x/sys/unix/syscall_linux_loong64.go | 222 ++ + .../x/sys/unix/syscall_linux_mips64x.go | 48 +- + .../x/sys/unix/syscall_linux_mipsx.go | 48 +- + .../x/sys/unix/syscall_linux_ppc.go | 54 +- + .../x/sys/unix/syscall_linux_ppc64x.go | 47 +- + .../x/sys/unix/syscall_linux_riscv64.go | 61 +- + .../x/sys/unix/syscall_linux_s390x.go | 53 +- + .../x/sys/unix/syscall_linux_sparc64.go | 46 +- + .../golang.org/x/sys/unix/syscall_netbsd.go | 23 +- + .../golang.org/x/sys/unix/syscall_openbsd.go | 17 +- + .../x/sys/unix/syscall_openbsd_libc.go | 27 + + .../x/sys/unix/syscall_openbsd_mips64.go | 4 + + .../x/sys/unix/syscall_openbsd_ppc64.go | 42 + + .../x/sys/unix/syscall_openbsd_riscv64.go | 42 + + .../golang.org/x/sys/unix/syscall_solaris.go | 510 ++- + vendor/golang.org/x/sys/unix/syscall_unix.go | 145 +- + .../golang.org/x/sys/unix/syscall_unix_gc.go | 6 +- + .../x/sys/unix/syscall_zos_s390x.go | 195 +- + vendor/golang.org/x/sys/unix/sysvshm_linux.go | 21 + + vendor/golang.org/x/sys/unix/sysvshm_unix.go | 52 + + .../x/sys/unix/sysvshm_unix_other.go | 14 + + vendor/golang.org/x/sys/unix/xattr_bsd.go | 95 +- + .../x/sys/unix/zerrors_darwin_amd64.go | 3125 +++++++++-------- + .../x/sys/unix/zerrors_darwin_arm64.go | 3125 +++++++++-------- + .../x/sys/unix/zerrors_freebsd_386.go | 109 +- + .../x/sys/unix/zerrors_freebsd_amd64.go | 107 +- + .../x/sys/unix/zerrors_freebsd_arm.go | 220 +- + .../x/sys/unix/zerrors_freebsd_arm64.go | 100 +- + .../x/sys/unix/zerrors_freebsd_riscv64.go | 2148 +++++++++++ + vendor/golang.org/x/sys/unix/zerrors_linux.go | 568 ++- + .../x/sys/unix/zerrors_linux_386.go | 12 +- + .../x/sys/unix/zerrors_linux_amd64.go | 12 +- + .../x/sys/unix/zerrors_linux_arm.go | 12 +- + .../x/sys/unix/zerrors_linux_arm64.go | 13 +- + .../x/sys/unix/zerrors_linux_loong64.go | 818 +++++ + .../x/sys/unix/zerrors_linux_mips.go | 12 +- + .../x/sys/unix/zerrors_linux_mips64.go | 12 +- + .../x/sys/unix/zerrors_linux_mips64le.go | 12 +- + .../x/sys/unix/zerrors_linux_mipsle.go | 12 +- + .../x/sys/unix/zerrors_linux_ppc.go | 12 +- + .../x/sys/unix/zerrors_linux_ppc64.go | 12 +- + .../x/sys/unix/zerrors_linux_ppc64le.go | 12 +- + .../x/sys/unix/zerrors_linux_riscv64.go | 12 +- + .../x/sys/unix/zerrors_linux_s390x.go | 12 +- + .../x/sys/unix/zerrors_linux_sparc64.go | 12 +- + .../x/sys/unix/zerrors_openbsd_386.go | 3 + + .../x/sys/unix/zerrors_openbsd_arm.go | 3 + + .../x/sys/unix/zerrors_openbsd_ppc64.go | 1905 ++++++++++ + .../x/sys/unix/zerrors_openbsd_riscv64.go | 1904 ++++++++++ + .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 26 +- + .../x/sys/unix/zsyscall_aix_ppc64.go | 24 +- + .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 20 +- + .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 18 +- + .../x/sys/unix/zsyscall_darwin_amd64.1_13.go | 40 - + .../x/sys/unix/zsyscall_darwin_amd64.1_13.s | 25 - + .../x/sys/unix/zsyscall_darwin_amd64.go | 132 +- + .../x/sys/unix/zsyscall_darwin_amd64.s | 61 +- + .../x/sys/unix/zsyscall_darwin_arm64.1_13.go | 40 - + .../x/sys/unix/zsyscall_darwin_arm64.1_13.s | 25 - + .../x/sys/unix/zsyscall_darwin_arm64.go | 132 +- + .../x/sys/unix/zsyscall_darwin_arm64.s | 61 +- + .../x/sys/unix/zsyscall_freebsd_386.go | 145 +- + .../x/sys/unix/zsyscall_freebsd_amd64.go | 143 +- + .../x/sys/unix/zsyscall_freebsd_arm.go | 177 +- + .../x/sys/unix/zsyscall_freebsd_arm64.go | 143 +- + .../x/sys/unix/zsyscall_freebsd_riscv64.go | 1889 ++++++++++ + .../x/sys/unix/zsyscall_illumos_amd64.go | 28 +- + .../golang.org/x/sys/unix/zsyscall_linux.go | 217 +- + .../x/sys/unix/zsyscall_linux_386.go | 94 +- + .../x/sys/unix/zsyscall_linux_amd64.go | 128 +- + .../x/sys/unix/zsyscall_linux_arm.go | 108 +- + .../x/sys/unix/zsyscall_linux_arm64.go | 66 +- + .../x/sys/unix/zsyscall_linux_loong64.go | 487 +++ + .../x/sys/unix/zsyscall_linux_mips.go | 107 +- + .../x/sys/unix/zsyscall_linux_mips64.go | 84 +- + .../x/sys/unix/zsyscall_linux_mips64le.go | 87 +- + .../x/sys/unix/zsyscall_linux_mipsle.go | 107 +- + .../x/sys/unix/zsyscall_linux_ppc.go | 121 +- + .../x/sys/unix/zsyscall_linux_ppc64.go | 121 +- + .../x/sys/unix/zsyscall_linux_ppc64le.go | 121 +- + .../x/sys/unix/zsyscall_linux_riscv64.go | 66 +- + .../x/sys/unix/zsyscall_linux_s390x.go | 98 +- + .../x/sys/unix/zsyscall_linux_sparc64.go | 94 +- + .../x/sys/unix/zsyscall_netbsd_386.go | 16 +- + .../x/sys/unix/zsyscall_netbsd_amd64.go | 16 +- + .../x/sys/unix/zsyscall_netbsd_arm.go | 16 +- + .../x/sys/unix/zsyscall_netbsd_arm64.go | 16 +- + .../x/sys/unix/zsyscall_openbsd_386.go | 802 ++++- + .../x/sys/unix/zsyscall_openbsd_386.s | 796 +++++ + .../x/sys/unix/zsyscall_openbsd_amd64.go | 802 ++++- + .../x/sys/unix/zsyscall_openbsd_amd64.s | 796 +++++ + .../x/sys/unix/zsyscall_openbsd_arm.go | 802 ++++- + .../x/sys/unix/zsyscall_openbsd_arm.s | 796 +++++ + .../x/sys/unix/zsyscall_openbsd_arm64.go | 802 ++++- + .../x/sys/unix/zsyscall_openbsd_arm64.s | 796 +++++ + .../x/sys/unix/zsyscall_openbsd_mips64.go | 4 +- + .../x/sys/unix/zsyscall_openbsd_ppc64.go | 2221 ++++++++++++ + .../x/sys/unix/zsyscall_openbsd_ppc64.s | 796 +++++ + .../x/sys/unix/zsyscall_openbsd_riscv64.go | 2221 ++++++++++++ + .../x/sys/unix/zsyscall_openbsd_riscv64.s | 796 +++++ + .../x/sys/unix/zsyscall_solaris_amd64.go | 128 +- + .../x/sys/unix/zsysctl_openbsd_ppc64.go | 281 ++ + .../x/sys/unix/zsysctl_openbsd_riscv64.go | 282 ++ + .../x/sys/unix/zsysnum_freebsd_386.go | 107 +- + .../x/sys/unix/zsysnum_freebsd_amd64.go | 107 +- + .../x/sys/unix/zsysnum_freebsd_arm.go | 107 +- + .../x/sys/unix/zsysnum_freebsd_arm64.go | 107 +- + .../x/sys/unix/zsysnum_freebsd_riscv64.go | 394 +++ + .../x/sys/unix/zsysnum_linux_386.go | 10 +- + .../x/sys/unix/zsysnum_linux_amd64.go | 718 ++-- + .../x/sys/unix/zsysnum_linux_arm.go | 10 +- + .../x/sys/unix/zsysnum_linux_arm64.go | 608 ++-- + .../x/sys/unix/zsysnum_linux_loong64.go | 311 ++ + .../x/sys/unix/zsysnum_linux_mips.go | 9 +- + .../x/sys/unix/zsysnum_linux_mips64.go | 703 ++-- + .../x/sys/unix/zsysnum_linux_mips64le.go | 703 ++-- + .../x/sys/unix/zsysnum_linux_mipsle.go | 9 +- + .../x/sys/unix/zsysnum_linux_ppc.go | 9 +- + .../x/sys/unix/zsysnum_linux_ppc64.go | 801 ++--- + .../x/sys/unix/zsysnum_linux_ppc64le.go | 801 ++--- + .../x/sys/unix/zsysnum_linux_riscv64.go | 606 ++-- + .../x/sys/unix/zsysnum_linux_s390x.go | 731 ++-- + .../x/sys/unix/zsysnum_linux_sparc64.go | 759 ++-- + .../x/sys/unix/zsysnum_openbsd_386.go | 1 + + .../x/sys/unix/zsysnum_openbsd_amd64.go | 1 + + .../x/sys/unix/zsysnum_openbsd_arm.go | 1 + + .../x/sys/unix/zsysnum_openbsd_arm64.go | 1 + + .../x/sys/unix/zsysnum_openbsd_ppc64.go | 218 ++ + .../x/sys/unix/zsysnum_openbsd_riscv64.go | 219 ++ + .../x/sys/unix/ztypes_darwin_amd64.go | 196 +- + .../x/sys/unix/ztypes_darwin_arm64.go | 196 +- + .../x/sys/unix/ztypes_freebsd_386.go | 116 +- + .../x/sys/unix/ztypes_freebsd_amd64.go | 114 +- + .../x/sys/unix/ztypes_freebsd_arm.go | 163 +- + .../x/sys/unix/ztypes_freebsd_arm64.go | 112 +- + .../x/sys/unix/ztypes_freebsd_riscv64.go | 638 ++++ + .../x/sys/unix/ztypes_illumos_amd64.go | 40 - + vendor/golang.org/x/sys/unix/ztypes_linux.go | 1728 ++++++++- + .../golang.org/x/sys/unix/ztypes_linux_386.go | 61 +- + .../x/sys/unix/ztypes_linux_amd64.go | 58 +- + .../golang.org/x/sys/unix/ztypes_linux_arm.go | 61 +- + .../x/sys/unix/ztypes_linux_arm64.go | 58 +- + .../x/sys/unix/ztypes_linux_loong64.go | 691 ++++ + .../x/sys/unix/ztypes_linux_mips.go | 60 +- + .../x/sys/unix/ztypes_linux_mips64.go | 58 +- + .../x/sys/unix/ztypes_linux_mips64le.go | 58 +- + .../x/sys/unix/ztypes_linux_mipsle.go | 60 +- + .../golang.org/x/sys/unix/ztypes_linux_ppc.go | 62 +- + .../x/sys/unix/ztypes_linux_ppc64.go | 57 +- + .../x/sys/unix/ztypes_linux_ppc64le.go | 57 +- + .../x/sys/unix/ztypes_linux_riscv64.go | 58 +- + .../x/sys/unix/ztypes_linux_s390x.go | 61 +- + .../x/sys/unix/ztypes_linux_sparc64.go | 57 +- + .../x/sys/unix/ztypes_openbsd_386.go | 19 +- + .../x/sys/unix/ztypes_openbsd_amd64.go | 19 +- + .../x/sys/unix/ztypes_openbsd_arm.go | 19 +- + .../x/sys/unix/ztypes_openbsd_arm64.go | 19 +- + .../x/sys/unix/ztypes_openbsd_mips64.go | 19 +- + .../x/sys/unix/ztypes_openbsd_ppc64.go | 571 +++ + .../x/sys/unix/ztypes_openbsd_riscv64.go | 571 +++ + .../x/sys/unix/ztypes_solaris_amd64.go | 77 +- + .../golang.org/x/sys/unix/ztypes_zos_s390x.go | 11 +- + vendor/golang.org/x/sys/windows/aliases.go | 4 +- + vendor/golang.org/x/sys/windows/eventlog.go | 1 + + .../golang.org/x/sys/windows/exec_windows.go | 47 +- + .../x/sys/windows/memory_windows.go | 11 + + vendor/golang.org/x/sys/windows/mksyscall.go | 3 +- + vendor/golang.org/x/sys/windows/race.go | 1 + + vendor/golang.org/x/sys/windows/race0.go | 1 + + .../golang.org/x/sys/windows/registry/key.go | 10 +- + .../x/sys/windows/registry/mksyscall.go | 1 + + .../x/sys/windows/registry/syscall.go | 1 + + .../x/sys/windows/registry/value.go | 1 + + .../x/sys/windows/security_windows.go | 1 + + vendor/golang.org/x/sys/windows/service.go | 14 +- + .../x/sys/windows/setupapi_windows.go | 1425 ++++++++ + .../x/sys/windows/setupapierrors_windows.go | 100 - + vendor/golang.org/x/sys/windows/str.go | 1 + + vendor/golang.org/x/sys/windows/syscall.go | 11 +- + .../x/sys/windows/syscall_windows.go | 224 +- + .../golang.org/x/sys/windows/types_windows.go | 537 ++- + .../x/sys/windows/zsyscall_windows.go | 661 +++- + vendor/modules.txt | 2 +- + 224 files changed, 42333 insertions(+), 12431 deletions(-) + delete mode 100644 vendor/golang.org/x/sys/AUTHORS + delete mode 100644 vendor/golang.org/x/sys/CONTRIBUTORS + create mode 100644 vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s + create mode 100644 vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s + create mode 100644 vendor/golang.org/x/sys/unix/asm_linux_loong64.s + delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_386.go + delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go + delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm.go + delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go + delete mode 100644 vendor/golang.org/x/sys/unix/str.go + delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go + delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go + create mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_alarm.go + create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_loong64.go + create mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go + create mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go + create mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/sysvshm_linux.go + create mode 100644 vendor/golang.org/x/sys/unix/sysvshm_unix.go + create mode 100644 vendor/golang.org/x/sys/unix/sysvshm_unix_other.go + create mode 100644 vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go + create mode 100644 vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go + create mode 100644 vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go + delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go + delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s + delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go + delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s + create mode 100644 vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go + create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go + delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_illumos_amd64.go + create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go + create mode 100644 vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go + create mode 100644 vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go + create mode 100644 vendor/golang.org/x/sys/windows/setupapi_windows.go + delete mode 100644 vendor/golang.org/x/sys/windows/setupapierrors_windows.go + +diff --git a/go.mod b/go.mod +index c9503b1..0915c09 100644 +--- a/go.mod ++++ b/go.mod +@@ -19,7 +19,7 @@ require ( + github.com/onsi/gomega v1.15.0 + github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1 + github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5 +- golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e ++ golang.org/x/sys v0.3.0 + ) + + require ( +diff --git a/go.sum b/go.sum +index 6a816fe..54fdea8 100644 +--- a/go.sum ++++ b/go.sum +@@ -777,8 +777,8 @@ golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7w + golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= + golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= + golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +-golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e h1:WUoyKPm6nCo1BnNUvPGnFG3T5DUVem42yDJZZ4CNxMA= +-golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= ++golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= ++golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= + golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= + golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= + golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +diff --git a/vendor/golang.org/x/sys/AUTHORS b/vendor/golang.org/x/sys/AUTHORS +deleted file mode 100644 +index 15167cd..0000000 +--- a/vendor/golang.org/x/sys/AUTHORS ++++ /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 +index 1c4577e..0000000 +--- a/vendor/golang.org/x/sys/CONTRIBUTORS ++++ /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/unix/README.md b/vendor/golang.org/x/sys/unix/README.md +index 474efad..7d3c060 100644 +--- a/vendor/golang.org/x/sys/unix/README.md ++++ b/vendor/golang.org/x/sys/unix/README.md +@@ -149,7 +149,7 @@ To add a constant, add the header that includes it to the appropriate variable. + Then, edit the regex (if necessary) to match the desired constant. Avoid making + the regex too broad to avoid matching unintended constants. + +-### mkmerge.go ++### internal/mkmerge + + This program is used to extract duplicate const, func, and type declarations + from the generated architecture-specific files listed below, and merge these +diff --git a/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s b/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +new file mode 100644 +index 0000000..e5b9a84 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +@@ -0,0 +1,31 @@ ++// Copyright 2022 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. ++ ++//go:build (darwin || freebsd || netbsd || openbsd) && gc ++// +build darwin freebsd netbsd openbsd ++// +build gc ++ ++#include "textflag.h" ++ ++// ++// System call support for ppc64, BSD ++// ++ ++// 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_bsd_riscv64.s b/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +new file mode 100644 +index 0000000..d560019 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +@@ -0,0 +1,29 @@ ++// Copyright 2021 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. ++ ++//go:build (darwin || freebsd || netbsd || openbsd) && gc ++// +build darwin freebsd netbsd openbsd ++// +build gc ++ ++#include "textflag.h" ++ ++// System call support for RISCV64 BSD ++ ++// 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_linux_loong64.s b/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +new file mode 100644 +index 0000000..5653572 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +@@ -0,0 +1,54 @@ ++// Copyright 2022 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. ++ ++//go:build linux && loong64 && gc ++// +build linux ++// +build loong64 ++// +build gc ++ ++#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 ++ JMP syscall·Syscall(SB) ++ ++TEXT ·Syscall6(SB),NOSPLIT,$0-80 ++ JMP syscall·Syscall6(SB) ++ ++TEXT ·SyscallNoError(SB),NOSPLIT,$0-48 ++ JAL runtime·entersyscall(SB) ++ MOVV a1+8(FP), R4 ++ MOVV a2+16(FP), R5 ++ MOVV a3+24(FP), R6 ++ MOVV R0, R7 ++ MOVV R0, R8 ++ MOVV R0, R9 ++ MOVV trap+0(FP), R11 // syscall entry ++ SYSCALL ++ MOVV R4, r1+32(FP) ++ MOVV R0, r2+40(FP) // r2 is not used. Always set to 0 ++ JAL runtime·exitsyscall(SB) ++ RET ++ ++TEXT ·RawSyscall(SB),NOSPLIT,$0-56 ++ JMP syscall·RawSyscall(SB) ++ ++TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 ++ JMP syscall·RawSyscall6(SB) ++ ++TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48 ++ MOVV a1+8(FP), R4 ++ MOVV a2+16(FP), R5 ++ MOVV a3+24(FP), R6 ++ MOVV R0, R7 ++ MOVV R0, R8 ++ MOVV R0, R9 ++ MOVV trap+0(FP), R11 // syscall entry ++ SYSCALL ++ MOVV R4, r1+32(FP) ++ MOVV R0, r2+40(FP) // r2 is not used. Always set to 0 ++ RET +diff --git a/vendor/golang.org/x/sys/unix/dirent.go b/vendor/golang.org/x/sys/unix/dirent.go +index e74e5ea..2499f97 100644 +--- a/vendor/golang.org/x/sys/unix/dirent.go ++++ b/vendor/golang.org/x/sys/unix/dirent.go +@@ -2,8 +2,8 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + +-//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris +-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris ++//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos ++// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos + + package unix + +diff --git a/vendor/golang.org/x/sys/unix/endian_little.go b/vendor/golang.org/x/sys/unix/endian_little.go +index 4362f47..b0f2bc4 100644 +--- a/vendor/golang.org/x/sys/unix/endian_little.go ++++ b/vendor/golang.org/x/sys/unix/endian_little.go +@@ -2,8 +2,8 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + // +-//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh +-// +build 386 amd64 amd64p32 alpha arm arm64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh ++//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh ++// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh + + package unix + +diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go b/vendor/golang.org/x/sys/unix/errors_freebsd_386.go +deleted file mode 100644 +index 761db66..0000000 +--- a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go ++++ /dev/null +@@ -1,233 +0,0 @@ +-// Copyright 2017 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. +- +-// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep +-// them here for backwards compatibility. +- +-package unix +- +-const ( +- DLT_HHDLC = 0x79 +- IFF_SMART = 0x20 +- 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_BSC = 0x53 +- 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_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_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_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_PPPMULTILINKBUNDLE = 0x6c +- IFT_PROPBWAP2MP = 0xb8 +- IFT_PROPCNLS = 0x59 +- IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 +- IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 +- IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 +- IFT_PROPMUX = 0x36 +- 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 +- IPPROTO_MAXID = 0x34 +- IPV6_FAITH = 0x1d +- IPV6_MIN_MEMBERSHIPS = 0x1f +- IP_FAITH = 0x16 +- IP_MAX_SOURCE_FILTER = 0x400 +- IP_MIN_MEMBERSHIPS = 0x1f +- MAP_NORESERVE = 0x40 +- MAP_RENAME = 0x20 +- NET_RT_MAXID = 0x6 +- RTF_PRCLONING = 0x10000 +- RTM_OLDADD = 0x9 +- RTM_OLDDEL = 0xa +- RT_CACHING_CONTEXT = 0x1 +- RT_NORTREF = 0x2 +- SIOCADDRT = 0x8030720a +- SIOCALIFADDR = 0x8118691b +- SIOCDELRT = 0x8030720b +- SIOCDLIFADDR = 0x8118691d +- SIOCGLIFADDR = 0xc118691c +- SIOCGLIFPHYADDR = 0xc118694b +- SIOCSLIFPHYADDR = 0x8118694a +-) +diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go +deleted file mode 100644 +index 070f44b..0000000 +--- a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go ++++ /dev/null +@@ -1,233 +0,0 @@ +-// Copyright 2017 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. +- +-// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep +-// them here for backwards compatibility. +- +-package unix +- +-const ( +- DLT_HHDLC = 0x79 +- IFF_SMART = 0x20 +- 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_BSC = 0x53 +- 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_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_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_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_PPPMULTILINKBUNDLE = 0x6c +- IFT_PROPBWAP2MP = 0xb8 +- IFT_PROPCNLS = 0x59 +- IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 +- IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 +- IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 +- IFT_PROPMUX = 0x36 +- 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 +- IPPROTO_MAXID = 0x34 +- IPV6_FAITH = 0x1d +- IPV6_MIN_MEMBERSHIPS = 0x1f +- IP_FAITH = 0x16 +- IP_MAX_SOURCE_FILTER = 0x400 +- IP_MIN_MEMBERSHIPS = 0x1f +- MAP_NORESERVE = 0x40 +- MAP_RENAME = 0x20 +- NET_RT_MAXID = 0x6 +- RTF_PRCLONING = 0x10000 +- RTM_OLDADD = 0x9 +- RTM_OLDDEL = 0xa +- RT_CACHING_CONTEXT = 0x1 +- RT_NORTREF = 0x2 +- SIOCADDRT = 0x8040720a +- SIOCALIFADDR = 0x8118691b +- SIOCDELRT = 0x8040720b +- SIOCDLIFADDR = 0x8118691d +- SIOCGLIFADDR = 0xc118691c +- SIOCGLIFPHYADDR = 0xc118694b +- SIOCSLIFPHYADDR = 0x8118694a +-) +diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go +deleted file mode 100644 +index 856dca3..0000000 +--- a/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go ++++ /dev/null +@@ -1,226 +0,0 @@ +-// Copyright 2017 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 +- +-const ( +- 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_BSC = 0x53 +- 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_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_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_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_PPPMULTILINKBUNDLE = 0x6c +- IFT_PROPBWAP2MP = 0xb8 +- IFT_PROPCNLS = 0x59 +- IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 +- IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 +- IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 +- IFT_PROPMUX = 0x36 +- 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 +- +- // missing constants on FreeBSD-11.1-RELEASE, copied from old values in ztypes_freebsd_arm.go +- IFF_SMART = 0x20 +- IFT_FAITH = 0xf2 +- IFT_IPXIP = 0xf9 +- IPPROTO_MAXID = 0x34 +- IPV6_FAITH = 0x1d +- IP_FAITH = 0x16 +- MAP_NORESERVE = 0x40 +- MAP_RENAME = 0x20 +- NET_RT_MAXID = 0x6 +- RTF_PRCLONING = 0x10000 +- RTM_OLDADD = 0x9 +- RTM_OLDDEL = 0xa +- SIOCADDRT = 0x8030720a +- SIOCALIFADDR = 0x8118691b +- SIOCDELRT = 0x8030720b +- SIOCDLIFADDR = 0x8118691d +- SIOCGLIFADDR = 0xc118691c +- SIOCGLIFPHYADDR = 0xc118694b +- SIOCSLIFPHYADDR = 0x8118694a +-) +diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go +deleted file mode 100644 +index 946dcf3..0000000 +--- a/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go ++++ /dev/null +@@ -1,17 +0,0 @@ +-// Copyright 2020 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. +- +-// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep +-// them here for backwards compatibility. +- +-package unix +- +-const ( +- DLT_HHDLC = 0x79 +- IPV6_MIN_MEMBERSHIPS = 0x1f +- IP_MAX_SOURCE_FILTER = 0x400 +- IP_MIN_MEMBERSHIPS = 0x1f +- RT_CACHING_CONTEXT = 0x1 +- RT_NORTREF = 0x2 +-) +diff --git a/vendor/golang.org/x/sys/unix/ifreq_linux.go b/vendor/golang.org/x/sys/unix/ifreq_linux.go +index cb07859..15721a5 100644 +--- a/vendor/golang.org/x/sys/unix/ifreq_linux.go ++++ b/vendor/golang.org/x/sys/unix/ifreq_linux.go +@@ -7,15 +7,28 @@ + + package unix + +-import "unsafe" ++import ( ++ "unsafe" ++) + + // Helpers for dealing with ifreq since it contains a union and thus requires a + // lot of unsafe.Pointer casts to use properly. + +-// newIfreq creates an ifreq with the input network interface name after ++// An Ifreq is a type-safe wrapper around the raw ifreq struct. An Ifreq ++// contains an interface name and a union of arbitrary data which can be ++// accessed using the Ifreq's methods. To create an Ifreq, use the NewIfreq ++// function. ++// ++// Use the Name method to access the stored interface name. The union data ++// fields can be get and set using the following methods: ++// - Uint16/SetUint16: flags ++// - Uint32/SetUint32: ifindex, metric, mtu ++type Ifreq struct{ raw ifreq } ++ ++// NewIfreq creates an Ifreq with the input network interface name after + // validating the name does not exceed IFNAMSIZ-1 (trailing NULL required) + // bytes. +-func newIfreq(name string) (*ifreq, error) { ++func NewIfreq(name string) (*Ifreq, error) { + // Leave room for terminating NULL byte. + if len(name) >= IFNAMSIZ { + return nil, EINVAL +@@ -24,25 +37,106 @@ func newIfreq(name string) (*ifreq, error) { + var ifr ifreq + copy(ifr.Ifrn[:], name) + +- return &ifr, nil ++ return &Ifreq{raw: ifr}, nil ++} ++ ++// TODO(mdlayher): get/set methods for hardware address sockaddr, char array, etc. ++ ++// Name returns the interface name associated with the Ifreq. ++func (ifr *Ifreq) Name() string { ++ return ByteSliceToString(ifr.raw.Ifrn[:]) + } + +-// An ifreqData is an ifreq but with a typed unsafe.Pointer field for data in +-// the union. This is required in order to comply with the unsafe.Pointer rules +-// since the "pointer-ness" of data would not be preserved if it were cast into +-// the byte array of a raw ifreq. ++// According to netdevice(7), only AF_INET addresses are returned for numerous ++// sockaddr ioctls. For convenience, we expose these as Inet4Addr since the Port ++// field and other data is always empty. ++ ++// Inet4Addr returns the Ifreq union data from an embedded sockaddr as a C ++// in_addr/Go []byte (4-byte IPv4 address) value. If the sockaddr family is not ++// AF_INET, an error is returned. ++func (ifr *Ifreq) Inet4Addr() ([]byte, error) { ++ raw := *(*RawSockaddrInet4)(unsafe.Pointer(&ifr.raw.Ifru[:SizeofSockaddrInet4][0])) ++ if raw.Family != AF_INET { ++ // Cannot safely interpret raw.Addr bytes as an IPv4 address. ++ return nil, EINVAL ++ } ++ ++ return raw.Addr[:], nil ++} ++ ++// SetInet4Addr sets a C in_addr/Go []byte (4-byte IPv4 address) value in an ++// embedded sockaddr within the Ifreq's union data. v must be 4 bytes in length ++// or an error will be returned. ++func (ifr *Ifreq) SetInet4Addr(v []byte) error { ++ if len(v) != 4 { ++ return EINVAL ++ } ++ ++ var addr [4]byte ++ copy(addr[:], v) ++ ++ ifr.clear() ++ *(*RawSockaddrInet4)( ++ unsafe.Pointer(&ifr.raw.Ifru[:SizeofSockaddrInet4][0]), ++ ) = RawSockaddrInet4{ ++ // Always set IP family as ioctls would require it anyway. ++ Family: AF_INET, ++ Addr: addr, ++ } ++ ++ return nil ++} ++ ++// Uint16 returns the Ifreq union data as a C short/Go uint16 value. ++func (ifr *Ifreq) Uint16() uint16 { ++ return *(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0])) ++} ++ ++// SetUint16 sets a C short/Go uint16 value as the Ifreq's union data. ++func (ifr *Ifreq) SetUint16(v uint16) { ++ ifr.clear() ++ *(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0])) = v ++} ++ ++// Uint32 returns the Ifreq union data as a C int/Go uint32 value. ++func (ifr *Ifreq) Uint32() uint32 { ++ return *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) ++} ++ ++// SetUint32 sets a C int/Go uint32 value as the Ifreq's union data. ++func (ifr *Ifreq) SetUint32(v uint32) { ++ ifr.clear() ++ *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) = v ++} ++ ++// clear zeroes the ifreq's union field to prevent trailing garbage data from ++// being sent to the kernel if an ifreq is reused. ++func (ifr *Ifreq) clear() { ++ for i := range ifr.raw.Ifru { ++ ifr.raw.Ifru[i] = 0 ++ } ++} ++ ++// TODO(mdlayher): export as IfreqData? For now we can provide helpers such as ++// IoctlGetEthtoolDrvinfo which use these APIs under the hood. ++ ++// An ifreqData is an Ifreq which carries pointer data. To produce an ifreqData, ++// use the Ifreq.withData method. + type ifreqData struct { + name [IFNAMSIZ]byte ++ // A type separate from ifreq is required in order to comply with the ++ // unsafe.Pointer rules since the "pointer-ness" of data would not be ++ // preserved if it were cast into the byte array of a raw ifreq. + data unsafe.Pointer + // Pad to the same size as ifreq. + _ [len(ifreq{}.Ifru) - SizeofPtr]byte + } + +-// SetData produces an ifreqData with the pointer p set for ioctls which require ++// withData produces an ifreqData with the pointer p set for ioctls which require + // arbitrary pointer data. +-func (ifr ifreq) SetData(p unsafe.Pointer) ifreqData { ++func (ifr Ifreq) withData(p unsafe.Pointer) ifreqData { + return ifreqData{ +- name: ifr.Ifrn, ++ name: ifr.raw.Ifrn, + data: p, + } + } +diff --git a/vendor/golang.org/x/sys/unix/ioctl_linux.go b/vendor/golang.org/x/sys/unix/ioctl_linux.go +index 013a060..0d12c08 100644 +--- a/vendor/golang.org/x/sys/unix/ioctl_linux.go ++++ b/vendor/golang.org/x/sys/unix/ioctl_linux.go +@@ -4,9 +4,7 @@ + + package unix + +-import ( +- "unsafe" +-) ++import "unsafe" + + // IoctlRetInt performs an ioctl operation specified by req on a device + // associated with opened file descriptor fd, and returns a non-negative +@@ -48,15 +46,15 @@ func IoctlSetRTCWkAlrm(fd int, value *RTCWkAlrm) error { + // IoctlGetEthtoolDrvinfo fetches ethtool driver information for the network + // device specified by ifname. + func IoctlGetEthtoolDrvinfo(fd int, ifname string) (*EthtoolDrvinfo, error) { +- ifr, err := newIfreq(ifname) ++ ifr, err := NewIfreq(ifname) + if err != nil { + return nil, err + } + + value := EthtoolDrvinfo{Cmd: ETHTOOL_GDRVINFO} +- ifrd := ifr.SetData(unsafe.Pointer(&value)) ++ ifrd := ifr.withData(unsafe.Pointer(&value)) + +- err = ioctlPtr(fd, SIOCETHTOOL, unsafe.Pointer(&ifrd)) ++ err = ioctlIfreqData(fd, SIOCETHTOOL, &ifrd) + return &value, err + } + +@@ -176,3 +174,60 @@ func IoctlHIDGetRawUniq(fd int) (string, error) { + err := ioctlPtr(fd, _HIDIOCGRAWUNIQ, unsafe.Pointer(&value[0])) + return ByteSliceToString(value[:]), err + } ++ ++// IoctlIfreq performs an ioctl using an Ifreq structure for input and/or ++// output. See the netdevice(7) man page for details. ++func IoctlIfreq(fd int, req uint, value *Ifreq) error { ++ // It is possible we will add more fields to *Ifreq itself later to prevent ++ // misuse, so pass the raw *ifreq directly. ++ return ioctlPtr(fd, req, unsafe.Pointer(&value.raw)) ++} ++ ++// TODO(mdlayher): export if and when IfreqData is exported. ++ ++// ioctlIfreqData performs an ioctl using an ifreqData structure for input ++// and/or output. See the netdevice(7) man page for details. ++func ioctlIfreqData(fd int, req uint, value *ifreqData) error { ++ // The memory layout of IfreqData (type-safe) and ifreq (not type-safe) are ++ // identical so pass *IfreqData directly. ++ return ioctlPtr(fd, req, unsafe.Pointer(value)) ++} ++ ++// IoctlKCMClone attaches a new file descriptor to a multiplexor by cloning an ++// existing KCM socket, returning a structure containing the file descriptor of ++// the new socket. ++func IoctlKCMClone(fd int) (*KCMClone, error) { ++ var info KCMClone ++ if err := ioctlPtr(fd, SIOCKCMCLONE, unsafe.Pointer(&info)); err != nil { ++ return nil, err ++ } ++ ++ return &info, nil ++} ++ ++// IoctlKCMAttach attaches a TCP socket and associated BPF program file ++// descriptor to a multiplexor. ++func IoctlKCMAttach(fd int, info KCMAttach) error { ++ return ioctlPtr(fd, SIOCKCMATTACH, unsafe.Pointer(&info)) ++} ++ ++// IoctlKCMUnattach unattaches a TCP socket file descriptor from a multiplexor. ++func IoctlKCMUnattach(fd int, info KCMUnattach) error { ++ return ioctlPtr(fd, SIOCKCMUNATTACH, unsafe.Pointer(&info)) ++} ++ ++// IoctlLoopGetStatus64 gets the status of the loop device associated with the ++// file descriptor fd using the LOOP_GET_STATUS64 operation. ++func IoctlLoopGetStatus64(fd int) (*LoopInfo64, error) { ++ var value LoopInfo64 ++ if err := ioctlPtr(fd, LOOP_GET_STATUS64, unsafe.Pointer(&value)); err != nil { ++ return nil, err ++ } ++ return &value, nil ++} ++ ++// IoctlLoopSetStatus64 sets the status of the loop device associated with the ++// file descriptor fd using the LOOP_SET_STATUS64 operation. ++func IoctlLoopSetStatus64(fd int, value *LoopInfo64) error { ++ return ioctlPtr(fd, LOOP_SET_STATUS64, unsafe.Pointer(value)) ++} +diff --git a/vendor/golang.org/x/sys/unix/mkall.sh b/vendor/golang.org/x/sys/unix/mkall.sh +index 396aadf..727cba2 100644 +--- a/vendor/golang.org/x/sys/unix/mkall.sh ++++ b/vendor/golang.org/x/sys/unix/mkall.sh +@@ -50,7 +50,7 @@ if [[ "$GOOS" = "linux" ]]; then + # Use the Docker-based build system + # Files generated through docker (use $cmd so you can Ctl-C the build or run) + $cmd docker build --tag generate:$GOOS $GOOS +- $cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")" && /bin/pwd):/build generate:$GOOS ++ $cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && /bin/pwd):/build generate:$GOOS + exit + fi + +@@ -73,12 +73,12 @@ aix_ppc64) + darwin_amd64) + mkerrors="$mkerrors -m64" + mktypes="GOARCH=$GOARCH go tool cgo -godefs" +- mkasm="go run mkasm_darwin.go" ++ mkasm="go run mkasm.go" + ;; + darwin_arm64) + mkerrors="$mkerrors -m64" + mktypes="GOARCH=$GOARCH go tool cgo -godefs" +- mkasm="go run mkasm_darwin.go" ++ mkasm="go run mkasm.go" + ;; + dragonfly_amd64) + mkerrors="$mkerrors -m64" +@@ -89,25 +89,30 @@ dragonfly_amd64) + freebsd_386) + mkerrors="$mkerrors -m32" + mksyscall="go run mksyscall.go -l32" +- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" ++ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" + mktypes="GOARCH=$GOARCH go tool cgo -godefs" + ;; + freebsd_amd64) + mkerrors="$mkerrors -m64" +- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" ++ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" + mktypes="GOARCH=$GOARCH go tool cgo -godefs" + ;; + freebsd_arm) + mkerrors="$mkerrors" + mksyscall="go run mksyscall.go -l32 -arm" +- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" ++ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" + # Let the type of C char be signed for making the bare syscall + # API consistent across platforms. + mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" + ;; + freebsd_arm64) + mkerrors="$mkerrors -m64" +- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" ++ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" ++ mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" ++ ;; ++freebsd_riscv64) ++ mkerrors="$mkerrors -m64" ++ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" + mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" + ;; + netbsd_386) +@@ -137,33 +142,33 @@ netbsd_arm64) + mktypes="GOARCH=$GOARCH go tool cgo -godefs" + ;; + openbsd_386) ++ mkasm="go run mkasm.go" + mkerrors="$mkerrors -m32" +- mksyscall="go run mksyscall.go -l32 -openbsd" ++ mksyscall="go run mksyscall.go -l32 -openbsd -libc" + mksysctl="go run mksysctl_openbsd.go" +- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" + mktypes="GOARCH=$GOARCH go tool cgo -godefs" + ;; + openbsd_amd64) ++ mkasm="go run mkasm.go" + mkerrors="$mkerrors -m64" +- mksyscall="go run mksyscall.go -openbsd" ++ mksyscall="go run mksyscall.go -openbsd -libc" + mksysctl="go run mksysctl_openbsd.go" +- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" + mktypes="GOARCH=$GOARCH go tool cgo -godefs" + ;; + openbsd_arm) ++ mkasm="go run mkasm.go" + mkerrors="$mkerrors" +- mksyscall="go run mksyscall.go -l32 -openbsd -arm" ++ mksyscall="go run mksyscall.go -l32 -openbsd -arm -libc" + mksysctl="go run mksysctl_openbsd.go" +- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" + # Let the type of C char be signed for making the bare syscall + # API consistent across platforms. + mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" + ;; + openbsd_arm64) ++ mkasm="go run mkasm.go" + mkerrors="$mkerrors -m64" +- mksyscall="go run mksyscall.go -openbsd" ++ mksyscall="go run mksyscall.go -openbsd -libc" + mksysctl="go run mksysctl_openbsd.go" +- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" + # Let the type of C char be signed for making the bare syscall + # API consistent across platforms. + mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" +@@ -177,6 +182,24 @@ openbsd_mips64) + # API consistent across platforms. + mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" + ;; ++openbsd_ppc64) ++ mkasm="go run mkasm.go" ++ mkerrors="$mkerrors -m64" ++ mksyscall="go run mksyscall.go -openbsd -libc" ++ mksysctl="go run mksysctl_openbsd.go" ++ # Let the type of C char be signed for making the bare syscall ++ # API consistent across platforms. ++ mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" ++ ;; ++openbsd_riscv64) ++ mkasm="go run mkasm.go" ++ mkerrors="$mkerrors -m64" ++ mksyscall="go run mksyscall.go -openbsd -libc" ++ mksysctl="go run mksysctl_openbsd.go" ++ # Let the type of C char be signed for making the bare syscall ++ # API consistent across platforms. ++ mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" ++ ;; + solaris_amd64) + mksyscall="go run mksyscall_solaris.go" + mkerrors="$mkerrors -m64" +@@ -209,11 +232,6 @@ esac + if [ "$GOOSARCH" == "aix_ppc64" ]; then + # aix/ppc64 script generates files instead of writing to stdin. + echo "$mksyscall -tags $GOOS,$GOARCH $syscall_goos $GOOSARCH_in && gofmt -w zsyscall_$GOOSARCH.go && gofmt -w zsyscall_"$GOOSARCH"_gccgo.go && gofmt -w zsyscall_"$GOOSARCH"_gc.go " ; +- elif [ "$GOOS" == "darwin" ]; then +- # 1.12 and later, syscalls via libSystem +- echo "$mksyscall -tags $GOOS,$GOARCH,go1.12 $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go"; +- # 1.13 and later, syscalls via libSystem (including syscallPtr) +- echo "$mksyscall -tags $GOOS,$GOARCH,go1.13 syscall_darwin.1_13.go |gofmt >zsyscall_$GOOSARCH.1_13.go"; + elif [ "$GOOS" == "illumos" ]; then + # illumos code generation requires a --illumos switch + echo "$mksyscall -illumos -tags illumos,$GOARCH syscall_illumos.go |gofmt > zsyscall_illumos_$GOARCH.go"; +@@ -227,5 +245,5 @@ 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 "$mktypes types_$GOOS.go | go run mkpost.go > ztypes_$GOOSARCH.go"; fi +- if [ -n "$mkasm" ]; then echo "$mkasm $GOARCH"; fi ++ if [ -n "$mkasm" ]; then echo "$mkasm $GOOS $GOARCH"; fi + ) | $run +diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh +index 6e6afca..7456d9d 100644 +--- a/vendor/golang.org/x/sys/unix/mkerrors.sh ++++ b/vendor/golang.org/x/sys/unix/mkerrors.sh +@@ -54,7 +54,7 @@ includes_AIX=' + + includes_Darwin=' + #define _DARWIN_C_SOURCE +-#define KERNEL ++#define KERNEL 1 + #define _DARWIN_USE_64_BIT_INODE + #define __APPLE_USE_RFC_3542 + #include +@@ -75,6 +75,7 @@ includes_Darwin=' + #include + #include + #include ++#include + #include + #include + #include +@@ -82,6 +83,9 @@ includes_Darwin=' + #include + #include + #include ++ ++// for backwards compatibility because moved TIOCREMOTE to Kernel.framework after MacOSX12.0.sdk. ++#define TIOCREMOTE 0x80047469 + ' + + includes_DragonFly=' +@@ -124,6 +128,7 @@ includes_FreeBSD=' + #include + #include + #include ++#include + #include + #include + #include +@@ -198,9 +203,11 @@ struct ltchars { + #include + #include + #include ++#include + #include + #include + #include ++#include + #include + #include + #include +@@ -210,6 +217,7 @@ struct ltchars { + #include + #include + #include ++#include + #include + #include + #include +@@ -217,8 +225,6 @@ struct ltchars { + #include + #include + #include +-#include +-#include + #include + #include + #include +@@ -229,13 +235,16 @@ struct ltchars { + #include + #include + #include ++#include + #include + #include ++#include + #include + #include + #include + #include + #include ++#include + #include + #include + #include +@@ -257,6 +266,7 @@ struct ltchars { + #include + #include + #include ++#include + + #include + #include +@@ -287,6 +297,10 @@ struct ltchars { + #define SOL_NETLINK 270 + #endif + ++#ifndef SOL_SMC ++#define SOL_SMC 286 ++#endif ++ + #ifdef SOL_BLUETOOTH + // SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h + // but it is already in bluetooth_linux.go +@@ -467,7 +481,6 @@ ccflags="$@" + $2 !~ /^EQUIV_/ && + $2 !~ /^EXPR_/ && + $2 !~ /^EVIOC/ && +- $2 !~ /^EV_/ && + $2 ~ /^E[A-Z0-9_]+$/ || + $2 ~ /^B[0-9_]+$/ || + $2 ~ /^(OLD|NEW)DEV$/ || +@@ -499,10 +512,12 @@ ccflags="$@" + $2 ~ /^O?XTABS$/ || + $2 ~ /^TC[IO](ON|OFF)$/ || + $2 ~ /^IN_/ || ++ $2 ~ /^KCM/ || ++ $2 ~ /^LANDLOCK_/ || + $2 ~ /^LOCK_(SH|EX|NB|UN)$/ || + $2 ~ /^LO_(KEY|NAME)_SIZE$/ || + $2 ~ /^LOOP_(CLR|CTL|GET|SET)_/ || +- $2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|TCP|MCAST|EVFILT|NOTE|SHUT|PROT|MAP|MFD|T?PACKET|MSG|SCM|MCL|DT|MADV|PR|LOCAL)_/ || ++ $2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|TCP|MCAST|EVFILT|NOTE|SHUT|PROT|MAP|MFD|T?PACKET|MSG|SCM|MCL|DT|MADV|PR|LOCAL|TCPOPT)_/ || + $2 ~ /^NFC_(GENL|PROTO|COMM|RF|SE|DIRECTION|LLCP|SOCKPROTO)_/ || + $2 ~ /^NFC_.*_(MAX)?SIZE$/ || + $2 ~ /^RAW_PAYLOAD_/ || +@@ -517,10 +532,10 @@ ccflags="$@" + $2 ~ /^HW_MACHINE$/ || + $2 ~ /^SYSCTL_VERS/ || + $2 !~ "MNT_BITS" && +- $2 ~ /^(MS|MNT|UMOUNT)_/ || ++ $2 ~ /^(MS|MNT|MOUNT|UMOUNT)_/ || + $2 ~ /^NS_GET_/ || + $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ || +- $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|TFD)_/ || ++ $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|PIOD|TFD)_/ || + $2 ~ /^KEXEC_/ || + $2 ~ /^LINUX_REBOOT_CMD_/ || + $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ || +@@ -544,6 +559,7 @@ ccflags="$@" + $2 ~ /^CLONE_[A-Z_]+/ || + $2 !~ /^(BPF_TIMEVAL|BPF_FIB_LOOKUP_[A-Z]+)$/ && + $2 ~ /^(BPF|DLT)_/ || ++ $2 ~ /^AUDIT_/ || + $2 ~ /^(CLOCK|TIMER)_/ || + $2 ~ /^CAN_/ || + $2 ~ /^CAP_/ || +@@ -566,7 +582,6 @@ ccflags="$@" + $2 ~ /^SEEK_/ || + $2 ~ /^SPLICE_/ || + $2 ~ /^SYNC_FILE_RANGE_/ || +- $2 !~ /^AUDIT_RECORD_MAGIC/ && + $2 !~ /IOC_MAGIC/ && + $2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ || + $2 ~ /^(VM|VMADDR)_/ || +@@ -592,8 +607,10 @@ ccflags="$@" + $2 ~ /^DEVLINK_/ || + $2 ~ /^ETHTOOL_/ || + $2 ~ /^LWTUNNEL_IP/ || ++ $2 ~ /^ITIMER_/ || + $2 !~ "WMESGLEN" && + $2 ~ /^W[A-Z0-9]+$/ || ++ $2 ~ /^P_/ || + $2 ~/^PPPIOC/ || + $2 ~ /^FAN_|FANOTIFY_/ || + $2 == "HID_MAX_DESCRIPTOR_SIZE" || +@@ -602,6 +619,8 @@ ccflags="$@" + $2 ~ /^MTD/ || + $2 ~ /^OTP/ || + $2 ~ /^MEM/ || ++ $2 ~ /^WG/ || ++ $2 ~ /^FIB_RULE_/ || + $2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE)/ {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)} +@@ -623,7 +642,7 @@ errors=$( + signals=$( + echo '#include ' | $CC -x c - -E -dM $ccflags | + awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' | +- egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT|SIGMAX64)' | ++ grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' | + sort + ) + +@@ -633,7 +652,7 @@ echo '#include ' | $CC -x c - -E -dM $ccflags | + sort >_error.grep + echo '#include ' | $CC -x c - -E -dM $ccflags | + awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print "^\t" $2 "[ \t]*=" }' | +- egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT|SIGMAX64)' | ++ grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' | + sort >_signal.grep + + echo '// mkerrors.sh' "$@" +diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go +index 8bf4570..5f63147 100644 +--- a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go ++++ b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go +@@ -34,3 +34,52 @@ func ParseUnixCredentials(m *SocketControlMessage) (*Ucred, error) { + ucred := *(*Ucred)(unsafe.Pointer(&m.Data[0])) + return &ucred, nil + } ++ ++// PktInfo4 encodes Inet4Pktinfo into a socket control message of type IP_PKTINFO. ++func PktInfo4(info *Inet4Pktinfo) []byte { ++ b := make([]byte, CmsgSpace(SizeofInet4Pktinfo)) ++ h := (*Cmsghdr)(unsafe.Pointer(&b[0])) ++ h.Level = SOL_IP ++ h.Type = IP_PKTINFO ++ h.SetLen(CmsgLen(SizeofInet4Pktinfo)) ++ *(*Inet4Pktinfo)(h.data(0)) = *info ++ return b ++} ++ ++// PktInfo6 encodes Inet6Pktinfo into a socket control message of type IPV6_PKTINFO. ++func PktInfo6(info *Inet6Pktinfo) []byte { ++ b := make([]byte, CmsgSpace(SizeofInet6Pktinfo)) ++ h := (*Cmsghdr)(unsafe.Pointer(&b[0])) ++ h.Level = SOL_IPV6 ++ h.Type = IPV6_PKTINFO ++ h.SetLen(CmsgLen(SizeofInet6Pktinfo)) ++ *(*Inet6Pktinfo)(h.data(0)) = *info ++ return b ++} ++ ++// ParseOrigDstAddr decodes a socket control message containing the original ++// destination address. To receive such a message the IP_RECVORIGDSTADDR or ++// IPV6_RECVORIGDSTADDR option must be enabled on the socket. ++func ParseOrigDstAddr(m *SocketControlMessage) (Sockaddr, error) { ++ switch { ++ case m.Header.Level == SOL_IP && m.Header.Type == IP_ORIGDSTADDR: ++ pp := (*RawSockaddrInet4)(unsafe.Pointer(&m.Data[0])) ++ sa := new(SockaddrInet4) ++ p := (*[2]byte)(unsafe.Pointer(&pp.Port)) ++ sa.Port = int(p[0])<<8 + int(p[1]) ++ sa.Addr = pp.Addr ++ return sa, nil ++ ++ case m.Header.Level == SOL_IPV6 && m.Header.Type == IPV6_ORIGDSTADDR: ++ pp := (*RawSockaddrInet6)(unsafe.Pointer(&m.Data[0])) ++ sa := new(SockaddrInet6) ++ p := (*[2]byte)(unsafe.Pointer(&pp.Port)) ++ sa.Port = int(p[0])<<8 + int(p[1]) ++ sa.ZoneId = pp.Scope_id ++ sa.Addr = pp.Addr ++ return sa, nil ++ ++ default: ++ return nil, EINVAL ++ } ++} +diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +index 453a942..3865943 100644 +--- a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go ++++ b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +@@ -52,6 +52,20 @@ func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) { + return msgs, nil + } + ++// ParseOneSocketControlMessage parses a single socket control message from b, returning the message header, ++// message data (a slice of b), and the remainder of b after that single message. ++// When there are no remaining messages, len(remainder) == 0. ++func ParseOneSocketControlMessage(b []byte) (hdr Cmsghdr, data []byte, remainder []byte, err error) { ++ h, dbuf, err := socketControlMessageHeaderAndData(b) ++ if err != nil { ++ return Cmsghdr{}, nil, nil, err ++ } ++ if i := cmsgAlignOf(int(h.Len)); i < len(b) { ++ remainder = b[i:] ++ } ++ return *h, dbuf, remainder, nil ++} ++ + func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error) { + h := (*Cmsghdr)(unsafe.Pointer(&b[0])) + if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) { +diff --git a/vendor/golang.org/x/sys/unix/str.go b/vendor/golang.org/x/sys/unix/str.go +deleted file mode 100644 +index 8ba89ed..0000000 +--- a/vendor/golang.org/x/sys/unix/str.go ++++ /dev/null +@@ -1,27 +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. +- +-//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris +-// +build aix 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 +index 649fa87..63e8c83 100644 +--- a/vendor/golang.org/x/sys/unix/syscall.go ++++ b/vendor/golang.org/x/sys/unix/syscall.go +@@ -29,8 +29,6 @@ import ( + "bytes" + "strings" + "unsafe" +- +- "golang.org/x/sys/internal/unsafeheader" + ) + + // ByteSliceFromString returns a NUL-terminated slice of bytes +@@ -82,13 +80,7 @@ func BytePtrToString(p *byte) string { + ptr = unsafe.Pointer(uintptr(ptr) + 1) + } + +- var s []byte +- h := (*unsafeheader.Slice)(unsafe.Pointer(&s)) +- h.Data = unsafe.Pointer(p) +- h.Len = n +- h.Cap = n +- +- return string(s) ++ return string(unsafe.Slice(p, n)) + } + + // Single-word zero for use when we need a valid pointer to 0 bytes. +diff --git a/vendor/golang.org/x/sys/unix/syscall_aix.go b/vendor/golang.org/x/sys/unix/syscall_aix.go +index d8efb71..2db1b51 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_aix.go ++++ b/vendor/golang.org/x/sys/unix/syscall_aix.go +@@ -37,6 +37,7 @@ func Creat(path string, mode uint32) (fd int, err error) { + } + + //sys utimes(path string, times *[2]Timeval) (err error) ++ + func Utimes(path string, tv []Timeval) error { + if len(tv) != 2 { + return EINVAL +@@ -45,6 +46,7 @@ func Utimes(path string, tv []Timeval) error { + } + + //sys utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) ++ + func UtimesNano(path string, ts []Timespec) error { + if len(ts) != 2 { + return EINVAL +@@ -70,9 +72,7 @@ func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil + } + +@@ -85,9 +85,7 @@ func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil + } + +@@ -219,20 +217,63 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) { + return + } + +-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { +- // Recvmsg not implemented on AIX +- sa := new(SockaddrUnix) +- return -1, -1, -1, sa, ENOSYS +-} +- +-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) { +- _, err = SendmsgN(fd, p, oob, to, flags) ++func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { ++ var msg Msghdr ++ msg.Name = (*byte)(unsafe.Pointer(rsa)) ++ msg.Namelen = uint32(SizeofSockaddrAny) ++ var dummy byte ++ if len(oob) > 0 { ++ // receive at least one normal byte ++ if emptyIovecs(iov) { ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] ++ } ++ msg.Control = (*byte)(unsafe.Pointer(&oob[0])) ++ msg.SetControllen(len(oob)) ++ } ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } ++ if n, err = recvmsg(fd, &msg, flags); n == -1 { ++ return ++ } ++ oobn = int(msg.Controllen) ++ recvflags = int(msg.Flags) + return + } + +-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) { +- // SendmsgN not implemented on AIX +- return -1, ENOSYS ++func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { ++ var msg Msghdr ++ msg.Name = (*byte)(unsafe.Pointer(ptr)) ++ msg.Namelen = uint32(salen) ++ var dummy byte ++ var empty bool ++ if len(oob) > 0 { ++ // send at least one normal byte ++ empty = emptyIovecs(iov) ++ if empty { ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] ++ } ++ msg.Control = (*byte)(unsafe.Pointer(&oob[0])) ++ msg.SetControllen(len(oob)) ++ } ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } ++ if n, err = sendmsg(fd, &msg, flags); err != nil { ++ return 0, err ++ } ++ if len(oob) > 0 && empty { ++ n = 0 ++ } ++ return n, nil + } + + func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { +@@ -261,9 +302,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + + case AF_INET6: +@@ -272,9 +311,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + return nil, EAFNOSUPPORT +@@ -314,11 +351,13 @@ func direntNamlen(buf []byte) (uint64, bool) { + } + + //sys getdirent(fd int, buf []byte) (n int, err error) ++ + func Getdents(fd int, buf []byte) (n int, err error) { + return getdirent(fd, buf) + } + + //sys wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) ++ + func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) { + var status _C_int + var r Pid_t +@@ -385,6 +424,12 @@ func (w WaitStatus) TrapCause() int { return -1 } + + //sys fcntl(fd int, cmd int, arg int) (val int, err error) + ++//sys fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range ++ ++func Fsync(fd int) error { ++ return fsyncRange(fd, O_SYNC, 0, 0) ++} ++ + /* + * Direct access + */ +@@ -401,7 +446,6 @@ func (w WaitStatus) TrapCause() int { return -1 } + //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 Fdatasync(fd int) (err error) +-//sys Fsync(fd int) (err error) + // readdir_r + //sysnb Getpgid(pid int) (pgid int, err error) + +@@ -462,8 +506,8 @@ func (w WaitStatus) TrapCause() int { return -1 } + //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) = pread64 +-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64 ++//sys pread(fd int, p []byte, offset int64) (n int, err error) = pread64 ++//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64 + //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) + //sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) + //sysnb Setregid(rgid int, egid int) (err error) +@@ -523,8 +567,10 @@ func Pipe(p []int) (err error) { + } + var pp [2]_C_int + err = pipe(&pp) +- p[0] = int(pp[0]) +- p[1] = int(pp[1]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return + } + +@@ -544,6 +590,7 @@ func Poll(fds []PollFd, timeout int) (n int, err error) { + //sys Getsystemcfg(label int) (n uint64) + + //sys umount(target string) (err error) ++ + func Unmount(target string, flags int) (err error) { + if flags != 0 { + // AIX doesn't have any flags for umount. +diff --git a/vendor/golang.org/x/sys/unix/syscall_bsd.go b/vendor/golang.org/x/sys/unix/syscall_bsd.go +index 95ac394..eda4267 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_bsd.go ++++ b/vendor/golang.org/x/sys/unix/syscall_bsd.go +@@ -163,9 +163,7 @@ func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil + } + +@@ -179,9 +177,7 @@ func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil + } + +@@ -210,9 +206,7 @@ func (sa *SockaddrDatalink) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Data = sa.Data + return unsafe.Pointer(&sa.raw), SizeofSockaddrDatalink, nil + } + +@@ -228,9 +222,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Data = pp.Data + return sa, nil + + case AF_UNIX: +@@ -262,9 +254,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + + case AF_INET6: +@@ -273,9 +263,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + return anyToSockaddrGOOS(fd, rsa) +@@ -337,80 +325,62 @@ func GetsockoptString(fd, level, opt int) (string, 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) { ++func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { + var msg Msghdr +- var rsa RawSockaddrAny +- msg.Name = (*byte)(unsafe.Pointer(&rsa)) ++ 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) ++ if emptyIovecs(iov) { ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] + } + msg.Control = (*byte)(unsafe.Pointer(&oob[0])) + msg.SetControllen(len(oob)) + } +- msg.Iov = &iov +- msg.Iovlen = 1 ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } + 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(fd, &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 +- } +- } ++func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { + 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 ++ var empty bool + if len(oob) > 0 { + // send at least one normal byte +- if len(p) == 0 { +- iov.Base = &dummy +- iov.SetLen(1) ++ empty = emptyIovecs(iov) ++ if empty { ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] + } + msg.Control = (*byte)(unsafe.Pointer(&oob[0])) + msg.SetControllen(len(oob)) + } +- msg.Iov = &iov +- msg.Iovlen = 1 ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } + if n, err = sendmsg(fd, &msg, flags); err != nil { + return 0, err + } +- if len(oob) > 0 && len(p) == 0 { ++ if len(oob) > 0 && empty { + n = 0 + } + return n, nil +@@ -583,12 +553,7 @@ func UtimesNano(path string, ts []Timespec) error { + if len(ts) != 2 { + return EINVAL + } +- // Darwin setattrlist can set nanosecond timestamps +- err := setattrlistTimes(path, ts, 0) +- if err != ENOSYS { +- return err +- } +- err = utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) ++ err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) + if err != ENOSYS { + return err + } +@@ -608,10 +573,6 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error { + if len(ts) != 2 { + return EINVAL + } +- err := setattrlistTimes(path, ts, flags) +- if err != ENOSYS { +- return err +- } + return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags) + } + +diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go b/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go +deleted file mode 100644 +index b009860..0000000 +--- a/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go ++++ /dev/null +@@ -1,32 +0,0 @@ +-// Copyright 2019 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. +- +-//go:build darwin && go1.12 && !go1.13 +-// +build darwin,go1.12,!go1.13 +- +-package unix +- +-import ( +- "unsafe" +-) +- +-const _SYS_GETDIRENTRIES64 = 344 +- +-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +- // To implement this using libSystem we'd need syscall_syscallPtr for +- // fdopendir. However, syscallPtr was only added in Go 1.13, so we fall +- // back to raw syscalls for this func on Go 1.12. +- var p unsafe.Pointer +- if len(buf) > 0 { +- p = unsafe.Pointer(&buf[0]) +- } else { +- p = unsafe.Pointer(&_zero) +- } +- r0, _, e1 := Syscall6(_SYS_GETDIRENTRIES64, uintptr(fd), uintptr(p), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) +- n = int(r0) +- if e1 != 0 { +- return n, errnoErr(e1) +- } +- return n, nil +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go b/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go +deleted file mode 100644 +index 1596426..0000000 +--- a/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go ++++ /dev/null +@@ -1,108 +0,0 @@ +-// Copyright 2019 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. +- +-//go:build darwin && go1.13 +-// +build darwin,go1.13 +- +-package unix +- +-import ( +- "unsafe" +- +- "golang.org/x/sys/internal/unsafeheader" +-) +- +-//sys closedir(dir uintptr) (err error) +-//sys readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) +- +-func fdopendir(fd int) (dir uintptr, err error) { +- r0, _, e1 := syscall_syscallPtr(libc_fdopendir_trampoline_addr, uintptr(fd), 0, 0) +- dir = uintptr(r0) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-var libc_fdopendir_trampoline_addr uintptr +- +-//go:cgo_import_dynamic libc_fdopendir fdopendir "/usr/lib/libSystem.B.dylib" +- +-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +- // Simulate Getdirentries using fdopendir/readdir_r/closedir. +- // We store the number of entries to skip in the seek +- // offset of fd. See issue #31368. +- // It's not the full required semantics, but should handle the case +- // of calling Getdirentries or ReadDirent repeatedly. +- // It won't handle assigning the results of lseek to *basep, or handle +- // the directory being edited underfoot. +- skip, err := Seek(fd, 0, 1 /* SEEK_CUR */) +- if err != nil { +- return 0, err +- } +- +- // We need to duplicate the incoming file descriptor +- // because the caller expects to retain control of it, but +- // fdopendir expects to take control of its argument. +- // Just Dup'ing the file descriptor is not enough, as the +- // result shares underlying state. Use Openat to make a really +- // new file descriptor referring to the same directory. +- fd2, err := Openat(fd, ".", O_RDONLY, 0) +- if err != nil { +- return 0, err +- } +- d, err := fdopendir(fd2) +- if err != nil { +- Close(fd2) +- return 0, err +- } +- defer closedir(d) +- +- var cnt int64 +- for { +- var entry Dirent +- var entryp *Dirent +- e := readdir_r(d, &entry, &entryp) +- if e != 0 { +- return n, errnoErr(e) +- } +- if entryp == nil { +- break +- } +- if skip > 0 { +- skip-- +- cnt++ +- continue +- } +- +- reclen := int(entry.Reclen) +- if reclen > len(buf) { +- // Not enough room. Return for now. +- // The counter will let us know where we should start up again. +- // Note: this strategy for suspending in the middle and +- // restarting is O(n^2) in the length of the directory. Oh well. +- break +- } +- +- // Copy entry into return buffer. +- var s []byte +- hdr := (*unsafeheader.Slice)(unsafe.Pointer(&s)) +- hdr.Data = unsafe.Pointer(&entry) +- hdr.Cap = reclen +- hdr.Len = reclen +- copy(buf, s) +- +- buf = buf[reclen:] +- n += reclen +- cnt++ +- } +- // Set the seek offset of the input fd to record +- // how many files we've already returned. +- _, err = Seek(fd, cnt, 0 /* SEEK_SET */) +- if err != nil { +- return n, err +- } +- +- return n, nil +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go +index 23f6b57..1f63382 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_darwin.go ++++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go +@@ -19,6 +19,96 @@ import ( + "unsafe" + ) + ++//sys closedir(dir uintptr) (err error) ++//sys readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) ++ ++func fdopendir(fd int) (dir uintptr, err error) { ++ r0, _, e1 := syscall_syscallPtr(libc_fdopendir_trampoline_addr, uintptr(fd), 0, 0) ++ dir = uintptr(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fdopendir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fdopendir fdopendir "/usr/lib/libSystem.B.dylib" ++ ++func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { ++ // Simulate Getdirentries using fdopendir/readdir_r/closedir. ++ // We store the number of entries to skip in the seek ++ // offset of fd. See issue #31368. ++ // It's not the full required semantics, but should handle the case ++ // of calling Getdirentries or ReadDirent repeatedly. ++ // It won't handle assigning the results of lseek to *basep, or handle ++ // the directory being edited underfoot. ++ skip, err := Seek(fd, 0, 1 /* SEEK_CUR */) ++ if err != nil { ++ return 0, err ++ } ++ ++ // We need to duplicate the incoming file descriptor ++ // because the caller expects to retain control of it, but ++ // fdopendir expects to take control of its argument. ++ // Just Dup'ing the file descriptor is not enough, as the ++ // result shares underlying state. Use Openat to make a really ++ // new file descriptor referring to the same directory. ++ fd2, err := Openat(fd, ".", O_RDONLY, 0) ++ if err != nil { ++ return 0, err ++ } ++ d, err := fdopendir(fd2) ++ if err != nil { ++ Close(fd2) ++ return 0, err ++ } ++ defer closedir(d) ++ ++ var cnt int64 ++ for { ++ var entry Dirent ++ var entryp *Dirent ++ e := readdir_r(d, &entry, &entryp) ++ if e != 0 { ++ return n, errnoErr(e) ++ } ++ if entryp == nil { ++ break ++ } ++ if skip > 0 { ++ skip-- ++ cnt++ ++ continue ++ } ++ ++ reclen := int(entry.Reclen) ++ if reclen > len(buf) { ++ // Not enough room. Return for now. ++ // The counter will let us know where we should start up again. ++ // Note: this strategy for suspending in the middle and ++ // restarting is O(n^2) in the length of the directory. Oh well. ++ break ++ } ++ ++ // Copy entry into return buffer. ++ s := unsafe.Slice((*byte)(unsafe.Pointer(&entry)), reclen) ++ copy(buf, s) ++ ++ buf = buf[reclen:] ++ n += reclen ++ cnt++ ++ } ++ // Set the seek offset of the input fd to record ++ // how many files we've already returned. ++ _, err = Seek(fd, cnt, 0 /* SEEK_SET */) ++ if err != nil { ++ return n, err ++ } ++ ++ return n, nil ++} ++ + // SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets. + type SockaddrDatalink struct { + Len uint8 +@@ -48,6 +138,30 @@ func (sa *SockaddrCtl) sockaddr() (unsafe.Pointer, _Socklen, error) { + return unsafe.Pointer(&sa.raw), SizeofSockaddrCtl, nil + } + ++// SockaddrVM implements the Sockaddr interface for AF_VSOCK type sockets. ++// SockaddrVM provides access to Darwin VM sockets: a mechanism that enables ++// bidirectional communication between a hypervisor and its guest virtual ++// machines. ++type SockaddrVM struct { ++ // CID and Port specify a context ID and port address for a VM socket. ++ // Guests have a unique CID, and hosts may have a well-known CID of: ++ // - VMADDR_CID_HYPERVISOR: refers to the hypervisor process. ++ // - VMADDR_CID_LOCAL: refers to local communication (loopback). ++ // - VMADDR_CID_HOST: refers to other processes on the host. ++ CID uint32 ++ Port uint32 ++ raw RawSockaddrVM ++} ++ ++func (sa *SockaddrVM) sockaddr() (unsafe.Pointer, _Socklen, error) { ++ sa.raw.Len = SizeofSockaddrVM ++ sa.raw.Family = AF_VSOCK ++ sa.raw.Port = sa.Port ++ sa.raw.Cid = sa.CID ++ ++ return unsafe.Pointer(&sa.raw), SizeofSockaddrVM, nil ++} ++ + func anyToSockaddrGOOS(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + switch rsa.Addr.Family { + case AF_SYSTEM: +@@ -58,6 +172,13 @@ func anyToSockaddrGOOS(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + sa.Unit = pp.Sc_unit + return sa, nil + } ++ case AF_VSOCK: ++ pp := (*RawSockaddrVM)(unsafe.Pointer(rsa)) ++ sa := &SockaddrVM{ ++ CID: pp.Cid, ++ Port: pp.Port, ++ } ++ return sa, nil + } + return nil, EAFNOSUPPORT + } +@@ -110,16 +231,6 @@ func direntNamlen(buf []byte) (uint64, bool) { + 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) } + +-type attrList struct { +- bitmapCount uint16 +- _ uint16 +- CommonAttr uint32 +- VolAttr uint32 +- DirAttr uint32 +- FileAttr uint32 +- Forkattr uint32 +-} +- + //sysnb pipe(p *[2]int32) (err error) + + func Pipe(p []int) (err error) { +@@ -128,8 +239,10 @@ func Pipe(p []int) (err error) { + } + var x [2]int32 + err = pipe(&x) +- p[0] = int(x[0]) +- p[1] = int(x[1]) ++ if err == nil { ++ p[0] = int(x[0]) ++ p[1] = int(x[1]) ++ } + return + } + +@@ -249,36 +362,7 @@ func Flistxattr(fd int, dest []byte) (sz int, err error) { + return flistxattr(fd, xattrPointer(dest), len(dest), 0) + } + +-func setattrlistTimes(path string, times []Timespec, flags int) error { +- _p0, err := BytePtrFromString(path) +- if err != nil { +- return err +- } +- +- var attrList attrList +- attrList.bitmapCount = ATTR_BIT_MAP_COUNT +- attrList.CommonAttr = ATTR_CMN_MODTIME | ATTR_CMN_ACCTIME +- +- // order is mtime, atime: the opposite of Chtimes +- attributes := [2]Timespec{times[1], times[0]} +- options := 0 +- if flags&AT_SYMLINK_NOFOLLOW != 0 { +- options |= FSOPT_NOFOLLOW +- } +- return setattrlist( +- _p0, +- unsafe.Pointer(&attrList), +- unsafe.Pointer(&attributes), +- unsafe.Sizeof(attributes), +- options) +-} +- +-//sys setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) +- +-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error { +- // Darwin doesn't support SYS_UTIMENSAT +- return ENOSYS +-} ++//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) + + /* + * Wrapped +@@ -399,8 +483,32 @@ func GetsockoptXucred(fd, level, opt int) (*Xucred, error) { + return x, err + } + +-func SysctlKinfoProcSlice(name string) ([]KinfoProc, error) { +- mib, err := sysctlmib(name) ++func GetsockoptTCPConnectionInfo(fd, level, opt int) (*TCPConnectionInfo, error) { ++ var value TCPConnectionInfo ++ vallen := _Socklen(SizeofTCPConnectionInfo) ++ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen) ++ return &value, err ++} ++ ++func SysctlKinfoProc(name string, args ...int) (*KinfoProc, error) { ++ mib, err := sysctlmib(name, args...) ++ if err != nil { ++ return nil, err ++ } ++ ++ var kinfo KinfoProc ++ n := uintptr(SizeofKinfoProc) ++ if err := sysctl(mib, (*byte)(unsafe.Pointer(&kinfo)), &n, nil, 0); err != nil { ++ return nil, err ++ } ++ if n != SizeofKinfoProc { ++ return nil, EIO ++ } ++ return &kinfo, nil ++} ++ ++func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) { ++ mib, err := sysctlmib(name, args...) + if err != nil { + return nil, err + } +@@ -433,6 +541,11 @@ func SysctlKinfoProcSlice(name string) ([]KinfoProc, error) { + + //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) + ++//sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error) ++//sys shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error) ++//sys shmdt(addr uintptr) (err error) ++//sys shmget(key int, size int, flag int) (id int, err error) ++ + /* + * Exposed directly + */ +@@ -488,11 +601,12 @@ func SysctlKinfoProcSlice(name string) ([]KinfoProc, error) { + //sys Mkdirat(dirfd int, 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 Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) + //sys Open(path string, mode int, perm uint32) (fd int, err error) + //sys Openat(dirfd int, 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 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 Readlinkat(dirfd int, path string, buf []byte) (n int, err error) +@@ -556,7 +670,6 @@ func SysctlKinfoProcSlice(name string) ([]KinfoProc, error) { + // Nfssvc + // Getfh + // Quotactl +-// Mount + // Csops + // Waitid + // Add_profil +@@ -590,10 +703,6 @@ func SysctlKinfoProcSlice(name string) ([]KinfoProc, error) { + // Msgget + // Msgsnd + // Msgrcv +-// Shmat +-// Shmctl +-// Shmdt +-// Shmget + // Shm_open + // Shm_unlink + // Sem_open +diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +index 5af108a..61c0d0d 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go ++++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +@@ -101,7 +101,10 @@ func Pipe(p []int) (err error) { + if len(p) != 2 { + return EINVAL + } +- p[0], p[1], err = pipe() ++ r, w, err := pipe() ++ if err == nil { ++ p[0], p[1] = r, w ++ } + return + } + +@@ -114,17 +117,22 @@ func Pipe2(p []int, flags int) (err error) { + var pp [2]_C_int + // pipe2 on dragonfly takes an fds array as an argument, but still + // returns the file descriptors. +- p[0], p[1], err = pipe2(&pp, flags) ++ r, w, err := pipe2(&pp, flags) ++ if err == nil { ++ p[0], p[1] = r, w ++ } + return err + } + + //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) { ++ ++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) { ++ ++func pwrite(fd int, p []byte, offset int64) (n int, err error) { + return extpwrite(fd, p, 0, offset) + } + +@@ -163,11 +171,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { + return + } + +-func setattrlistTimes(path string, times []Timespec, flags int) error { +- // used on Darwin for UtimesNano +- return ENOSYS +-} +- + //sys ioctl(fd int, req uint, arg uintptr) (err error) + + //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL +diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go +index 18c392c..de7c23e 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_freebsd.go ++++ b/vendor/golang.org/x/sys/unix/syscall_freebsd.go +@@ -17,25 +17,12 @@ import ( + "unsafe" + ) + +-const ( +- SYS_FSTAT_FREEBSD12 = 551 // { int fstat(int fd, _Out_ struct stat *sb); } +- SYS_FSTATAT_FREEBSD12 = 552 // { int fstatat(int fd, _In_z_ char *path, \ +- SYS_GETDIRENTRIES_FREEBSD12 = 554 // { ssize_t getdirentries(int fd, \ +- SYS_STATFS_FREEBSD12 = 555 // { int statfs(_In_z_ char *path, \ +- SYS_FSTATFS_FREEBSD12 = 556 // { int fstatfs(int fd, \ +- SYS_GETFSSTAT_FREEBSD12 = 557 // { int getfsstat( \ +- SYS_MKNODAT_FREEBSD12 = 559 // { int mknodat(int fd, _In_z_ char *path, \ +-) +- + // See https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions.html. + var ( + osreldateOnce sync.Once + osreldate uint32 + ) + +-// INO64_FIRST from /usr/src/lib/libc/sys/compat-ino64.h +-const _ino64First = 1200031 +- + func supportsABI(ver uint32) bool { + osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") }) + return osreldate >= ver +@@ -110,8 +97,10 @@ func Pipe2(p []int, flags int) error { + } + var pp [2]_C_int + err := pipe2(&pp, flags) +- p[0] = int(pp[0]) +- p[1] = int(pp[1]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return err + } + +@@ -157,46 +146,21 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) { + + func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { + var ( +- _p0 unsafe.Pointer +- bufsize uintptr +- oldBuf []statfs_freebsd11_t +- needsConvert bool ++ _p0 unsafe.Pointer ++ bufsize uintptr + ) +- + if len(buf) > 0 { +- if supportsABI(_ino64First) { +- _p0 = unsafe.Pointer(&buf[0]) +- bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) +- } else { +- n := len(buf) +- oldBuf = make([]statfs_freebsd11_t, n) +- _p0 = unsafe.Pointer(&oldBuf[0]) +- bufsize = unsafe.Sizeof(statfs_freebsd11_t{}) * uintptr(n) +- needsConvert = true +- } ++ _p0 = unsafe.Pointer(&buf[0]) ++ bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) + } +- var sysno uintptr = SYS_GETFSSTAT +- if supportsABI(_ino64First) { +- sysno = SYS_GETFSSTAT_FREEBSD12 +- } +- r0, _, e1 := Syscall(sysno, uintptr(_p0), bufsize, uintptr(flags)) ++ r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = e1 + } +- if e1 == 0 && needsConvert { +- for i := range oldBuf { +- buf[i].convertFrom(&oldBuf[i]) +- } +- } + return + } + +-func setattrlistTimes(path string, times []Timespec, flags int) error { +- // used on Darwin for UtimesNano +- return ENOSYS +-} +- + //sys ioctl(fd int, req uint, arg uintptr) (err error) + + //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL +@@ -248,87 +212,11 @@ func Uname(uname *Utsname) error { + } + + func Stat(path string, st *Stat_t) (err error) { +- var oldStat stat_freebsd11_t +- if supportsABI(_ino64First) { +- return fstatat_freebsd12(AT_FDCWD, path, st, 0) +- } +- err = stat(path, &oldStat) +- if err != nil { +- return err +- } +- +- st.convertFrom(&oldStat) +- return nil ++ return Fstatat(AT_FDCWD, path, st, 0) + } + + func Lstat(path string, st *Stat_t) (err error) { +- var oldStat stat_freebsd11_t +- if supportsABI(_ino64First) { +- return fstatat_freebsd12(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW) +- } +- err = lstat(path, &oldStat) +- if err != nil { +- return err +- } +- +- st.convertFrom(&oldStat) +- return nil +-} +- +-func Fstat(fd int, st *Stat_t) (err error) { +- var oldStat stat_freebsd11_t +- if supportsABI(_ino64First) { +- return fstat_freebsd12(fd, st) +- } +- err = fstat(fd, &oldStat) +- if err != nil { +- return err +- } +- +- st.convertFrom(&oldStat) +- return nil +-} +- +-func Fstatat(fd int, path string, st *Stat_t, flags int) (err error) { +- var oldStat stat_freebsd11_t +- if supportsABI(_ino64First) { +- return fstatat_freebsd12(fd, path, st, flags) +- } +- err = fstatat(fd, path, &oldStat, flags) +- if err != nil { +- return err +- } +- +- st.convertFrom(&oldStat) +- return nil +-} +- +-func Statfs(path string, st *Statfs_t) (err error) { +- var oldStatfs statfs_freebsd11_t +- if supportsABI(_ino64First) { +- return statfs_freebsd12(path, st) +- } +- err = statfs(path, &oldStatfs) +- if err != nil { +- return err +- } +- +- st.convertFrom(&oldStatfs) +- return nil +-} +- +-func Fstatfs(fd int, st *Statfs_t) (err error) { +- var oldStatfs statfs_freebsd11_t +- if supportsABI(_ino64First) { +- return fstatfs_freebsd12(fd, st) +- } +- err = fstatfs(fd, &oldStatfs) +- if err != nil { +- return err +- } +- +- st.convertFrom(&oldStatfs) +- return nil ++ return Fstatat(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW) + } + + func Getdents(fd int, buf []byte) (n int, err error) { +@@ -336,162 +224,25 @@ func Getdents(fd int, buf []byte) (n int, err error) { + } + + func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +- if supportsABI(_ino64First) { +- if basep == nil || unsafe.Sizeof(*basep) == 8 { +- return getdirentries_freebsd12(fd, buf, (*uint64)(unsafe.Pointer(basep))) +- } +- // The freebsd12 syscall needs a 64-bit base. On 32-bit machines +- // we can't just use the basep passed in. See #32498. +- var base uint64 = uint64(*basep) +- n, err = getdirentries_freebsd12(fd, buf, &base) +- *basep = uintptr(base) +- if base>>32 != 0 { +- // We can't stuff the base back into a uintptr, so any +- // future calls would be suspect. Generate an error. +- // EIO is allowed by getdirentries. +- err = EIO +- } +- return +- } +- +- // The old syscall entries are smaller than the new. Use 1/4 of the original +- // buffer size rounded up to DIRBLKSIZ (see /usr/src/lib/libc/sys/getdirentries.c). +- oldBufLen := roundup(len(buf)/4, _dirblksiz) +- oldBuf := make([]byte, oldBufLen) +- n, err = getdirentries(fd, oldBuf, basep) +- if err == nil && n > 0 { +- n = convertFromDirents11(buf, oldBuf[:n]) ++ if basep == nil || unsafe.Sizeof(*basep) == 8 { ++ return getdirentries(fd, buf, (*uint64)(unsafe.Pointer(basep))) ++ } ++ // The syscall needs a 64-bit base. On 32-bit machines ++ // we can't just use the basep passed in. See #32498. ++ var base uint64 = uint64(*basep) ++ n, err = getdirentries(fd, buf, &base) ++ *basep = uintptr(base) ++ if base>>32 != 0 { ++ // We can't stuff the base back into a uintptr, so any ++ // future calls would be suspect. Generate an error. ++ // EIO is allowed by getdirentries. ++ err = EIO + } + return + } + + func Mknod(path string, mode uint32, dev uint64) (err error) { +- var oldDev int +- if supportsABI(_ino64First) { +- return mknodat_freebsd12(AT_FDCWD, path, mode, dev) +- } +- oldDev = int(dev) +- return mknod(path, mode, oldDev) +-} +- +-func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { +- var oldDev int +- if supportsABI(_ino64First) { +- return mknodat_freebsd12(fd, path, mode, dev) +- } +- oldDev = int(dev) +- return mknodat(fd, path, mode, oldDev) +-} +- +-// round x to the nearest multiple of y, larger or equal to x. +-// +-// from /usr/include/sys/param.h Macros for counting and rounding. +-// #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) +-func roundup(x, y int) int { +- return ((x + y - 1) / y) * y +-} +- +-func (s *Stat_t) convertFrom(old *stat_freebsd11_t) { +- *s = Stat_t{ +- Dev: uint64(old.Dev), +- Ino: uint64(old.Ino), +- Nlink: uint64(old.Nlink), +- Mode: old.Mode, +- Uid: old.Uid, +- Gid: old.Gid, +- Rdev: uint64(old.Rdev), +- Atim: old.Atim, +- Mtim: old.Mtim, +- Ctim: old.Ctim, +- Btim: old.Btim, +- Size: old.Size, +- Blocks: old.Blocks, +- Blksize: old.Blksize, +- Flags: old.Flags, +- Gen: uint64(old.Gen), +- } +-} +- +-func (s *Statfs_t) convertFrom(old *statfs_freebsd11_t) { +- *s = Statfs_t{ +- Version: _statfsVersion, +- Type: old.Type, +- Flags: old.Flags, +- Bsize: old.Bsize, +- Iosize: old.Iosize, +- Blocks: old.Blocks, +- Bfree: old.Bfree, +- Bavail: old.Bavail, +- Files: old.Files, +- Ffree: old.Ffree, +- Syncwrites: old.Syncwrites, +- Asyncwrites: old.Asyncwrites, +- Syncreads: old.Syncreads, +- Asyncreads: old.Asyncreads, +- // Spare +- Namemax: old.Namemax, +- Owner: old.Owner, +- Fsid: old.Fsid, +- // Charspare +- // Fstypename +- // Mntfromname +- // Mntonname +- } +- +- sl := old.Fstypename[:] +- n := clen(*(*[]byte)(unsafe.Pointer(&sl))) +- copy(s.Fstypename[:], old.Fstypename[:n]) +- +- sl = old.Mntfromname[:] +- n = clen(*(*[]byte)(unsafe.Pointer(&sl))) +- copy(s.Mntfromname[:], old.Mntfromname[:n]) +- +- sl = old.Mntonname[:] +- n = clen(*(*[]byte)(unsafe.Pointer(&sl))) +- copy(s.Mntonname[:], old.Mntonname[:n]) +-} +- +-func convertFromDirents11(buf []byte, old []byte) int { +- const ( +- fixedSize = int(unsafe.Offsetof(Dirent{}.Name)) +- oldFixedSize = int(unsafe.Offsetof(dirent_freebsd11{}.Name)) +- ) +- +- dstPos := 0 +- srcPos := 0 +- for dstPos+fixedSize < len(buf) && srcPos+oldFixedSize < len(old) { +- var dstDirent Dirent +- var srcDirent dirent_freebsd11 +- +- // If multiple direntries are written, sometimes when we reach the final one, +- // we may have cap of old less than size of dirent_freebsd11. +- copy((*[unsafe.Sizeof(srcDirent)]byte)(unsafe.Pointer(&srcDirent))[:], old[srcPos:]) +- +- reclen := roundup(fixedSize+int(srcDirent.Namlen)+1, 8) +- if dstPos+reclen > len(buf) { +- break +- } +- +- dstDirent.Fileno = uint64(srcDirent.Fileno) +- dstDirent.Off = 0 +- dstDirent.Reclen = uint16(reclen) +- dstDirent.Type = srcDirent.Type +- dstDirent.Pad0 = 0 +- dstDirent.Namlen = uint16(srcDirent.Namlen) +- dstDirent.Pad1 = 0 +- +- copy(dstDirent.Name[:], srcDirent.Name[:srcDirent.Namlen]) +- copy(buf[dstPos:], (*[unsafe.Sizeof(dstDirent)]byte)(unsafe.Pointer(&dstDirent))[:]) +- padding := buf[dstPos+fixedSize+int(dstDirent.Namlen) : dstPos+reclen] +- for i := range padding { +- padding[i] = 0 +- } +- +- dstPos += int(dstDirent.Reclen) +- srcPos += int(srcDirent.Reclen) +- } +- +- return dstPos ++ return Mknodat(AT_FDCWD, path, mode, dev) + } + + func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { +@@ -504,31 +255,31 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + //sys ptrace(request int, pid int, addr uintptr, data int) (err error) + + func PtraceAttach(pid int) (err error) { +- return ptrace(PTRACE_ATTACH, pid, 0, 0) ++ return ptrace(PT_ATTACH, pid, 0, 0) + } + + func PtraceCont(pid int, signal int) (err error) { +- return ptrace(PTRACE_CONT, pid, 1, signal) ++ return ptrace(PT_CONTINUE, pid, 1, signal) + } + + func PtraceDetach(pid int) (err error) { +- return ptrace(PTRACE_DETACH, pid, 1, 0) ++ return ptrace(PT_DETACH, pid, 1, 0) + } + + func PtraceGetFpRegs(pid int, fpregsout *FpReg) (err error) { +- return ptrace(PTRACE_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0) ++ return ptrace(PT_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0) + } + + func PtraceGetRegs(pid int, regsout *Reg) (err error) { +- return ptrace(PTRACE_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0) ++ return ptrace(PT_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0) + } + + func PtraceLwpEvents(pid int, enable int) (err error) { +- return ptrace(PTRACE_LWPEVENTS, pid, 0, enable) ++ return ptrace(PT_LWP_EVENTS, pid, 0, enable) + } + + func PtraceLwpInfo(pid int, info uintptr) (err error) { +- return ptrace(PTRACE_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{}))) ++ return ptrace(PT_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{}))) + } + + func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) { +@@ -548,11 +299,11 @@ func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) { + } + + func PtraceSetRegs(pid int, regs *Reg) (err error) { +- return ptrace(PTRACE_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0) ++ return ptrace(PT_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0) + } + + func PtraceSingleStep(pid int) (err error) { +- return ptrace(PTRACE_SINGLESTEP, pid, 1, 0) ++ return ptrace(PT_STEP, pid, 1, 0) + } + + /* +@@ -594,16 +345,12 @@ func PtraceSingleStep(pid int) (err error) { + //sys Fchownat(dirfd int, path string, uid int, gid int, flags 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_freebsd11_t) (err error) +-//sys fstat_freebsd12(fd int, stat *Stat_t) (err error) +-//sys fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) +-//sys fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) +-//sys fstatfs(fd int, stat *statfs_freebsd11_t) (err error) +-//sys fstatfs_freebsd12(fd int, stat *Statfs_t) (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, 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 getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) ++//sys getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) + //sys Getdtablesize() (size int) + //sysnb Getegid() (egid int) + //sysnb Geteuid() (uid int) +@@ -625,19 +372,16 @@ func PtraceSingleStep(pid int) (err error) { + //sys Link(path string, link string) (err error) + //sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) + //sys Listen(s int, backlog int) (err error) +-//sys lstat(path string, stat *stat_freebsd11_t) (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 mknod(path string, mode uint32, dev int) (err error) +-//sys mknodat(fd int, path string, mode uint32, dev int) (err error) +-//sys mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) ++//sys Mknodat(fd int, path string, mode uint32, dev uint64) (err error) + //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) + //sys Open(path string, mode int, perm uint32) (fd int, err error) + //sys Openat(fdat int, 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 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 Readlinkat(dirfd int, path string, buf []byte) (n int, err error) +@@ -661,9 +405,7 @@ func PtraceSingleStep(pid int) (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_freebsd11_t) (err error) +-//sys statfs(path string, stat *statfs_freebsd11_t) (err error) +-//sys statfs_freebsd12(path string, stat *Statfs_t) (err error) ++//sys Statfs(path string, stat *Statfs_t) (err error) + //sys Symlink(path string, link string) (err error) + //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error) + //sys Sync() (err error) +diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +index 342fc32..b11ede8 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go ++++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +@@ -57,11 +57,11 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) + + func PtraceGetFsBase(pid int, fsbase *int64) (err error) { +- return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) ++ return ptrace(PT_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) + } + + func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { +- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)} +- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) ++ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint32(countin)} ++ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + return int(ioDesc.Len), err + } +diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +index a32d5aa..9ed8eec 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +@@ -57,11 +57,11 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) + + func PtraceGetFsBase(pid int, fsbase *int64) (err error) { +- return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) ++ return ptrace(PT_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) + } + + func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { +- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} +- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) ++ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint64(countin)} ++ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + return int(ioDesc.Len), err + } +diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +index 1e36d39..f8ac982 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +@@ -57,7 +57,7 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) + + func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { +- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)} +- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) ++ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint32(countin)} ++ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + return int(ioDesc.Len), err + } +diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +index a09a153..8e93203 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +@@ -57,7 +57,7 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) + + func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { +- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} +- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) ++ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint64(countin)} ++ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + return int(ioDesc.Len), err + } +diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +new file mode 100644 +index 0000000..cbe1222 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +@@ -0,0 +1,63 @@ ++// Copyright 2022 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. ++ ++//go:build riscv64 && freebsd ++// +build riscv64,freebsd ++ ++package unix ++ ++import ( ++ "syscall" ++ "unsafe" ++) ++ ++func setTimespec(sec, nsec int64) Timespec { ++ return Timespec{Sec: sec, Nsec: nsec} ++} ++ ++func setTimeval(sec, usec int64) Timeval { ++ return Timeval{Sec: sec, Usec: usec} ++} ++ ++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 (msghdr *Msghdr) SetIovlen(length int) { ++ msghdr.Iovlen = int32(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) ++ ++func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { ++ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint64(countin)} ++ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) ++ return int(ioDesc.Len), err ++} +diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go +index 8c53576..87db5a6 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_illumos.go ++++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go +@@ -10,8 +10,6 @@ + package unix + + import ( +- "fmt" +- "runtime" + "unsafe" + ) + +@@ -20,10 +18,9 @@ func bytes2iovec(bs [][]byte) []Iovec { + for i, b := range bs { + iovecs[i].SetLen(len(b)) + if len(b) > 0 { +- // somehow Iovec.Base on illumos is (*int8), not (*byte) +- iovecs[i].Base = (*int8)(unsafe.Pointer(&b[0])) ++ iovecs[i].Base = &b[0] + } else { +- iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero)) ++ iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero)) + } + } + return iovecs +@@ -80,99 +77,3 @@ func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) { + } + return + } +- +-//sys putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error) +- +-func Putmsg(fd int, cl []byte, data []byte, flags int) (err error) { +- var clp, datap *strbuf +- if len(cl) > 0 { +- clp = &strbuf{ +- Len: int32(len(cl)), +- Buf: (*int8)(unsafe.Pointer(&cl[0])), +- } +- } +- if len(data) > 0 { +- datap = &strbuf{ +- Len: int32(len(data)), +- Buf: (*int8)(unsafe.Pointer(&data[0])), +- } +- } +- return putmsg(fd, clp, datap, flags) +-} +- +-//sys getmsg(fd int, clptr *strbuf, dataptr *strbuf, flags *int) (err error) +- +-func Getmsg(fd int, cl []byte, data []byte) (retCl []byte, retData []byte, flags int, err error) { +- var clp, datap *strbuf +- if len(cl) > 0 { +- clp = &strbuf{ +- Maxlen: int32(len(cl)), +- Buf: (*int8)(unsafe.Pointer(&cl[0])), +- } +- } +- if len(data) > 0 { +- datap = &strbuf{ +- Maxlen: int32(len(data)), +- Buf: (*int8)(unsafe.Pointer(&data[0])), +- } +- } +- +- if err = getmsg(fd, clp, datap, &flags); err != nil { +- return nil, nil, 0, err +- } +- +- if len(cl) > 0 { +- retCl = cl[:clp.Len] +- } +- if len(data) > 0 { +- retData = data[:datap.Len] +- } +- return retCl, retData, flags, nil +-} +- +-func IoctlSetIntRetInt(fd int, req uint, arg int) (int, error) { +- return ioctlRet(fd, req, uintptr(arg)) +-} +- +-func IoctlSetString(fd int, req uint, val string) error { +- bs := make([]byte, len(val)+1) +- copy(bs[:len(bs)-1], val) +- err := ioctl(fd, req, uintptr(unsafe.Pointer(&bs[0]))) +- runtime.KeepAlive(&bs[0]) +- return err +-} +- +-// Lifreq Helpers +- +-func (l *Lifreq) SetName(name string) error { +- if len(name) >= len(l.Name) { +- return fmt.Errorf("name cannot be more than %d characters", len(l.Name)-1) +- } +- for i := range name { +- l.Name[i] = int8(name[i]) +- } +- return nil +-} +- +-func (l *Lifreq) SetLifruInt(d int) { +- *(*int)(unsafe.Pointer(&l.Lifru[0])) = d +-} +- +-func (l *Lifreq) GetLifruInt() int { +- return *(*int)(unsafe.Pointer(&l.Lifru[0])) +-} +- +-func IoctlLifreq(fd int, req uint, l *Lifreq) error { +- return ioctl(fd, req, uintptr(unsafe.Pointer(l))) +-} +- +-// Strioctl Helpers +- +-func (s *Strioctl) SetInt(i int) { +- s.Len = int32(unsafe.Sizeof(i)) +- s.Dp = (*int8)(unsafe.Pointer(&i)) +-} +- +-func IoctlSetStrioctlRetInt(fd int, req uint, s *Strioctl) (int, error) { +- return ioctlRet(fd, req, uintptr(unsafe.Pointer(s))) +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go +index 77522ea..c5a9844 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux.go +@@ -13,8 +13,9 @@ package unix + + import ( + "encoding/binary" +- "runtime" ++ "strconv" + "syscall" ++ "time" + "unsafe" + ) + +@@ -38,6 +39,13 @@ func Creat(path string, mode uint32) (fd int, err error) { + return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode) + } + ++func EpollCreate(size int) (fd int, err error) { ++ if size <= 0 { ++ return -1, EINVAL ++ } ++ return EpollCreate1(0) ++} ++ + //sys FanotifyInit(flags uint, event_f_flags uint) (fd int, err error) + //sys fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) + +@@ -66,6 +74,10 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + return fchmodat(dirfd, path, mode) + } + ++func InotifyInit() (fd int, err error) { ++ return InotifyInit1(0) ++} ++ + //sys ioctl(fd int, req uint, arg uintptr) (err error) = SYS_IOCTL + //sys ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) = SYS_IOCTL + +@@ -109,6 +121,25 @@ func Openat2(dirfd int, path string, how *OpenHow) (fd int, err error) { + return openat2(dirfd, path, how, SizeofOpenHow) + } + ++func Pipe(p []int) error { ++ return Pipe2(p, 0) ++} ++ ++//sysnb pipe2(p *[2]_C_int, flags int) (err error) ++ ++func Pipe2(p []int, flags int) error { ++ if len(p) != 2 { ++ return EINVAL ++ } ++ var pp [2]_C_int ++ err := pipe2(&pp, flags) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } ++ return err ++} ++ + //sys ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) + + func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { +@@ -118,6 +149,15 @@ func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error + return ppoll(&fds[0], len(fds), timeout, sigmask) + } + ++func Poll(fds []PollFd, timeout int) (n int, err error) { ++ var ts *Timespec ++ if timeout >= 0 { ++ ts = new(Timespec) ++ *ts = NsecToTimespec(int64(timeout) * 1e6) ++ } ++ return Ppoll(fds, ts, nil) ++} ++ + //sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error) + + func Readlink(path string, buf []byte) (n int, err error) { +@@ -168,27 +208,7 @@ func Utimes(path string, tv []Timeval) error { + //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] = NsecToTimeval(TimespecToNsec(ts[i])) +- } +- return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) ++ return UtimesNanoAt(AT_FDCWD, path, ts, 0) + } + + func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error { +@@ -214,7 +234,7 @@ func Futimesat(dirfd int, path string, tv []Timeval) error { + 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) ++ return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv) + } + + const ImplementsGetwd = true +@@ -231,6 +251,13 @@ func Getwd() (wd string, err error) { + if n < 1 || n > len(buf) || buf[n-1] != 0 { + return "", EINVAL + } ++ // In some cases, Linux can return a path that starts with the ++ // "(unreachable)" prefix, which can potentially be a valid relative ++ // path. To work around that, return ENOENT if path is not absolute. ++ if buf[0] != '/' { ++ return "", ENOENT ++ } ++ + return string(buf[0 : n-1]), nil + } + +@@ -340,6 +367,8 @@ func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, + return + } + ++//sys Waitid(idType int, id int, info *Siginfo, options int, rusage *Rusage) (err error) ++ + func Mkfifo(path string, mode uint32) error { + return Mknod(path, mode|S_IFIFO, 0) + } +@@ -356,9 +385,7 @@ func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil + } + +@@ -371,9 +398,7 @@ func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil + } + +@@ -422,9 +447,7 @@ func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrLinklayer, nil + } + +@@ -490,24 +513,24 @@ func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) { + // + // Server example: + // +-// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) +-// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{ +-// Channel: 1, +-// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00 +-// }) +-// _ = Listen(fd, 1) +-// nfd, sa, _ := Accept(fd) +-// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd) +-// Read(nfd, buf) ++// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) ++// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{ ++// Channel: 1, ++// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00 ++// }) ++// _ = Listen(fd, 1) ++// nfd, sa, _ := Accept(fd) ++// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd) ++// Read(nfd, buf) + // + // Client example: + // +-// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) +-// _ = Connect(fd, &SockaddrRFCOMM{ +-// Channel: 1, +-// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11 +-// }) +-// Write(fd, []byte(`hello`)) ++// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) ++// _ = Connect(fd, &SockaddrRFCOMM{ ++// Channel: 1, ++// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11 ++// }) ++// Write(fd, []byte(`hello`)) + type SockaddrRFCOMM struct { + // Addr represents a bluetooth address, byte ordering is little-endian. + Addr [6]uint8 +@@ -534,12 +557,12 @@ func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) { + // The SockaddrCAN struct must be bound to the socket file descriptor + // using Bind before the CAN socket can be used. + // +-// // Read one raw CAN frame +-// fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW) +-// addr := &SockaddrCAN{Ifindex: index} +-// Bind(fd, addr) +-// frame := make([]byte, 16) +-// Read(fd, frame) ++// // Read one raw CAN frame ++// fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW) ++// addr := &SockaddrCAN{Ifindex: index} ++// Bind(fd, addr) ++// frame := make([]byte, 16) ++// Read(fd, frame) + // + // The full SocketCAN documentation can be found in the linux kernel + // archives at: https://www.kernel.org/doc/Documentation/networking/can.txt +@@ -610,13 +633,13 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) { + // Here is an example of using an AF_ALG socket with SHA1 hashing. + // The initial socket setup process is as follows: + // +-// // Open a socket to perform SHA1 hashing. +-// fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0) +-// addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"} +-// unix.Bind(fd, addr) +-// // Note: unix.Accept does not work at this time; must invoke accept() +-// // manually using unix.Syscall. +-// hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0) ++// // Open a socket to perform SHA1 hashing. ++// fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0) ++// addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"} ++// unix.Bind(fd, addr) ++// // Note: unix.Accept does not work at this time; must invoke accept() ++// // manually using unix.Syscall. ++// hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0) + // + // Once a file descriptor has been returned from Accept, it may be used to + // perform SHA1 hashing. The descriptor is not safe for concurrent use, but +@@ -625,39 +648,39 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) { + // When hashing a small byte slice or string, a single Write and Read may + // be used: + // +-// // Assume hashfd is already configured using the setup process. +-// hash := os.NewFile(hashfd, "sha1") +-// // Hash an input string and read the results. Each Write discards +-// // previous hash state. Read always reads the current state. +-// b := make([]byte, 20) +-// for i := 0; i < 2; i++ { +-// io.WriteString(hash, "Hello, world.") +-// hash.Read(b) +-// fmt.Println(hex.EncodeToString(b)) +-// } +-// // Output: +-// // 2ae01472317d1935a84797ec1983ae243fc6aa28 +-// // 2ae01472317d1935a84797ec1983ae243fc6aa28 ++// // Assume hashfd is already configured using the setup process. ++// hash := os.NewFile(hashfd, "sha1") ++// // Hash an input string and read the results. Each Write discards ++// // previous hash state. Read always reads the current state. ++// b := make([]byte, 20) ++// for i := 0; i < 2; i++ { ++// io.WriteString(hash, "Hello, world.") ++// hash.Read(b) ++// fmt.Println(hex.EncodeToString(b)) ++// } ++// // Output: ++// // 2ae01472317d1935a84797ec1983ae243fc6aa28 ++// // 2ae01472317d1935a84797ec1983ae243fc6aa28 + // + // For hashing larger byte slices, or byte streams such as those read from + // a file or socket, use Sendto with MSG_MORE to instruct the kernel to update + // the hash digest instead of creating a new one for a given chunk and finalizing it. + // +-// // Assume hashfd and addr are already configured using the setup process. +-// hash := os.NewFile(hashfd, "sha1") +-// // Hash the contents of a file. +-// f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz") +-// b := make([]byte, 4096) +-// for { +-// n, err := f.Read(b) +-// if err == io.EOF { +-// break +-// } +-// unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr) +-// } +-// hash.Read(b) +-// fmt.Println(hex.EncodeToString(b)) +-// // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5 ++// // Assume hashfd and addr are already configured using the setup process. ++// hash := os.NewFile(hashfd, "sha1") ++// // Hash the contents of a file. ++// f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz") ++// b := make([]byte, 4096) ++// for { ++// n, err := f.Read(b) ++// if err == io.EOF { ++// break ++// } ++// unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr) ++// } ++// hash.Read(b) ++// fmt.Println(hex.EncodeToString(b)) ++// // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5 + // + // For more information, see: http://www.chronox.de/crypto-API/crypto/userspace-if.html. + type SockaddrALG struct { +@@ -839,12 +862,10 @@ func (sa *SockaddrTIPC) sockaddr() (unsafe.Pointer, _Socklen, error) { + if sa.Addr == nil { + return nil, 0, EINVAL + } +- + sa.raw.Family = AF_TIPC + sa.raw.Scope = int8(sa.Scope) + sa.raw.Addrtype = sa.Addr.tipcAddrtype() + sa.raw.Addr = sa.Addr.tipcAddr() +- + return unsafe.Pointer(&sa.raw), SizeofSockaddrTIPC, nil + } + +@@ -858,9 +879,7 @@ type SockaddrL2TPIP struct { + func (sa *SockaddrL2TPIP) sockaddr() (unsafe.Pointer, _Socklen, error) { + sa.raw.Family = AF_INET + sa.raw.Conn_id = sa.ConnId +- for i := 0; i < len(sa.Addr); i++ { +- sa.raw.Addr[i] = sa.Addr[i] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrL2TPIP, nil + } + +@@ -876,9 +895,7 @@ func (sa *SockaddrL2TPIP6) sockaddr() (unsafe.Pointer, _Socklen, error) { + sa.raw.Family = AF_INET6 + sa.raw.Conn_id = sa.ConnId + sa.raw.Scope_id = sa.ZoneId +- for i := 0; i < len(sa.Addr); i++ { +- sa.raw.Addr[i] = sa.Addr[i] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrL2TPIP6, nil + } + +@@ -974,9 +991,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + + case AF_UNIX: +@@ -1015,18 +1030,14 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + pp := (*RawSockaddrL2TPIP)(unsafe.Pointer(rsa)) + sa := new(SockaddrL2TPIP) + sa.ConnId = pp.Conn_id +- for i := 0; i < len(sa.Addr); i++ { +- sa.Addr[i] = pp.Addr[i] +- } ++ sa.Addr = pp.Addr + return sa, nil + default: + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + +@@ -1042,9 +1053,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + sa := new(SockaddrL2TPIP6) + sa.ConnId = pp.Conn_id + sa.ZoneId = pp.Scope_id +- for i := 0; i < len(sa.Addr); i++ { +- sa.Addr[i] = pp.Addr[i] +- } ++ sa.Addr = pp.Addr + return sa, nil + default: + pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa)) +@@ -1052,9 +1061,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + +@@ -1229,11 +1236,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + func Accept(fd int) (nfd int, sa Sockaddr, err error) { + var rsa RawSockaddrAny + var len _Socklen = SizeofSockaddrAny +- // Try accept4 first for Android, then try accept for kernel older than 2.6.28 + nfd, err = accept4(fd, &rsa, &len, 0) +- if err == ENOSYS { +- nfd, err = accept(fd, &rsa, &len) +- } + if err != nil { + return + } +@@ -1355,6 +1358,13 @@ func SetsockoptTpacketReq3(fd, level, opt int, tp *TpacketReq3) error { + return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp)) + } + ++func SetsockoptTCPRepairOpt(fd, level, opt int, o []TCPRepairOpt) (err error) { ++ if len(o) == 0 { ++ return EINVAL ++ } ++ return setsockopt(fd, level, opt, unsafe.Pointer(&o[0]), uintptr(SizeofTCPRepairOpt*len(o))) ++} ++ + // Keyctl Commands (http://man7.org/linux/man-pages/man2/keyctl.2.html) + + // KeyctlInt calls keyctl commands in which each argument is an int. +@@ -1490,19 +1500,13 @@ func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error + //sys keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) = SYS_KEYCTL + //sys keyctlRestrictKeyring(cmd int, arg2 int) (err error) = SYS_KEYCTL + +-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { ++func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { + var msg Msghdr +- var rsa RawSockaddrAny +- msg.Name = (*byte)(unsafe.Pointer(&rsa)) ++ msg.Name = (*byte)(unsafe.Pointer(rsa)) + msg.Namelen = uint32(SizeofSockaddrAny) +- var iov Iovec +- if len(p) > 0 { +- iov.Base = &p[0] +- iov.SetLen(len(p)) +- } + var dummy byte + if len(oob) > 0 { +- if len(p) == 0 { ++ if emptyIovecs(iov) { + var sockType int + sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE) + if err != nil { +@@ -1510,53 +1514,36 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from + } + // receive at least one normal byte + if sockType != SOCK_DGRAM { +- iov.Base = &dummy +- iov.SetLen(1) ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] + } + } + msg.Control = &oob[0] + msg.SetControllen(len(oob)) + } +- msg.Iov = &iov +- msg.Iovlen = 1 ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } + 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(fd, &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 +- } +- } ++func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { + var msg Msghdr + msg.Name = (*byte)(ptr) + msg.Namelen = uint32(salen) +- var iov Iovec +- if len(p) > 0 { +- iov.Base = &p[0] +- iov.SetLen(len(p)) +- } + var dummy byte ++ var empty bool + if len(oob) > 0 { +- if len(p) == 0 { ++ empty = emptyIovecs(iov) ++ if empty { + var sockType int + sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE) + if err != nil { +@@ -1564,19 +1551,23 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) + } + // send at least one normal byte + if sockType != SOCK_DGRAM { +- iov.Base = &dummy +- iov.SetLen(1) ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] + } + } + msg.Control = &oob[0] + msg.SetControllen(len(oob)) + } +- msg.Iov = &iov +- msg.Iovlen = 1 ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } + if n, err = sendmsg(fd, &msg, flags); err != nil { + return 0, err + } +- if len(oob) > 0 && len(p) == 0 { ++ if len(oob) > 0 && empty { + n = 0 + } + return n, nil +@@ -1778,6 +1769,16 @@ func Mount(source string, target string, fstype string, flags uintptr, data stri + return mount(source, target, fstype, flags, datap) + } + ++//sys mountSetattr(dirfd int, pathname string, flags uint, attr *MountAttr, size uintptr) (err error) = SYS_MOUNT_SETATTR ++ ++// MountSetattr is a wrapper for mount_setattr(2). ++// https://man7.org/linux/man-pages/man2/mount_setattr.2.html ++// ++// Requires kernel >= 5.12. ++func MountSetattr(dirfd int, pathname string, flags uint, attr *MountAttr) error { ++ return mountSetattr(dirfd, pathname, flags, attr, unsafe.Sizeof(*attr)) ++} ++ + func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { + if raceenabled { + raceReleaseMerge(unsafe.Pointer(&ioSync)) +@@ -1809,11 +1810,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + //sys Dup(oldfd int) (fd int, err error) + + func Dup2(oldfd, newfd int) error { +- // Android O and newer blocks dup2; riscv and arm64 don't implement dup2. +- if runtime.GOOS == "android" || runtime.GOARCH == "riscv64" || runtime.GOARCH == "arm64" { +- return Dup3(oldfd, newfd, 0) +- } +- return dup2(oldfd, newfd) ++ return Dup3(oldfd, newfd, 0) + } + + //sys Dup3(oldfd int, newfd int, flags int) (err error) +@@ -1833,6 +1830,9 @@ func Dup2(oldfd, newfd int) error { + //sys Fremovexattr(fd int, attr string) (err error) + //sys Fsetxattr(fd int, attr string, dest []byte, flags int) (err error) + //sys Fsync(fd int) (err error) ++//sys Fsmount(fd int, flags int, mountAttrs int) (fsfd int, err error) ++//sys Fsopen(fsName string, flags int) (fd int, err error) ++//sys Fspick(dirfd int, pathName string, flags int) (fd int, err error) + //sys Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64 + //sysnb Getpgid(pid int) (pgid int, err error) + +@@ -1863,10 +1863,12 @@ func Getpgrp() (pid int) { + //sys MemfdCreate(name string, flags int) (fd 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 MoveMount(fromDirfd int, fromPathName string, toDirfd int, toPathName string, flags int) (err error) + //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) ++//sys OpenTree(dfd int, fileName string, flags uint) (r int, err error) + //sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error) + //sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT +-//sysnb prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64 ++//sysnb Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64 + //sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) + //sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) = SYS_PSELECT6 + //sys read(fd int, p []byte) (n int, err error) +@@ -1891,17 +1893,28 @@ func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uint + return int(ret), nil + } + +-// 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 ++ return syscall.Setuid(uid) ++} ++ ++func Setgid(gid int) (err error) { ++ return syscall.Setgid(gid) ++} ++ ++func Setreuid(ruid, euid int) (err error) { ++ return syscall.Setreuid(ruid, euid) + } + +-func Setgid(uid int) (err error) { +- return EOPNOTSUPP ++func Setregid(rgid, egid int) (err error) { ++ return syscall.Setregid(rgid, egid) ++} ++ ++func Setresuid(ruid, euid, suid int) (err error) { ++ return syscall.Setresuid(ruid, euid, suid) ++} ++ ++func Setresgid(rgid, egid, sgid int) (err error) { ++ return syscall.Setresgid(rgid, egid, sgid) + } + + // SetfsgidRetGid sets fsgid for current thread and returns previous fsgid set. +@@ -2188,7 +2201,7 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + gid = Getgid() + } + +- if uint32(gid) == st.Gid || isGroupMember(gid) { ++ if uint32(gid) == st.Gid || isGroupMember(int(st.Gid)) { + fmode = (st.Mode >> 3) & 7 + } else { + fmode = st.Mode & 7 +@@ -2240,7 +2253,7 @@ func (fh *FileHandle) Bytes() []byte { + if n == 0 { + return nil + } +- return (*[1 << 30]byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type)) + 4))[:n:n] ++ return unsafe.Slice((*byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type))+4)), n) + } + + // NameToHandleAt wraps the name_to_handle_at system call; it obtains +@@ -2301,11 +2314,75 @@ type RemoteIovec struct { + //sys ProcessVMReadv(pid int, localIov []Iovec, remoteIov []RemoteIovec, flags uint) (n int, err error) = SYS_PROCESS_VM_READV + //sys ProcessVMWritev(pid int, localIov []Iovec, remoteIov []RemoteIovec, flags uint) (n int, err error) = SYS_PROCESS_VM_WRITEV + ++//sys PidfdOpen(pid int, flags int) (fd int, err error) = SYS_PIDFD_OPEN ++//sys PidfdGetfd(pidfd int, targetfd int, flags int) (fd int, err error) = SYS_PIDFD_GETFD ++//sys PidfdSendSignal(pidfd int, sig Signal, info *Siginfo, flags int) (err error) = SYS_PIDFD_SEND_SIGNAL ++ ++//sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error) ++//sys shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error) ++//sys shmdt(addr uintptr) (err error) ++//sys shmget(key int, size int, flag int) (id int, err error) ++ ++//sys getitimer(which int, currValue *Itimerval) (err error) ++//sys setitimer(which int, newValue *Itimerval, oldValue *Itimerval) (err error) ++ ++// MakeItimerval creates an Itimerval from interval and value durations. ++func MakeItimerval(interval, value time.Duration) Itimerval { ++ return Itimerval{ ++ Interval: NsecToTimeval(interval.Nanoseconds()), ++ Value: NsecToTimeval(value.Nanoseconds()), ++ } ++} ++ ++// A value which may be passed to the which parameter for Getitimer and ++// Setitimer. ++type ItimerWhich int ++ ++// Possible which values for Getitimer and Setitimer. ++const ( ++ ItimerReal ItimerWhich = ITIMER_REAL ++ ItimerVirtual ItimerWhich = ITIMER_VIRTUAL ++ ItimerProf ItimerWhich = ITIMER_PROF ++) ++ ++// Getitimer wraps getitimer(2) to return the current value of the timer ++// specified by which. ++func Getitimer(which ItimerWhich) (Itimerval, error) { ++ var it Itimerval ++ if err := getitimer(int(which), &it); err != nil { ++ return Itimerval{}, err ++ } ++ ++ return it, nil ++} ++ ++// Setitimer wraps setitimer(2) to arm or disarm the timer specified by which. ++// It returns the previous value of the timer. ++// ++// If the Itimerval argument is the zero value, the timer will be disarmed. ++func Setitimer(which ItimerWhich, it Itimerval) (Itimerval, error) { ++ var prev Itimerval ++ if err := setitimer(int(which), &it, &prev); err != nil { ++ return Itimerval{}, err ++ } ++ ++ return prev, nil ++} ++ ++//sysnb rtSigprocmask(how int, set *Sigset_t, oldset *Sigset_t, sigsetsize uintptr) (err error) = SYS_RT_SIGPROCMASK ++ ++func PthreadSigmask(how int, set, oldset *Sigset_t) error { ++ if oldset != nil { ++ // Explicitly clear in case Sigset_t is larger than _C__NSIG. ++ *oldset = Sigset_t{} ++ } ++ return rtSigprocmask(how, set, oldset, _C__NSIG/8) ++} ++ + /* + * Unimplemented + */ + // AfsSyscall +-// Alarm + // ArchPrctl + // Brk + // ClockNanosleep +@@ -2321,7 +2398,6 @@ type RemoteIovec struct { + // GetMempolicy + // GetRobustList + // GetThreadArea +-// Getitimer + // Getpmsg + // IoCancel + // IoDestroy +@@ -2361,7 +2437,6 @@ type RemoteIovec struct { + // RestartSyscall + // RtSigaction + // RtSigpending +-// RtSigprocmask + // RtSigqueueinfo + // RtSigreturn + // RtSigsuspend +@@ -2382,10 +2457,6 @@ type RemoteIovec struct { + // SetRobustList + // SetThreadArea + // SetTidAddress +-// Shmat +-// Shmctl +-// Shmdt +-// Shmget + // Sigaltstack + // Swapoff + // Swapon +@@ -2403,5 +2474,4 @@ type RemoteIovec struct { + // Vfork + // Vhangup + // 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 +index b430536..ff5b589 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_386.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_386.go +@@ -19,36 +19,8 @@ func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: int32(sec), Usec: int32(usec)} + } + +-//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) +-//sysnb EpollCreate(size int) (fd 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_64 + //sys Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32 +@@ -59,21 +31,16 @@ func Pipe2(p []int, flags int) (err error) { + //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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64 + //sys setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32 + //sys setfsuid(uid int) (prev 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) +@@ -105,7 +72,7 @@ const rlimInf32 = ^uint32(0) + const rlimInf64 = ^uint64(0) + + func Getrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, nil, rlim) ++ err = Prlimit(0, resource, nil, rlim) + if err != ENOSYS { + return err + } +@@ -133,7 +100,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) { + //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT + + func Setrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, rlim, nil) ++ err = Prlimit(0, resource, rlim, nil) + if err != ENOSYS { + return err + } +@@ -202,14 +169,6 @@ const ( + _SENDMMSG = 20 + ) + +-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 { +@@ -381,12 +340,3 @@ func (cmsg *Cmsghdr) SetLen(length int) { + func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint32(length) + } +- +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go b/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +new file mode 100644 +index 0000000..08086ac +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +@@ -0,0 +1,14 @@ ++// Copyright 2022 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. ++ ++//go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) ++// +build linux ++// +build 386 amd64 mips mipsle mips64 mipsle ppc64 ppc64le ppc s390x sparc64 ++ ++package unix ++ ++// SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH ++// values. ++ ++//sys Alarm(seconds uint) (remaining uint, err error) +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +index 85cd97d..9b27035 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +@@ -7,8 +7,6 @@ + + package unix + +-//sys dup2(oldfd int, newfd int) (err error) +-//sysnb EpollCreate(size int) (fd 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) +@@ -21,17 +19,6 @@ package unix + //sysnb Getgid() (gid int) + //sysnb Getrlimit(resource int, rlim *Rlimit) (err error) + //sysnb Getuid() (uid int) +-//sysnb inotifyInit() (fd int, err error) +- +-func InotifyInit() (fd int, err error) { +- // First try inotify_init1, because Android's seccomp policy blocks the latter. +- fd, err = InotifyInit1(0) +- if err == ENOSYS { +- fd, err = inotifyInit() +- } +- return +-} +- + //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) +@@ -41,9 +28,10 @@ func Lstat(path string, stat *Stat_t) (err error) { + return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW) + } + ++//sys MemfdSecret(flags int) (fd 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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK + +@@ -58,11 +46,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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) + +@@ -75,7 +59,6 @@ func Stat(path string, stat *Stat_t) (err error) { + //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) + //sys Truncate(path string, length int64) (err error) + //sys Ustat(dev int, ubuf *Ustat_t) (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) +@@ -126,32 +109,6 @@ func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: sec, Usec: usec} + } + +-//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 } +@@ -176,15 +133,6 @@ func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint64(length) + } + +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +- + //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) + + func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +index 39a864d..856ad1d 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +@@ -19,36 +19,6 @@ func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: int32(sec), Usec: int32(usec)} + } + +-//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 +- // Try pipe2 first for Android O, then try pipe for kernel 2.6.23. +- err = pipe2(&pp, 0) +- if err == ENOSYS { +- 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 Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + newoffset, errno := seek(fd, offset, whence) + if errno != 0 { +@@ -57,7 +27,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + 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) +@@ -76,8 +45,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, 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) +-//sysnb EpollCreate(size int) (fd int, err error) + //sys EpollWait(epfd int, events []EpollEvent, msec int) (n 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 +@@ -86,7 +53,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + //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 +@@ -96,10 +62,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT + //sys setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32 + //sys setfsuid(uid int) (prev 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 +@@ -130,8 +92,8 @@ func Utime(path string, buf *Utimbuf) error { + + //sys utimes(path string, times *[2]Timeval) (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 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 + +@@ -184,7 +146,7 @@ const rlimInf32 = ^uint32(0) + const rlimInf64 = ^uint64(0) + + func Getrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, nil, rlim) ++ err = Prlimit(0, resource, nil, rlim) + if err != ENOSYS { + return err + } +@@ -212,7 +174,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) { + //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT + + func Setrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, rlim, nil) ++ err = Prlimit(0, resource, rlim, nil) + if err != ENOSYS { + return err + } +@@ -260,15 +222,6 @@ func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint32(length) + } + +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +- + //sys armSyncFileRange(fd int, flags int, off int64, n int64) (err error) = SYS_ARM_SYNC_FILE_RANGE + + func SyncFileRange(fd int, off int64, n int64, flags int) error { +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +index 7f27ebf..6422704 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +@@ -9,13 +9,6 @@ package unix + + import "unsafe" + +-func EpollCreate(size int) (fd int, err error) { +- if size <= 0 { +- return -1, EINVAL +- } +- return EpollCreate1(0) +-} +- + //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT + //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 + //sys Fchown(fd int, uid int, gid int) (err error) +@@ -29,8 +22,9 @@ func EpollCreate(size int) (fd int, err error) { + //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 MemfdSecret(flags int) (fd 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK + +@@ -45,11 +39,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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) + +@@ -73,7 +63,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + return ENOSYS + } + +-//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) +@@ -145,33 +134,9 @@ func utimes(path string, tv *[2]Timeval) (err error) { + return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) + } + +-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 +-} +- + // Getrlimit prefers the prlimit64 system call. See issue 38604. + func Getrlimit(resource int, rlim *Rlimit) error { +- err := prlimit(0, resource, nil, rlim) ++ err := Prlimit(0, resource, nil, rlim) + if err != ENOSYS { + return err + } +@@ -180,7 +145,7 @@ func Getrlimit(resource int, rlim *Rlimit) error { + + // Setrlimit prefers the prlimit64 system call. See issue 38604. + func Setrlimit(resource int, rlim *Rlimit) error { +- err := prlimit(0, resource, rlim, nil) ++ err := Prlimit(0, resource, rlim, nil) + if err != ENOSYS { + return err + } +@@ -211,31 +176,11 @@ func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint64(length) + } + +-func InotifyInit() (fd int, err error) { +- return InotifyInit1(0) +-} +- +-// dup2 exists because func Dup3 in syscall_linux.go references +-// it in an unreachable path. dup2 isn't available on arm64. +-func dup2(oldfd int, newfd int) error +- + func Pause() error { + _, err := ppoll(nil, 0, nil, nil) + return err + } + +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- var ts *Timespec +- if timeout >= 0 { +- ts = new(Timespec) +- *ts = NsecToTimespec(int64(timeout) * 1e6) +- } +- if len(fds) == 0 { +- return ppoll(nil, 0, ts, nil) +- } +- return ppoll(&fds[0], len(fds), ts, nil) +-} +- + //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) + + func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go b/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +new file mode 100644 +index 0000000..59dab51 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +@@ -0,0 +1,222 @@ ++// Copyright 2022 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. ++ ++//go:build loong64 && linux ++// +build loong64,linux ++ ++package unix ++ ++import "unsafe" ++ ++//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT ++//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 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 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 ++ ++func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { ++ var ts *Timespec ++ if timeout != nil { ++ ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} ++ } ++ return Pselect(nfd, r, w, e, ts, nil) ++} ++ ++//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) ++//sys setfsgid(gid int) (prev int, err error) ++//sys setfsuid(uid int) (prev 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 timespecFromStatxTimestamp(x StatxTimestamp) Timespec { ++ return Timespec{ ++ Sec: x.Sec, ++ Nsec: int64(x.Nsec), ++ } ++} ++ ++func Fstatat(fd int, path string, stat *Stat_t, flags int) error { ++ var r Statx_t ++ // Do it the glibc way, add AT_NO_AUTOMOUNT. ++ if err := Statx(fd, path, AT_NO_AUTOMOUNT|flags, STATX_BASIC_STATS, &r); err != nil { ++ return err ++ } ++ ++ stat.Dev = Mkdev(r.Dev_major, r.Dev_minor) ++ stat.Ino = r.Ino ++ stat.Mode = uint32(r.Mode) ++ stat.Nlink = r.Nlink ++ stat.Uid = r.Uid ++ stat.Gid = r.Gid ++ stat.Rdev = Mkdev(r.Rdev_major, r.Rdev_minor) ++ // hope we don't get to process files so large to overflow these size ++ // fields... ++ stat.Size = int64(r.Size) ++ stat.Blksize = int32(r.Blksize) ++ stat.Blocks = int64(r.Blocks) ++ stat.Atim = timespecFromStatxTimestamp(r.Atime) ++ stat.Mtim = timespecFromStatxTimestamp(r.Mtime) ++ stat.Ctim = timespecFromStatxTimestamp(r.Ctime) ++ ++ return nil ++} ++ ++func Fstat(fd int, stat *Stat_t) (err error) { ++ return Fstatat(fd, "", stat, AT_EMPTY_PATH) ++} ++ ++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) ++ ++func Ustat(dev int, ubuf *Ustat_t) (err error) { ++ return ENOSYS ++} ++ ++//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) ++ ++//sysnb Gettimeofday(tv *Timeval) (err error) ++ ++func setTimespec(sec, nsec int64) Timespec { ++ return Timespec{Sec: sec, Nsec: nsec} ++} ++ ++func setTimeval(sec, usec int64) Timeval { ++ return Timeval{Sec: sec, Usec: usec} ++} ++ ++func Getrlimit(resource int, rlim *Rlimit) (err error) { ++ err = Prlimit(0, resource, nil, rlim) ++ return ++} ++ ++func Setrlimit(resource int, rlim *Rlimit) (err error) { ++ err = Prlimit(0, resource, rlim, nil) ++ return ++} ++ ++func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) { ++ if tv == nil { ++ return utimensat(dirfd, path, nil, 0) ++ } ++ ++ ts := []Timespec{ ++ NsecToTimespec(TimevalToNsec(tv[0])), ++ NsecToTimespec(TimevalToNsec(tv[1])), ++ } ++ return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) ++} ++ ++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 utimes(path string, tv *[2]Timeval) (err error) { ++ if tv == nil { ++ return utimensat(AT_FDCWD, path, nil, 0) ++ } ++ ++ ts := []Timespec{ ++ NsecToTimespec(TimevalToNsec(tv[0])), ++ NsecToTimespec(TimevalToNsec(tv[1])), ++ } ++ return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) ++} ++ ++func (r *PtraceRegs) PC() uint64 { return r.Era } ++ ++func (r *PtraceRegs) SetPC(era uint64) { r.Era = era } ++ ++func (iov *Iovec) SetLen(length int) { ++ iov.Len = uint64(length) ++} ++ ++func (msghdr *Msghdr) SetControllen(length int) { ++ msghdr.Controllen = uint64(length) ++} ++ ++func (msghdr *Msghdr) SetIovlen(length int) { ++ msghdr.Iovlen = uint64(length) ++} ++ ++func (cmsg *Cmsghdr) SetLen(length int) { ++ cmsg.Len = uint64(length) ++} ++ ++func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { ++ rsa.Service_name_len = uint64(length) ++} ++ ++func Pause() error { ++ _, err := ppoll(nil, 0, nil, nil) ++ return err ++} ++ ++func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { ++ return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0) ++} ++ ++//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) ++ ++func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { ++ cmdlineLen := len(cmdline) ++ if cmdlineLen > 0 { ++ // Account for the additional NULL byte added by ++ // BytePtrFromString in kexecFileLoad. The kexec_file_load ++ // syscall expects a NULL-terminated string. ++ cmdlineLen++ ++ } ++ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags) ++} +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +index 27aee81..bfef09a 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +@@ -8,8 +8,6 @@ + + package unix + +-//sys dup2(oldfd int, newfd int) (err error) +-//sysnb EpollCreate(size int) (fd 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) +@@ -23,8 +21,8 @@ package unix + //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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK + +@@ -39,18 +37,13 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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 Ustat(dev int, ubuf *Ustat_t) (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) +@@ -94,30 +87,6 @@ func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: sec, Usec: usec} + } + +-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 + } +@@ -220,16 +189,3 @@ func (cmsg *Cmsghdr) SetLen(length int) { + func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint64(length) + } +- +-func InotifyInit() (fd int, err error) { +- return InotifyInit1(0) +-} +- +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +index 3a5621e..ab30250 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +@@ -15,8 +15,6 @@ import ( + + func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) + +-//sys dup2(oldfd int, newfd int) (err error) +-//sysnb EpollCreate(size int) (fd 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) +@@ -27,23 +25,18 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, + //sysnb Getuid() (uid int) + //sys Lchown(path string, uid int, gid int) (err error) + //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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64 + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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 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 int, err error) + //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) + //sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64 + //sys Ustat(dev int, ubuf *Ustat_t) (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) +@@ -60,7 +53,6 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, + //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) + //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) + +-//sysnb InotifyInit() (fd int, err error) + //sys Ioperm(from int, num int, on int) (err error) + //sys Iopl(level int) (err error) + +@@ -113,29 +105,6 @@ func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: int32(sec), Usec: int32(usec)} + } + +-//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 +-} +- +-//sysnb pipe() (p1 int, p2 int, err error) +- +-func Pipe(p []int) (err error) { +- if len(p) != 2 { +- return EINVAL +- } +- p[0], p[1], err = pipe() +- return +-} +- + //sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) + + func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { +@@ -157,7 +126,7 @@ type rlimit32 struct { + //sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT + + func Getrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, nil, rlim) ++ err = Prlimit(0, resource, nil, rlim) + if err != ENOSYS { + return err + } +@@ -185,7 +154,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) { + //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT + + func Setrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, rlim, nil) ++ err = Prlimit(0, resource, rlim, nil) + if err != ENOSYS { + return err + } +@@ -232,12 +201,3 @@ func (cmsg *Cmsghdr) SetLen(length int) { + func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint32(length) + } +- +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +index cf0d36f..eac1cf1 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +@@ -3,8 +3,7 @@ + // license that can be found in the LICENSE file. + + //go:build linux && ppc +-// +build linux +-// +build ppc ++// +build linux,ppc + + package unix + +@@ -13,8 +12,6 @@ import ( + "unsafe" + ) + +-//sys dup2(oldfd int, newfd int) (err error) +-//sysnb EpollCreate(size int) (fd int, err error) + //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) + //sys Fchown(fd int, uid int, gid int) (err error) + //sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64 +@@ -24,30 +21,24 @@ import ( + //sysnb Geteuid() (euid int) + //sysnb Getgid() (gid int) + //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_LSTAT64 + //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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64 + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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 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 int, err error) + //sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64 + //sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64 + //sys Ustat(dev int, ubuf *Ustat_t) (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) +@@ -143,7 +134,7 @@ const rlimInf32 = ^uint32(0) + const rlimInf64 = ^uint64(0) + + func Getrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, nil, rlim) ++ err = Prlimit(0, resource, nil, rlim) + if err != ENOSYS { + return err + } +@@ -171,7 +162,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) { + //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT + + func Setrlimit(resource int, rlim *Rlimit) (err error) { +- err = prlimit(0, resource, rlim, nil) ++ err = Prlimit(0, resource, rlim, nil) + if err != ENOSYS { + return err + } +@@ -219,41 +210,6 @@ func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint32(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 +-} +- +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +- + //sys syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2 + + func SyncFileRange(fd int, off int64, n int64, flags int) error { +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +index 5259a5f..4df5661 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +@@ -8,8 +8,6 @@ + + package unix + +-//sys dup2(oldfd int, newfd int) (err error) +-//sysnb EpollCreate(size int) (fd 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) +@@ -22,33 +20,27 @@ package unix + //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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //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__NEWSELECT + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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 Truncate(path string, length int64) (err error) + //sys Ustat(dev int, ubuf *Ustat_t) (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) +@@ -104,41 +96,6 @@ func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_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 +-} +- +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +- + //sys syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2 + + func SyncFileRange(fd int, off int64, n int64, flags int) error { +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +index 8ef821e..5f4243d 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +@@ -9,13 +9,6 @@ package unix + + import "unsafe" + +-func EpollCreate(size int) (fd int, err error) { +- if size <= 0 { +- return -1, EINVAL +- } +- return EpollCreate1(0) +-} +- + //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT + //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 + //sys Fchown(fd int, uid int, gid int) (err error) +@@ -29,8 +22,9 @@ func EpollCreate(size int) (fd int, err error) { + //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 MemfdSecret(flags int) (fd 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 + + func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { +@@ -44,11 +38,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) + //sys setfsgid(gid int) (prev int, err error) + //sys setfsuid(uid int) (prev 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) + +@@ -72,7 +62,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + return ENOSYS + } + +-//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) +@@ -144,30 +133,6 @@ func utimes(path string, tv *[2]Timeval) (err error) { + return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) + } + +-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 } +@@ -192,27 +157,11 @@ func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint64(length) + } + +-func InotifyInit() (fd int, err error) { +- return InotifyInit1(0) +-} +- + func Pause() error { + _, err := ppoll(nil, 0, nil, nil) + return err + } + +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- var ts *Timespec +- if timeout >= 0 { +- ts = new(Timespec) +- *ts = NsecToTimespec(int64(timeout) * 1e6) +- } +- if len(fds) == 0 { +- return ppoll(nil, 0, ts, nil) +- } +- return ppoll(&fds[0], len(fds), ts, nil) +-} +- + func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { + return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0) + } +@@ -229,7 +178,3 @@ func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error + } + return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags) + } +- +-// dup2 exists because func Dup3 in syscall_linux.go references +-// it in an unreachable path. dup2 isn't available on arm64. +-func dup2(oldfd int, newfd int) error +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +index a1c0574..d0a7d40 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +@@ -11,8 +11,6 @@ import ( + "unsafe" + ) + +-//sys dup2(oldfd int, newfd int) (err error) +-//sysnb EpollCreate(size int) (fd 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) +@@ -25,23 +23,18 @@ import ( + //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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //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) (prev int, err error) + //sys setfsuid(uid int) (prev 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) +@@ -77,30 +70,6 @@ func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: sec, Usec: usec} + } + +-//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 + } +@@ -172,15 +141,6 @@ const ( + 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) +@@ -324,15 +284,6 @@ func Shutdown(s, how int) error { + return nil + } + +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +- + //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) + + func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { +diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +index de14b88..f5c793b 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +@@ -9,7 +9,6 @@ package unix + + //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 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 Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64 +@@ -20,31 +19,25 @@ package unix + //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 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 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) + //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) (prev int, err error) + //sys setfsuid(uid int) (prev 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) +@@ -119,38 +112,3 @@ func (cmsg *Cmsghdr) SetLen(length int) { + func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_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 +-} +- +-//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) +- +-func Poll(fds []PollFd, timeout int) (n int, err error) { +- if len(fds) == 0 { +- return poll(nil, 0, timeout) +- } +- return poll(&fds[0], len(fds), timeout) +-} +diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go +index 853d5f0..666f0a1 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_netbsd.go ++++ b/vendor/golang.org/x/sys/unix/syscall_netbsd.go +@@ -110,14 +110,8 @@ func direntNamlen(buf []byte) (uint64, bool) { + return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen)) + } + +-//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 ++ return Pipe2(p, 0) + } + + //sysnb pipe2(p *[2]_C_int, flags int) (err error) +@@ -128,8 +122,10 @@ func Pipe2(p []int, flags int) error { + } + var pp [2]_C_int + err := pipe2(&pp, flags) +- p[0] = int(pp[0]) +- p[1] = int(pp[1]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return err + } + +@@ -167,11 +163,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + return -1, ENOSYS + } + +-func setattrlistTimes(path string, times []Timespec, flags int) error { +- // used on Darwin for UtimesNano +- return ENOSYS +-} +- + //sys ioctl(fd int, req uint, arg uintptr) (err error) + + //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL +@@ -317,8 +308,8 @@ func Statvfs(path string, buf *Statvfs_t) (err error) { + //sys Open(path string, mode int, perm uint32) (fd int, err error) + //sys Openat(dirfd int, 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 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 Readlinkat(dirfd int, path string, buf []byte) (n int, err error) +diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go +index 22b5503..78daceb 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_openbsd.go ++++ b/vendor/golang.org/x/sys/unix/syscall_openbsd.go +@@ -81,18 +81,22 @@ func Pipe(p []int) (err error) { + } + + //sysnb pipe2(p *[2]_C_int, flags int) (err error) ++ + func Pipe2(p []int, flags int) 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]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return err + } + + //sys Getdents(fd int, buf []byte) (n int, err error) ++ + func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { + n, err = Getdents(fd, buf) + if err != nil || basep == nil { +@@ -147,11 +151,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { + return + } + +-func setattrlistTimes(path string, times []Timespec, flags int) error { +- // used on Darwin for UtimesNano +- return ENOSYS +-} +- + //sys ioctl(fd int, req uint, arg uintptr) (err error) + + //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL +@@ -272,8 +271,8 @@ func Uname(uname *Utsname) error { + //sys Open(path string, mode int, perm uint32) (fd int, err error) + //sys Openat(dirfd int, 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 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 Readlinkat(dirfd int, path string, buf []byte) (n int, err error) +diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +new file mode 100644 +index 0000000..e23c539 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +@@ -0,0 +1,27 @@ ++// Copyright 2022 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. ++ ++//go:build openbsd && !mips64 ++// +build openbsd,!mips64 ++ ++package unix ++ ++import _ "unsafe" ++ ++// Implemented in the runtime package (runtime/sys_openbsd3.go) ++func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) ++func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) ++func syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno) ++func syscall_rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) ++func syscall_rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) ++ ++//go:linkname syscall_syscall syscall.syscall ++//go:linkname syscall_syscall6 syscall.syscall6 ++//go:linkname syscall_syscall10 syscall.syscall10 ++//go:linkname syscall_rawSyscall syscall.rawSyscall ++//go:linkname syscall_rawSyscall6 syscall.rawSyscall6 ++ ++func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) { ++ return syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, 0) ++} +diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +index 30f2853..1378489 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go ++++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +@@ -26,6 +26,10 @@ func (msghdr *Msghdr) SetControllen(length int) { + msghdr.Controllen = uint32(length) + } + ++func (msghdr *Msghdr) SetIovlen(length int) { ++ msghdr.Iovlen = uint32(length) ++} ++ + func (cmsg *Cmsghdr) SetLen(length int) { + cmsg.Len = uint32(length) + } +diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +new file mode 100644 +index 0000000..c279613 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +@@ -0,0 +1,42 @@ ++// Copyright 2019 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. ++ ++//go:build ppc64 && openbsd ++// +build ppc64,openbsd ++ ++package unix ++ ++func setTimespec(sec, nsec int64) Timespec { ++ return Timespec{Sec: sec, Nsec: nsec} ++} ++ ++func setTimeval(sec, usec int64) Timeval { ++ return Timeval{Sec: sec, Usec: usec} ++} ++ ++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 (msghdr *Msghdr) SetIovlen(length int) { ++ msghdr.Iovlen = uint32(length) ++} ++ ++func (cmsg *Cmsghdr) SetLen(length int) { ++ cmsg.Len = uint32(length) ++} ++ ++// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions ++// of openbsd/ppc64 the syscall is called sysctl instead of __sysctl. ++const SYS___SYSCTL = SYS_SYSCTL +diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +new file mode 100644 +index 0000000..23199a7 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +@@ -0,0 +1,42 @@ ++// Copyright 2019 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. ++ ++//go:build riscv64 && openbsd ++// +build riscv64,openbsd ++ ++package unix ++ ++func setTimespec(sec, nsec int64) Timespec { ++ return Timespec{Sec: sec, Nsec: nsec} ++} ++ ++func setTimeval(sec, usec int64) Timeval { ++ return Timeval{Sec: sec, Usec: usec} ++} ++ ++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 (msghdr *Msghdr) SetIovlen(length int) { ++ msghdr.Iovlen = uint32(length) ++} ++ ++func (cmsg *Cmsghdr) SetLen(length int) { ++ cmsg.Len = uint32(length) ++} ++ ++// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions ++// of openbsd/riscv64 the syscall is called sysctl instead of __sysctl. ++const SYS___SYSCTL = SYS_SYSCTL +diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go +index 77fcde7..2109e56 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_solaris.go ++++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go +@@ -13,7 +13,10 @@ + package unix + + import ( ++ "fmt" ++ "os" + "runtime" ++ "sync" + "syscall" + "unsafe" + ) +@@ -63,8 +66,10 @@ func Pipe(p []int) (err error) { + if n != 0 { + return err + } +- p[0] = int(pp[0]) +- p[1] = int(pp[1]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return nil + } + +@@ -76,8 +81,10 @@ func Pipe2(p []int, flags int) error { + } + var pp [2]_C_int + err := pipe2(&pp, flags) +- p[0] = int(pp[0]) +- p[1] = int(pp[1]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return err + } + +@@ -89,9 +96,7 @@ func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil + } + +@@ -104,9 +109,7 @@ func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil + } + +@@ -414,9 +417,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + + case AF_INET6: +@@ -425,9 +426,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + return nil, EAFNOSUPPORT +@@ -452,77 +451,59 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) { + + //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.__xnet_recvmsg + +-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { ++func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { + var msg Msghdr +- var rsa RawSockaddrAny +- msg.Name = (*byte)(unsafe.Pointer(&rsa)) ++ 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 ++ var dummy byte + if len(oob) > 0 { + // receive at least one normal byte +- if len(p) == 0 { +- iov.Base = &dummy +- iov.SetLen(1) ++ if emptyIovecs(iov) { ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] + } + msg.Accrightslen = int32(len(oob)) + } +- msg.Iov = &iov +- msg.Iovlen = 1 ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } + 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(fd, &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.__xnet_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 +- } +- } ++func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { + 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 ++ var dummy byte ++ var empty bool + if len(oob) > 0 { + // send at least one normal byte +- if len(p) == 0 { +- iov.Base = &dummy +- iov.SetLen(1) ++ empty = emptyIovecs(iov) ++ if empty { ++ var iova [1]Iovec ++ iova[0].Base = &dummy ++ iova[0].SetLen(1) ++ iov = iova[:] + } + msg.Accrightslen = int32(len(oob)) + } +- msg.Iov = &iov +- msg.Iovlen = 1 ++ if len(iov) > 0 { ++ msg.Iov = &iov[0] ++ msg.SetIovlen(len(iov)) ++ } + if n, err = sendmsg(fd, &msg, flags); err != nil { + return 0, err + } +- if len(oob) > 0 && len(p) == 0 { ++ if len(oob) > 0 && empty { + n = 0 + } + return n, nil +@@ -637,6 +618,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + //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 Getsid(pid int) (sid int, err error) + //sysnb Gettimeofday(tv *Timeval) (err error) + //sysnb Getuid() (uid int) + //sys Kill(pid int, signum syscall.Signal) (err error) +@@ -662,8 +644,8 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e + //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 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) +@@ -744,3 +726,407 @@ func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, e + func Munmap(b []byte) (err error) { + return mapper.Munmap(b) + } ++ ++// Event Ports ++ ++type fileObjCookie struct { ++ fobj *fileObj ++ cookie interface{} ++} ++ ++// EventPort provides a safe abstraction on top of Solaris/illumos Event Ports. ++type EventPort struct { ++ port int ++ mu sync.Mutex ++ fds map[uintptr]*fileObjCookie ++ paths map[string]*fileObjCookie ++ // The user cookie presents an interesting challenge from a memory management perspective. ++ // There are two paths by which we can discover that it is no longer in use: ++ // 1. The user calls port_dissociate before any events fire ++ // 2. An event fires and we return it to the user ++ // The tricky situation is if the event has fired in the kernel but ++ // the user hasn't requested/received it yet. ++ // If the user wants to port_dissociate before the event has been processed, ++ // we should handle things gracefully. To do so, we need to keep an extra ++ // reference to the cookie around until the event is processed ++ // thus the otherwise seemingly extraneous "cookies" map ++ // The key of this map is a pointer to the corresponding fCookie ++ cookies map[*fileObjCookie]struct{} ++} ++ ++// PortEvent is an abstraction of the port_event C struct. ++// Compare Source against PORT_SOURCE_FILE or PORT_SOURCE_FD ++// to see if Path or Fd was the event source. The other will be ++// uninitialized. ++type PortEvent struct { ++ Cookie interface{} ++ Events int32 ++ Fd uintptr ++ Path string ++ Source uint16 ++ fobj *fileObj ++} ++ ++// NewEventPort creates a new EventPort including the ++// underlying call to port_create(3c). ++func NewEventPort() (*EventPort, error) { ++ port, err := port_create() ++ if err != nil { ++ return nil, err ++ } ++ e := &EventPort{ ++ port: port, ++ fds: make(map[uintptr]*fileObjCookie), ++ paths: make(map[string]*fileObjCookie), ++ cookies: make(map[*fileObjCookie]struct{}), ++ } ++ return e, nil ++} ++ ++//sys port_create() (n int, err error) ++//sys port_associate(port int, source int, object uintptr, events int, user *byte) (n int, err error) ++//sys port_dissociate(port int, source int, object uintptr) (n int, err error) ++//sys port_get(port int, pe *portEvent, timeout *Timespec) (n int, err error) ++//sys port_getn(port int, pe *portEvent, max uint32, nget *uint32, timeout *Timespec) (n int, err error) ++ ++// Close closes the event port. ++func (e *EventPort) Close() error { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ err := Close(e.port) ++ if err != nil { ++ return err ++ } ++ e.fds = nil ++ e.paths = nil ++ e.cookies = nil ++ return nil ++} ++ ++// PathIsWatched checks to see if path is associated with this EventPort. ++func (e *EventPort) PathIsWatched(path string) bool { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ _, found := e.paths[path] ++ return found ++} ++ ++// FdIsWatched checks to see if fd is associated with this EventPort. ++func (e *EventPort) FdIsWatched(fd uintptr) bool { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ _, found := e.fds[fd] ++ return found ++} ++ ++// AssociatePath wraps port_associate(3c) for a filesystem path including ++// creating the necessary file_obj from the provided stat information. ++func (e *EventPort) AssociatePath(path string, stat os.FileInfo, events int, cookie interface{}) error { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ if _, found := e.paths[path]; found { ++ return fmt.Errorf("%v is already associated with this Event Port", path) ++ } ++ fCookie, err := createFileObjCookie(path, stat, cookie) ++ if err != nil { ++ return err ++ } ++ _, err = port_associate(e.port, PORT_SOURCE_FILE, uintptr(unsafe.Pointer(fCookie.fobj)), events, (*byte)(unsafe.Pointer(fCookie))) ++ if err != nil { ++ return err ++ } ++ e.paths[path] = fCookie ++ e.cookies[fCookie] = struct{}{} ++ return nil ++} ++ ++// DissociatePath wraps port_dissociate(3c) for a filesystem path. ++func (e *EventPort) DissociatePath(path string) error { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ f, ok := e.paths[path] ++ if !ok { ++ return fmt.Errorf("%v is not associated with this Event Port", path) ++ } ++ _, err := port_dissociate(e.port, PORT_SOURCE_FILE, uintptr(unsafe.Pointer(f.fobj))) ++ // If the path is no longer associated with this event port (ENOENT) ++ // we should delete it from our map. We can still return ENOENT to the caller. ++ // But we need to save the cookie ++ if err != nil && err != ENOENT { ++ return err ++ } ++ if err == nil { ++ // dissociate was successful, safe to delete the cookie ++ fCookie := e.paths[path] ++ delete(e.cookies, fCookie) ++ } ++ delete(e.paths, path) ++ return err ++} ++ ++// AssociateFd wraps calls to port_associate(3c) on file descriptors. ++func (e *EventPort) AssociateFd(fd uintptr, events int, cookie interface{}) error { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ if _, found := e.fds[fd]; found { ++ return fmt.Errorf("%v is already associated with this Event Port", fd) ++ } ++ fCookie, err := createFileObjCookie("", nil, cookie) ++ if err != nil { ++ return err ++ } ++ _, err = port_associate(e.port, PORT_SOURCE_FD, fd, events, (*byte)(unsafe.Pointer(fCookie))) ++ if err != nil { ++ return err ++ } ++ e.fds[fd] = fCookie ++ e.cookies[fCookie] = struct{}{} ++ return nil ++} ++ ++// DissociateFd wraps calls to port_dissociate(3c) on file descriptors. ++func (e *EventPort) DissociateFd(fd uintptr) error { ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ _, ok := e.fds[fd] ++ if !ok { ++ return fmt.Errorf("%v is not associated with this Event Port", fd) ++ } ++ _, err := port_dissociate(e.port, PORT_SOURCE_FD, fd) ++ if err != nil && err != ENOENT { ++ return err ++ } ++ if err == nil { ++ // dissociate was successful, safe to delete the cookie ++ fCookie := e.fds[fd] ++ delete(e.cookies, fCookie) ++ } ++ delete(e.fds, fd) ++ return err ++} ++ ++func createFileObjCookie(name string, stat os.FileInfo, cookie interface{}) (*fileObjCookie, error) { ++ fCookie := new(fileObjCookie) ++ fCookie.cookie = cookie ++ if name != "" && stat != nil { ++ fCookie.fobj = new(fileObj) ++ bs, err := ByteSliceFromString(name) ++ if err != nil { ++ return nil, err ++ } ++ fCookie.fobj.Name = (*int8)(unsafe.Pointer(&bs[0])) ++ s := stat.Sys().(*syscall.Stat_t) ++ fCookie.fobj.Atim.Sec = s.Atim.Sec ++ fCookie.fobj.Atim.Nsec = s.Atim.Nsec ++ fCookie.fobj.Mtim.Sec = s.Mtim.Sec ++ fCookie.fobj.Mtim.Nsec = s.Mtim.Nsec ++ fCookie.fobj.Ctim.Sec = s.Ctim.Sec ++ fCookie.fobj.Ctim.Nsec = s.Ctim.Nsec ++ } ++ return fCookie, nil ++} ++ ++// GetOne wraps port_get(3c) and returns a single PortEvent. ++func (e *EventPort) GetOne(t *Timespec) (*PortEvent, error) { ++ pe := new(portEvent) ++ _, err := port_get(e.port, pe, t) ++ if err != nil { ++ return nil, err ++ } ++ p := new(PortEvent) ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ err = e.peIntToExt(pe, p) ++ if err != nil { ++ return nil, err ++ } ++ return p, nil ++} ++ ++// peIntToExt converts a cgo portEvent struct into the friendlier PortEvent ++// NOTE: Always call this function while holding the e.mu mutex ++func (e *EventPort) peIntToExt(peInt *portEvent, peExt *PortEvent) error { ++ if e.cookies == nil { ++ return fmt.Errorf("this EventPort is already closed") ++ } ++ peExt.Events = peInt.Events ++ peExt.Source = peInt.Source ++ fCookie := (*fileObjCookie)(unsafe.Pointer(peInt.User)) ++ _, found := e.cookies[fCookie] ++ ++ if !found { ++ panic("unexpected event port address; may be due to kernel bug; see https://go.dev/issue/54254") ++ } ++ peExt.Cookie = fCookie.cookie ++ delete(e.cookies, fCookie) ++ ++ switch peInt.Source { ++ case PORT_SOURCE_FD: ++ peExt.Fd = uintptr(peInt.Object) ++ // Only remove the fds entry if it exists and this cookie matches ++ if fobj, ok := e.fds[peExt.Fd]; ok { ++ if fobj == fCookie { ++ delete(e.fds, peExt.Fd) ++ } ++ } ++ case PORT_SOURCE_FILE: ++ peExt.fobj = fCookie.fobj ++ peExt.Path = BytePtrToString((*byte)(unsafe.Pointer(peExt.fobj.Name))) ++ // Only remove the paths entry if it exists and this cookie matches ++ if fobj, ok := e.paths[peExt.Path]; ok { ++ if fobj == fCookie { ++ delete(e.paths, peExt.Path) ++ } ++ } ++ } ++ return nil ++} ++ ++// Pending wraps port_getn(3c) and returns how many events are pending. ++func (e *EventPort) Pending() (int, error) { ++ var n uint32 = 0 ++ _, err := port_getn(e.port, nil, 0, &n, nil) ++ return int(n), err ++} ++ ++// Get wraps port_getn(3c) and fills a slice of PortEvent. ++// It will block until either min events have been received ++// or the timeout has been exceeded. It will return how many ++// events were actually received along with any error information. ++func (e *EventPort) Get(s []PortEvent, min int, timeout *Timespec) (int, error) { ++ if min == 0 { ++ return 0, fmt.Errorf("need to request at least one event or use Pending() instead") ++ } ++ if len(s) < min { ++ return 0, fmt.Errorf("len(s) (%d) is less than min events requested (%d)", len(s), min) ++ } ++ got := uint32(min) ++ max := uint32(len(s)) ++ var err error ++ ps := make([]portEvent, max) ++ _, err = port_getn(e.port, &ps[0], max, &got, timeout) ++ // got will be trustworthy with ETIME, but not any other error. ++ if err != nil && err != ETIME { ++ return 0, err ++ } ++ e.mu.Lock() ++ defer e.mu.Unlock() ++ valid := 0 ++ for i := 0; i < int(got); i++ { ++ err2 := e.peIntToExt(&ps[i], &s[i]) ++ if err2 != nil { ++ if valid == 0 && err == nil { ++ // If err2 is the only error and there are no valid events ++ // to return, return it to the caller. ++ err = err2 ++ } ++ break ++ } ++ valid = i + 1 ++ } ++ return valid, err ++} ++ ++//sys putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error) ++ ++func Putmsg(fd int, cl []byte, data []byte, flags int) (err error) { ++ var clp, datap *strbuf ++ if len(cl) > 0 { ++ clp = &strbuf{ ++ Len: int32(len(cl)), ++ Buf: (*int8)(unsafe.Pointer(&cl[0])), ++ } ++ } ++ if len(data) > 0 { ++ datap = &strbuf{ ++ Len: int32(len(data)), ++ Buf: (*int8)(unsafe.Pointer(&data[0])), ++ } ++ } ++ return putmsg(fd, clp, datap, flags) ++} ++ ++//sys getmsg(fd int, clptr *strbuf, dataptr *strbuf, flags *int) (err error) ++ ++func Getmsg(fd int, cl []byte, data []byte) (retCl []byte, retData []byte, flags int, err error) { ++ var clp, datap *strbuf ++ if len(cl) > 0 { ++ clp = &strbuf{ ++ Maxlen: int32(len(cl)), ++ Buf: (*int8)(unsafe.Pointer(&cl[0])), ++ } ++ } ++ if len(data) > 0 { ++ datap = &strbuf{ ++ Maxlen: int32(len(data)), ++ Buf: (*int8)(unsafe.Pointer(&data[0])), ++ } ++ } ++ ++ if err = getmsg(fd, clp, datap, &flags); err != nil { ++ return nil, nil, 0, err ++ } ++ ++ if len(cl) > 0 { ++ retCl = cl[:clp.Len] ++ } ++ if len(data) > 0 { ++ retData = data[:datap.Len] ++ } ++ return retCl, retData, flags, nil ++} ++ ++func IoctlSetIntRetInt(fd int, req uint, arg int) (int, error) { ++ return ioctlRet(fd, req, uintptr(arg)) ++} ++ ++func IoctlSetString(fd int, req uint, val string) error { ++ bs := make([]byte, len(val)+1) ++ copy(bs[:len(bs)-1], val) ++ err := ioctl(fd, req, uintptr(unsafe.Pointer(&bs[0]))) ++ runtime.KeepAlive(&bs[0]) ++ return err ++} ++ ++// Lifreq Helpers ++ ++func (l *Lifreq) SetName(name string) error { ++ if len(name) >= len(l.Name) { ++ return fmt.Errorf("name cannot be more than %d characters", len(l.Name)-1) ++ } ++ for i := range name { ++ l.Name[i] = int8(name[i]) ++ } ++ return nil ++} ++ ++func (l *Lifreq) SetLifruInt(d int) { ++ *(*int)(unsafe.Pointer(&l.Lifru[0])) = d ++} ++ ++func (l *Lifreq) GetLifruInt() int { ++ return *(*int)(unsafe.Pointer(&l.Lifru[0])) ++} ++ ++func (l *Lifreq) SetLifruUint(d uint) { ++ *(*uint)(unsafe.Pointer(&l.Lifru[0])) = d ++} ++ ++func (l *Lifreq) GetLifruUint() uint { ++ return *(*uint)(unsafe.Pointer(&l.Lifru[0])) ++} ++ ++func IoctlLifreq(fd int, req uint, l *Lifreq) error { ++ return ioctl(fd, req, uintptr(unsafe.Pointer(l))) ++} ++ ++// Strioctl Helpers ++ ++func (s *Strioctl) SetInt(i int) { ++ s.Len = int32(unsafe.Sizeof(i)) ++ s.Dp = (*int8)(unsafe.Pointer(&i)) ++} ++ ++func IoctlSetStrioctlRetInt(fd int, req uint, s *Strioctl) (int, error) { ++ return ioctlRet(fd, req, uintptr(unsafe.Pointer(s))) ++} +diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go +index a7618ce..00bafda 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_unix.go ++++ b/vendor/golang.org/x/sys/unix/syscall_unix.go +@@ -13,8 +13,6 @@ import ( + "sync" + "syscall" + "unsafe" +- +- "golang.org/x/sys/internal/unsafeheader" + ) + + var ( +@@ -117,11 +115,7 @@ func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (d + } + + // Use unsafe to convert addr into a []byte. +- var b []byte +- hdr := (*unsafeheader.Slice)(unsafe.Pointer(&b)) +- hdr.Data = unsafe.Pointer(addr) +- hdr.Cap = length +- hdr.Len = length ++ b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), length) + + // Register mapping in m and return it. + p := &b[cap(b)-1] +@@ -177,6 +171,30 @@ func Write(fd int, p []byte) (n int, err error) { + return + } + ++func Pread(fd int, p []byte, offset int64) (n int, err error) { ++ n, err = pread(fd, p, offset) ++ if raceenabled { ++ if n > 0 { ++ raceWriteRange(unsafe.Pointer(&p[0]), n) ++ } ++ if err == nil { ++ raceAcquire(unsafe.Pointer(&ioSync)) ++ } ++ } ++ return ++} ++ ++func Pwrite(fd int, p []byte, offset int64) (n int, err error) { ++ if raceenabled { ++ raceReleaseMerge(unsafe.Pointer(&ioSync)) ++ } ++ n, err = pwrite(fd, p, offset) ++ 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 +@@ -313,12 +331,107 @@ func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) { + return + } + ++func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { ++ var iov [1]Iovec ++ if len(p) > 0 { ++ iov[0].Base = &p[0] ++ iov[0].SetLen(len(p)) ++ } ++ var rsa RawSockaddrAny ++ n, oobn, recvflags, err = recvmsgRaw(fd, iov[:], oob, flags, &rsa) ++ // source address is only specified if the socket is unconnected ++ if rsa.Addr.Family != AF_UNSPEC { ++ from, err = anyToSockaddr(fd, &rsa) ++ } ++ return ++} ++ ++// RecvmsgBuffers receives a message from a socket using the recvmsg ++// system call. The flags are passed to recvmsg. Any non-control data ++// read is scattered into the buffers slices. The results are: ++// - n is the number of non-control data read into bufs ++// - oobn is the number of control data read into oob; this may be interpreted using [ParseSocketControlMessage] ++// - recvflags is flags returned by recvmsg ++// - from is the address of the sender ++func RecvmsgBuffers(fd int, buffers [][]byte, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { ++ iov := make([]Iovec, len(buffers)) ++ for i := range buffers { ++ if len(buffers[i]) > 0 { ++ iov[i].Base = &buffers[i][0] ++ iov[i].SetLen(len(buffers[i])) ++ } else { ++ iov[i].Base = (*byte)(unsafe.Pointer(&_zero)) ++ } ++ } ++ var rsa RawSockaddrAny ++ n, oobn, recvflags, err = recvmsgRaw(fd, iov, oob, flags, &rsa) ++ if err == nil && rsa.Addr.Family != AF_UNSPEC { ++ from, err = anyToSockaddr(fd, &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 iov [1]Iovec ++ if len(p) > 0 { ++ iov[0].Base = &p[0] ++ iov[0].SetLen(len(p)) ++ } ++ var ptr unsafe.Pointer ++ var salen _Socklen ++ if to != nil { ++ ptr, salen, err = to.sockaddr() ++ if err != nil { ++ return 0, err ++ } ++ } ++ return sendmsgN(fd, iov[:], oob, ptr, salen, flags) ++} ++ ++// SendmsgBuffers sends a message on a socket to an address using the sendmsg ++// system call. The flags are passed to sendmsg. Any non-control data written ++// is gathered from buffers. The function returns the number of bytes written ++// to the socket. ++func SendmsgBuffers(fd int, buffers [][]byte, oob []byte, to Sockaddr, flags int) (n int, err error) { ++ iov := make([]Iovec, len(buffers)) ++ for i := range buffers { ++ if len(buffers[i]) > 0 { ++ iov[i].Base = &buffers[i][0] ++ iov[i].SetLen(len(buffers[i])) ++ } else { ++ iov[i].Base = (*byte)(unsafe.Pointer(&_zero)) ++ } ++ } ++ var ptr unsafe.Pointer ++ var salen _Socklen ++ if to != nil { ++ ptr, salen, err = to.sockaddr() ++ if err != nil { ++ return 0, err ++ } ++ } ++ return sendmsgN(fd, iov, oob, ptr, salen, flags) ++} ++ ++func Send(s int, buf []byte, flags int) (err error) { ++ return sendto(s, buf, flags, nil, 0) ++} ++ + func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) { +- ptr, n, err := to.sockaddr() +- if err != nil { +- return err ++ var ptr unsafe.Pointer ++ var salen _Socklen ++ if to != nil { ++ ptr, salen, err = to.sockaddr() ++ if err != nil { ++ return err ++ } + } +- return sendto(fd, p, flags, ptr, n) ++ return sendto(fd, p, flags, ptr, salen) + } + + func SetsockoptByte(fd, level, opt int, value byte) (err error) { +@@ -429,3 +542,13 @@ func Lutimes(path string, tv []Timeval) error { + } + return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW) + } ++ ++// emptyIovec reports whether there are no bytes in the slice of Iovec. ++func emptyIovecs(iov []Iovec) bool { ++ for i := range iov { ++ if iov[i].Len > 0 { ++ return false ++ } ++ } ++ return true ++} +diff --git a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go b/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +index 5898e9a..b6919ca 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go ++++ b/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +@@ -2,11 +2,9 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + +-//go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris) && gc && !ppc64le && !ppc64 +-// +build darwin dragonfly freebsd linux netbsd openbsd solaris ++//go:build (darwin || dragonfly || freebsd || (linux && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc ++// +build darwin dragonfly freebsd linux,!ppc64,!ppc64le netbsd openbsd solaris + // +build gc +-// +build !ppc64le +-// +build !ppc64 + + package unix + +diff --git a/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go b/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +index 1ffd8bf..68b2f3e 100644 +--- a/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go ++++ b/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +@@ -9,8 +9,10 @@ package unix + + import ( + "bytes" ++ "fmt" + "runtime" + "sort" ++ "strings" + "sync" + "syscall" + "unsafe" +@@ -55,7 +57,13 @@ func (d *Dirent) NameString() string { + if d == nil { + return "" + } +- return string(d.Name[:d.Namlen]) ++ s := string(d.Name[:]) ++ idx := strings.IndexByte(s, 0) ++ if idx == -1 { ++ return s ++ } else { ++ return s[:idx] ++ } + } + + func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { +@@ -67,9 +75,7 @@ func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil + } + +@@ -83,9 +89,7 @@ func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil + } + +@@ -144,9 +148,7 @@ func anyToSockaddr(_ int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + + case AF_INET6: +@@ -155,9 +157,7 @@ func anyToSockaddr(_ int, rsa *RawSockaddrAny) (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + return nil, EAFNOSUPPORT +@@ -587,8 +587,10 @@ func Pipe(p []int) (err error) { + } + var pp [2]_C_int + err = pipe(&pp) +- p[0] = int(pp[0]) +- p[1] = int(pp[1]) ++ if err == nil { ++ p[0] = int(pp[0]) ++ p[1] = int(pp[1]) ++ } + return + } + +@@ -1236,6 +1238,14 @@ func Readdir(dir uintptr) (*Dirent, error) { + return &ent, err + } + ++func readdir_r(dirp uintptr, entry *direntLE, result **direntLE) (err error) { ++ r0, _, e1 := syscall_syscall(SYS___READDIR_R_A, dirp, uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) ++ if int64(r0) == -1 { ++ err = errnoErr(Errno(e1)) ++ } ++ return ++} ++ + func Closedir(dir uintptr) error { + _, _, e := syscall_syscall(SYS_CLOSEDIR, dir, 0, 0) + if e != 0 { +@@ -1827,3 +1837,158 @@ func Unmount(name string, mtm int) (err error) { + } + return err + } ++ ++func fdToPath(dirfd int) (path string, err error) { ++ var buffer [1024]byte ++ // w_ctrl() ++ ret := runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS_W_IOCTL<<4, ++ []uintptr{uintptr(dirfd), 17, 1024, uintptr(unsafe.Pointer(&buffer[0]))}) ++ if ret == 0 { ++ zb := bytes.IndexByte(buffer[:], 0) ++ if zb == -1 { ++ zb = len(buffer) ++ } ++ // __e2a_l() ++ runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___E2A_L<<4, ++ []uintptr{uintptr(unsafe.Pointer(&buffer[0])), uintptr(zb)}) ++ return string(buffer[:zb]), nil ++ } ++ // __errno() ++ errno := int(*(*int32)(unsafe.Pointer(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO<<4, ++ []uintptr{})))) ++ // __errno2() ++ errno2 := int(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO2<<4, ++ []uintptr{})) ++ // strerror_r() ++ ret = runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS_STRERROR_R<<4, ++ []uintptr{uintptr(errno), uintptr(unsafe.Pointer(&buffer[0])), 1024}) ++ if ret == 0 { ++ zb := bytes.IndexByte(buffer[:], 0) ++ if zb == -1 { ++ zb = len(buffer) ++ } ++ return "", fmt.Errorf("%s (errno2=0x%x)", buffer[:zb], errno2) ++ } else { ++ return "", fmt.Errorf("fdToPath errno %d (errno2=0x%x)", errno, errno2) ++ } ++} ++ ++func direntLeToDirentUnix(dirent *direntLE, dir uintptr, path string) (Dirent, error) { ++ var d Dirent ++ ++ d.Ino = uint64(dirent.Ino) ++ offset, err := Telldir(dir) ++ if err != nil { ++ return d, err ++ } ++ ++ d.Off = int64(offset) ++ s := string(bytes.Split(dirent.Name[:], []byte{0})[0]) ++ copy(d.Name[:], s) ++ ++ d.Reclen = uint16(24 + len(d.NameString())) ++ var st Stat_t ++ path = path + "/" + s ++ err = Lstat(path, &st) ++ if err != nil { ++ return d, err ++ } ++ ++ d.Type = uint8(st.Mode >> 24) ++ return d, err ++} ++ ++func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { ++ // Simulation of Getdirentries port from the Darwin implementation. ++ // COMMENTS FROM DARWIN: ++ // It's not the full required semantics, but should handle the case ++ // of calling Getdirentries or ReadDirent repeatedly. ++ // It won't handle assigning the results of lseek to *basep, or handle ++ // the directory being edited underfoot. ++ ++ skip, err := Seek(fd, 0, 1 /* SEEK_CUR */) ++ if err != nil { ++ return 0, err ++ } ++ ++ // Get path from fd to avoid unavailable call (fdopendir) ++ path, err := fdToPath(fd) ++ if err != nil { ++ return 0, err ++ } ++ d, err := Opendir(path) ++ if err != nil { ++ return 0, err ++ } ++ defer Closedir(d) ++ ++ var cnt int64 ++ for { ++ var entryLE direntLE ++ var entrypLE *direntLE ++ e := readdir_r(d, &entryLE, &entrypLE) ++ if e != nil { ++ return n, e ++ } ++ if entrypLE == nil { ++ break ++ } ++ if skip > 0 { ++ skip-- ++ cnt++ ++ continue ++ } ++ ++ // Dirent on zos has a different structure ++ entry, e := direntLeToDirentUnix(&entryLE, d, path) ++ if e != nil { ++ return n, e ++ } ++ ++ reclen := int(entry.Reclen) ++ if reclen > len(buf) { ++ // Not enough room. Return for now. ++ // The counter will let us know where we should start up again. ++ // Note: this strategy for suspending in the middle and ++ // restarting is O(n^2) in the length of the directory. Oh well. ++ break ++ } ++ ++ // Copy entry into return buffer. ++ s := unsafe.Slice((*byte)(unsafe.Pointer(&entry)), reclen) ++ copy(buf, s) ++ ++ buf = buf[reclen:] ++ n += reclen ++ cnt++ ++ } ++ // Set the seek offset of the input fd to record ++ // how many files we've already returned. ++ _, err = Seek(fd, cnt, 0 /* SEEK_SET */) ++ if err != nil { ++ return n, err ++ } ++ ++ return n, nil ++} ++ ++func ReadDirent(fd int, buf []byte) (n int, err error) { ++ var base = (*uintptr)(unsafe.Pointer(new(uint64))) ++ return Getdirentries(fd, buf, base) ++} ++ ++func direntIno(buf []byte) (uint64, bool) { ++ return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino)) ++} ++ ++func direntReclen(buf []byte) (uint64, bool) { ++ return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen)) ++} ++ ++func direntNamlen(buf []byte) (uint64, bool) { ++ reclen, ok := direntReclen(buf) ++ if !ok { ++ return 0, false ++ } ++ return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true ++} +diff --git a/vendor/golang.org/x/sys/unix/sysvshm_linux.go b/vendor/golang.org/x/sys/unix/sysvshm_linux.go +new file mode 100644 +index 0000000..2c3a443 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/sysvshm_linux.go +@@ -0,0 +1,21 @@ ++// Copyright 2021 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. ++ ++//go:build linux ++// +build linux ++ ++package unix ++ ++import "runtime" ++ ++// SysvShmCtl performs control operations on the shared memory segment ++// specified by id. ++func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { ++ if runtime.GOARCH == "arm" || ++ runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { ++ cmd |= ipc_64 ++ } ++ ++ return shmctl(id, cmd, desc) ++} +diff --git a/vendor/golang.org/x/sys/unix/sysvshm_unix.go b/vendor/golang.org/x/sys/unix/sysvshm_unix.go +new file mode 100644 +index 0000000..5bb41d1 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/sysvshm_unix.go +@@ -0,0 +1,52 @@ ++// Copyright 2021 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. ++ ++//go:build (darwin && !ios) || linux ++// +build darwin,!ios linux ++ ++package unix ++ ++import "unsafe" ++ ++// SysvShmAttach attaches the Sysv shared memory segment associated with the ++// shared memory identifier id. ++func SysvShmAttach(id int, addr uintptr, flag int) ([]byte, error) { ++ addr, errno := shmat(id, addr, flag) ++ if errno != nil { ++ return nil, errno ++ } ++ ++ // Retrieve the size of the shared memory to enable slice creation ++ var info SysvShmDesc ++ ++ _, err := SysvShmCtl(id, IPC_STAT, &info) ++ if err != nil { ++ // release the shared memory if we can't find the size ++ ++ // ignoring error from shmdt as there's nothing sensible to return here ++ shmdt(addr) ++ return nil, err ++ } ++ ++ // Use unsafe to convert addr into a []byte. ++ b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.Segsz)) ++ return b, nil ++} ++ ++// SysvShmDetach unmaps the shared memory slice returned from SysvShmAttach. ++// ++// It is not safe to use the slice after calling this function. ++func SysvShmDetach(data []byte) error { ++ if len(data) == 0 { ++ return EINVAL ++ } ++ ++ return shmdt(uintptr(unsafe.Pointer(&data[0]))) ++} ++ ++// SysvShmGet returns the Sysv shared memory identifier associated with key. ++// If the IPC_CREAT flag is specified a new segment is created. ++func SysvShmGet(key, size, flag int) (id int, err error) { ++ return shmget(key, size, flag) ++} +diff --git a/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go b/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +new file mode 100644 +index 0000000..71bddef +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +@@ -0,0 +1,14 @@ ++// Copyright 2021 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. ++ ++//go:build darwin && !ios ++// +build darwin,!ios ++ ++package unix ++ ++// SysvShmCtl performs control operations on the shared memory segment ++// specified by id. ++func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { ++ return shmctl(id, cmd, desc) ++} +diff --git a/vendor/golang.org/x/sys/unix/xattr_bsd.go b/vendor/golang.org/x/sys/unix/xattr_bsd.go +index 25df1e3..663b377 100644 +--- a/vendor/golang.org/x/sys/unix/xattr_bsd.go ++++ b/vendor/golang.org/x/sys/unix/xattr_bsd.go +@@ -160,13 +160,12 @@ func Lremovexattr(link string, attr string) (err error) { + } + + 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 ++ s, pos := 0, 0 + for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} { +- stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz) ++ stmp, e := ListxattrNS(file, nsid, dest[pos:]) + + /* Errors accessing system attrs are ignored so that + * we can implement the Linux-like behavior of omitting errors that +@@ -175,66 +174,102 @@ func Listxattr(file string, dest []byte) (sz int, err error) { + * 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 { +- continue +- } else if e != nil { ++ if e != nil { ++ if e == EPERM && nsid != EXTATTR_NAMESPACE_USER { ++ continue ++ } + return s, e + } + + s += stmp +- destsiz -= s +- if destsiz < 0 { +- destsiz = 0 ++ pos = s ++ if pos > destsiz { ++ pos = destsiz + } +- d = initxattrdest(dest, s) + } + + return s, nil + } + +-func Flistxattr(fd int, dest []byte) (sz int, err error) { ++func ListxattrNS(file string, nsid int, dest []byte) (sz int, err error) { + d := initxattrdest(dest, 0) + destsiz := len(dest) + +- s := 0 ++ s, e := ExtattrListFile(file, nsid, uintptr(d), destsiz) ++ if e != nil { ++ return 0, err ++ } ++ ++ return s, nil ++} ++ ++func Flistxattr(fd int, dest []byte) (sz int, err error) { ++ destsiz := len(dest) ++ ++ s, pos := 0, 0 + 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 { +- continue +- } else if e != nil { ++ stmp, e := FlistxattrNS(fd, nsid, dest[pos:]) ++ ++ if e != nil { ++ if e == EPERM && nsid != EXTATTR_NAMESPACE_USER { ++ continue ++ } + return s, e + } + + s += stmp +- destsiz -= s +- if destsiz < 0 { +- destsiz = 0 ++ pos = s ++ if pos > destsiz { ++ pos = destsiz + } +- d = initxattrdest(dest, s) + } + + return s, nil + } + +-func Llistxattr(link string, dest []byte) (sz int, err error) { ++func FlistxattrNS(fd int, nsid int, dest []byte) (sz int, err error) { + d := initxattrdest(dest, 0) + destsiz := len(dest) + +- s := 0 ++ s, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz) ++ if e != nil { ++ return 0, err ++ } ++ ++ return s, nil ++} ++ ++func Llistxattr(link string, dest []byte) (sz int, err error) { ++ destsiz := len(dest) ++ ++ s, pos := 0, 0 + 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 { +- continue +- } else if e != nil { ++ stmp, e := LlistxattrNS(link, nsid, dest[pos:]) ++ ++ if e != nil { ++ if e == EPERM && nsid != EXTATTR_NAMESPACE_USER { ++ continue ++ } + return s, e + } + + s += stmp +- destsiz -= s +- if destsiz < 0 { +- destsiz = 0 ++ pos = s ++ if pos > destsiz { ++ pos = destsiz + } +- d = initxattrdest(dest, s) ++ } ++ ++ return s, nil ++} ++ ++func LlistxattrNS(link string, nsid int, dest []byte) (sz int, err error) { ++ d := initxattrdest(dest, 0) ++ destsiz := len(dest) ++ ++ s, e := ExtattrListLink(link, nsid, uintptr(d), destsiz) ++ if e != nil { ++ return 0, err + } + + return s, nil +diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +index 5bb48ef..476a1c7 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +@@ -12,1555 +12,1582 @@ 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 = 0x29 +- 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_SYS_CONTROL = 0x2 +- AF_UNIX = 0x1 +- AF_UNSPEC = 0x0 +- AF_UTUN = 0x26 +- AF_VSOCK = 0x28 +- ALTWERASE = 0x200 +- ATTR_BIT_MAP_COUNT = 0x5 +- ATTR_CMN_ACCESSMASK = 0x20000 +- ATTR_CMN_ACCTIME = 0x1000 +- ATTR_CMN_ADDEDTIME = 0x10000000 +- ATTR_CMN_BKUPTIME = 0x2000 +- ATTR_CMN_CHGTIME = 0x800 +- ATTR_CMN_CRTIME = 0x200 +- ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000 +- ATTR_CMN_DEVID = 0x2 +- ATTR_CMN_DOCUMENT_ID = 0x100000 +- ATTR_CMN_ERROR = 0x20000000 +- ATTR_CMN_EXTENDED_SECURITY = 0x400000 +- ATTR_CMN_FILEID = 0x2000000 +- ATTR_CMN_FLAGS = 0x40000 +- ATTR_CMN_FNDRINFO = 0x4000 +- ATTR_CMN_FSID = 0x4 +- ATTR_CMN_FULLPATH = 0x8000000 +- ATTR_CMN_GEN_COUNT = 0x80000 +- ATTR_CMN_GRPID = 0x10000 +- ATTR_CMN_GRPUUID = 0x1000000 +- ATTR_CMN_MODTIME = 0x400 +- ATTR_CMN_NAME = 0x1 +- ATTR_CMN_NAMEDATTRCOUNT = 0x80000 +- ATTR_CMN_NAMEDATTRLIST = 0x100000 +- ATTR_CMN_OBJID = 0x20 +- ATTR_CMN_OBJPERMANENTID = 0x40 +- ATTR_CMN_OBJTAG = 0x10 +- ATTR_CMN_OBJTYPE = 0x8 +- ATTR_CMN_OWNERID = 0x8000 +- ATTR_CMN_PARENTID = 0x4000000 +- ATTR_CMN_PAROBJID = 0x80 +- ATTR_CMN_RETURNED_ATTRS = 0x80000000 +- ATTR_CMN_SCRIPT = 0x100 +- ATTR_CMN_SETMASK = 0x51c7ff00 +- ATTR_CMN_USERACCESS = 0x200000 +- ATTR_CMN_UUID = 0x800000 +- ATTR_CMN_VALIDMASK = 0xffffffff +- ATTR_CMN_VOLSETMASK = 0x6700 +- ATTR_FILE_ALLOCSIZE = 0x4 +- ATTR_FILE_CLUMPSIZE = 0x10 +- ATTR_FILE_DATAALLOCSIZE = 0x400 +- ATTR_FILE_DATAEXTENTS = 0x800 +- ATTR_FILE_DATALENGTH = 0x200 +- ATTR_FILE_DEVTYPE = 0x20 +- ATTR_FILE_FILETYPE = 0x40 +- ATTR_FILE_FORKCOUNT = 0x80 +- ATTR_FILE_FORKLIST = 0x100 +- ATTR_FILE_IOBLOCKSIZE = 0x8 +- ATTR_FILE_LINKCOUNT = 0x1 +- ATTR_FILE_RSRCALLOCSIZE = 0x2000 +- ATTR_FILE_RSRCEXTENTS = 0x4000 +- ATTR_FILE_RSRCLENGTH = 0x1000 +- ATTR_FILE_SETMASK = 0x20 +- ATTR_FILE_TOTALSIZE = 0x2 +- ATTR_FILE_VALIDMASK = 0x37ff +- ATTR_VOL_ALLOCATIONCLUMP = 0x40 +- ATTR_VOL_ATTRIBUTES = 0x40000000 +- ATTR_VOL_CAPABILITIES = 0x20000 +- ATTR_VOL_DIRCOUNT = 0x400 +- ATTR_VOL_ENCODINGSUSED = 0x10000 +- ATTR_VOL_FILECOUNT = 0x200 +- ATTR_VOL_FSTYPE = 0x1 +- ATTR_VOL_INFO = 0x80000000 +- ATTR_VOL_IOBLOCKSIZE = 0x80 +- ATTR_VOL_MAXOBJCOUNT = 0x800 +- ATTR_VOL_MINALLOCATION = 0x20 +- ATTR_VOL_MOUNTEDDEVICE = 0x8000 +- ATTR_VOL_MOUNTFLAGS = 0x4000 +- ATTR_VOL_MOUNTPOINT = 0x1000 +- ATTR_VOL_NAME = 0x2000 +- ATTR_VOL_OBJCOUNT = 0x100 +- ATTR_VOL_QUOTA_SIZE = 0x10000000 +- ATTR_VOL_RESERVED_SIZE = 0x20000000 +- ATTR_VOL_SETMASK = 0x80002000 +- ATTR_VOL_SIGNATURE = 0x2 +- ATTR_VOL_SIZE = 0x4 +- ATTR_VOL_SPACEAVAIL = 0x10 +- ATTR_VOL_SPACEFREE = 0x8 +- ATTR_VOL_UUID = 0x40000 +- ATTR_VOL_VALIDMASK = 0xf007ffff +- 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 +- BS0 = 0x0 +- BS1 = 0x8000 +- BSDLY = 0x8000 +- CFLUSH = 0xf +- CLOCAL = 0x8000 +- CLOCK_MONOTONIC = 0x6 +- CLOCK_MONOTONIC_RAW = 0x4 +- CLOCK_MONOTONIC_RAW_APPROX = 0x5 +- CLOCK_PROCESS_CPUTIME_ID = 0xc +- CLOCK_REALTIME = 0x0 +- CLOCK_THREAD_CPUTIME_ID = 0x10 +- CLOCK_UPTIME_RAW = 0x8 +- CLOCK_UPTIME_RAW_APPROX = 0x9 +- CLONE_NOFOLLOW = 0x1 +- CLONE_NOOWNERCOPY = 0x2 +- CR0 = 0x0 +- CR1 = 0x1000 +- CR2 = 0x2000 +- CR3 = 0x3000 +- CRDLY = 0x3000 +- CREAD = 0x800 +- CRTSCTS = 0x30000 +- CS5 = 0x0 +- CS6 = 0x100 +- CS7 = 0x200 +- CS8 = 0x300 +- CSIZE = 0x300 +- CSTART = 0x11 +- CSTATUS = 0x14 +- CSTOP = 0x13 +- CSTOPB = 0x400 +- CSUSP = 0x1a +- CTLIOCGINFO = 0xc0644e03 +- CTL_HW = 0x6 +- CTL_KERN = 0x1 +- 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 = 0x10a +- 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_DARWIN = 0x10a +- 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_EXCEPT = -0xf +- EVFILT_FS = -0x9 +- EVFILT_MACHPORT = -0x8 +- EVFILT_PROC = -0x5 +- EVFILT_READ = -0x1 +- EVFILT_SIGNAL = -0x6 +- EVFILT_SYSCOUNT = 0x11 +- EVFILT_THREADMARKER = 0x11 +- 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_DISPATCH2 = 0x180 +- 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 +- EV_UDATA_SPECIFIC = 0x100 +- EV_VANISHED = 0x200 +- EXTA = 0x4b00 +- EXTB = 0x9600 +- EXTPROC = 0x800 +- FD_CLOEXEC = 0x1 +- FD_SETSIZE = 0x400 +- FF0 = 0x0 +- FF1 = 0x4000 +- FFDLY = 0x4000 +- FLUSHO = 0x800000 +- FSOPT_ATTR_CMN_EXTENDED = 0x20 +- FSOPT_NOFOLLOW = 0x1 +- FSOPT_NOINMEMUPDATE = 0x2 +- FSOPT_PACK_INVAL_ATTRS = 0x8 +- FSOPT_REPORT_FULLSIZE = 0x4 +- FSOPT_RETURN_REALDEV = 0x200 +- F_ADDFILESIGS = 0x3d +- F_ADDFILESIGS_FOR_DYLD_SIM = 0x53 +- F_ADDFILESIGS_INFO = 0x67 +- F_ADDFILESIGS_RETURN = 0x61 +- F_ADDFILESUPPL = 0x68 +- F_ADDSIGS = 0x3b +- F_ALLOCATEALL = 0x4 +- F_ALLOCATECONTIG = 0x2 +- F_BARRIERFSYNC = 0x55 +- F_CHECK_LV = 0x62 +- 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_GETPATH_NOFIRMLINK = 0x66 +- F_GETPROTECTIONCLASS = 0x3f +- F_GETPROTECTIONLEVEL = 0x4d +- F_GETSIGSINFO = 0x69 +- 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_PUNCHHOLE = 0x63 +- 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_SPECULATIVE_READ = 0x65 +- F_THAW_FS = 0x36 +- F_TRANSCODEKEY = 0x4b +- F_TRIM_ACTIVE_FILE = 0x64 +- F_UNLCK = 0x2 +- F_VOLPOSMODE = 0x4 +- F_WRLCK = 0x3 +- HUPCL = 0x4000 +- HW_MACHINE = 0x1 +- 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_6LOWPAN = 0x40 +- 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_3542DSTOPTS = 0x32 +- IPV6_3542HOPLIMIT = 0x2f +- IPV6_3542HOPOPTS = 0x31 +- IPV6_3542NEXTHOP = 0x30 +- IPV6_3542PKTINFO = 0x2e +- IPV6_3542RTHDR = 0x33 +- IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 +- IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 +- IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 0x30 +- IPV6_AUTOFLOWLABEL = 0x3b +- IPV6_BINDV6ONLY = 0x1b +- IPV6_BOUND_IF = 0x7d +- 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_FLOW_ECN_MASK = 0x3000 +- 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_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 = 0x3d +- IPV6_RECVRTHDR = 0x26 +- IPV6_RECVTCLASS = 0x23 +- IPV6_RTHDR = 0x33 +- IPV6_RTHDRDSTOPTS = 0x39 +- 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_USE_MIN_MTU = 0x2a +- 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_DONTFRAG = 0x1c +- 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_RECVTOS = 0x1b +- 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 +- KERN_HOSTNAME = 0xa +- KERN_OSRELEASE = 0x2 +- KERN_OSTYPE = 0x1 +- KERN_VERSION = 0x4 +- LOCAL_PEERCRED = 0x1 +- LOCAL_PEEREPID = 0x3 +- LOCAL_PEEREUUID = 0x5 +- LOCAL_PEERPID = 0x2 +- LOCAL_PEERTOKEN = 0x6 +- LOCAL_PEERUUID = 0x4 +- 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_PAGEOUT = 0xa +- MADV_RANDOM = 0x1 +- MADV_SEQUENTIAL = 0x2 +- MADV_WILLNEED = 0x3 +- MADV_ZERO_WIRED_PAGES = 0x6 +- MAP_32BIT = 0x8000 +- MAP_ANON = 0x1000 +- MAP_ANONYMOUS = 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_RESILIENT_CODESIGN = 0x2000 +- MAP_RESILIENT_MEDIA = 0x4000 +- MAP_SHARED = 0x1 +- MAP_TRANSLATED_ALLOW_EXECUTE = 0x20000 +- MAP_UNIX03 = 0x40000 +- MCAST_BLOCK_SOURCE = 0x54 +- MCAST_EXCLUDE = 0x2 +- MCAST_INCLUDE = 0x1 +- MCAST_JOIN_GROUP = 0x50 +- MCAST_JOIN_SOURCE_GROUP = 0x52 +- MCAST_LEAVE_GROUP = 0x51 +- MCAST_LEAVE_SOURCE_GROUP = 0x53 +- MCAST_UNBLOCK_SOURCE = 0x55 +- MCAST_UNDEFINED = 0x0 +- MCL_CURRENT = 0x1 +- MCL_FUTURE = 0x2 +- MNT_ASYNC = 0x40 +- MNT_AUTOMOUNTED = 0x400000 +- MNT_CMDFLAGS = 0xf0000 +- MNT_CPROTECT = 0x80 +- MNT_DEFWRITE = 0x2000000 +- MNT_DONTBROWSE = 0x100000 +- MNT_DOVOLFS = 0x8000 +- MNT_DWAIT = 0x4 +- MNT_EXPORTED = 0x100 +- MNT_EXT_ROOT_DATA_VOL = 0x1 +- MNT_FORCE = 0x80000 +- MNT_IGNORE_OWNERSHIP = 0x200000 +- MNT_JOURNALED = 0x800000 +- MNT_LOCAL = 0x1000 +- MNT_MULTILABEL = 0x4000000 +- MNT_NOATIME = 0x10000000 +- MNT_NOBLOCK = 0x20000 +- MNT_NODEV = 0x10 +- MNT_NOEXEC = 0x4 +- MNT_NOSUID = 0x8 +- MNT_NOUSERXATTR = 0x1000000 +- MNT_NOWAIT = 0x2 +- MNT_QUARANTINE = 0x400 +- MNT_QUOTA = 0x2000 +- MNT_RDONLY = 0x1 +- MNT_RELOAD = 0x40000 +- MNT_REMOVABLE = 0x200 +- MNT_ROOTFS = 0x4000 +- MNT_SNAPSHOT = 0x40000000 +- MNT_STRICTATIME = 0x80000000 +- MNT_SYNCHRONOUS = 0x2 +- MNT_UNION = 0x20 +- MNT_UNKNOWNPERMISSIONS = 0x200000 +- MNT_UPDATE = 0x10000 +- MNT_VISFLAGMASK = 0xd7f0f7ff +- MNT_WAIT = 0x1 +- 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_NOSIGNAL = 0x80000 +- 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_FLAGS_PRIV = 0xa +- NET_RT_IFLIST = 0x3 +- NET_RT_IFLIST2 = 0x6 +- NET_RT_MAXID = 0xb +- NET_RT_STAT = 0x4 +- NET_RT_TRASH = 0x5 +- NFDBITS = 0x20 +- NL0 = 0x0 +- NL1 = 0x100 +- NL2 = 0x200 +- NL3 = 0x300 +- NLDLY = 0x300 +- NOFLSH = 0x80000000 +- NOKERNINFO = 0x2000000 +- 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_FUNLOCK = 0x100 +- NOTE_LEEWAY = 0x10 +- NOTE_LINK = 0x10 +- NOTE_LOWAT = 0x1 +- NOTE_MACHTIME = 0x100 +- NOTE_MACH_CONTINUOUS_TIME = 0x80 +- NOTE_NONE = 0x80 +- NOTE_NSECONDS = 0x4 +- NOTE_OOB = 0x2 +- 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 +- OXTABS = 0x4 +- 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_DP_GETRAWUNENCRYPTED = 0x2 +- 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_NOFOLLOW_ANY = 0x20000000 +- 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_MEMLOCK = 0x6 +- RLIMIT_NOFILE = 0x8 +- RLIMIT_NPROC = 0x7 +- RLIMIT_RSS = 0x5 +- 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_DEAD = 0x20000000 +- RTF_DELCLONE = 0x80 +- RTF_DONE = 0x40 +- RTF_DYNAMIC = 0x10 +- RTF_GATEWAY = 0x2 +- RTF_HOST = 0x4 +- RTF_IFREF = 0x4000000 +- RTF_IFSCOPE = 0x1000000 +- RTF_LLDATA = 0x400 +- 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 +- SEEK_CUR = 0x1 +- SEEK_DATA = 0x4 +- SEEK_END = 0x2 +- SEEK_HOLE = 0x3 +- SEEK_SET = 0x0 +- 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 +- SIOCGIF6LOWPAN = 0xc02069c5 +- SIOCGIFADDR = 0xc0206921 +- SIOCGIFALTMTU = 0xc0206948 +- SIOCGIFASYNCMAP = 0xc020697c +- SIOCGIFBOND = 0xc0206947 +- SIOCGIFBRDADDR = 0xc0206923 +- SIOCGIFCAP = 0xc020695b +- SIOCGIFCONF = 0xc00c6924 +- SIOCGIFDEVMTU = 0xc0206944 +- SIOCGIFDSTADDR = 0xc0206922 +- SIOCGIFFLAGS = 0xc0206911 +- SIOCGIFFUNCTIONALTYPE = 0xc02069ad +- 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 +- SIOCGIFXMEDIA = 0xc02c6948 +- SIOCGLOWAT = 0x40047303 +- SIOCGPGRP = 0x40047309 +- SIOCIFCREATE = 0xc0206978 +- SIOCIFCREATE2 = 0xc020697a +- SIOCIFDESTROY = 0x80206979 +- SIOCIFGCLONERS = 0xc0106981 +- SIOCRSLVMULTI = 0xc010693b +- SIOCSDRVSPEC = 0x8028697b +- SIOCSETVLAN = 0x8020697e +- SIOCSHIWAT = 0x80047300 +- SIOCSIF6LOWPAN = 0x802069c4 +- 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_LOCAL = 0x0 +- 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_NETSVC_MARKING_LEVEL = 0x1119 +- SO_NET_SERVICE_TYPE = 0x1116 +- 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 +- TAB0 = 0x0 +- TAB1 = 0x400 +- TAB2 = 0x800 +- TAB3 = 0x4 +- TABDLY = 0xc04 +- TCIFLUSH = 0x1 +- TCIOFF = 0x3 +- TCIOFLUSH = 0x3 +- TCION = 0x4 +- TCOFLUSH = 0x2 +- TCOOFF = 0x1 +- TCOON = 0x2 +- TCP_CONNECTIONTIMEOUT = 0x20 +- TCP_CONNECTION_INFO = 0x106 +- TCP_ENABLE_ECN = 0x104 +- TCP_FASTOPEN = 0x105 +- 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 +- VM_LOADAVG = 0x2 +- VM_MACHFACTOR = 0x4 +- VM_MAXID = 0x6 +- VM_METER = 0x1 +- VM_SWAPUSAGE = 0x5 +- 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 +- XATTR_CREATE = 0x2 +- XATTR_NODEFAULT = 0x10 +- XATTR_NOFOLLOW = 0x1 +- XATTR_NOSECURITY = 0x8 +- XATTR_REPLACE = 0x4 +- XATTR_SHOWCOMPRESSION = 0x20 ++ 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 = 0x29 ++ 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_SYS_CONTROL = 0x2 ++ AF_UNIX = 0x1 ++ AF_UNSPEC = 0x0 ++ AF_UTUN = 0x26 ++ AF_VSOCK = 0x28 ++ ALTWERASE = 0x200 ++ ATTR_BIT_MAP_COUNT = 0x5 ++ ATTR_CMN_ACCESSMASK = 0x20000 ++ ATTR_CMN_ACCTIME = 0x1000 ++ ATTR_CMN_ADDEDTIME = 0x10000000 ++ ATTR_CMN_BKUPTIME = 0x2000 ++ ATTR_CMN_CHGTIME = 0x800 ++ ATTR_CMN_CRTIME = 0x200 ++ ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000 ++ ATTR_CMN_DEVID = 0x2 ++ ATTR_CMN_DOCUMENT_ID = 0x100000 ++ ATTR_CMN_ERROR = 0x20000000 ++ ATTR_CMN_EXTENDED_SECURITY = 0x400000 ++ ATTR_CMN_FILEID = 0x2000000 ++ ATTR_CMN_FLAGS = 0x40000 ++ ATTR_CMN_FNDRINFO = 0x4000 ++ ATTR_CMN_FSID = 0x4 ++ ATTR_CMN_FULLPATH = 0x8000000 ++ ATTR_CMN_GEN_COUNT = 0x80000 ++ ATTR_CMN_GRPID = 0x10000 ++ ATTR_CMN_GRPUUID = 0x1000000 ++ ATTR_CMN_MODTIME = 0x400 ++ ATTR_CMN_NAME = 0x1 ++ ATTR_CMN_NAMEDATTRCOUNT = 0x80000 ++ ATTR_CMN_NAMEDATTRLIST = 0x100000 ++ ATTR_CMN_OBJID = 0x20 ++ ATTR_CMN_OBJPERMANENTID = 0x40 ++ ATTR_CMN_OBJTAG = 0x10 ++ ATTR_CMN_OBJTYPE = 0x8 ++ ATTR_CMN_OWNERID = 0x8000 ++ ATTR_CMN_PARENTID = 0x4000000 ++ ATTR_CMN_PAROBJID = 0x80 ++ ATTR_CMN_RETURNED_ATTRS = 0x80000000 ++ ATTR_CMN_SCRIPT = 0x100 ++ ATTR_CMN_SETMASK = 0x51c7ff00 ++ ATTR_CMN_USERACCESS = 0x200000 ++ ATTR_CMN_UUID = 0x800000 ++ ATTR_CMN_VALIDMASK = 0xffffffff ++ ATTR_CMN_VOLSETMASK = 0x6700 ++ ATTR_FILE_ALLOCSIZE = 0x4 ++ ATTR_FILE_CLUMPSIZE = 0x10 ++ ATTR_FILE_DATAALLOCSIZE = 0x400 ++ ATTR_FILE_DATAEXTENTS = 0x800 ++ ATTR_FILE_DATALENGTH = 0x200 ++ ATTR_FILE_DEVTYPE = 0x20 ++ ATTR_FILE_FILETYPE = 0x40 ++ ATTR_FILE_FORKCOUNT = 0x80 ++ ATTR_FILE_FORKLIST = 0x100 ++ ATTR_FILE_IOBLOCKSIZE = 0x8 ++ ATTR_FILE_LINKCOUNT = 0x1 ++ ATTR_FILE_RSRCALLOCSIZE = 0x2000 ++ ATTR_FILE_RSRCEXTENTS = 0x4000 ++ ATTR_FILE_RSRCLENGTH = 0x1000 ++ ATTR_FILE_SETMASK = 0x20 ++ ATTR_FILE_TOTALSIZE = 0x2 ++ ATTR_FILE_VALIDMASK = 0x37ff ++ ATTR_VOL_ALLOCATIONCLUMP = 0x40 ++ ATTR_VOL_ATTRIBUTES = 0x40000000 ++ ATTR_VOL_CAPABILITIES = 0x20000 ++ ATTR_VOL_DIRCOUNT = 0x400 ++ ATTR_VOL_ENCODINGSUSED = 0x10000 ++ ATTR_VOL_FILECOUNT = 0x200 ++ ATTR_VOL_FSTYPE = 0x1 ++ ATTR_VOL_INFO = 0x80000000 ++ ATTR_VOL_IOBLOCKSIZE = 0x80 ++ ATTR_VOL_MAXOBJCOUNT = 0x800 ++ ATTR_VOL_MINALLOCATION = 0x20 ++ ATTR_VOL_MOUNTEDDEVICE = 0x8000 ++ ATTR_VOL_MOUNTFLAGS = 0x4000 ++ ATTR_VOL_MOUNTPOINT = 0x1000 ++ ATTR_VOL_NAME = 0x2000 ++ ATTR_VOL_OBJCOUNT = 0x100 ++ ATTR_VOL_QUOTA_SIZE = 0x10000000 ++ ATTR_VOL_RESERVED_SIZE = 0x20000000 ++ ATTR_VOL_SETMASK = 0x80002000 ++ ATTR_VOL_SIGNATURE = 0x2 ++ ATTR_VOL_SIZE = 0x4 ++ ATTR_VOL_SPACEAVAIL = 0x10 ++ ATTR_VOL_SPACEFREE = 0x8 ++ ATTR_VOL_SPACEUSED = 0x800000 ++ ATTR_VOL_UUID = 0x40000 ++ ATTR_VOL_VALIDMASK = 0xf087ffff ++ 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 ++ BS0 = 0x0 ++ BS1 = 0x8000 ++ BSDLY = 0x8000 ++ CFLUSH = 0xf ++ CLOCAL = 0x8000 ++ CLOCK_MONOTONIC = 0x6 ++ CLOCK_MONOTONIC_RAW = 0x4 ++ CLOCK_MONOTONIC_RAW_APPROX = 0x5 ++ CLOCK_PROCESS_CPUTIME_ID = 0xc ++ CLOCK_REALTIME = 0x0 ++ CLOCK_THREAD_CPUTIME_ID = 0x10 ++ CLOCK_UPTIME_RAW = 0x8 ++ CLOCK_UPTIME_RAW_APPROX = 0x9 ++ CLONE_NOFOLLOW = 0x1 ++ CLONE_NOOWNERCOPY = 0x2 ++ CR0 = 0x0 ++ CR1 = 0x1000 ++ CR2 = 0x2000 ++ CR3 = 0x3000 ++ CRDLY = 0x3000 ++ CREAD = 0x800 ++ CRTSCTS = 0x30000 ++ CS5 = 0x0 ++ CS6 = 0x100 ++ CS7 = 0x200 ++ CS8 = 0x300 ++ CSIZE = 0x300 ++ CSTART = 0x11 ++ CSTATUS = 0x14 ++ CSTOP = 0x13 ++ CSTOPB = 0x400 ++ CSUSP = 0x1a ++ CTLIOCGINFO = 0xc0644e03 ++ CTL_HW = 0x6 ++ CTL_KERN = 0x1 ++ 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 = 0x10a ++ 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_DARWIN = 0x10a ++ 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_EXCEPT = -0xf ++ EVFILT_FS = -0x9 ++ EVFILT_MACHPORT = -0x8 ++ EVFILT_PROC = -0x5 ++ EVFILT_READ = -0x1 ++ EVFILT_SIGNAL = -0x6 ++ EVFILT_SYSCOUNT = 0x11 ++ EVFILT_THREADMARKER = 0x11 ++ 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_DISPATCH2 = 0x180 ++ 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 ++ EV_UDATA_SPECIFIC = 0x100 ++ EV_VANISHED = 0x200 ++ EXTA = 0x4b00 ++ EXTB = 0x9600 ++ EXTPROC = 0x800 ++ FD_CLOEXEC = 0x1 ++ FD_SETSIZE = 0x400 ++ FF0 = 0x0 ++ FF1 = 0x4000 ++ FFDLY = 0x4000 ++ FLUSHO = 0x800000 ++ FSOPT_ATTR_CMN_EXTENDED = 0x20 ++ FSOPT_NOFOLLOW = 0x1 ++ FSOPT_NOINMEMUPDATE = 0x2 ++ FSOPT_PACK_INVAL_ATTRS = 0x8 ++ FSOPT_REPORT_FULLSIZE = 0x4 ++ FSOPT_RETURN_REALDEV = 0x200 ++ F_ADDFILESIGS = 0x3d ++ F_ADDFILESIGS_FOR_DYLD_SIM = 0x53 ++ F_ADDFILESIGS_INFO = 0x67 ++ F_ADDFILESIGS_RETURN = 0x61 ++ F_ADDFILESUPPL = 0x68 ++ F_ADDSIGS = 0x3b ++ F_ALLOCATEALL = 0x4 ++ F_ALLOCATECONTIG = 0x2 ++ F_BARRIERFSYNC = 0x55 ++ F_CHECK_LV = 0x62 ++ 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_GETPATH_NOFIRMLINK = 0x66 ++ F_GETPROTECTIONCLASS = 0x3f ++ F_GETPROTECTIONLEVEL = 0x4d ++ F_GETSIGSINFO = 0x69 ++ 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_PUNCHHOLE = 0x63 ++ 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_SPECULATIVE_READ = 0x65 ++ F_THAW_FS = 0x36 ++ F_TRANSCODEKEY = 0x4b ++ F_TRIM_ACTIVE_FILE = 0x64 ++ F_UNLCK = 0x2 ++ F_VOLPOSMODE = 0x4 ++ F_WRLCK = 0x3 ++ HUPCL = 0x4000 ++ HW_MACHINE = 0x1 ++ 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_6LOWPAN = 0x40 ++ 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 ++ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x400473d1 ++ 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_3542DSTOPTS = 0x32 ++ IPV6_3542HOPLIMIT = 0x2f ++ IPV6_3542HOPOPTS = 0x31 ++ IPV6_3542NEXTHOP = 0x30 ++ IPV6_3542PKTINFO = 0x2e ++ IPV6_3542RTHDR = 0x33 ++ IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 ++ IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 ++ IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 0x30 ++ IPV6_AUTOFLOWLABEL = 0x3b ++ IPV6_BINDV6ONLY = 0x1b ++ IPV6_BOUND_IF = 0x7d ++ 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_FLOW_ECN_MASK = 0x3000 ++ 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_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 = 0x3d ++ IPV6_RECVRTHDR = 0x26 ++ IPV6_RECVTCLASS = 0x23 ++ IPV6_RTHDR = 0x33 ++ IPV6_RTHDRDSTOPTS = 0x39 ++ 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_USE_MIN_MTU = 0x2a ++ 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_DONTFRAG = 0x1c ++ 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_RECVTOS = 0x1b ++ 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 ++ KERN_HOSTNAME = 0xa ++ KERN_OSRELEASE = 0x2 ++ KERN_OSTYPE = 0x1 ++ KERN_VERSION = 0x4 ++ LOCAL_PEERCRED = 0x1 ++ LOCAL_PEEREPID = 0x3 ++ LOCAL_PEEREUUID = 0x5 ++ LOCAL_PEERPID = 0x2 ++ LOCAL_PEERTOKEN = 0x6 ++ LOCAL_PEERUUID = 0x4 ++ 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_PAGEOUT = 0xa ++ MADV_RANDOM = 0x1 ++ MADV_SEQUENTIAL = 0x2 ++ MADV_WILLNEED = 0x3 ++ MADV_ZERO_WIRED_PAGES = 0x6 ++ MAP_32BIT = 0x8000 ++ MAP_ANON = 0x1000 ++ MAP_ANONYMOUS = 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_RESILIENT_CODESIGN = 0x2000 ++ MAP_RESILIENT_MEDIA = 0x4000 ++ MAP_SHARED = 0x1 ++ MAP_TRANSLATED_ALLOW_EXECUTE = 0x20000 ++ MAP_UNIX03 = 0x40000 ++ MCAST_BLOCK_SOURCE = 0x54 ++ MCAST_EXCLUDE = 0x2 ++ MCAST_INCLUDE = 0x1 ++ MCAST_JOIN_GROUP = 0x50 ++ MCAST_JOIN_SOURCE_GROUP = 0x52 ++ MCAST_LEAVE_GROUP = 0x51 ++ MCAST_LEAVE_SOURCE_GROUP = 0x53 ++ MCAST_UNBLOCK_SOURCE = 0x55 ++ MCAST_UNDEFINED = 0x0 ++ MCL_CURRENT = 0x1 ++ MCL_FUTURE = 0x2 ++ MNT_ASYNC = 0x40 ++ MNT_AUTOMOUNTED = 0x400000 ++ MNT_CMDFLAGS = 0xf0000 ++ MNT_CPROTECT = 0x80 ++ MNT_DEFWRITE = 0x2000000 ++ MNT_DONTBROWSE = 0x100000 ++ MNT_DOVOLFS = 0x8000 ++ MNT_DWAIT = 0x4 ++ MNT_EXPORTED = 0x100 ++ MNT_EXT_ROOT_DATA_VOL = 0x1 ++ MNT_FORCE = 0x80000 ++ MNT_IGNORE_OWNERSHIP = 0x200000 ++ MNT_JOURNALED = 0x800000 ++ MNT_LOCAL = 0x1000 ++ MNT_MULTILABEL = 0x4000000 ++ MNT_NOATIME = 0x10000000 ++ MNT_NOBLOCK = 0x20000 ++ MNT_NODEV = 0x10 ++ MNT_NOEXEC = 0x4 ++ MNT_NOSUID = 0x8 ++ MNT_NOUSERXATTR = 0x1000000 ++ MNT_NOWAIT = 0x2 ++ MNT_QUARANTINE = 0x400 ++ MNT_QUOTA = 0x2000 ++ MNT_RDONLY = 0x1 ++ MNT_RELOAD = 0x40000 ++ MNT_REMOVABLE = 0x200 ++ MNT_ROOTFS = 0x4000 ++ MNT_SNAPSHOT = 0x40000000 ++ MNT_STRICTATIME = 0x80000000 ++ MNT_SYNCHRONOUS = 0x2 ++ MNT_UNION = 0x20 ++ MNT_UNKNOWNPERMISSIONS = 0x200000 ++ MNT_UPDATE = 0x10000 ++ MNT_VISFLAGMASK = 0xd7f0f7ff ++ MNT_WAIT = 0x1 ++ 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_NOSIGNAL = 0x80000 ++ 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_FLAGS_PRIV = 0xa ++ NET_RT_IFLIST = 0x3 ++ NET_RT_IFLIST2 = 0x6 ++ NET_RT_MAXID = 0xb ++ NET_RT_STAT = 0x4 ++ NET_RT_TRASH = 0x5 ++ NFDBITS = 0x20 ++ NL0 = 0x0 ++ NL1 = 0x100 ++ NL2 = 0x200 ++ NL3 = 0x300 ++ NLDLY = 0x300 ++ NOFLSH = 0x80000000 ++ NOKERNINFO = 0x2000000 ++ 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_FUNLOCK = 0x100 ++ NOTE_LEEWAY = 0x10 ++ NOTE_LINK = 0x10 ++ NOTE_LOWAT = 0x1 ++ NOTE_MACHTIME = 0x100 ++ NOTE_MACH_CONTINUOUS_TIME = 0x80 ++ NOTE_NONE = 0x80 ++ NOTE_NSECONDS = 0x4 ++ NOTE_OOB = 0x2 ++ 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 ++ OXTABS = 0x4 ++ 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_DP_GETRAWUNENCRYPTED = 0x2 ++ 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_NOFOLLOW_ANY = 0x20000000 ++ 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_MEMLOCK = 0x6 ++ RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 ++ 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_DEAD = 0x20000000 ++ RTF_DELCLONE = 0x80 ++ RTF_DONE = 0x40 ++ RTF_DYNAMIC = 0x10 ++ RTF_GATEWAY = 0x2 ++ RTF_GLOBAL = 0x40000000 ++ RTF_HOST = 0x4 ++ RTF_IFREF = 0x4000000 ++ RTF_IFSCOPE = 0x1000000 ++ RTF_LLDATA = 0x400 ++ 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 ++ SEEK_CUR = 0x1 ++ SEEK_DATA = 0x4 ++ SEEK_END = 0x2 ++ SEEK_HOLE = 0x3 ++ SEEK_SET = 0x0 ++ 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 ++ SIOCGIF6LOWPAN = 0xc02069c5 ++ SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALTMTU = 0xc0206948 ++ SIOCGIFASYNCMAP = 0xc020697c ++ SIOCGIFBOND = 0xc0206947 ++ SIOCGIFBRDADDR = 0xc0206923 ++ SIOCGIFCAP = 0xc020695b ++ SIOCGIFCONF = 0xc00c6924 ++ SIOCGIFDEVMTU = 0xc0206944 ++ SIOCGIFDSTADDR = 0xc0206922 ++ SIOCGIFFLAGS = 0xc0206911 ++ SIOCGIFFUNCTIONALTYPE = 0xc02069ad ++ 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 ++ SIOCGIFXMEDIA = 0xc02c6948 ++ SIOCGLOWAT = 0x40047303 ++ SIOCGPGRP = 0x40047309 ++ SIOCIFCREATE = 0xc0206978 ++ SIOCIFCREATE2 = 0xc020697a ++ SIOCIFDESTROY = 0x80206979 ++ SIOCIFGCLONERS = 0xc0106981 ++ SIOCRSLVMULTI = 0xc010693b ++ SIOCSDRVSPEC = 0x8028697b ++ SIOCSETVLAN = 0x8020697e ++ SIOCSHIWAT = 0x80047300 ++ SIOCSIF6LOWPAN = 0x802069c4 ++ 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_LOCAL = 0x0 ++ 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_NETSVC_MARKING_LEVEL = 0x1119 ++ SO_NET_SERVICE_TYPE = 0x1116 ++ 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_TRACKER_ATTRIBUTE_FLAGS_APP_APPROVED = 0x1 ++ SO_TRACKER_ATTRIBUTE_FLAGS_DOMAIN_SHORT = 0x4 ++ SO_TRACKER_ATTRIBUTE_FLAGS_TRACKER = 0x2 ++ SO_TRACKER_TRANSPARENCY_VERSION = 0x3 ++ 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 ++ TAB0 = 0x0 ++ TAB1 = 0x400 ++ TAB2 = 0x800 ++ TAB3 = 0x4 ++ TABDLY = 0xc04 ++ TCIFLUSH = 0x1 ++ TCIOFF = 0x3 ++ TCIOFLUSH = 0x3 ++ TCION = 0x4 ++ TCOFLUSH = 0x2 ++ TCOOFF = 0x1 ++ TCOON = 0x2 ++ TCPOPT_CC = 0xb ++ TCPOPT_CCECHO = 0xd ++ TCPOPT_CCNEW = 0xc ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FASTOPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_HDR = 0x1010500 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SACK_PERMIT_HDR = 0x1010402 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_TSTAMP_HDR = 0x101080a ++ TCPOPT_WINDOW = 0x3 ++ TCP_CONNECTIONTIMEOUT = 0x20 ++ TCP_CONNECTION_INFO = 0x106 ++ TCP_ENABLE_ECN = 0x104 ++ TCP_FASTOPEN = 0x105 ++ 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 ++ VMADDR_CID_ANY = 0xffffffff ++ VMADDR_CID_HOST = 0x2 ++ VMADDR_CID_HYPERVISOR = 0x0 ++ VMADDR_CID_RESERVED = 0x1 ++ VMADDR_PORT_ANY = 0xffffffff ++ VMIN = 0x10 ++ VM_LOADAVG = 0x2 ++ VM_MACHFACTOR = 0x4 ++ VM_MAXID = 0x6 ++ VM_METER = 0x1 ++ VM_SWAPUSAGE = 0x5 ++ 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 ++ XATTR_CREATE = 0x2 ++ XATTR_NODEFAULT = 0x10 ++ XATTR_NOFOLLOW = 0x1 ++ XATTR_NOSECURITY = 0x8 ++ XATTR_REPLACE = 0x4 ++ XATTR_SHOWCOMPRESSION = 0x20 + ) + + // Errors +diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +index 11e5709..e36f517 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +@@ -12,1555 +12,1582 @@ 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 = 0x29 +- 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_SYS_CONTROL = 0x2 +- AF_UNIX = 0x1 +- AF_UNSPEC = 0x0 +- AF_UTUN = 0x26 +- AF_VSOCK = 0x28 +- ALTWERASE = 0x200 +- ATTR_BIT_MAP_COUNT = 0x5 +- ATTR_CMN_ACCESSMASK = 0x20000 +- ATTR_CMN_ACCTIME = 0x1000 +- ATTR_CMN_ADDEDTIME = 0x10000000 +- ATTR_CMN_BKUPTIME = 0x2000 +- ATTR_CMN_CHGTIME = 0x800 +- ATTR_CMN_CRTIME = 0x200 +- ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000 +- ATTR_CMN_DEVID = 0x2 +- ATTR_CMN_DOCUMENT_ID = 0x100000 +- ATTR_CMN_ERROR = 0x20000000 +- ATTR_CMN_EXTENDED_SECURITY = 0x400000 +- ATTR_CMN_FILEID = 0x2000000 +- ATTR_CMN_FLAGS = 0x40000 +- ATTR_CMN_FNDRINFO = 0x4000 +- ATTR_CMN_FSID = 0x4 +- ATTR_CMN_FULLPATH = 0x8000000 +- ATTR_CMN_GEN_COUNT = 0x80000 +- ATTR_CMN_GRPID = 0x10000 +- ATTR_CMN_GRPUUID = 0x1000000 +- ATTR_CMN_MODTIME = 0x400 +- ATTR_CMN_NAME = 0x1 +- ATTR_CMN_NAMEDATTRCOUNT = 0x80000 +- ATTR_CMN_NAMEDATTRLIST = 0x100000 +- ATTR_CMN_OBJID = 0x20 +- ATTR_CMN_OBJPERMANENTID = 0x40 +- ATTR_CMN_OBJTAG = 0x10 +- ATTR_CMN_OBJTYPE = 0x8 +- ATTR_CMN_OWNERID = 0x8000 +- ATTR_CMN_PARENTID = 0x4000000 +- ATTR_CMN_PAROBJID = 0x80 +- ATTR_CMN_RETURNED_ATTRS = 0x80000000 +- ATTR_CMN_SCRIPT = 0x100 +- ATTR_CMN_SETMASK = 0x51c7ff00 +- ATTR_CMN_USERACCESS = 0x200000 +- ATTR_CMN_UUID = 0x800000 +- ATTR_CMN_VALIDMASK = 0xffffffff +- ATTR_CMN_VOLSETMASK = 0x6700 +- ATTR_FILE_ALLOCSIZE = 0x4 +- ATTR_FILE_CLUMPSIZE = 0x10 +- ATTR_FILE_DATAALLOCSIZE = 0x400 +- ATTR_FILE_DATAEXTENTS = 0x800 +- ATTR_FILE_DATALENGTH = 0x200 +- ATTR_FILE_DEVTYPE = 0x20 +- ATTR_FILE_FILETYPE = 0x40 +- ATTR_FILE_FORKCOUNT = 0x80 +- ATTR_FILE_FORKLIST = 0x100 +- ATTR_FILE_IOBLOCKSIZE = 0x8 +- ATTR_FILE_LINKCOUNT = 0x1 +- ATTR_FILE_RSRCALLOCSIZE = 0x2000 +- ATTR_FILE_RSRCEXTENTS = 0x4000 +- ATTR_FILE_RSRCLENGTH = 0x1000 +- ATTR_FILE_SETMASK = 0x20 +- ATTR_FILE_TOTALSIZE = 0x2 +- ATTR_FILE_VALIDMASK = 0x37ff +- ATTR_VOL_ALLOCATIONCLUMP = 0x40 +- ATTR_VOL_ATTRIBUTES = 0x40000000 +- ATTR_VOL_CAPABILITIES = 0x20000 +- ATTR_VOL_DIRCOUNT = 0x400 +- ATTR_VOL_ENCODINGSUSED = 0x10000 +- ATTR_VOL_FILECOUNT = 0x200 +- ATTR_VOL_FSTYPE = 0x1 +- ATTR_VOL_INFO = 0x80000000 +- ATTR_VOL_IOBLOCKSIZE = 0x80 +- ATTR_VOL_MAXOBJCOUNT = 0x800 +- ATTR_VOL_MINALLOCATION = 0x20 +- ATTR_VOL_MOUNTEDDEVICE = 0x8000 +- ATTR_VOL_MOUNTFLAGS = 0x4000 +- ATTR_VOL_MOUNTPOINT = 0x1000 +- ATTR_VOL_NAME = 0x2000 +- ATTR_VOL_OBJCOUNT = 0x100 +- ATTR_VOL_QUOTA_SIZE = 0x10000000 +- ATTR_VOL_RESERVED_SIZE = 0x20000000 +- ATTR_VOL_SETMASK = 0x80002000 +- ATTR_VOL_SIGNATURE = 0x2 +- ATTR_VOL_SIZE = 0x4 +- ATTR_VOL_SPACEAVAIL = 0x10 +- ATTR_VOL_SPACEFREE = 0x8 +- ATTR_VOL_UUID = 0x40000 +- ATTR_VOL_VALIDMASK = 0xf007ffff +- 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 +- BS0 = 0x0 +- BS1 = 0x8000 +- BSDLY = 0x8000 +- CFLUSH = 0xf +- CLOCAL = 0x8000 +- CLOCK_MONOTONIC = 0x6 +- CLOCK_MONOTONIC_RAW = 0x4 +- CLOCK_MONOTONIC_RAW_APPROX = 0x5 +- CLOCK_PROCESS_CPUTIME_ID = 0xc +- CLOCK_REALTIME = 0x0 +- CLOCK_THREAD_CPUTIME_ID = 0x10 +- CLOCK_UPTIME_RAW = 0x8 +- CLOCK_UPTIME_RAW_APPROX = 0x9 +- CLONE_NOFOLLOW = 0x1 +- CLONE_NOOWNERCOPY = 0x2 +- CR0 = 0x0 +- CR1 = 0x1000 +- CR2 = 0x2000 +- CR3 = 0x3000 +- CRDLY = 0x3000 +- CREAD = 0x800 +- CRTSCTS = 0x30000 +- CS5 = 0x0 +- CS6 = 0x100 +- CS7 = 0x200 +- CS8 = 0x300 +- CSIZE = 0x300 +- CSTART = 0x11 +- CSTATUS = 0x14 +- CSTOP = 0x13 +- CSTOPB = 0x400 +- CSUSP = 0x1a +- CTLIOCGINFO = 0xc0644e03 +- CTL_HW = 0x6 +- CTL_KERN = 0x1 +- 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 = 0x10a +- 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_DARWIN = 0x10a +- 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_EXCEPT = -0xf +- EVFILT_FS = -0x9 +- EVFILT_MACHPORT = -0x8 +- EVFILT_PROC = -0x5 +- EVFILT_READ = -0x1 +- EVFILT_SIGNAL = -0x6 +- EVFILT_SYSCOUNT = 0x11 +- EVFILT_THREADMARKER = 0x11 +- 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_DISPATCH2 = 0x180 +- 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 +- EV_UDATA_SPECIFIC = 0x100 +- EV_VANISHED = 0x200 +- EXTA = 0x4b00 +- EXTB = 0x9600 +- EXTPROC = 0x800 +- FD_CLOEXEC = 0x1 +- FD_SETSIZE = 0x400 +- FF0 = 0x0 +- FF1 = 0x4000 +- FFDLY = 0x4000 +- FLUSHO = 0x800000 +- FSOPT_ATTR_CMN_EXTENDED = 0x20 +- FSOPT_NOFOLLOW = 0x1 +- FSOPT_NOINMEMUPDATE = 0x2 +- FSOPT_PACK_INVAL_ATTRS = 0x8 +- FSOPT_REPORT_FULLSIZE = 0x4 +- FSOPT_RETURN_REALDEV = 0x200 +- F_ADDFILESIGS = 0x3d +- F_ADDFILESIGS_FOR_DYLD_SIM = 0x53 +- F_ADDFILESIGS_INFO = 0x67 +- F_ADDFILESIGS_RETURN = 0x61 +- F_ADDFILESUPPL = 0x68 +- F_ADDSIGS = 0x3b +- F_ALLOCATEALL = 0x4 +- F_ALLOCATECONTIG = 0x2 +- F_BARRIERFSYNC = 0x55 +- F_CHECK_LV = 0x62 +- 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_GETPATH_NOFIRMLINK = 0x66 +- F_GETPROTECTIONCLASS = 0x3f +- F_GETPROTECTIONLEVEL = 0x4d +- F_GETSIGSINFO = 0x69 +- 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_PUNCHHOLE = 0x63 +- 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_SPECULATIVE_READ = 0x65 +- F_THAW_FS = 0x36 +- F_TRANSCODEKEY = 0x4b +- F_TRIM_ACTIVE_FILE = 0x64 +- F_UNLCK = 0x2 +- F_VOLPOSMODE = 0x4 +- F_WRLCK = 0x3 +- HUPCL = 0x4000 +- HW_MACHINE = 0x1 +- 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_6LOWPAN = 0x40 +- 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_3542DSTOPTS = 0x32 +- IPV6_3542HOPLIMIT = 0x2f +- IPV6_3542HOPOPTS = 0x31 +- IPV6_3542NEXTHOP = 0x30 +- IPV6_3542PKTINFO = 0x2e +- IPV6_3542RTHDR = 0x33 +- IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 +- IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 +- IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 0x30 +- IPV6_AUTOFLOWLABEL = 0x3b +- IPV6_BINDV6ONLY = 0x1b +- IPV6_BOUND_IF = 0x7d +- 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_FLOW_ECN_MASK = 0x3000 +- 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_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 = 0x3d +- IPV6_RECVRTHDR = 0x26 +- IPV6_RECVTCLASS = 0x23 +- IPV6_RTHDR = 0x33 +- IPV6_RTHDRDSTOPTS = 0x39 +- 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_USE_MIN_MTU = 0x2a +- 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_DONTFRAG = 0x1c +- 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_RECVTOS = 0x1b +- 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 +- KERN_HOSTNAME = 0xa +- KERN_OSRELEASE = 0x2 +- KERN_OSTYPE = 0x1 +- KERN_VERSION = 0x4 +- LOCAL_PEERCRED = 0x1 +- LOCAL_PEEREPID = 0x3 +- LOCAL_PEEREUUID = 0x5 +- LOCAL_PEERPID = 0x2 +- LOCAL_PEERTOKEN = 0x6 +- LOCAL_PEERUUID = 0x4 +- 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_PAGEOUT = 0xa +- MADV_RANDOM = 0x1 +- MADV_SEQUENTIAL = 0x2 +- MADV_WILLNEED = 0x3 +- MADV_ZERO_WIRED_PAGES = 0x6 +- MAP_32BIT = 0x8000 +- MAP_ANON = 0x1000 +- MAP_ANONYMOUS = 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_RESILIENT_CODESIGN = 0x2000 +- MAP_RESILIENT_MEDIA = 0x4000 +- MAP_SHARED = 0x1 +- MAP_TRANSLATED_ALLOW_EXECUTE = 0x20000 +- MAP_UNIX03 = 0x40000 +- MCAST_BLOCK_SOURCE = 0x54 +- MCAST_EXCLUDE = 0x2 +- MCAST_INCLUDE = 0x1 +- MCAST_JOIN_GROUP = 0x50 +- MCAST_JOIN_SOURCE_GROUP = 0x52 +- MCAST_LEAVE_GROUP = 0x51 +- MCAST_LEAVE_SOURCE_GROUP = 0x53 +- MCAST_UNBLOCK_SOURCE = 0x55 +- MCAST_UNDEFINED = 0x0 +- MCL_CURRENT = 0x1 +- MCL_FUTURE = 0x2 +- MNT_ASYNC = 0x40 +- MNT_AUTOMOUNTED = 0x400000 +- MNT_CMDFLAGS = 0xf0000 +- MNT_CPROTECT = 0x80 +- MNT_DEFWRITE = 0x2000000 +- MNT_DONTBROWSE = 0x100000 +- MNT_DOVOLFS = 0x8000 +- MNT_DWAIT = 0x4 +- MNT_EXPORTED = 0x100 +- MNT_EXT_ROOT_DATA_VOL = 0x1 +- MNT_FORCE = 0x80000 +- MNT_IGNORE_OWNERSHIP = 0x200000 +- MNT_JOURNALED = 0x800000 +- MNT_LOCAL = 0x1000 +- MNT_MULTILABEL = 0x4000000 +- MNT_NOATIME = 0x10000000 +- MNT_NOBLOCK = 0x20000 +- MNT_NODEV = 0x10 +- MNT_NOEXEC = 0x4 +- MNT_NOSUID = 0x8 +- MNT_NOUSERXATTR = 0x1000000 +- MNT_NOWAIT = 0x2 +- MNT_QUARANTINE = 0x400 +- MNT_QUOTA = 0x2000 +- MNT_RDONLY = 0x1 +- MNT_RELOAD = 0x40000 +- MNT_REMOVABLE = 0x200 +- MNT_ROOTFS = 0x4000 +- MNT_SNAPSHOT = 0x40000000 +- MNT_STRICTATIME = 0x80000000 +- MNT_SYNCHRONOUS = 0x2 +- MNT_UNION = 0x20 +- MNT_UNKNOWNPERMISSIONS = 0x200000 +- MNT_UPDATE = 0x10000 +- MNT_VISFLAGMASK = 0xd7f0f7ff +- MNT_WAIT = 0x1 +- 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_NOSIGNAL = 0x80000 +- 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_FLAGS_PRIV = 0xa +- NET_RT_IFLIST = 0x3 +- NET_RT_IFLIST2 = 0x6 +- NET_RT_MAXID = 0xb +- NET_RT_STAT = 0x4 +- NET_RT_TRASH = 0x5 +- NFDBITS = 0x20 +- NL0 = 0x0 +- NL1 = 0x100 +- NL2 = 0x200 +- NL3 = 0x300 +- NLDLY = 0x300 +- NOFLSH = 0x80000000 +- NOKERNINFO = 0x2000000 +- 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_FUNLOCK = 0x100 +- NOTE_LEEWAY = 0x10 +- NOTE_LINK = 0x10 +- NOTE_LOWAT = 0x1 +- NOTE_MACHTIME = 0x100 +- NOTE_MACH_CONTINUOUS_TIME = 0x80 +- NOTE_NONE = 0x80 +- NOTE_NSECONDS = 0x4 +- NOTE_OOB = 0x2 +- 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 +- OXTABS = 0x4 +- 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_DP_GETRAWUNENCRYPTED = 0x2 +- 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_NOFOLLOW_ANY = 0x20000000 +- 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_MEMLOCK = 0x6 +- RLIMIT_NOFILE = 0x8 +- RLIMIT_NPROC = 0x7 +- RLIMIT_RSS = 0x5 +- 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_DEAD = 0x20000000 +- RTF_DELCLONE = 0x80 +- RTF_DONE = 0x40 +- RTF_DYNAMIC = 0x10 +- RTF_GATEWAY = 0x2 +- RTF_HOST = 0x4 +- RTF_IFREF = 0x4000000 +- RTF_IFSCOPE = 0x1000000 +- RTF_LLDATA = 0x400 +- 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 +- SEEK_CUR = 0x1 +- SEEK_DATA = 0x4 +- SEEK_END = 0x2 +- SEEK_HOLE = 0x3 +- SEEK_SET = 0x0 +- 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 +- SIOCGIF6LOWPAN = 0xc02069c5 +- SIOCGIFADDR = 0xc0206921 +- SIOCGIFALTMTU = 0xc0206948 +- SIOCGIFASYNCMAP = 0xc020697c +- SIOCGIFBOND = 0xc0206947 +- SIOCGIFBRDADDR = 0xc0206923 +- SIOCGIFCAP = 0xc020695b +- SIOCGIFCONF = 0xc00c6924 +- SIOCGIFDEVMTU = 0xc0206944 +- SIOCGIFDSTADDR = 0xc0206922 +- SIOCGIFFLAGS = 0xc0206911 +- SIOCGIFFUNCTIONALTYPE = 0xc02069ad +- 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 +- SIOCGIFXMEDIA = 0xc02c6948 +- SIOCGLOWAT = 0x40047303 +- SIOCGPGRP = 0x40047309 +- SIOCIFCREATE = 0xc0206978 +- SIOCIFCREATE2 = 0xc020697a +- SIOCIFDESTROY = 0x80206979 +- SIOCIFGCLONERS = 0xc0106981 +- SIOCRSLVMULTI = 0xc010693b +- SIOCSDRVSPEC = 0x8028697b +- SIOCSETVLAN = 0x8020697e +- SIOCSHIWAT = 0x80047300 +- SIOCSIF6LOWPAN = 0x802069c4 +- 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_LOCAL = 0x0 +- 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_NETSVC_MARKING_LEVEL = 0x1119 +- SO_NET_SERVICE_TYPE = 0x1116 +- 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 +- TAB0 = 0x0 +- TAB1 = 0x400 +- TAB2 = 0x800 +- TAB3 = 0x4 +- TABDLY = 0xc04 +- TCIFLUSH = 0x1 +- TCIOFF = 0x3 +- TCIOFLUSH = 0x3 +- TCION = 0x4 +- TCOFLUSH = 0x2 +- TCOOFF = 0x1 +- TCOON = 0x2 +- TCP_CONNECTIONTIMEOUT = 0x20 +- TCP_CONNECTION_INFO = 0x106 +- TCP_ENABLE_ECN = 0x104 +- TCP_FASTOPEN = 0x105 +- 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 +- VM_LOADAVG = 0x2 +- VM_MACHFACTOR = 0x4 +- VM_MAXID = 0x6 +- VM_METER = 0x1 +- VM_SWAPUSAGE = 0x5 +- 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 +- XATTR_CREATE = 0x2 +- XATTR_NODEFAULT = 0x10 +- XATTR_NOFOLLOW = 0x1 +- XATTR_NOSECURITY = 0x8 +- XATTR_REPLACE = 0x4 +- XATTR_SHOWCOMPRESSION = 0x20 ++ 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 = 0x29 ++ 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_SYS_CONTROL = 0x2 ++ AF_UNIX = 0x1 ++ AF_UNSPEC = 0x0 ++ AF_UTUN = 0x26 ++ AF_VSOCK = 0x28 ++ ALTWERASE = 0x200 ++ ATTR_BIT_MAP_COUNT = 0x5 ++ ATTR_CMN_ACCESSMASK = 0x20000 ++ ATTR_CMN_ACCTIME = 0x1000 ++ ATTR_CMN_ADDEDTIME = 0x10000000 ++ ATTR_CMN_BKUPTIME = 0x2000 ++ ATTR_CMN_CHGTIME = 0x800 ++ ATTR_CMN_CRTIME = 0x200 ++ ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000 ++ ATTR_CMN_DEVID = 0x2 ++ ATTR_CMN_DOCUMENT_ID = 0x100000 ++ ATTR_CMN_ERROR = 0x20000000 ++ ATTR_CMN_EXTENDED_SECURITY = 0x400000 ++ ATTR_CMN_FILEID = 0x2000000 ++ ATTR_CMN_FLAGS = 0x40000 ++ ATTR_CMN_FNDRINFO = 0x4000 ++ ATTR_CMN_FSID = 0x4 ++ ATTR_CMN_FULLPATH = 0x8000000 ++ ATTR_CMN_GEN_COUNT = 0x80000 ++ ATTR_CMN_GRPID = 0x10000 ++ ATTR_CMN_GRPUUID = 0x1000000 ++ ATTR_CMN_MODTIME = 0x400 ++ ATTR_CMN_NAME = 0x1 ++ ATTR_CMN_NAMEDATTRCOUNT = 0x80000 ++ ATTR_CMN_NAMEDATTRLIST = 0x100000 ++ ATTR_CMN_OBJID = 0x20 ++ ATTR_CMN_OBJPERMANENTID = 0x40 ++ ATTR_CMN_OBJTAG = 0x10 ++ ATTR_CMN_OBJTYPE = 0x8 ++ ATTR_CMN_OWNERID = 0x8000 ++ ATTR_CMN_PARENTID = 0x4000000 ++ ATTR_CMN_PAROBJID = 0x80 ++ ATTR_CMN_RETURNED_ATTRS = 0x80000000 ++ ATTR_CMN_SCRIPT = 0x100 ++ ATTR_CMN_SETMASK = 0x51c7ff00 ++ ATTR_CMN_USERACCESS = 0x200000 ++ ATTR_CMN_UUID = 0x800000 ++ ATTR_CMN_VALIDMASK = 0xffffffff ++ ATTR_CMN_VOLSETMASK = 0x6700 ++ ATTR_FILE_ALLOCSIZE = 0x4 ++ ATTR_FILE_CLUMPSIZE = 0x10 ++ ATTR_FILE_DATAALLOCSIZE = 0x400 ++ ATTR_FILE_DATAEXTENTS = 0x800 ++ ATTR_FILE_DATALENGTH = 0x200 ++ ATTR_FILE_DEVTYPE = 0x20 ++ ATTR_FILE_FILETYPE = 0x40 ++ ATTR_FILE_FORKCOUNT = 0x80 ++ ATTR_FILE_FORKLIST = 0x100 ++ ATTR_FILE_IOBLOCKSIZE = 0x8 ++ ATTR_FILE_LINKCOUNT = 0x1 ++ ATTR_FILE_RSRCALLOCSIZE = 0x2000 ++ ATTR_FILE_RSRCEXTENTS = 0x4000 ++ ATTR_FILE_RSRCLENGTH = 0x1000 ++ ATTR_FILE_SETMASK = 0x20 ++ ATTR_FILE_TOTALSIZE = 0x2 ++ ATTR_FILE_VALIDMASK = 0x37ff ++ ATTR_VOL_ALLOCATIONCLUMP = 0x40 ++ ATTR_VOL_ATTRIBUTES = 0x40000000 ++ ATTR_VOL_CAPABILITIES = 0x20000 ++ ATTR_VOL_DIRCOUNT = 0x400 ++ ATTR_VOL_ENCODINGSUSED = 0x10000 ++ ATTR_VOL_FILECOUNT = 0x200 ++ ATTR_VOL_FSTYPE = 0x1 ++ ATTR_VOL_INFO = 0x80000000 ++ ATTR_VOL_IOBLOCKSIZE = 0x80 ++ ATTR_VOL_MAXOBJCOUNT = 0x800 ++ ATTR_VOL_MINALLOCATION = 0x20 ++ ATTR_VOL_MOUNTEDDEVICE = 0x8000 ++ ATTR_VOL_MOUNTFLAGS = 0x4000 ++ ATTR_VOL_MOUNTPOINT = 0x1000 ++ ATTR_VOL_NAME = 0x2000 ++ ATTR_VOL_OBJCOUNT = 0x100 ++ ATTR_VOL_QUOTA_SIZE = 0x10000000 ++ ATTR_VOL_RESERVED_SIZE = 0x20000000 ++ ATTR_VOL_SETMASK = 0x80002000 ++ ATTR_VOL_SIGNATURE = 0x2 ++ ATTR_VOL_SIZE = 0x4 ++ ATTR_VOL_SPACEAVAIL = 0x10 ++ ATTR_VOL_SPACEFREE = 0x8 ++ ATTR_VOL_SPACEUSED = 0x800000 ++ ATTR_VOL_UUID = 0x40000 ++ ATTR_VOL_VALIDMASK = 0xf087ffff ++ 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 ++ BS0 = 0x0 ++ BS1 = 0x8000 ++ BSDLY = 0x8000 ++ CFLUSH = 0xf ++ CLOCAL = 0x8000 ++ CLOCK_MONOTONIC = 0x6 ++ CLOCK_MONOTONIC_RAW = 0x4 ++ CLOCK_MONOTONIC_RAW_APPROX = 0x5 ++ CLOCK_PROCESS_CPUTIME_ID = 0xc ++ CLOCK_REALTIME = 0x0 ++ CLOCK_THREAD_CPUTIME_ID = 0x10 ++ CLOCK_UPTIME_RAW = 0x8 ++ CLOCK_UPTIME_RAW_APPROX = 0x9 ++ CLONE_NOFOLLOW = 0x1 ++ CLONE_NOOWNERCOPY = 0x2 ++ CR0 = 0x0 ++ CR1 = 0x1000 ++ CR2 = 0x2000 ++ CR3 = 0x3000 ++ CRDLY = 0x3000 ++ CREAD = 0x800 ++ CRTSCTS = 0x30000 ++ CS5 = 0x0 ++ CS6 = 0x100 ++ CS7 = 0x200 ++ CS8 = 0x300 ++ CSIZE = 0x300 ++ CSTART = 0x11 ++ CSTATUS = 0x14 ++ CSTOP = 0x13 ++ CSTOPB = 0x400 ++ CSUSP = 0x1a ++ CTLIOCGINFO = 0xc0644e03 ++ CTL_HW = 0x6 ++ CTL_KERN = 0x1 ++ 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 = 0x10a ++ 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_DARWIN = 0x10a ++ 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_EXCEPT = -0xf ++ EVFILT_FS = -0x9 ++ EVFILT_MACHPORT = -0x8 ++ EVFILT_PROC = -0x5 ++ EVFILT_READ = -0x1 ++ EVFILT_SIGNAL = -0x6 ++ EVFILT_SYSCOUNT = 0x11 ++ EVFILT_THREADMARKER = 0x11 ++ 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_DISPATCH2 = 0x180 ++ 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 ++ EV_UDATA_SPECIFIC = 0x100 ++ EV_VANISHED = 0x200 ++ EXTA = 0x4b00 ++ EXTB = 0x9600 ++ EXTPROC = 0x800 ++ FD_CLOEXEC = 0x1 ++ FD_SETSIZE = 0x400 ++ FF0 = 0x0 ++ FF1 = 0x4000 ++ FFDLY = 0x4000 ++ FLUSHO = 0x800000 ++ FSOPT_ATTR_CMN_EXTENDED = 0x20 ++ FSOPT_NOFOLLOW = 0x1 ++ FSOPT_NOINMEMUPDATE = 0x2 ++ FSOPT_PACK_INVAL_ATTRS = 0x8 ++ FSOPT_REPORT_FULLSIZE = 0x4 ++ FSOPT_RETURN_REALDEV = 0x200 ++ F_ADDFILESIGS = 0x3d ++ F_ADDFILESIGS_FOR_DYLD_SIM = 0x53 ++ F_ADDFILESIGS_INFO = 0x67 ++ F_ADDFILESIGS_RETURN = 0x61 ++ F_ADDFILESUPPL = 0x68 ++ F_ADDSIGS = 0x3b ++ F_ALLOCATEALL = 0x4 ++ F_ALLOCATECONTIG = 0x2 ++ F_BARRIERFSYNC = 0x55 ++ F_CHECK_LV = 0x62 ++ 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_GETPATH_NOFIRMLINK = 0x66 ++ F_GETPROTECTIONCLASS = 0x3f ++ F_GETPROTECTIONLEVEL = 0x4d ++ F_GETSIGSINFO = 0x69 ++ 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_PUNCHHOLE = 0x63 ++ 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_SPECULATIVE_READ = 0x65 ++ F_THAW_FS = 0x36 ++ F_TRANSCODEKEY = 0x4b ++ F_TRIM_ACTIVE_FILE = 0x64 ++ F_UNLCK = 0x2 ++ F_VOLPOSMODE = 0x4 ++ F_WRLCK = 0x3 ++ HUPCL = 0x4000 ++ HW_MACHINE = 0x1 ++ 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_6LOWPAN = 0x40 ++ 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 ++ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x400473d1 ++ 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_3542DSTOPTS = 0x32 ++ IPV6_3542HOPLIMIT = 0x2f ++ IPV6_3542HOPOPTS = 0x31 ++ IPV6_3542NEXTHOP = 0x30 ++ IPV6_3542PKTINFO = 0x2e ++ IPV6_3542RTHDR = 0x33 ++ IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 ++ IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 ++ IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 0x30 ++ IPV6_AUTOFLOWLABEL = 0x3b ++ IPV6_BINDV6ONLY = 0x1b ++ IPV6_BOUND_IF = 0x7d ++ 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_FLOW_ECN_MASK = 0x3000 ++ 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_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 = 0x3d ++ IPV6_RECVRTHDR = 0x26 ++ IPV6_RECVTCLASS = 0x23 ++ IPV6_RTHDR = 0x33 ++ IPV6_RTHDRDSTOPTS = 0x39 ++ 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_USE_MIN_MTU = 0x2a ++ 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_DONTFRAG = 0x1c ++ 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_RECVTOS = 0x1b ++ 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 ++ KERN_HOSTNAME = 0xa ++ KERN_OSRELEASE = 0x2 ++ KERN_OSTYPE = 0x1 ++ KERN_VERSION = 0x4 ++ LOCAL_PEERCRED = 0x1 ++ LOCAL_PEEREPID = 0x3 ++ LOCAL_PEEREUUID = 0x5 ++ LOCAL_PEERPID = 0x2 ++ LOCAL_PEERTOKEN = 0x6 ++ LOCAL_PEERUUID = 0x4 ++ 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_PAGEOUT = 0xa ++ MADV_RANDOM = 0x1 ++ MADV_SEQUENTIAL = 0x2 ++ MADV_WILLNEED = 0x3 ++ MADV_ZERO_WIRED_PAGES = 0x6 ++ MAP_32BIT = 0x8000 ++ MAP_ANON = 0x1000 ++ MAP_ANONYMOUS = 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_RESILIENT_CODESIGN = 0x2000 ++ MAP_RESILIENT_MEDIA = 0x4000 ++ MAP_SHARED = 0x1 ++ MAP_TRANSLATED_ALLOW_EXECUTE = 0x20000 ++ MAP_UNIX03 = 0x40000 ++ MCAST_BLOCK_SOURCE = 0x54 ++ MCAST_EXCLUDE = 0x2 ++ MCAST_INCLUDE = 0x1 ++ MCAST_JOIN_GROUP = 0x50 ++ MCAST_JOIN_SOURCE_GROUP = 0x52 ++ MCAST_LEAVE_GROUP = 0x51 ++ MCAST_LEAVE_SOURCE_GROUP = 0x53 ++ MCAST_UNBLOCK_SOURCE = 0x55 ++ MCAST_UNDEFINED = 0x0 ++ MCL_CURRENT = 0x1 ++ MCL_FUTURE = 0x2 ++ MNT_ASYNC = 0x40 ++ MNT_AUTOMOUNTED = 0x400000 ++ MNT_CMDFLAGS = 0xf0000 ++ MNT_CPROTECT = 0x80 ++ MNT_DEFWRITE = 0x2000000 ++ MNT_DONTBROWSE = 0x100000 ++ MNT_DOVOLFS = 0x8000 ++ MNT_DWAIT = 0x4 ++ MNT_EXPORTED = 0x100 ++ MNT_EXT_ROOT_DATA_VOL = 0x1 ++ MNT_FORCE = 0x80000 ++ MNT_IGNORE_OWNERSHIP = 0x200000 ++ MNT_JOURNALED = 0x800000 ++ MNT_LOCAL = 0x1000 ++ MNT_MULTILABEL = 0x4000000 ++ MNT_NOATIME = 0x10000000 ++ MNT_NOBLOCK = 0x20000 ++ MNT_NODEV = 0x10 ++ MNT_NOEXEC = 0x4 ++ MNT_NOSUID = 0x8 ++ MNT_NOUSERXATTR = 0x1000000 ++ MNT_NOWAIT = 0x2 ++ MNT_QUARANTINE = 0x400 ++ MNT_QUOTA = 0x2000 ++ MNT_RDONLY = 0x1 ++ MNT_RELOAD = 0x40000 ++ MNT_REMOVABLE = 0x200 ++ MNT_ROOTFS = 0x4000 ++ MNT_SNAPSHOT = 0x40000000 ++ MNT_STRICTATIME = 0x80000000 ++ MNT_SYNCHRONOUS = 0x2 ++ MNT_UNION = 0x20 ++ MNT_UNKNOWNPERMISSIONS = 0x200000 ++ MNT_UPDATE = 0x10000 ++ MNT_VISFLAGMASK = 0xd7f0f7ff ++ MNT_WAIT = 0x1 ++ 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_NOSIGNAL = 0x80000 ++ 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_FLAGS_PRIV = 0xa ++ NET_RT_IFLIST = 0x3 ++ NET_RT_IFLIST2 = 0x6 ++ NET_RT_MAXID = 0xb ++ NET_RT_STAT = 0x4 ++ NET_RT_TRASH = 0x5 ++ NFDBITS = 0x20 ++ NL0 = 0x0 ++ NL1 = 0x100 ++ NL2 = 0x200 ++ NL3 = 0x300 ++ NLDLY = 0x300 ++ NOFLSH = 0x80000000 ++ NOKERNINFO = 0x2000000 ++ 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_FUNLOCK = 0x100 ++ NOTE_LEEWAY = 0x10 ++ NOTE_LINK = 0x10 ++ NOTE_LOWAT = 0x1 ++ NOTE_MACHTIME = 0x100 ++ NOTE_MACH_CONTINUOUS_TIME = 0x80 ++ NOTE_NONE = 0x80 ++ NOTE_NSECONDS = 0x4 ++ NOTE_OOB = 0x2 ++ 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 ++ OXTABS = 0x4 ++ 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_DP_GETRAWUNENCRYPTED = 0x2 ++ 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_NOFOLLOW_ANY = 0x20000000 ++ 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_MEMLOCK = 0x6 ++ RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 ++ 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_DEAD = 0x20000000 ++ RTF_DELCLONE = 0x80 ++ RTF_DONE = 0x40 ++ RTF_DYNAMIC = 0x10 ++ RTF_GATEWAY = 0x2 ++ RTF_GLOBAL = 0x40000000 ++ RTF_HOST = 0x4 ++ RTF_IFREF = 0x4000000 ++ RTF_IFSCOPE = 0x1000000 ++ RTF_LLDATA = 0x400 ++ 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 ++ SEEK_CUR = 0x1 ++ SEEK_DATA = 0x4 ++ SEEK_END = 0x2 ++ SEEK_HOLE = 0x3 ++ SEEK_SET = 0x0 ++ 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 ++ SIOCGIF6LOWPAN = 0xc02069c5 ++ SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALTMTU = 0xc0206948 ++ SIOCGIFASYNCMAP = 0xc020697c ++ SIOCGIFBOND = 0xc0206947 ++ SIOCGIFBRDADDR = 0xc0206923 ++ SIOCGIFCAP = 0xc020695b ++ SIOCGIFCONF = 0xc00c6924 ++ SIOCGIFDEVMTU = 0xc0206944 ++ SIOCGIFDSTADDR = 0xc0206922 ++ SIOCGIFFLAGS = 0xc0206911 ++ SIOCGIFFUNCTIONALTYPE = 0xc02069ad ++ 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 ++ SIOCGIFXMEDIA = 0xc02c6948 ++ SIOCGLOWAT = 0x40047303 ++ SIOCGPGRP = 0x40047309 ++ SIOCIFCREATE = 0xc0206978 ++ SIOCIFCREATE2 = 0xc020697a ++ SIOCIFDESTROY = 0x80206979 ++ SIOCIFGCLONERS = 0xc0106981 ++ SIOCRSLVMULTI = 0xc010693b ++ SIOCSDRVSPEC = 0x8028697b ++ SIOCSETVLAN = 0x8020697e ++ SIOCSHIWAT = 0x80047300 ++ SIOCSIF6LOWPAN = 0x802069c4 ++ 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_LOCAL = 0x0 ++ 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_NETSVC_MARKING_LEVEL = 0x1119 ++ SO_NET_SERVICE_TYPE = 0x1116 ++ 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_TRACKER_ATTRIBUTE_FLAGS_APP_APPROVED = 0x1 ++ SO_TRACKER_ATTRIBUTE_FLAGS_DOMAIN_SHORT = 0x4 ++ SO_TRACKER_ATTRIBUTE_FLAGS_TRACKER = 0x2 ++ SO_TRACKER_TRANSPARENCY_VERSION = 0x3 ++ 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 ++ TAB0 = 0x0 ++ TAB1 = 0x400 ++ TAB2 = 0x800 ++ TAB3 = 0x4 ++ TABDLY = 0xc04 ++ TCIFLUSH = 0x1 ++ TCIOFF = 0x3 ++ TCIOFLUSH = 0x3 ++ TCION = 0x4 ++ TCOFLUSH = 0x2 ++ TCOOFF = 0x1 ++ TCOON = 0x2 ++ TCPOPT_CC = 0xb ++ TCPOPT_CCECHO = 0xd ++ TCPOPT_CCNEW = 0xc ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FASTOPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_HDR = 0x1010500 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SACK_PERMIT_HDR = 0x1010402 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_TSTAMP_HDR = 0x101080a ++ TCPOPT_WINDOW = 0x3 ++ TCP_CONNECTIONTIMEOUT = 0x20 ++ TCP_CONNECTION_INFO = 0x106 ++ TCP_ENABLE_ECN = 0x104 ++ TCP_FASTOPEN = 0x105 ++ 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 ++ VMADDR_CID_ANY = 0xffffffff ++ VMADDR_CID_HOST = 0x2 ++ VMADDR_CID_HYPERVISOR = 0x0 ++ VMADDR_CID_RESERVED = 0x1 ++ VMADDR_PORT_ANY = 0xffffffff ++ VMIN = 0x10 ++ VM_LOADAVG = 0x2 ++ VM_MACHFACTOR = 0x4 ++ VM_MAXID = 0x6 ++ VM_METER = 0x1 ++ VM_SWAPUSAGE = 0x5 ++ 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 ++ XATTR_CREATE = 0x2 ++ XATTR_NODEFAULT = 0x10 ++ XATTR_NOFOLLOW = 0x1 ++ XATTR_NOSECURITY = 0x8 ++ XATTR_REPLACE = 0x4 ++ XATTR_SHOWCOMPRESSION = 0x20 + ) + + // Errors +diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +index 4409001..f8c2c51 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +@@ -151,6 +151,7 @@ const ( + BIOCSETF = 0x80084267 + BIOCSETFNR = 0x80084282 + BIOCSETIF = 0x8020426c ++ BIOCSETVLANPCP = 0x80044285 + BIOCSETWF = 0x8008427b + BIOCSETZBUF = 0x800c4281 + BIOCSHDRCMPLT = 0x80044275 +@@ -447,7 +448,7 @@ const ( + DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 + DLT_INFINIBAND = 0xf7 + DLT_IPFILTER = 0x74 +- DLT_IPMB = 0xc7 ++ DLT_IPMB_KONTRON = 0xc7 + DLT_IPMB_LINUX = 0xd1 + DLT_IPMI_HPM_2 = 0x104 + DLT_IPNET = 0xe2 +@@ -487,10 +488,11 @@ const ( + DLT_LINUX_LAPD = 0xb1 + DLT_LINUX_PPP_WITHDIRECTION = 0xa6 + DLT_LINUX_SLL = 0x71 ++ DLT_LINUX_SLL2 = 0x114 + DLT_LOOP = 0x6c + DLT_LORATAP = 0x10e + DLT_LTALK = 0x72 +- DLT_MATCHING_MAX = 0x113 ++ DLT_MATCHING_MAX = 0x114 + DLT_MATCHING_MIN = 0x68 + DLT_MFR = 0xb6 + DLT_MOST = 0xd3 +@@ -734,6 +736,7 @@ const ( + IPPROTO_CMTP = 0x26 + IPPROTO_CPHB = 0x49 + IPPROTO_CPNX = 0x48 ++ IPPROTO_DCCP = 0x21 + IPPROTO_DDP = 0x25 + IPPROTO_DGP = 0x56 + IPPROTO_DIVERT = 0x102 +@@ -814,7 +817,6 @@ const ( + IPPROTO_SCTP = 0x84 + IPPROTO_SDRP = 0x2a + IPPROTO_SEND = 0x103 +- IPPROTO_SEP = 0x21 + IPPROTO_SHIM6 = 0x8c + IPPROTO_SKIP = 0x39 + IPPROTO_SPACER = 0x7fff +@@ -911,6 +913,7 @@ const ( + IPV6_V6ONLY = 0x1b + IPV6_VERSION = 0x60 + IPV6_VERSION_MASK = 0xf0 ++ IPV6_VLAN_PCP = 0x4b + IP_ADD_MEMBERSHIP = 0xc + IP_ADD_SOURCE_MEMBERSHIP = 0x46 + IP_BINDANY = 0x18 +@@ -989,8 +992,12 @@ const ( + IP_TOS = 0x3 + IP_TTL = 0x4 + IP_UNBLOCK_SOURCE = 0x49 ++ IP_VLAN_PCP = 0x4b + ISIG = 0x80 + ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 + IXANY = 0x800 + IXOFF = 0x400 + IXON = 0x200 +@@ -1000,7 +1007,6 @@ const ( + KERN_VERSION = 0x4 + LOCAL_CONNWAIT = 0x4 + LOCAL_CREDS = 0x2 +- LOCAL_CREDS_PERSISTENT = 0x3 + LOCAL_PEERCRED = 0x1 + LOCAL_VENDOR = 0x80000000 + LOCK_EX = 0x2 +@@ -1179,6 +1185,8 @@ const ( + O_NONBLOCK = 0x4 + O_RDONLY = 0x0 + O_RDWR = 0x2 ++ O_RESOLVE_BENEATH = 0x800000 ++ O_SEARCH = 0x40000 + O_SHLOCK = 0x10 + O_SYNC = 0x80 + O_TRUNC = 0x400 +@@ -1189,6 +1197,10 @@ const ( + PARMRK = 0x8 + PARODD = 0x2000 + PENDIN = 0x20000000 ++ PIOD_READ_D = 0x1 ++ PIOD_READ_I = 0x3 ++ PIOD_WRITE_D = 0x2 ++ PIOD_WRITE_I = 0x4 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 +@@ -1196,6 +1208,60 @@ const ( + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 ++ PTRACE_DEFAULT = 0x1 ++ PTRACE_EXEC = 0x1 ++ PTRACE_FORK = 0x8 ++ PTRACE_LWP = 0x10 ++ PTRACE_SCE = 0x2 ++ PTRACE_SCX = 0x4 ++ PTRACE_SYSCALL = 0x6 ++ PTRACE_VFORK = 0x20 ++ PT_ATTACH = 0xa ++ PT_CLEARSTEP = 0x10 ++ PT_CONTINUE = 0x7 ++ PT_DETACH = 0xb ++ PT_FIRSTMACH = 0x40 ++ PT_FOLLOW_FORK = 0x17 ++ PT_GETDBREGS = 0x25 ++ PT_GETFPREGS = 0x23 ++ PT_GETFSBASE = 0x47 ++ PT_GETGSBASE = 0x49 ++ PT_GETLWPLIST = 0xf ++ PT_GETNUMLWPS = 0xe ++ PT_GETREGS = 0x21 ++ PT_GETXMMREGS = 0x40 ++ PT_GETXSTATE = 0x45 ++ PT_GETXSTATE_INFO = 0x44 ++ PT_GET_EVENT_MASK = 0x19 ++ PT_GET_SC_ARGS = 0x1b ++ PT_GET_SC_RET = 0x1c ++ PT_IO = 0xc ++ PT_KILL = 0x8 ++ PT_LWPINFO = 0xd ++ PT_LWP_EVENTS = 0x18 ++ PT_READ_D = 0x2 ++ PT_READ_I = 0x1 ++ PT_RESUME = 0x13 ++ PT_SETDBREGS = 0x26 ++ PT_SETFPREGS = 0x24 ++ PT_SETFSBASE = 0x48 ++ PT_SETGSBASE = 0x4a ++ PT_SETREGS = 0x22 ++ PT_SETSTEP = 0x11 ++ PT_SETXMMREGS = 0x41 ++ PT_SETXSTATE = 0x46 ++ PT_SET_EVENT_MASK = 0x1a ++ PT_STEP = 0x9 ++ PT_SUSPEND = 0x12 ++ PT_SYSCALL = 0x16 ++ PT_TO_SCE = 0x14 ++ PT_TO_SCX = 0x15 ++ PT_TRACE_ME = 0x0 ++ PT_VM_ENTRY = 0x29 ++ PT_VM_TIMESTAMP = 0x28 ++ PT_WRITE_D = 0x5 ++ PT_WRITE_I = 0x4 ++ P_ZONEID = 0xc + RLIMIT_AS = 0xa + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 +@@ -1320,10 +1386,12 @@ const ( + SIOCGHWADDR = 0xc020693e + SIOCGI2C = 0xc020693d + SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALIAS = 0xc044692d + SIOCGIFBRDADDR = 0xc0206923 + SIOCGIFCAP = 0xc020691f + SIOCGIFCONF = 0xc0086924 + SIOCGIFDESCR = 0xc020692a ++ SIOCGIFDOWNREASON = 0xc058699a + SIOCGIFDSTADDR = 0xc0206922 + SIOCGIFFIB = 0xc020695c + SIOCGIFFLAGS = 0xc0206911 +@@ -1414,6 +1482,7 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 ++ SO_RERROR = 0x20000 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_REUSEPORT_LB = 0x10000 +@@ -1472,22 +1541,40 @@ const ( + TCOFLUSH = 0x2 + TCOOFF = 0x1 + TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FAST_OPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_PAD = 0x0 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_WINDOW = 0x3 + TCP_BBR_ACK_COMP_ALG = 0x448 ++ TCP_BBR_ALGORITHM = 0x43b + TCP_BBR_DRAIN_INC_EXTRA = 0x43c + TCP_BBR_DRAIN_PG = 0x42e + TCP_BBR_EXTRA_GAIN = 0x449 ++ TCP_BBR_EXTRA_STATE = 0x453 ++ TCP_BBR_FLOOR_MIN_TSO = 0x454 ++ TCP_BBR_HDWR_PACE = 0x451 ++ TCP_BBR_HOLD_TARGET = 0x436 + TCP_BBR_IWINTSO = 0x42b + TCP_BBR_LOWGAIN_FD = 0x436 + TCP_BBR_LOWGAIN_HALF = 0x435 + TCP_BBR_LOWGAIN_THRESH = 0x434 + TCP_BBR_MAX_RTO = 0x439 + TCP_BBR_MIN_RTO = 0x438 ++ TCP_BBR_MIN_TOPACEOUT = 0x455 + TCP_BBR_ONE_RETRAN = 0x431 + TCP_BBR_PACE_CROSS = 0x442 + TCP_BBR_PACE_DEL_TAR = 0x43f ++ TCP_BBR_PACE_OH = 0x435 + TCP_BBR_PACE_PER_SEC = 0x43e + TCP_BBR_PACE_SEG_MAX = 0x440 + TCP_BBR_PACE_SEG_MIN = 0x441 ++ TCP_BBR_POLICER_DETECT = 0x457 + TCP_BBR_PROBE_RTT_GAIN = 0x44d + TCP_BBR_PROBE_RTT_INT = 0x430 + TCP_BBR_PROBE_RTT_LEN = 0x44e +@@ -1496,12 +1583,18 @@ const ( + TCP_BBR_REC_OVER_HPTS = 0x43a + TCP_BBR_RETRAN_WTSO = 0x44b + TCP_BBR_RWND_IS_APP = 0x42f ++ TCP_BBR_SEND_IWND_IN_TSO = 0x44f + TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d + TCP_BBR_STARTUP_LOSS_EXIT = 0x432 + TCP_BBR_STARTUP_PG = 0x42d ++ TCP_BBR_TMR_PACE_OH = 0x448 ++ TCP_BBR_TSLIMITS = 0x434 ++ TCP_BBR_TSTMP_RAISES = 0x456 + TCP_BBR_UNLIMITED = 0x43b + TCP_BBR_USEDEL_RATE = 0x437 + TCP_BBR_USE_LOWGAIN = 0x433 ++ TCP_BBR_USE_RACK_CHEAT = 0x450 ++ TCP_BBR_UTTER_MAX_TSO = 0x452 + TCP_CA_NAME_MAX = 0x10 + TCP_CCALGOOPT = 0x41 + TCP_CONGESTION = 0x40 +@@ -1541,6 +1634,7 @@ const ( + TCP_PCAP_OUT = 0x800 + TCP_RACK_EARLY_RECOV = 0x423 + TCP_RACK_EARLY_SEG = 0x424 ++ TCP_RACK_GP_INCREASE = 0x446 + TCP_RACK_IDLE_REDUCE_HIGH = 0x444 + TCP_RACK_MIN_PACE = 0x445 + TCP_RACK_MIN_PACE_SEG = 0x446 +@@ -1554,7 +1648,6 @@ const ( + TCP_RACK_PRR_SENDALOT = 0x421 + TCP_RACK_REORD_FADE = 0x426 + TCP_RACK_REORD_THRESH = 0x425 +- TCP_RACK_SESS_CWV = 0x42a + TCP_RACK_TLP_INC_VAR = 0x429 + TCP_RACK_TLP_REDUCE = 0x41c + TCP_RACK_TLP_THRESH = 0x427 +@@ -1694,12 +1787,13 @@ const ( + EIDRM = syscall.Errno(0x52) + EILSEQ = syscall.Errno(0x56) + EINPROGRESS = syscall.Errno(0x24) ++ EINTEGRITY = syscall.Errno(0x61) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x38) + EISDIR = syscall.Errno(0x15) +- ELAST = syscall.Errno(0x60) ++ ELAST = syscall.Errno(0x61) + ELOOP = syscall.Errno(0x3e) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) +@@ -1842,7 +1936,7 @@ var errorList = [...]struct { + {32, "EPIPE", "broken pipe"}, + {33, "EDOM", "numerical argument out of domain"}, + {34, "ERANGE", "result too large"}, +- {35, "EAGAIN", "resource temporarily unavailable"}, ++ {35, "EWOULDBLOCK", "resource temporarily unavailable"}, + {36, "EINPROGRESS", "operation now in progress"}, + {37, "EALREADY", "operation already in progress"}, + {38, "ENOTSOCK", "socket operation on non-socket"}, +@@ -1904,6 +1998,7 @@ var errorList = [...]struct { + {94, "ECAPMODE", "not permitted in capability mode"}, + {95, "ENOTRECOVERABLE", "state not recoverable"}, + {96, "EOWNERDEAD", "previous owner died"}, ++ {97, "EINTEGRITY", "integrity check failed"}, + } + + // Signal table +diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +index 64520d3..96310c3 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +@@ -151,6 +151,7 @@ const ( + BIOCSETF = 0x80104267 + BIOCSETFNR = 0x80104282 + BIOCSETIF = 0x8020426c ++ BIOCSETVLANPCP = 0x80044285 + BIOCSETWF = 0x8010427b + BIOCSETZBUF = 0x80184281 + BIOCSHDRCMPLT = 0x80044275 +@@ -447,7 +448,7 @@ const ( + DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 + DLT_INFINIBAND = 0xf7 + DLT_IPFILTER = 0x74 +- DLT_IPMB = 0xc7 ++ DLT_IPMB_KONTRON = 0xc7 + DLT_IPMB_LINUX = 0xd1 + DLT_IPMI_HPM_2 = 0x104 + DLT_IPNET = 0xe2 +@@ -487,10 +488,11 @@ const ( + DLT_LINUX_LAPD = 0xb1 + DLT_LINUX_PPP_WITHDIRECTION = 0xa6 + DLT_LINUX_SLL = 0x71 ++ DLT_LINUX_SLL2 = 0x114 + DLT_LOOP = 0x6c + DLT_LORATAP = 0x10e + DLT_LTALK = 0x72 +- DLT_MATCHING_MAX = 0x113 ++ DLT_MATCHING_MAX = 0x114 + DLT_MATCHING_MIN = 0x68 + DLT_MFR = 0xb6 + DLT_MOST = 0xd3 +@@ -734,6 +736,7 @@ const ( + IPPROTO_CMTP = 0x26 + IPPROTO_CPHB = 0x49 + IPPROTO_CPNX = 0x48 ++ IPPROTO_DCCP = 0x21 + IPPROTO_DDP = 0x25 + IPPROTO_DGP = 0x56 + IPPROTO_DIVERT = 0x102 +@@ -814,7 +817,6 @@ const ( + IPPROTO_SCTP = 0x84 + IPPROTO_SDRP = 0x2a + IPPROTO_SEND = 0x103 +- IPPROTO_SEP = 0x21 + IPPROTO_SHIM6 = 0x8c + IPPROTO_SKIP = 0x39 + IPPROTO_SPACER = 0x7fff +@@ -911,6 +913,7 @@ const ( + IPV6_V6ONLY = 0x1b + IPV6_VERSION = 0x60 + IPV6_VERSION_MASK = 0xf0 ++ IPV6_VLAN_PCP = 0x4b + IP_ADD_MEMBERSHIP = 0xc + IP_ADD_SOURCE_MEMBERSHIP = 0x46 + IP_BINDANY = 0x18 +@@ -989,8 +992,12 @@ const ( + IP_TOS = 0x3 + IP_TTL = 0x4 + IP_UNBLOCK_SOURCE = 0x49 ++ IP_VLAN_PCP = 0x4b + ISIG = 0x80 + ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 + IXANY = 0x800 + IXOFF = 0x400 + IXON = 0x200 +@@ -1000,7 +1007,6 @@ const ( + KERN_VERSION = 0x4 + LOCAL_CONNWAIT = 0x4 + LOCAL_CREDS = 0x2 +- LOCAL_CREDS_PERSISTENT = 0x3 + LOCAL_PEERCRED = 0x1 + LOCAL_VENDOR = 0x80000000 + LOCK_EX = 0x2 +@@ -1180,6 +1186,8 @@ const ( + O_NONBLOCK = 0x4 + O_RDONLY = 0x0 + O_RDWR = 0x2 ++ O_RESOLVE_BENEATH = 0x800000 ++ O_SEARCH = 0x40000 + O_SHLOCK = 0x10 + O_SYNC = 0x80 + O_TRUNC = 0x400 +@@ -1190,6 +1198,10 @@ const ( + PARMRK = 0x8 + PARODD = 0x2000 + PENDIN = 0x20000000 ++ PIOD_READ_D = 0x1 ++ PIOD_READ_I = 0x3 ++ PIOD_WRITE_D = 0x2 ++ PIOD_WRITE_I = 0x4 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 +@@ -1197,6 +1209,58 @@ const ( + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 ++ PTRACE_DEFAULT = 0x1 ++ PTRACE_EXEC = 0x1 ++ PTRACE_FORK = 0x8 ++ PTRACE_LWP = 0x10 ++ PTRACE_SCE = 0x2 ++ PTRACE_SCX = 0x4 ++ PTRACE_SYSCALL = 0x6 ++ PTRACE_VFORK = 0x20 ++ PT_ATTACH = 0xa ++ PT_CLEARSTEP = 0x10 ++ PT_CONTINUE = 0x7 ++ PT_DETACH = 0xb ++ PT_FIRSTMACH = 0x40 ++ PT_FOLLOW_FORK = 0x17 ++ PT_GETDBREGS = 0x25 ++ PT_GETFPREGS = 0x23 ++ PT_GETFSBASE = 0x47 ++ PT_GETGSBASE = 0x49 ++ PT_GETLWPLIST = 0xf ++ PT_GETNUMLWPS = 0xe ++ PT_GETREGS = 0x21 ++ PT_GETXSTATE = 0x45 ++ PT_GETXSTATE_INFO = 0x44 ++ PT_GET_EVENT_MASK = 0x19 ++ PT_GET_SC_ARGS = 0x1b ++ PT_GET_SC_RET = 0x1c ++ PT_IO = 0xc ++ PT_KILL = 0x8 ++ PT_LWPINFO = 0xd ++ PT_LWP_EVENTS = 0x18 ++ PT_READ_D = 0x2 ++ PT_READ_I = 0x1 ++ PT_RESUME = 0x13 ++ PT_SETDBREGS = 0x26 ++ PT_SETFPREGS = 0x24 ++ PT_SETFSBASE = 0x48 ++ PT_SETGSBASE = 0x4a ++ PT_SETREGS = 0x22 ++ PT_SETSTEP = 0x11 ++ PT_SETXSTATE = 0x46 ++ PT_SET_EVENT_MASK = 0x1a ++ PT_STEP = 0x9 ++ PT_SUSPEND = 0x12 ++ PT_SYSCALL = 0x16 ++ PT_TO_SCE = 0x14 ++ PT_TO_SCX = 0x15 ++ PT_TRACE_ME = 0x0 ++ PT_VM_ENTRY = 0x29 ++ PT_VM_TIMESTAMP = 0x28 ++ PT_WRITE_D = 0x5 ++ PT_WRITE_I = 0x4 ++ P_ZONEID = 0xc + RLIMIT_AS = 0xa + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 +@@ -1321,10 +1385,12 @@ const ( + SIOCGHWADDR = 0xc020693e + SIOCGI2C = 0xc020693d + SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALIAS = 0xc044692d + SIOCGIFBRDADDR = 0xc0206923 + SIOCGIFCAP = 0xc020691f + SIOCGIFCONF = 0xc0106924 + SIOCGIFDESCR = 0xc020692a ++ SIOCGIFDOWNREASON = 0xc058699a + SIOCGIFDSTADDR = 0xc0206922 + SIOCGIFFIB = 0xc020695c + SIOCGIFFLAGS = 0xc0206911 +@@ -1415,6 +1481,7 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 ++ SO_RERROR = 0x20000 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_REUSEPORT_LB = 0x10000 +@@ -1473,22 +1540,40 @@ const ( + TCOFLUSH = 0x2 + TCOOFF = 0x1 + TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FAST_OPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_PAD = 0x0 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_WINDOW = 0x3 + TCP_BBR_ACK_COMP_ALG = 0x448 ++ TCP_BBR_ALGORITHM = 0x43b + TCP_BBR_DRAIN_INC_EXTRA = 0x43c + TCP_BBR_DRAIN_PG = 0x42e + TCP_BBR_EXTRA_GAIN = 0x449 ++ TCP_BBR_EXTRA_STATE = 0x453 ++ TCP_BBR_FLOOR_MIN_TSO = 0x454 ++ TCP_BBR_HDWR_PACE = 0x451 ++ TCP_BBR_HOLD_TARGET = 0x436 + TCP_BBR_IWINTSO = 0x42b + TCP_BBR_LOWGAIN_FD = 0x436 + TCP_BBR_LOWGAIN_HALF = 0x435 + TCP_BBR_LOWGAIN_THRESH = 0x434 + TCP_BBR_MAX_RTO = 0x439 + TCP_BBR_MIN_RTO = 0x438 ++ TCP_BBR_MIN_TOPACEOUT = 0x455 + TCP_BBR_ONE_RETRAN = 0x431 + TCP_BBR_PACE_CROSS = 0x442 + TCP_BBR_PACE_DEL_TAR = 0x43f ++ TCP_BBR_PACE_OH = 0x435 + TCP_BBR_PACE_PER_SEC = 0x43e + TCP_BBR_PACE_SEG_MAX = 0x440 + TCP_BBR_PACE_SEG_MIN = 0x441 ++ TCP_BBR_POLICER_DETECT = 0x457 + TCP_BBR_PROBE_RTT_GAIN = 0x44d + TCP_BBR_PROBE_RTT_INT = 0x430 + TCP_BBR_PROBE_RTT_LEN = 0x44e +@@ -1497,12 +1582,18 @@ const ( + TCP_BBR_REC_OVER_HPTS = 0x43a + TCP_BBR_RETRAN_WTSO = 0x44b + TCP_BBR_RWND_IS_APP = 0x42f ++ TCP_BBR_SEND_IWND_IN_TSO = 0x44f + TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d + TCP_BBR_STARTUP_LOSS_EXIT = 0x432 + TCP_BBR_STARTUP_PG = 0x42d ++ TCP_BBR_TMR_PACE_OH = 0x448 ++ TCP_BBR_TSLIMITS = 0x434 ++ TCP_BBR_TSTMP_RAISES = 0x456 + TCP_BBR_UNLIMITED = 0x43b + TCP_BBR_USEDEL_RATE = 0x437 + TCP_BBR_USE_LOWGAIN = 0x433 ++ TCP_BBR_USE_RACK_CHEAT = 0x450 ++ TCP_BBR_UTTER_MAX_TSO = 0x452 + TCP_CA_NAME_MAX = 0x10 + TCP_CCALGOOPT = 0x41 + TCP_CONGESTION = 0x40 +@@ -1542,6 +1633,7 @@ const ( + TCP_PCAP_OUT = 0x800 + TCP_RACK_EARLY_RECOV = 0x423 + TCP_RACK_EARLY_SEG = 0x424 ++ TCP_RACK_GP_INCREASE = 0x446 + TCP_RACK_IDLE_REDUCE_HIGH = 0x444 + TCP_RACK_MIN_PACE = 0x445 + TCP_RACK_MIN_PACE_SEG = 0x446 +@@ -1555,7 +1647,6 @@ const ( + TCP_RACK_PRR_SENDALOT = 0x421 + TCP_RACK_REORD_FADE = 0x426 + TCP_RACK_REORD_THRESH = 0x425 +- TCP_RACK_SESS_CWV = 0x42a + TCP_RACK_TLP_INC_VAR = 0x429 + TCP_RACK_TLP_REDUCE = 0x41c + TCP_RACK_TLP_THRESH = 0x427 +@@ -1693,12 +1784,13 @@ const ( + EIDRM = syscall.Errno(0x52) + EILSEQ = syscall.Errno(0x56) + EINPROGRESS = syscall.Errno(0x24) ++ EINTEGRITY = syscall.Errno(0x61) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x38) + EISDIR = syscall.Errno(0x15) +- ELAST = syscall.Errno(0x60) ++ ELAST = syscall.Errno(0x61) + ELOOP = syscall.Errno(0x3e) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) +@@ -1841,7 +1933,7 @@ var errorList = [...]struct { + {32, "EPIPE", "broken pipe"}, + {33, "EDOM", "numerical argument out of domain"}, + {34, "ERANGE", "result too large"}, +- {35, "EAGAIN", "resource temporarily unavailable"}, ++ {35, "EWOULDBLOCK", "resource temporarily unavailable"}, + {36, "EINPROGRESS", "operation now in progress"}, + {37, "EALREADY", "operation already in progress"}, + {38, "ENOTSOCK", "socket operation on non-socket"}, +@@ -1903,6 +1995,7 @@ var errorList = [...]struct { + {94, "ECAPMODE", "not permitted in capability mode"}, + {95, "ENOTRECOVERABLE", "state not recoverable"}, + {96, "EOWNERDEAD", "previous owner died"}, ++ {97, "EINTEGRITY", "integrity check failed"}, + } + + // Signal table +diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +index 99e9a0e..777b69d 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +@@ -151,6 +151,7 @@ const ( + BIOCSETF = 0x80084267 + BIOCSETFNR = 0x80084282 + BIOCSETIF = 0x8020426c ++ BIOCSETVLANPCP = 0x80044285 + BIOCSETWF = 0x8008427b + BIOCSETZBUF = 0x800c4281 + BIOCSHDRCMPLT = 0x80044275 +@@ -362,7 +363,7 @@ const ( + CTL_KERN = 0x1 + CTL_MAXNAME = 0x18 + CTL_NET = 0x4 +- DIOCGATTR = 0xc144648e ++ DIOCGATTR = 0xc148648e + DIOCGDELETE = 0x80106488 + DIOCGFLUSH = 0x20006487 + DIOCGFRONTSTUFF = 0x40086486 +@@ -377,7 +378,7 @@ const ( + DIOCGSTRIPESIZE = 0x4008648b + DIOCSKERNELDUMP = 0x804c6490 + DIOCSKERNELDUMP_FREEBSD11 = 0x80046485 +- DIOCZONECMD = 0xc06c648f ++ DIOCZONECMD = 0xc078648f + DLT_A429 = 0xb8 + DLT_A653_ICM = 0xb9 + DLT_AIRONET_HEADER = 0x78 +@@ -407,7 +408,9 @@ const ( + DLT_C_HDLC_WITH_DIR = 0xcd + DLT_DBUS = 0xe7 + DLT_DECT = 0xdd ++ DLT_DISPLAYPORT_AUX = 0x113 + DLT_DOCSIS = 0x8f ++ DLT_DOCSIS31_XRA31 = 0x111 + DLT_DVB_CI = 0xeb + DLT_ECONET = 0x73 + DLT_EN10MB = 0x1 +@@ -417,6 +420,7 @@ const ( + DLT_ERF = 0xc5 + DLT_ERF_ETH = 0xaf + DLT_ERF_POS = 0xb0 ++ DLT_ETHERNET_MPACKET = 0x112 + DLT_FC_2 = 0xe0 + DLT_FC_2_WITH_FRAME_DELIMS = 0xe1 + DLT_FDDI = 0xa +@@ -444,7 +448,7 @@ const ( + DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 + DLT_INFINIBAND = 0xf7 + DLT_IPFILTER = 0x74 +- DLT_IPMB = 0xc7 ++ DLT_IPMB_KONTRON = 0xc7 + DLT_IPMB_LINUX = 0xd1 + DLT_IPMI_HPM_2 = 0x104 + DLT_IPNET = 0xe2 +@@ -484,9 +488,11 @@ const ( + DLT_LINUX_LAPD = 0xb1 + DLT_LINUX_PPP_WITHDIRECTION = 0xa6 + DLT_LINUX_SLL = 0x71 ++ DLT_LINUX_SLL2 = 0x114 + DLT_LOOP = 0x6c ++ DLT_LORATAP = 0x10e + DLT_LTALK = 0x72 +- DLT_MATCHING_MAX = 0x109 ++ DLT_MATCHING_MAX = 0x114 + DLT_MATCHING_MIN = 0x68 + DLT_MFR = 0xb6 + DLT_MOST = 0xd3 +@@ -502,7 +508,9 @@ const ( + DLT_NFC_LLCP = 0xf5 + DLT_NFLOG = 0xef + DLT_NG40 = 0xf4 ++ DLT_NORDIC_BLE = 0x110 + DLT_NULL = 0x0 ++ DLT_OPENFLOW = 0x10b + DLT_PCI_EXP = 0x7d + DLT_PFLOG = 0x75 + DLT_PFSYNC = 0x79 +@@ -526,15 +534,18 @@ const ( + DLT_RTAC_SERIAL = 0xfa + DLT_SCCP = 0x8e + DLT_SCTP = 0xf8 ++ DLT_SDLC = 0x10c + DLT_SITA = 0xc4 + DLT_SLIP = 0x8 + DLT_SLIP_BSDOS = 0xd + DLT_STANAG_5066_D_PDU = 0xed + DLT_SUNATM = 0x7b + DLT_SYMANTEC_FIREWALL = 0x63 ++ DLT_TI_LLN_SNIFFER = 0x10d + DLT_TZSP = 0x80 + DLT_USB = 0xba + DLT_USBPCAP = 0xf9 ++ DLT_USB_DARWIN = 0x10a + DLT_USB_FREEBSD = 0xba + DLT_USB_LINUX = 0xbd + DLT_USB_LINUX_MMAPPED = 0xdc +@@ -554,6 +565,7 @@ const ( + DLT_USER7 = 0x9a + DLT_USER8 = 0x9b + DLT_USER9 = 0x9c ++ DLT_VSOCK = 0x10f + DLT_WATTSTOPPER_DLM = 0x107 + DLT_WIHART = 0xdf + DLT_WIRESHARK_UPPER_PDU = 0xfc +@@ -578,6 +590,7 @@ const ( + ECHONL = 0x10 + ECHOPRT = 0x20 + EVFILT_AIO = -0x3 ++ EVFILT_EMPTY = -0xd + EVFILT_FS = -0x9 + EVFILT_LIO = -0xa + EVFILT_PROC = -0x5 +@@ -585,11 +598,12 @@ const ( + EVFILT_READ = -0x1 + EVFILT_SENDFILE = -0xc + EVFILT_SIGNAL = -0x6 +- EVFILT_SYSCOUNT = 0xc ++ EVFILT_SYSCOUNT = 0xd + EVFILT_TIMER = -0x7 + EVFILT_USER = -0xb + EVFILT_VNODE = -0x4 + EVFILT_WRITE = -0x2 ++ EVNAMEMAP_NAME_SIZE = 0x40 + EV_ADD = 0x1 + EV_CLEAR = 0x20 + EV_DELETE = 0x2 +@@ -606,6 +620,7 @@ const ( + EV_RECEIPT = 0x40 + EV_SYSFLAGS = 0xf000 + EXTA = 0x4b00 ++ EXTATTR_MAXNAMELEN = 0xff + EXTATTR_NAMESPACE_EMPTY = 0x0 + EXTATTR_NAMESPACE_SYSTEM = 0x2 + EXTATTR_NAMESPACE_USER = 0x1 +@@ -647,6 +662,7 @@ const ( + IEXTEN = 0x400 + IFAN_ARRIVAL = 0x0 + IFAN_DEPARTURE = 0x1 ++ IFCAP_WOL_MAGIC = 0x2000 + IFF_ALLMULTI = 0x200 + IFF_ALTPHYS = 0x4000 + IFF_BROADCAST = 0x2 +@@ -663,6 +679,7 @@ const ( + IFF_MONITOR = 0x40000 + IFF_MULTICAST = 0x8000 + IFF_NOARP = 0x80 ++ IFF_NOGROUP = 0x800000 + IFF_OACTIVE = 0x400 + IFF_POINTOPOINT = 0x10 + IFF_PPROMISC = 0x20000 +@@ -719,6 +736,7 @@ const ( + IPPROTO_CMTP = 0x26 + IPPROTO_CPHB = 0x49 + IPPROTO_CPNX = 0x48 ++ IPPROTO_DCCP = 0x21 + IPPROTO_DDP = 0x25 + IPPROTO_DGP = 0x56 + IPPROTO_DIVERT = 0x102 +@@ -799,7 +817,6 @@ const ( + IPPROTO_SCTP = 0x84 + IPPROTO_SDRP = 0x2a + IPPROTO_SEND = 0x103 +- IPPROTO_SEP = 0x21 + IPPROTO_SHIM6 = 0x8c + IPPROTO_SKIP = 0x39 + IPPROTO_SPACER = 0x7fff +@@ -837,6 +854,7 @@ const ( + IPV6_DSTOPTS = 0x32 + IPV6_FLOWID = 0x43 + IPV6_FLOWINFO_MASK = 0xffffff0f ++ IPV6_FLOWLABEL_LEN = 0x14 + IPV6_FLOWLABEL_MASK = 0xffff0f00 + IPV6_FLOWTYPE = 0x44 + IPV6_FRAGTTL = 0x78 +@@ -857,13 +875,13 @@ const ( + 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_ORIGDSTADDR = 0x48 + IPV6_PATHMTU = 0x2c + IPV6_PKTINFO = 0x2e + IPV6_PORTRANGE = 0xe +@@ -875,6 +893,7 @@ const ( + IPV6_RECVFLOWID = 0x46 + IPV6_RECVHOPLIMIT = 0x25 + IPV6_RECVHOPOPTS = 0x27 ++ IPV6_RECVORIGDSTADDR = 0x48 + IPV6_RECVPATHMTU = 0x2b + IPV6_RECVPKTINFO = 0x24 + IPV6_RECVRSSBUCKETID = 0x47 +@@ -894,6 +913,7 @@ const ( + IPV6_V6ONLY = 0x1b + IPV6_VERSION = 0x60 + IPV6_VERSION_MASK = 0xf0 ++ IPV6_VLAN_PCP = 0x4b + IP_ADD_MEMBERSHIP = 0xc + IP_ADD_SOURCE_MEMBERSHIP = 0x46 + IP_BINDANY = 0x18 +@@ -935,10 +955,8 @@ const ( + 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 +@@ -948,6 +966,7 @@ const ( + IP_OFFMASK = 0x1fff + IP_ONESBCAST = 0x17 + IP_OPTIONS = 0x1 ++ IP_ORIGDSTADDR = 0x1b + IP_PORTRANGE = 0x13 + IP_PORTRANGE_DEFAULT = 0x0 + IP_PORTRANGE_HIGH = 0x1 +@@ -956,6 +975,7 @@ const ( + IP_RECVFLOWID = 0x5d + IP_RECVIF = 0x14 + IP_RECVOPTS = 0x5 ++ IP_RECVORIGDSTADDR = 0x1b + IP_RECVRETOPTS = 0x6 + IP_RECVRSSBUCKETID = 0x5e + IP_RECVTOS = 0x44 +@@ -972,8 +992,12 @@ const ( + IP_TOS = 0x3 + IP_TTL = 0x4 + IP_UNBLOCK_SOURCE = 0x49 ++ IP_VLAN_PCP = 0x4b + ISIG = 0x80 + ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 + IXANY = 0x800 + IXOFF = 0x400 + IXON = 0x200 +@@ -983,7 +1007,6 @@ const ( + KERN_VERSION = 0x4 + LOCAL_CONNWAIT = 0x4 + LOCAL_CREDS = 0x2 +- LOCAL_CREDS_PERSISTENT = 0x3 + LOCAL_PEERCRED = 0x1 + LOCAL_VENDOR = 0x80000000 + LOCK_EX = 0x2 +@@ -1071,10 +1094,12 @@ const ( + MNT_SUSPEND = 0x4 + MNT_SYNCHRONOUS = 0x2 + MNT_UNION = 0x20 ++ MNT_UNTRUSTED = 0x800000000 + MNT_UPDATE = 0x10000 +- MNT_UPDATEMASK = 0x2d8d0807e ++ MNT_UPDATEMASK = 0xad8d0807e + MNT_USER = 0x8000 +- MNT_VISFLAGMASK = 0x3fef0ffff ++ MNT_VERIFIED = 0x400000000 ++ MNT_VISFLAGMASK = 0xffef0ffff + MNT_WAIT = 0x1 + MSG_CMSG_CLOEXEC = 0x40000 + MSG_COMPAT = 0x8000 +@@ -1103,6 +1128,7 @@ const ( + NFDBITS = 0x20 + NOFLSH = 0x80000000 + NOKERNINFO = 0x2000000 ++ NOTE_ABSTIME = 0x10 + NOTE_ATTRIB = 0x8 + NOTE_CHILD = 0x4 + NOTE_CLOSE = 0x100 +@@ -1159,6 +1185,8 @@ const ( + O_NONBLOCK = 0x4 + O_RDONLY = 0x0 + O_RDWR = 0x2 ++ O_RESOLVE_BENEATH = 0x800000 ++ O_SEARCH = 0x40000 + O_SHLOCK = 0x10 + O_SYNC = 0x80 + O_TRUNC = 0x400 +@@ -1169,6 +1197,10 @@ const ( + PARMRK = 0x8 + PARODD = 0x2000 + PENDIN = 0x20000000 ++ PIOD_READ_D = 0x1 ++ PIOD_READ_I = 0x3 ++ PIOD_WRITE_D = 0x2 ++ PIOD_WRITE_I = 0x4 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 +@@ -1176,6 +1208,53 @@ const ( + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 ++ PTRACE_DEFAULT = 0x1 ++ PTRACE_EXEC = 0x1 ++ PTRACE_FORK = 0x8 ++ PTRACE_LWP = 0x10 ++ PTRACE_SCE = 0x2 ++ PTRACE_SCX = 0x4 ++ PTRACE_SYSCALL = 0x6 ++ PTRACE_VFORK = 0x20 ++ PT_ATTACH = 0xa ++ PT_CLEARSTEP = 0x10 ++ PT_CONTINUE = 0x7 ++ PT_DETACH = 0xb ++ PT_FIRSTMACH = 0x40 ++ PT_FOLLOW_FORK = 0x17 ++ PT_GETDBREGS = 0x25 ++ PT_GETFPREGS = 0x23 ++ PT_GETLWPLIST = 0xf ++ PT_GETNUMLWPS = 0xe ++ PT_GETREGS = 0x21 ++ PT_GETVFPREGS = 0x40 ++ PT_GET_EVENT_MASK = 0x19 ++ PT_GET_SC_ARGS = 0x1b ++ PT_GET_SC_RET = 0x1c ++ PT_IO = 0xc ++ PT_KILL = 0x8 ++ PT_LWPINFO = 0xd ++ PT_LWP_EVENTS = 0x18 ++ PT_READ_D = 0x2 ++ PT_READ_I = 0x1 ++ PT_RESUME = 0x13 ++ PT_SETDBREGS = 0x26 ++ PT_SETFPREGS = 0x24 ++ PT_SETREGS = 0x22 ++ PT_SETSTEP = 0x11 ++ PT_SETVFPREGS = 0x41 ++ PT_SET_EVENT_MASK = 0x1a ++ PT_STEP = 0x9 ++ PT_SUSPEND = 0x12 ++ PT_SYSCALL = 0x16 ++ PT_TO_SCE = 0x14 ++ PT_TO_SCX = 0x15 ++ PT_TRACE_ME = 0x0 ++ PT_VM_ENTRY = 0x29 ++ PT_VM_TIMESTAMP = 0x28 ++ PT_WRITE_D = 0x5 ++ PT_WRITE_I = 0x4 ++ P_ZONEID = 0xc + RLIMIT_AS = 0xa + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 +@@ -1257,7 +1336,6 @@ const ( + RTV_WEIGHT = 0x100 + RT_ALL_FIBS = -0x1 + RT_BLACKHOLE = 0x40 +- RT_CACHING_CONTEXT = 0x1 + RT_DEFAULT_FIB = 0x0 + RT_HAS_GW = 0x80 + RT_HAS_HEADER = 0x10 +@@ -1267,15 +1345,17 @@ const ( + RT_LLE_CACHE = 0x100 + RT_MAY_LOOP = 0x8 + RT_MAY_LOOP_BIT = 0x3 +- RT_NORTREF = 0x2 + RT_REJECT = 0x20 + RUSAGE_CHILDREN = -0x1 + RUSAGE_SELF = 0x0 + RUSAGE_THREAD = 0x1 + SCM_BINTIME = 0x4 + SCM_CREDS = 0x3 ++ SCM_MONOTONIC = 0x6 ++ SCM_REALTIME = 0x5 + SCM_RIGHTS = 0x1 + SCM_TIMESTAMP = 0x2 ++ SCM_TIME_INFO = 0x7 + SEEK_CUR = 0x1 + SEEK_DATA = 0x3 + SEEK_END = 0x2 +@@ -1299,10 +1379,12 @@ const ( + SIOCGHWADDR = 0xc020693e + SIOCGI2C = 0xc020693d + SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALIAS = 0xc044692d + SIOCGIFBRDADDR = 0xc0206923 + SIOCGIFCAP = 0xc020691f + SIOCGIFCONF = 0xc0086924 + SIOCGIFDESCR = 0xc020692a ++ SIOCGIFDOWNREASON = 0xc058699a + SIOCGIFDSTADDR = 0xc0206922 + SIOCGIFFIB = 0xc020695c + SIOCGIFFLAGS = 0xc0206911 +@@ -1318,8 +1400,11 @@ const ( + SIOCGIFPDSTADDR = 0xc0206948 + SIOCGIFPHYS = 0xc0206935 + SIOCGIFPSRCADDR = 0xc0206947 ++ SIOCGIFRSSHASH = 0xc0186997 ++ SIOCGIFRSSKEY = 0xc0946996 + SIOCGIFSTATUS = 0xc331693b + SIOCGIFXMEDIA = 0xc028698b ++ SIOCGLANPCP = 0xc0206998 + SIOCGLOWAT = 0x40047303 + SIOCGPGRP = 0x40047309 + SIOCGPRIVATE_0 = 0xc0206950 +@@ -1350,6 +1435,7 @@ const ( + SIOCSIFPHYS = 0x80206936 + SIOCSIFRVNET = 0xc020695b + SIOCSIFVNET = 0xc020695a ++ SIOCSLANPCP = 0x80206999 + SIOCSLOWAT = 0x80047302 + SIOCSPGRP = 0x80047308 + SIOCSTUNFIB = 0x8020695f +@@ -1369,6 +1455,7 @@ const ( + SO_BINTIME = 0x2000 + SO_BROADCAST = 0x20 + SO_DEBUG = 0x1 ++ SO_DOMAIN = 0x1019 + SO_DONTROUTE = 0x10 + SO_ERROR = 0x1007 + SO_KEEPALIVE = 0x8 +@@ -1377,6 +1464,7 @@ const ( + SO_LISTENINCQLEN = 0x1013 + SO_LISTENQLEN = 0x1012 + SO_LISTENQLIMIT = 0x1011 ++ SO_MAX_PACING_RATE = 0x1018 + SO_NOSIGPIPE = 0x800 + SO_NO_DDP = 0x8000 + SO_NO_OFFLOAD = 0x4000 +@@ -1387,13 +1475,22 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 ++ SO_RERROR = 0x20000 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 ++ SO_REUSEPORT_LB = 0x10000 + SO_SETFIB = 0x1014 + SO_SNDBUF = 0x1001 + SO_SNDLOWAT = 0x1003 + SO_SNDTIMEO = 0x1005 + SO_TIMESTAMP = 0x400 ++ SO_TS_BINTIME = 0x1 ++ SO_TS_CLOCK = 0x1017 ++ SO_TS_CLOCK_MAX = 0x3 ++ SO_TS_DEFAULT = 0x0 ++ SO_TS_MONOTONIC = 0x3 ++ SO_TS_REALTIME = 0x2 ++ SO_TS_REALTIME_MICRO = 0x0 + SO_TYPE = 0x1008 + SO_USELOOPBACK = 0x40 + SO_USER_COOKIE = 0x1015 +@@ -1437,10 +1534,69 @@ const ( + TCOFLUSH = 0x2 + TCOOFF = 0x1 + TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FAST_OPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_PAD = 0x0 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_WINDOW = 0x3 ++ TCP_BBR_ACK_COMP_ALG = 0x448 ++ TCP_BBR_ALGORITHM = 0x43b ++ TCP_BBR_DRAIN_INC_EXTRA = 0x43c ++ TCP_BBR_DRAIN_PG = 0x42e ++ TCP_BBR_EXTRA_GAIN = 0x449 ++ TCP_BBR_EXTRA_STATE = 0x453 ++ TCP_BBR_FLOOR_MIN_TSO = 0x454 ++ TCP_BBR_HDWR_PACE = 0x451 ++ TCP_BBR_HOLD_TARGET = 0x436 ++ TCP_BBR_IWINTSO = 0x42b ++ TCP_BBR_LOWGAIN_FD = 0x436 ++ TCP_BBR_LOWGAIN_HALF = 0x435 ++ TCP_BBR_LOWGAIN_THRESH = 0x434 ++ TCP_BBR_MAX_RTO = 0x439 ++ TCP_BBR_MIN_RTO = 0x438 ++ TCP_BBR_MIN_TOPACEOUT = 0x455 ++ TCP_BBR_ONE_RETRAN = 0x431 ++ TCP_BBR_PACE_CROSS = 0x442 ++ TCP_BBR_PACE_DEL_TAR = 0x43f ++ TCP_BBR_PACE_OH = 0x435 ++ TCP_BBR_PACE_PER_SEC = 0x43e ++ TCP_BBR_PACE_SEG_MAX = 0x440 ++ TCP_BBR_PACE_SEG_MIN = 0x441 ++ TCP_BBR_POLICER_DETECT = 0x457 ++ TCP_BBR_PROBE_RTT_GAIN = 0x44d ++ TCP_BBR_PROBE_RTT_INT = 0x430 ++ TCP_BBR_PROBE_RTT_LEN = 0x44e ++ TCP_BBR_RACK_RTT_USE = 0x44a ++ TCP_BBR_RECFORCE = 0x42c ++ TCP_BBR_REC_OVER_HPTS = 0x43a ++ TCP_BBR_RETRAN_WTSO = 0x44b ++ TCP_BBR_RWND_IS_APP = 0x42f ++ TCP_BBR_SEND_IWND_IN_TSO = 0x44f ++ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d ++ TCP_BBR_STARTUP_LOSS_EXIT = 0x432 ++ TCP_BBR_STARTUP_PG = 0x42d ++ TCP_BBR_TMR_PACE_OH = 0x448 ++ TCP_BBR_TSLIMITS = 0x434 ++ TCP_BBR_TSTMP_RAISES = 0x456 ++ TCP_BBR_UNLIMITED = 0x43b ++ TCP_BBR_USEDEL_RATE = 0x437 ++ TCP_BBR_USE_LOWGAIN = 0x433 ++ TCP_BBR_USE_RACK_CHEAT = 0x450 ++ TCP_BBR_UTTER_MAX_TSO = 0x452 + TCP_CA_NAME_MAX = 0x10 + TCP_CCALGOOPT = 0x41 + TCP_CONGESTION = 0x40 ++ TCP_DATA_AFTER_CLOSE = 0x44c ++ TCP_DELACK = 0x48 + TCP_FASTOPEN = 0x401 ++ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10 ++ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4 ++ TCP_FASTOPEN_PSK_LEN = 0x10 + TCP_FUNCTION_BLK = 0x2000 + TCP_FUNCTION_NAME_LEN_MAX = 0x20 + TCP_INFO = 0x20 +@@ -1448,6 +1604,12 @@ const ( + TCP_KEEPIDLE = 0x100 + TCP_KEEPINIT = 0x80 + TCP_KEEPINTVL = 0x200 ++ TCP_LOG = 0x22 ++ TCP_LOGBUF = 0x23 ++ TCP_LOGDUMP = 0x25 ++ TCP_LOGDUMPID = 0x26 ++ TCP_LOGID = 0x24 ++ TCP_LOG_ID_LEN = 0x40 + TCP_MAXBURST = 0x4 + TCP_MAXHLEN = 0x3c + TCP_MAXOLEN = 0x28 +@@ -1463,8 +1625,30 @@ const ( + TCP_NOPUSH = 0x4 + TCP_PCAP_IN = 0x1000 + TCP_PCAP_OUT = 0x800 ++ TCP_RACK_EARLY_RECOV = 0x423 ++ TCP_RACK_EARLY_SEG = 0x424 ++ TCP_RACK_GP_INCREASE = 0x446 ++ TCP_RACK_IDLE_REDUCE_HIGH = 0x444 ++ TCP_RACK_MIN_PACE = 0x445 ++ TCP_RACK_MIN_PACE_SEG = 0x446 ++ TCP_RACK_MIN_TO = 0x422 ++ TCP_RACK_PACE_ALWAYS = 0x41f ++ TCP_RACK_PACE_MAX_SEG = 0x41e ++ TCP_RACK_PACE_REDUCE = 0x41d ++ TCP_RACK_PKT_DELAY = 0x428 ++ TCP_RACK_PROP = 0x41b ++ TCP_RACK_PROP_RATE = 0x420 ++ TCP_RACK_PRR_SENDALOT = 0x421 ++ TCP_RACK_REORD_FADE = 0x426 ++ TCP_RACK_REORD_THRESH = 0x425 ++ TCP_RACK_TLP_INC_VAR = 0x429 ++ TCP_RACK_TLP_REDUCE = 0x41c ++ TCP_RACK_TLP_THRESH = 0x427 ++ TCP_RACK_TLP_USE = 0x447 + TCP_VENDOR = 0x80000000 + TCSAFLUSH = 0x2 ++ TIMER_ABSTIME = 0x1 ++ TIMER_RELTIME = 0x0 + TIOCCBRK = 0x2000747a + TIOCCDTR = 0x20007478 + TIOCCONS = 0x80047462 +@@ -1528,6 +1712,8 @@ const ( + TIOCTIMESTAMP = 0x40107459 + TIOCUCNTL = 0x80047466 + TOSTOP = 0x400000 ++ UTIME_NOW = -0x1 ++ UTIME_OMIT = -0x2 + VDISCARD = 0xf + VDSUSP = 0xb + VEOF = 0x0 +@@ -1592,12 +1778,13 @@ const ( + EIDRM = syscall.Errno(0x52) + EILSEQ = syscall.Errno(0x56) + EINPROGRESS = syscall.Errno(0x24) ++ EINTEGRITY = syscall.Errno(0x61) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x38) + EISDIR = syscall.Errno(0x15) +- ELAST = syscall.Errno(0x60) ++ ELAST = syscall.Errno(0x61) + ELOOP = syscall.Errno(0x3e) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) +@@ -1740,7 +1927,7 @@ var errorList = [...]struct { + {32, "EPIPE", "broken pipe"}, + {33, "EDOM", "numerical argument out of domain"}, + {34, "ERANGE", "result too large"}, +- {35, "EAGAIN", "resource temporarily unavailable"}, ++ {35, "EWOULDBLOCK", "resource temporarily unavailable"}, + {36, "EINPROGRESS", "operation now in progress"}, + {37, "EALREADY", "operation already in progress"}, + {38, "ENOTSOCK", "socket operation on non-socket"}, +@@ -1802,6 +1989,7 @@ var errorList = [...]struct { + {94, "ECAPMODE", "not permitted in capability mode"}, + {95, "ENOTRECOVERABLE", "state not recoverable"}, + {96, "EOWNERDEAD", "previous owner died"}, ++ {97, "EINTEGRITY", "integrity check failed"}, + } + + // Signal table +diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +index 4c83771..c557ac2 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +@@ -151,6 +151,7 @@ const ( + BIOCSETF = 0x80104267 + BIOCSETFNR = 0x80104282 + BIOCSETIF = 0x8020426c ++ BIOCSETVLANPCP = 0x80044285 + BIOCSETWF = 0x8010427b + BIOCSETZBUF = 0x80184281 + BIOCSHDRCMPLT = 0x80044275 +@@ -447,7 +448,7 @@ const ( + DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 + DLT_INFINIBAND = 0xf7 + DLT_IPFILTER = 0x74 +- DLT_IPMB = 0xc7 ++ DLT_IPMB_KONTRON = 0xc7 + DLT_IPMB_LINUX = 0xd1 + DLT_IPMI_HPM_2 = 0x104 + DLT_IPNET = 0xe2 +@@ -487,10 +488,11 @@ const ( + DLT_LINUX_LAPD = 0xb1 + DLT_LINUX_PPP_WITHDIRECTION = 0xa6 + DLT_LINUX_SLL = 0x71 ++ DLT_LINUX_SLL2 = 0x114 + DLT_LOOP = 0x6c + DLT_LORATAP = 0x10e + DLT_LTALK = 0x72 +- DLT_MATCHING_MAX = 0x113 ++ DLT_MATCHING_MAX = 0x114 + DLT_MATCHING_MIN = 0x68 + DLT_MFR = 0xb6 + DLT_MOST = 0xd3 +@@ -734,6 +736,7 @@ const ( + IPPROTO_CMTP = 0x26 + IPPROTO_CPHB = 0x49 + IPPROTO_CPNX = 0x48 ++ IPPROTO_DCCP = 0x21 + IPPROTO_DDP = 0x25 + IPPROTO_DGP = 0x56 + IPPROTO_DIVERT = 0x102 +@@ -814,7 +817,6 @@ const ( + IPPROTO_SCTP = 0x84 + IPPROTO_SDRP = 0x2a + IPPROTO_SEND = 0x103 +- IPPROTO_SEP = 0x21 + IPPROTO_SHIM6 = 0x8c + IPPROTO_SKIP = 0x39 + IPPROTO_SPACER = 0x7fff +@@ -911,6 +913,7 @@ const ( + IPV6_V6ONLY = 0x1b + IPV6_VERSION = 0x60 + IPV6_VERSION_MASK = 0xf0 ++ IPV6_VLAN_PCP = 0x4b + IP_ADD_MEMBERSHIP = 0xc + IP_ADD_SOURCE_MEMBERSHIP = 0x46 + IP_BINDANY = 0x18 +@@ -989,8 +992,12 @@ const ( + IP_TOS = 0x3 + IP_TTL = 0x4 + IP_UNBLOCK_SOURCE = 0x49 ++ IP_VLAN_PCP = 0x4b + ISIG = 0x80 + ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 + IXANY = 0x800 + IXOFF = 0x400 + IXON = 0x200 +@@ -1000,7 +1007,6 @@ const ( + KERN_VERSION = 0x4 + LOCAL_CONNWAIT = 0x4 + LOCAL_CREDS = 0x2 +- LOCAL_CREDS_PERSISTENT = 0x3 + LOCAL_PEERCRED = 0x1 + LOCAL_VENDOR = 0x80000000 + LOCK_EX = 0x2 +@@ -1180,6 +1186,8 @@ const ( + O_NONBLOCK = 0x4 + O_RDONLY = 0x0 + O_RDWR = 0x2 ++ O_RESOLVE_BENEATH = 0x800000 ++ O_SEARCH = 0x40000 + O_SHLOCK = 0x10 + O_SYNC = 0x80 + O_TRUNC = 0x400 +@@ -1190,6 +1198,10 @@ const ( + PARMRK = 0x8 + PARODD = 0x2000 + PENDIN = 0x20000000 ++ PIOD_READ_D = 0x1 ++ PIOD_READ_I = 0x3 ++ PIOD_WRITE_D = 0x2 ++ PIOD_WRITE_I = 0x4 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 +@@ -1197,6 +1209,51 @@ const ( + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 ++ PTRACE_DEFAULT = 0x1 ++ PTRACE_EXEC = 0x1 ++ PTRACE_FORK = 0x8 ++ PTRACE_LWP = 0x10 ++ PTRACE_SCE = 0x2 ++ PTRACE_SCX = 0x4 ++ PTRACE_SYSCALL = 0x6 ++ PTRACE_VFORK = 0x20 ++ PT_ATTACH = 0xa ++ PT_CLEARSTEP = 0x10 ++ PT_CONTINUE = 0x7 ++ PT_DETACH = 0xb ++ PT_FIRSTMACH = 0x40 ++ PT_FOLLOW_FORK = 0x17 ++ PT_GETDBREGS = 0x25 ++ PT_GETFPREGS = 0x23 ++ PT_GETLWPLIST = 0xf ++ PT_GETNUMLWPS = 0xe ++ PT_GETREGS = 0x21 ++ PT_GET_EVENT_MASK = 0x19 ++ PT_GET_SC_ARGS = 0x1b ++ PT_GET_SC_RET = 0x1c ++ PT_IO = 0xc ++ PT_KILL = 0x8 ++ PT_LWPINFO = 0xd ++ PT_LWP_EVENTS = 0x18 ++ PT_READ_D = 0x2 ++ PT_READ_I = 0x1 ++ PT_RESUME = 0x13 ++ PT_SETDBREGS = 0x26 ++ PT_SETFPREGS = 0x24 ++ PT_SETREGS = 0x22 ++ PT_SETSTEP = 0x11 ++ PT_SET_EVENT_MASK = 0x1a ++ PT_STEP = 0x9 ++ PT_SUSPEND = 0x12 ++ PT_SYSCALL = 0x16 ++ PT_TO_SCE = 0x14 ++ PT_TO_SCX = 0x15 ++ PT_TRACE_ME = 0x0 ++ PT_VM_ENTRY = 0x29 ++ PT_VM_TIMESTAMP = 0x28 ++ PT_WRITE_D = 0x5 ++ PT_WRITE_I = 0x4 ++ P_ZONEID = 0xc + RLIMIT_AS = 0xa + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 +@@ -1321,10 +1378,12 @@ const ( + SIOCGHWADDR = 0xc020693e + SIOCGI2C = 0xc020693d + SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALIAS = 0xc044692d + SIOCGIFBRDADDR = 0xc0206923 + SIOCGIFCAP = 0xc020691f + SIOCGIFCONF = 0xc0106924 + SIOCGIFDESCR = 0xc020692a ++ SIOCGIFDOWNREASON = 0xc058699a + SIOCGIFDSTADDR = 0xc0206922 + SIOCGIFFIB = 0xc020695c + SIOCGIFFLAGS = 0xc0206911 +@@ -1415,6 +1474,7 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 ++ SO_RERROR = 0x20000 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_REUSEPORT_LB = 0x10000 +@@ -1473,22 +1533,40 @@ const ( + TCOFLUSH = 0x2 + TCOOFF = 0x1 + TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FAST_OPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_PAD = 0x0 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_WINDOW = 0x3 + TCP_BBR_ACK_COMP_ALG = 0x448 ++ TCP_BBR_ALGORITHM = 0x43b + TCP_BBR_DRAIN_INC_EXTRA = 0x43c + TCP_BBR_DRAIN_PG = 0x42e + TCP_BBR_EXTRA_GAIN = 0x449 ++ TCP_BBR_EXTRA_STATE = 0x453 ++ TCP_BBR_FLOOR_MIN_TSO = 0x454 ++ TCP_BBR_HDWR_PACE = 0x451 ++ TCP_BBR_HOLD_TARGET = 0x436 + TCP_BBR_IWINTSO = 0x42b + TCP_BBR_LOWGAIN_FD = 0x436 + TCP_BBR_LOWGAIN_HALF = 0x435 + TCP_BBR_LOWGAIN_THRESH = 0x434 + TCP_BBR_MAX_RTO = 0x439 + TCP_BBR_MIN_RTO = 0x438 ++ TCP_BBR_MIN_TOPACEOUT = 0x455 + TCP_BBR_ONE_RETRAN = 0x431 + TCP_BBR_PACE_CROSS = 0x442 + TCP_BBR_PACE_DEL_TAR = 0x43f ++ TCP_BBR_PACE_OH = 0x435 + TCP_BBR_PACE_PER_SEC = 0x43e + TCP_BBR_PACE_SEG_MAX = 0x440 + TCP_BBR_PACE_SEG_MIN = 0x441 ++ TCP_BBR_POLICER_DETECT = 0x457 + TCP_BBR_PROBE_RTT_GAIN = 0x44d + TCP_BBR_PROBE_RTT_INT = 0x430 + TCP_BBR_PROBE_RTT_LEN = 0x44e +@@ -1497,12 +1575,18 @@ const ( + TCP_BBR_REC_OVER_HPTS = 0x43a + TCP_BBR_RETRAN_WTSO = 0x44b + TCP_BBR_RWND_IS_APP = 0x42f ++ TCP_BBR_SEND_IWND_IN_TSO = 0x44f + TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d + TCP_BBR_STARTUP_LOSS_EXIT = 0x432 + TCP_BBR_STARTUP_PG = 0x42d ++ TCP_BBR_TMR_PACE_OH = 0x448 ++ TCP_BBR_TSLIMITS = 0x434 ++ TCP_BBR_TSTMP_RAISES = 0x456 + TCP_BBR_UNLIMITED = 0x43b + TCP_BBR_USEDEL_RATE = 0x437 + TCP_BBR_USE_LOWGAIN = 0x433 ++ TCP_BBR_USE_RACK_CHEAT = 0x450 ++ TCP_BBR_UTTER_MAX_TSO = 0x452 + TCP_CA_NAME_MAX = 0x10 + TCP_CCALGOOPT = 0x41 + TCP_CONGESTION = 0x40 +@@ -1542,6 +1626,7 @@ const ( + TCP_PCAP_OUT = 0x800 + TCP_RACK_EARLY_RECOV = 0x423 + TCP_RACK_EARLY_SEG = 0x424 ++ TCP_RACK_GP_INCREASE = 0x446 + TCP_RACK_IDLE_REDUCE_HIGH = 0x444 + TCP_RACK_MIN_PACE = 0x445 + TCP_RACK_MIN_PACE_SEG = 0x446 +@@ -1555,7 +1640,6 @@ const ( + TCP_RACK_PRR_SENDALOT = 0x421 + TCP_RACK_REORD_FADE = 0x426 + TCP_RACK_REORD_THRESH = 0x425 +- TCP_RACK_SESS_CWV = 0x42a + TCP_RACK_TLP_INC_VAR = 0x429 + TCP_RACK_TLP_REDUCE = 0x41c + TCP_RACK_TLP_THRESH = 0x427 +@@ -1694,12 +1778,13 @@ const ( + EIDRM = syscall.Errno(0x52) + EILSEQ = syscall.Errno(0x56) + EINPROGRESS = syscall.Errno(0x24) ++ EINTEGRITY = syscall.Errno(0x61) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x38) + EISDIR = syscall.Errno(0x15) +- ELAST = syscall.Errno(0x60) ++ ELAST = syscall.Errno(0x61) + ELOOP = syscall.Errno(0x3e) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) +@@ -1842,7 +1927,7 @@ var errorList = [...]struct { + {32, "EPIPE", "broken pipe"}, + {33, "EDOM", "numerical argument out of domain"}, + {34, "ERANGE", "result too large"}, +- {35, "EAGAIN", "resource temporarily unavailable"}, ++ {35, "EWOULDBLOCK", "resource temporarily unavailable"}, + {36, "EINPROGRESS", "operation now in progress"}, + {37, "EALREADY", "operation already in progress"}, + {38, "ENOTSOCK", "socket operation on non-socket"}, +@@ -1904,6 +1989,7 @@ var errorList = [...]struct { + {94, "ECAPMODE", "not permitted in capability mode"}, + {95, "ENOTRECOVERABLE", "state not recoverable"}, + {96, "EOWNERDEAD", "previous owner died"}, ++ {97, "EINTEGRITY", "integrity check failed"}, + } + + // Signal table +diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +new file mode 100644 +index 0000000..341b4d9 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +@@ -0,0 +1,2148 @@ ++// mkerrors.sh -m64 ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build riscv64 && freebsd ++// +build riscv64,freebsd ++ ++// Code generated by cmd/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_HYPERV = 0x2b ++ 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 = 0x2b ++ 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_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 ++ ALTWERASE = 0x200 ++ B0 = 0x0 ++ B1000000 = 0xf4240 ++ B110 = 0x6e ++ B115200 = 0x1c200 ++ B1200 = 0x4b0 ++ B134 = 0x86 ++ B14400 = 0x3840 ++ B150 = 0x96 ++ B1500000 = 0x16e360 ++ B1800 = 0x708 ++ B19200 = 0x4b00 ++ B200 = 0xc8 ++ B2000000 = 0x1e8480 ++ B230400 = 0x38400 ++ B2400 = 0x960 ++ B2500000 = 0x2625a0 ++ B28800 = 0x7080 ++ B300 = 0x12c ++ B3000000 = 0x2dc6c0 ++ B3500000 = 0x3567e0 ++ B38400 = 0x9600 ++ B4000000 = 0x3d0900 ++ B460800 = 0x70800 ++ B4800 = 0x12c0 ++ B50 = 0x32 ++ B500000 = 0x7a120 ++ 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 ++ BIOCSETVLANPCP = 0x80044285 ++ 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_MOD = 0x90 ++ 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 ++ BPF_XOR = 0xa0 ++ BRKINT = 0x2 ++ CAP_ACCEPT = 0x200000020000000 ++ CAP_ACL_CHECK = 0x400000000010000 ++ CAP_ACL_DELETE = 0x400000000020000 ++ CAP_ACL_GET = 0x400000000040000 ++ CAP_ACL_SET = 0x400000000080000 ++ CAP_ALL0 = 0x20007ffffffffff ++ CAP_ALL1 = 0x4000000001fffff ++ CAP_BIND = 0x200000040000000 ++ CAP_BINDAT = 0x200008000000400 ++ CAP_CHFLAGSAT = 0x200000000001400 ++ CAP_CONNECT = 0x200000080000000 ++ CAP_CONNECTAT = 0x200010000000400 ++ CAP_CREATE = 0x200000000000040 ++ CAP_EVENT = 0x400000000000020 ++ CAP_EXTATTR_DELETE = 0x400000000001000 ++ CAP_EXTATTR_GET = 0x400000000002000 ++ CAP_EXTATTR_LIST = 0x400000000004000 ++ CAP_EXTATTR_SET = 0x400000000008000 ++ CAP_FCHDIR = 0x200000000000800 ++ CAP_FCHFLAGS = 0x200000000001000 ++ CAP_FCHMOD = 0x200000000002000 ++ CAP_FCHMODAT = 0x200000000002400 ++ CAP_FCHOWN = 0x200000000004000 ++ CAP_FCHOWNAT = 0x200000000004400 ++ CAP_FCNTL = 0x200000000008000 ++ CAP_FCNTL_ALL = 0x78 ++ CAP_FCNTL_GETFL = 0x8 ++ CAP_FCNTL_GETOWN = 0x20 ++ CAP_FCNTL_SETFL = 0x10 ++ CAP_FCNTL_SETOWN = 0x40 ++ CAP_FEXECVE = 0x200000000000080 ++ CAP_FLOCK = 0x200000000010000 ++ CAP_FPATHCONF = 0x200000000020000 ++ CAP_FSCK = 0x200000000040000 ++ CAP_FSTAT = 0x200000000080000 ++ CAP_FSTATAT = 0x200000000080400 ++ CAP_FSTATFS = 0x200000000100000 ++ CAP_FSYNC = 0x200000000000100 ++ CAP_FTRUNCATE = 0x200000000000200 ++ CAP_FUTIMES = 0x200000000200000 ++ CAP_FUTIMESAT = 0x200000000200400 ++ CAP_GETPEERNAME = 0x200000100000000 ++ CAP_GETSOCKNAME = 0x200000200000000 ++ CAP_GETSOCKOPT = 0x200000400000000 ++ CAP_IOCTL = 0x400000000000080 ++ CAP_IOCTLS_ALL = 0x7fffffffffffffff ++ CAP_KQUEUE = 0x400000000100040 ++ CAP_KQUEUE_CHANGE = 0x400000000100000 ++ CAP_KQUEUE_EVENT = 0x400000000000040 ++ CAP_LINKAT_SOURCE = 0x200020000000400 ++ CAP_LINKAT_TARGET = 0x200000000400400 ++ CAP_LISTEN = 0x200000800000000 ++ CAP_LOOKUP = 0x200000000000400 ++ CAP_MAC_GET = 0x400000000000001 ++ CAP_MAC_SET = 0x400000000000002 ++ CAP_MKDIRAT = 0x200000000800400 ++ CAP_MKFIFOAT = 0x200000001000400 ++ CAP_MKNODAT = 0x200000002000400 ++ CAP_MMAP = 0x200000000000010 ++ CAP_MMAP_R = 0x20000000000001d ++ CAP_MMAP_RW = 0x20000000000001f ++ CAP_MMAP_RWX = 0x20000000000003f ++ CAP_MMAP_RX = 0x20000000000003d ++ CAP_MMAP_W = 0x20000000000001e ++ CAP_MMAP_WX = 0x20000000000003e ++ CAP_MMAP_X = 0x20000000000003c ++ CAP_PDGETPID = 0x400000000000200 ++ CAP_PDKILL = 0x400000000000800 ++ CAP_PDWAIT = 0x400000000000400 ++ CAP_PEELOFF = 0x200001000000000 ++ CAP_POLL_EVENT = 0x400000000000020 ++ CAP_PREAD = 0x20000000000000d ++ CAP_PWRITE = 0x20000000000000e ++ CAP_READ = 0x200000000000001 ++ CAP_RECV = 0x200000000000001 ++ CAP_RENAMEAT_SOURCE = 0x200000004000400 ++ CAP_RENAMEAT_TARGET = 0x200040000000400 ++ CAP_RIGHTS_VERSION = 0x0 ++ CAP_RIGHTS_VERSION_00 = 0x0 ++ CAP_SEEK = 0x20000000000000c ++ CAP_SEEK_TELL = 0x200000000000004 ++ CAP_SEM_GETVALUE = 0x400000000000004 ++ CAP_SEM_POST = 0x400000000000008 ++ CAP_SEM_WAIT = 0x400000000000010 ++ CAP_SEND = 0x200000000000002 ++ CAP_SETSOCKOPT = 0x200002000000000 ++ CAP_SHUTDOWN = 0x200004000000000 ++ CAP_SOCK_CLIENT = 0x200007780000003 ++ CAP_SOCK_SERVER = 0x200007f60000003 ++ CAP_SYMLINKAT = 0x200000008000400 ++ CAP_TTYHOOK = 0x400000000000100 ++ CAP_UNLINKAT = 0x200000010000400 ++ CAP_UNUSED0_44 = 0x200080000000000 ++ CAP_UNUSED0_57 = 0x300000000000000 ++ CAP_UNUSED1_22 = 0x400000000200000 ++ CAP_UNUSED1_57 = 0x500000000000000 ++ CAP_WRITE = 0x200000000000002 ++ CFLUSH = 0xf ++ CLOCAL = 0x8000 ++ CLOCK_BOOTTIME = 0x5 ++ CLOCK_MONOTONIC = 0x4 ++ CLOCK_MONOTONIC_COARSE = 0xc ++ CLOCK_MONOTONIC_FAST = 0xc ++ CLOCK_MONOTONIC_PRECISE = 0xb ++ CLOCK_PROCESS_CPUTIME_ID = 0xf ++ CLOCK_PROF = 0x2 ++ CLOCK_REALTIME = 0x0 ++ CLOCK_REALTIME_COARSE = 0xa ++ 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 ++ CPUSTATES = 0x5 ++ CP_IDLE = 0x4 ++ CP_INTR = 0x3 ++ CP_NICE = 0x1 ++ CP_SYS = 0x2 ++ CP_USER = 0x0 ++ CREAD = 0x800 ++ CRTSCTS = 0x30000 ++ CS5 = 0x0 ++ CS6 = 0x100 ++ CS7 = 0x200 ++ CS8 = 0x300 ++ CSIZE = 0x300 ++ CSTART = 0x11 ++ CSTATUS = 0x14 ++ CSTOP = 0x13 ++ CSTOPB = 0x400 ++ CSUSP = 0x1a ++ CTL_HW = 0x6 ++ CTL_KERN = 0x1 ++ CTL_MAXNAME = 0x18 ++ CTL_NET = 0x4 ++ DIOCGATTR = 0xc148648e ++ DIOCGDELETE = 0x80106488 ++ DIOCGFLUSH = 0x20006487 ++ DIOCGFWHEADS = 0x40046483 ++ DIOCGFWSECTORS = 0x40046482 ++ DIOCGIDENT = 0x41006489 ++ DIOCGKERNELDUMP = 0xc0986492 ++ DIOCGMEDIASIZE = 0x40086481 ++ DIOCGPHYSPATH = 0x4400648d ++ DIOCGPROVIDERNAME = 0x4400648a ++ DIOCGSECTORSIZE = 0x40046480 ++ DIOCGSTRIPEOFFSET = 0x4008648c ++ DIOCGSTRIPESIZE = 0x4008648b ++ DIOCSKERNELDUMP = 0x80986491 ++ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485 ++ DIOCSKERNELDUMP_FREEBSD12 = 0x80506490 ++ DIOCZONECMD = 0xc080648f ++ 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_BREDR_BB = 0xff ++ DLT_BLUETOOTH_HCI_H4 = 0xbb ++ DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9 ++ DLT_BLUETOOTH_LE_LL = 0xfb ++ DLT_BLUETOOTH_LE_LL_WITH_PHDR = 0x100 ++ DLT_BLUETOOTH_LINUX_MONITOR = 0xfe ++ DLT_CAN20B = 0xbe ++ DLT_CAN_SOCKETCAN = 0xe3 ++ DLT_CHAOS = 0x5 ++ DLT_CHDLC = 0x68 ++ DLT_CISCO_IOS = 0x76 ++ DLT_CLASS_NETBSD_RAWAF = 0x2240000 ++ DLT_C_HDLC = 0x68 ++ DLT_C_HDLC_WITH_DIR = 0xcd ++ DLT_DBUS = 0xe7 ++ DLT_DECT = 0xdd ++ DLT_DISPLAYPORT_AUX = 0x113 ++ DLT_DOCSIS = 0x8f ++ DLT_DOCSIS31_XRA31 = 0x111 ++ DLT_DVB_CI = 0xeb ++ DLT_ECONET = 0x73 ++ DLT_EN10MB = 0x1 ++ DLT_EN3MB = 0x2 ++ DLT_ENC = 0x6d ++ DLT_EPON = 0x103 ++ DLT_ERF = 0xc5 ++ DLT_ERF_ETH = 0xaf ++ DLT_ERF_POS = 0xb0 ++ DLT_ETHERNET_MPACKET = 0x112 ++ 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_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_INFINIBAND = 0xf7 ++ DLT_IPFILTER = 0x74 ++ DLT_IPMB_KONTRON = 0xc7 ++ DLT_IPMB_LINUX = 0xd1 ++ DLT_IPMI_HPM_2 = 0x104 ++ DLT_IPNET = 0xe2 ++ DLT_IPOIB = 0xf2 ++ DLT_IPV4 = 0xe4 ++ DLT_IPV6 = 0xe5 ++ DLT_IP_OVER_FC = 0x7a ++ DLT_ISO_14443 = 0x108 ++ 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_LINUX_SLL2 = 0x114 ++ DLT_LOOP = 0x6c ++ DLT_LORATAP = 0x10e ++ DLT_LTALK = 0x72 ++ DLT_MATCHING_MAX = 0x114 ++ 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_NETLINK = 0xfd ++ DLT_NFC_LLCP = 0xf5 ++ DLT_NFLOG = 0xef ++ DLT_NG40 = 0xf4 ++ DLT_NORDIC_BLE = 0x110 ++ DLT_NULL = 0x0 ++ DLT_OPENFLOW = 0x10b ++ DLT_PCI_EXP = 0x7d ++ DLT_PFLOG = 0x75 ++ DLT_PFSYNC = 0x79 ++ DLT_PKTAP = 0x102 ++ 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_PPP_WITH_DIRECTION = 0xa6 ++ DLT_PRISM_HEADER = 0x77 ++ DLT_PROFIBUS_DL = 0x101 ++ DLT_PRONET = 0x4 ++ DLT_RAIF1 = 0xc6 ++ DLT_RAW = 0xc ++ DLT_RDS = 0x109 ++ DLT_REDBACK_SMARTEDGE = 0x20 ++ DLT_RIO = 0x7c ++ DLT_RTAC_SERIAL = 0xfa ++ DLT_SCCP = 0x8e ++ DLT_SCTP = 0xf8 ++ DLT_SDLC = 0x10c ++ DLT_SITA = 0xc4 ++ DLT_SLIP = 0x8 ++ DLT_SLIP_BSDOS = 0xd ++ DLT_STANAG_5066_D_PDU = 0xed ++ DLT_SUNATM = 0x7b ++ DLT_SYMANTEC_FIREWALL = 0x63 ++ DLT_TI_LLN_SNIFFER = 0x10d ++ DLT_TZSP = 0x80 ++ DLT_USB = 0xba ++ DLT_USBPCAP = 0xf9 ++ DLT_USB_DARWIN = 0x10a ++ DLT_USB_FREEBSD = 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_VSOCK = 0x10f ++ DLT_WATTSTOPPER_DLM = 0x107 ++ DLT_WIHART = 0xdf ++ DLT_WIRESHARK_UPPER_PDU = 0xfc ++ DLT_X2E_SERIAL = 0xd5 ++ DLT_X2E_XORAYA = 0xd6 ++ DLT_ZWAVE_R1_R2 = 0x105 ++ DLT_ZWAVE_R3 = 0x106 ++ 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 ++ EHE_DEAD_PRIORITY = -0x1 ++ EVFILT_AIO = -0x3 ++ EVFILT_EMPTY = -0xd ++ EVFILT_FS = -0x9 ++ EVFILT_LIO = -0xa ++ EVFILT_PROC = -0x5 ++ EVFILT_PROCDESC = -0x8 ++ EVFILT_READ = -0x1 ++ EVFILT_SENDFILE = -0xc ++ EVFILT_SIGNAL = -0x6 ++ EVFILT_SYSCOUNT = 0xd ++ EVFILT_TIMER = -0x7 ++ EVFILT_USER = -0xb ++ EVFILT_VNODE = -0x4 ++ EVFILT_WRITE = -0x2 ++ EVNAMEMAP_NAME_SIZE = 0x40 ++ 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_FLAG2 = 0x4000 ++ EV_FORCEONESHOT = 0x100 ++ EV_ONESHOT = 0x10 ++ EV_RECEIPT = 0x40 ++ EV_SYSFLAGS = 0xf000 ++ EXTA = 0x4b00 ++ EXTATTR_MAXNAMELEN = 0xff ++ EXTATTR_NAMESPACE_EMPTY = 0x0 ++ EXTATTR_NAMESPACE_SYSTEM = 0x2 ++ EXTATTR_NAMESPACE_USER = 0x1 ++ EXTB = 0x9600 ++ EXTPROC = 0x800 ++ FD_CLOEXEC = 0x1 ++ FD_NONE = -0xc8 ++ FD_SETSIZE = 0x400 ++ FLUSHO = 0x800000 ++ F_ADD_SEALS = 0x13 ++ 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_GET_SEALS = 0x14 ++ F_ISUNIONSTACK = 0x15 ++ F_KINFO = 0x16 ++ F_OGETLK = 0x7 ++ F_OK = 0x0 ++ F_OSETLK = 0x8 ++ F_OSETLKW = 0x9 ++ F_RDAHEAD = 0x10 ++ F_RDLCK = 0x1 ++ F_READAHEAD = 0xf ++ F_SEAL_GROW = 0x4 ++ F_SEAL_SEAL = 0x1 ++ F_SEAL_SHRINK = 0x2 ++ F_SEAL_WRITE = 0x8 ++ 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 ++ HW_MACHINE = 0x1 ++ ICANON = 0x100 ++ ICMP6_FILTER = 0x12 ++ ICRNL = 0x100 ++ IEXTEN = 0x400 ++ IFAN_ARRIVAL = 0x0 ++ IFAN_DEPARTURE = 0x1 ++ IFCAP_WOL_MAGIC = 0x2000 ++ 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_KNOWSEPOCH = 0x20 ++ IFF_LINK0 = 0x1000 ++ IFF_LINK1 = 0x2000 ++ IFF_LINK2 = 0x4000 ++ IFF_LOOPBACK = 0x8 ++ IFF_MONITOR = 0x40000 ++ IFF_MULTICAST = 0x8000 ++ IFF_NOARP = 0x80 ++ IFF_NOGROUP = 0x800000 ++ IFF_OACTIVE = 0x400 ++ IFF_POINTOPOINT = 0x10 ++ IFF_PPROMISC = 0x20000 ++ IFF_PROMISC = 0x100 ++ IFF_RENAMING = 0x400000 ++ IFF_RUNNING = 0x40 ++ IFF_SIMPLEX = 0x800 ++ IFF_STATICARP = 0x80000 ++ IFF_UP = 0x1 ++ IFNAMSIZ = 0x10 ++ IFT_BRIDGE = 0xd1 ++ IFT_CARP = 0xf8 ++ IFT_IEEE1394 = 0x90 ++ IFT_INFINIBAND = 0xc7 ++ IFT_L2VLAN = 0x87 ++ IFT_L3IPVLAN = 0x88 ++ IFT_PPP = 0x17 ++ IFT_PROPVIRTUAL = 0x35 ++ 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_NETMASK_DEFAULT = 0xffffff00 ++ 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_DCCP = 0x21 ++ 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_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_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_BINDMULTI = 0x41 ++ 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_FLOWID = 0x43 ++ IPV6_FLOWINFO_MASK = 0xffffff0f ++ IPV6_FLOWLABEL_LEN = 0x14 ++ IPV6_FLOWLABEL_MASK = 0xffff0f00 ++ IPV6_FLOWTYPE = 0x44 ++ 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_MMTU = 0x500 ++ IPV6_MSFILTER = 0x4a ++ IPV6_MULTICAST_HOPS = 0xa ++ IPV6_MULTICAST_IF = 0x9 ++ IPV6_MULTICAST_LOOP = 0xb ++ IPV6_NEXTHOP = 0x30 ++ IPV6_ORIGDSTADDR = 0x48 ++ 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_RECVFLOWID = 0x46 ++ IPV6_RECVHOPLIMIT = 0x25 ++ IPV6_RECVHOPOPTS = 0x27 ++ IPV6_RECVORIGDSTADDR = 0x48 ++ IPV6_RECVPATHMTU = 0x2b ++ IPV6_RECVPKTINFO = 0x24 ++ IPV6_RECVRSSBUCKETID = 0x47 ++ IPV6_RECVRTHDR = 0x26 ++ IPV6_RECVTCLASS = 0x39 ++ IPV6_RSSBUCKETID = 0x45 ++ IPV6_RSS_LISTEN_BUCKET = 0x42 ++ 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 ++ IPV6_VLAN_PCP = 0x4b ++ IP_ADD_MEMBERSHIP = 0xc ++ IP_ADD_SOURCE_MEMBERSHIP = 0x46 ++ IP_BINDANY = 0x18 ++ IP_BINDMULTI = 0x19 ++ 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_FLOWID = 0x5a ++ IP_FLOWTYPE = 0x5b ++ 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_MF = 0x2000 ++ IP_MINTTL = 0x42 ++ 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_ORIGDSTADDR = 0x1b ++ IP_PORTRANGE = 0x13 ++ IP_PORTRANGE_DEFAULT = 0x0 ++ IP_PORTRANGE_HIGH = 0x1 ++ IP_PORTRANGE_LOW = 0x2 ++ IP_RECVDSTADDR = 0x7 ++ IP_RECVFLOWID = 0x5d ++ IP_RECVIF = 0x14 ++ IP_RECVOPTS = 0x5 ++ IP_RECVORIGDSTADDR = 0x1b ++ IP_RECVRETOPTS = 0x6 ++ IP_RECVRSSBUCKETID = 0x5e ++ IP_RECVTOS = 0x44 ++ IP_RECVTTL = 0x41 ++ IP_RETOPTS = 0x8 ++ IP_RF = 0x8000 ++ IP_RSSBUCKETID = 0x5c ++ IP_RSS_LISTEN_BUCKET = 0x1a ++ 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 ++ IP_VLAN_PCP = 0x4b ++ ISIG = 0x80 ++ ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 ++ IXANY = 0x800 ++ IXOFF = 0x400 ++ IXON = 0x200 ++ KERN_HOSTNAME = 0xa ++ KERN_OSRELEASE = 0x2 ++ KERN_OSTYPE = 0x1 ++ KERN_VERSION = 0x4 ++ LOCAL_CONNWAIT = 0x4 ++ LOCAL_CREDS = 0x2 ++ LOCAL_CREDS_PERSISTENT = 0x3 ++ LOCAL_PEERCRED = 0x1 ++ LOCAL_VENDOR = 0x80000000 ++ 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_GUARD = 0x2000 ++ MAP_HASSEMAPHORE = 0x200 ++ MAP_NOCORE = 0x20000 ++ MAP_NOSYNC = 0x800 ++ MAP_PREFAULT_READ = 0x40000 ++ MAP_PRIVATE = 0x2 ++ MAP_RESERVED0020 = 0x20 ++ MAP_RESERVED0040 = 0x40 ++ MAP_RESERVED0080 = 0x80 ++ MAP_RESERVED0100 = 0x100 ++ MAP_SHARED = 0x1 ++ MAP_STACK = 0x400 ++ MCAST_BLOCK_SOURCE = 0x54 ++ MCAST_EXCLUDE = 0x2 ++ MCAST_INCLUDE = 0x1 ++ MCAST_JOIN_GROUP = 0x50 ++ MCAST_JOIN_SOURCE_GROUP = 0x52 ++ MCAST_LEAVE_GROUP = 0x51 ++ MCAST_LEAVE_SOURCE_GROUP = 0x53 ++ MCAST_UNBLOCK_SOURCE = 0x55 ++ MCAST_UNDEFINED = 0x0 ++ MCL_CURRENT = 0x1 ++ MCL_FUTURE = 0x2 ++ MFD_ALLOW_SEALING = 0x2 ++ MFD_CLOEXEC = 0x1 ++ MFD_HUGETLB = 0x4 ++ MFD_HUGE_16GB = -0x78000000 ++ MFD_HUGE_16MB = 0x60000000 ++ MFD_HUGE_1GB = 0x78000000 ++ MFD_HUGE_1MB = 0x50000000 ++ MFD_HUGE_256MB = 0x70000000 ++ MFD_HUGE_2GB = 0x7c000000 ++ MFD_HUGE_2MB = 0x54000000 ++ MFD_HUGE_32MB = 0x64000000 ++ MFD_HUGE_512KB = 0x4c000000 ++ MFD_HUGE_512MB = 0x74000000 ++ MFD_HUGE_64KB = 0x40000000 ++ MFD_HUGE_8MB = 0x5c000000 ++ MFD_HUGE_MASK = 0xfc000000 ++ MFD_HUGE_SHIFT = 0x1a ++ MNT_ACLS = 0x8000000 ++ MNT_ASYNC = 0x40 ++ MNT_AUTOMOUNTED = 0x200000000 ++ MNT_BYFSID = 0x8000000 ++ MNT_CMDFLAGS = 0x300d0f0000 ++ MNT_DEFEXPORTED = 0x200 ++ MNT_DELEXPORT = 0x20000 ++ MNT_EMPTYDIR = 0x2000000000 ++ MNT_EXKERB = 0x800 ++ MNT_EXPORTANON = 0x400 ++ MNT_EXPORTED = 0x100 ++ MNT_EXPUBLIC = 0x20000000 ++ MNT_EXRDONLY = 0x80 ++ MNT_EXTLS = 0x4000000000 ++ MNT_EXTLSCERT = 0x8000000000 ++ MNT_EXTLSCERTUSER = 0x10000000000 ++ MNT_FORCE = 0x80000 ++ MNT_GJOURNAL = 0x2000000 ++ MNT_IGNORE = 0x800000 ++ MNT_LAZY = 0x3 ++ MNT_LOCAL = 0x1000 ++ MNT_MULTILABEL = 0x4000000 ++ MNT_NFS4ACLS = 0x10 ++ MNT_NOATIME = 0x10000000 ++ MNT_NOCLUSTERR = 0x40000000 ++ MNT_NOCLUSTERW = 0x80000000 ++ MNT_NOCOVER = 0x1000000000 ++ MNT_NOEXEC = 0x4 ++ MNT_NONBUSY = 0x4000000 ++ MNT_NOSUID = 0x8 ++ MNT_NOSYMFOLLOW = 0x400000 ++ MNT_NOWAIT = 0x2 ++ MNT_QUOTA = 0x2000 ++ MNT_RDONLY = 0x1 ++ MNT_RELOAD = 0x40000 ++ MNT_ROOTFS = 0x4000 ++ MNT_SNAPSHOT = 0x1000000 ++ MNT_SOFTDEP = 0x200000 ++ MNT_SUIDDIR = 0x100000 ++ MNT_SUJ = 0x100000000 ++ MNT_SUSPEND = 0x4 ++ MNT_SYNCHRONOUS = 0x2 ++ MNT_UNION = 0x20 ++ MNT_UNTRUSTED = 0x800000000 ++ MNT_UPDATE = 0x10000 ++ MNT_UPDATEMASK = 0xad8d0807e ++ MNT_USER = 0x8000 ++ MNT_VERIFIED = 0x400000000 ++ MNT_VISFLAGMASK = 0xffef0ffff ++ MNT_WAIT = 0x1 ++ 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 ++ MSG_WAITFORONE = 0x80000 ++ 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_NHGRP = 0x7 ++ NET_RT_NHOP = 0x6 ++ NFDBITS = 0x40 ++ NOFLSH = 0x80000000 ++ NOKERNINFO = 0x2000000 ++ NOTE_ABSTIME = 0x10 ++ NOTE_ATTRIB = 0x8 ++ NOTE_CHILD = 0x4 ++ NOTE_CLOSE = 0x100 ++ NOTE_CLOSE_WRITE = 0x200 ++ 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_FILE_POLL = 0x2 ++ NOTE_FORK = 0x40000000 ++ NOTE_LINK = 0x10 ++ NOTE_LOWAT = 0x1 ++ NOTE_MSECONDS = 0x2 ++ NOTE_NSECONDS = 0x8 ++ NOTE_OPEN = 0x80 ++ NOTE_PCTRLMASK = 0xf0000000 ++ NOTE_PDATAMASK = 0xfffff ++ NOTE_READ = 0x400 ++ 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 ++ OXTABS = 0x4 ++ O_ACCMODE = 0x3 ++ O_APPEND = 0x8 ++ O_ASYNC = 0x40 ++ O_CLOEXEC = 0x100000 ++ O_CREAT = 0x200 ++ O_DIRECT = 0x10000 ++ O_DIRECTORY = 0x20000 ++ O_DSYNC = 0x1000000 ++ O_EMPTY_PATH = 0x2000000 ++ 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_PATH = 0x400000 ++ O_RDONLY = 0x0 ++ O_RDWR = 0x2 ++ O_RESOLVE_BENEATH = 0x800000 ++ O_SEARCH = 0x40000 ++ O_SHLOCK = 0x10 ++ O_SYNC = 0x80 ++ O_TRUNC = 0x400 ++ O_TTY_INIT = 0x80000 ++ O_VERIFY = 0x200000 ++ O_WRONLY = 0x1 ++ PARENB = 0x1000 ++ PARMRK = 0x8 ++ PARODD = 0x2000 ++ PENDIN = 0x20000000 ++ PIOD_READ_D = 0x1 ++ PIOD_READ_I = 0x3 ++ PIOD_WRITE_D = 0x2 ++ PIOD_WRITE_I = 0x4 ++ PRIO_PGRP = 0x1 ++ PRIO_PROCESS = 0x0 ++ PRIO_USER = 0x2 ++ PROT_EXEC = 0x4 ++ PROT_NONE = 0x0 ++ PROT_READ = 0x1 ++ PROT_WRITE = 0x2 ++ PTRACE_DEFAULT = 0x1 ++ PTRACE_EXEC = 0x1 ++ PTRACE_FORK = 0x8 ++ PTRACE_LWP = 0x10 ++ PTRACE_SCE = 0x2 ++ PTRACE_SCX = 0x4 ++ PTRACE_SYSCALL = 0x6 ++ PTRACE_VFORK = 0x20 ++ PT_ATTACH = 0xa ++ PT_CLEARSTEP = 0x10 ++ PT_CONTINUE = 0x7 ++ PT_COREDUMP = 0x1d ++ PT_DETACH = 0xb ++ PT_FIRSTMACH = 0x40 ++ PT_FOLLOW_FORK = 0x17 ++ PT_GETDBREGS = 0x25 ++ PT_GETFPREGS = 0x23 ++ PT_GETLWPLIST = 0xf ++ PT_GETNUMLWPS = 0xe ++ PT_GETREGS = 0x21 ++ PT_GET_EVENT_MASK = 0x19 ++ PT_GET_SC_ARGS = 0x1b ++ PT_GET_SC_RET = 0x1c ++ PT_IO = 0xc ++ PT_KILL = 0x8 ++ PT_LWPINFO = 0xd ++ PT_LWP_EVENTS = 0x18 ++ PT_READ_D = 0x2 ++ PT_READ_I = 0x1 ++ PT_RESUME = 0x13 ++ PT_SETDBREGS = 0x26 ++ PT_SETFPREGS = 0x24 ++ PT_SETREGS = 0x22 ++ PT_SETSTEP = 0x11 ++ PT_SET_EVENT_MASK = 0x1a ++ PT_STEP = 0x9 ++ PT_SUSPEND = 0x12 ++ PT_SYSCALL = 0x16 ++ PT_TO_SCE = 0x14 ++ PT_TO_SCX = 0x15 ++ PT_TRACE_ME = 0x0 ++ PT_VM_ENTRY = 0x29 ++ PT_VM_TIMESTAMP = 0x28 ++ PT_WRITE_D = 0x5 ++ PT_WRITE_I = 0x4 ++ P_ZONEID = 0xc ++ RLIMIT_AS = 0xa ++ RLIMIT_CORE = 0x4 ++ RLIMIT_CPU = 0x0 ++ RLIMIT_DATA = 0x2 ++ RLIMIT_FSIZE = 0x1 ++ RLIMIT_MEMLOCK = 0x6 ++ RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 ++ 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_FIXEDMTU = 0x80000 ++ 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_PROTO1 = 0x8000 ++ RTF_PROTO2 = 0x4000 ++ RTF_PROTO3 = 0x40000 ++ RTF_REJECT = 0x8 ++ 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_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_BLACKHOLE = 0x40 ++ RT_DEFAULT_FIB = 0x0 ++ RT_DEFAULT_WEIGHT = 0x1 ++ RT_HAS_GW = 0x80 ++ RT_HAS_HEADER = 0x10 ++ RT_HAS_HEADER_BIT = 0x4 ++ RT_L2_ME = 0x4 ++ RT_L2_ME_BIT = 0x2 ++ RT_LLE_CACHE = 0x100 ++ RT_MAX_WEIGHT = 0xffffff ++ RT_MAY_LOOP = 0x8 ++ RT_MAY_LOOP_BIT = 0x3 ++ RT_REJECT = 0x20 ++ RUSAGE_CHILDREN = -0x1 ++ RUSAGE_SELF = 0x0 ++ RUSAGE_THREAD = 0x1 ++ SCM_BINTIME = 0x4 ++ SCM_CREDS = 0x3 ++ SCM_CREDS2 = 0x8 ++ SCM_MONOTONIC = 0x6 ++ SCM_REALTIME = 0x5 ++ SCM_RIGHTS = 0x1 ++ SCM_TIMESTAMP = 0x2 ++ SCM_TIME_INFO = 0x7 ++ SEEK_CUR = 0x1 ++ SEEK_DATA = 0x3 ++ SEEK_END = 0x2 ++ SEEK_HOLE = 0x4 ++ SEEK_SET = 0x0 ++ SHUT_RD = 0x0 ++ SHUT_RDWR = 0x2 ++ SHUT_WR = 0x1 ++ SIOCADDMULTI = 0x80206931 ++ SIOCAIFADDR = 0x8040691a ++ SIOCAIFGROUP = 0x80286987 ++ SIOCATMARK = 0x40047307 ++ SIOCDELMULTI = 0x80206932 ++ SIOCDIFADDR = 0x80206919 ++ SIOCDIFGROUP = 0x80286989 ++ SIOCDIFPHYADDR = 0x80206949 ++ SIOCGDRVSPEC = 0xc028697b ++ SIOCGETSGCNT = 0xc0207210 ++ SIOCGETVIFCNT = 0xc028720f ++ SIOCGHIWAT = 0x40047301 ++ SIOCGHWADDR = 0xc020693e ++ SIOCGI2C = 0xc020693d ++ SIOCGIFADDR = 0xc0206921 ++ SIOCGIFALIAS = 0xc044692d ++ SIOCGIFBRDADDR = 0xc0206923 ++ SIOCGIFCAP = 0xc020691f ++ SIOCGIFCONF = 0xc0106924 ++ SIOCGIFDATA = 0x8020692c ++ SIOCGIFDESCR = 0xc020692a ++ SIOCGIFDOWNREASON = 0xc058699a ++ 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 ++ SIOCGIFRSSHASH = 0xc0186997 ++ SIOCGIFRSSKEY = 0xc0946996 ++ SIOCGIFSTATUS = 0xc331693b ++ SIOCGIFXMEDIA = 0xc030698b ++ SIOCGLANPCP = 0xc0206998 ++ SIOCGLOWAT = 0x40047303 ++ SIOCGPGRP = 0x40047309 ++ SIOCGPRIVATE_0 = 0xc0206950 ++ SIOCGPRIVATE_1 = 0xc0206951 ++ SIOCGTUNFIB = 0xc020695e ++ 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 ++ SIOCSLANPCP = 0x80206999 ++ SIOCSLOWAT = 0x80047302 ++ SIOCSPGRP = 0x80047308 ++ SIOCSTUNFIB = 0x8020695f ++ 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_LOCAL = 0x0 ++ SOL_SOCKET = 0xffff ++ SOMAXCONN = 0x80 ++ SO_ACCEPTCONN = 0x2 ++ SO_ACCEPTFILTER = 0x1000 ++ SO_BINTIME = 0x2000 ++ SO_BROADCAST = 0x20 ++ SO_DEBUG = 0x1 ++ SO_DOMAIN = 0x1019 ++ 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_MAX_PACING_RATE = 0x1018 ++ 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_RERROR = 0x20000 ++ SO_REUSEADDR = 0x4 ++ SO_REUSEPORT = 0x200 ++ SO_REUSEPORT_LB = 0x10000 ++ SO_SETFIB = 0x1014 ++ SO_SNDBUF = 0x1001 ++ SO_SNDLOWAT = 0x1003 ++ SO_SNDTIMEO = 0x1005 ++ SO_TIMESTAMP = 0x400 ++ SO_TS_BINTIME = 0x1 ++ SO_TS_CLOCK = 0x1017 ++ SO_TS_CLOCK_MAX = 0x3 ++ SO_TS_DEFAULT = 0x0 ++ SO_TS_MONOTONIC = 0x3 ++ SO_TS_REALTIME = 0x2 ++ SO_TS_REALTIME_MICRO = 0x0 ++ SO_TYPE = 0x1008 ++ SO_USELOOPBACK = 0x40 ++ SO_USER_COOKIE = 0x1015 ++ SO_VENDOR = 0x80000000 ++ 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 ++ TAB0 = 0x0 ++ TAB3 = 0x4 ++ TABDLY = 0x4 ++ TCIFLUSH = 0x1 ++ TCIOFF = 0x3 ++ TCIOFLUSH = 0x3 ++ TCION = 0x4 ++ TCOFLUSH = 0x2 ++ TCOOFF = 0x1 ++ TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_FAST_OPEN = 0x22 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_PAD = 0x0 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_WINDOW = 0x3 ++ TCP_BBR_ACK_COMP_ALG = 0x448 ++ TCP_BBR_ALGORITHM = 0x43b ++ TCP_BBR_DRAIN_INC_EXTRA = 0x43c ++ TCP_BBR_DRAIN_PG = 0x42e ++ TCP_BBR_EXTRA_GAIN = 0x449 ++ TCP_BBR_EXTRA_STATE = 0x453 ++ TCP_BBR_FLOOR_MIN_TSO = 0x454 ++ TCP_BBR_HDWR_PACE = 0x451 ++ TCP_BBR_HOLD_TARGET = 0x436 ++ TCP_BBR_IWINTSO = 0x42b ++ TCP_BBR_LOWGAIN_FD = 0x436 ++ TCP_BBR_LOWGAIN_HALF = 0x435 ++ TCP_BBR_LOWGAIN_THRESH = 0x434 ++ TCP_BBR_MAX_RTO = 0x439 ++ TCP_BBR_MIN_RTO = 0x438 ++ TCP_BBR_MIN_TOPACEOUT = 0x455 ++ TCP_BBR_ONE_RETRAN = 0x431 ++ TCP_BBR_PACE_CROSS = 0x442 ++ TCP_BBR_PACE_DEL_TAR = 0x43f ++ TCP_BBR_PACE_OH = 0x435 ++ TCP_BBR_PACE_PER_SEC = 0x43e ++ TCP_BBR_PACE_SEG_MAX = 0x440 ++ TCP_BBR_PACE_SEG_MIN = 0x441 ++ TCP_BBR_POLICER_DETECT = 0x457 ++ TCP_BBR_PROBE_RTT_GAIN = 0x44d ++ TCP_BBR_PROBE_RTT_INT = 0x430 ++ TCP_BBR_PROBE_RTT_LEN = 0x44e ++ TCP_BBR_RACK_INIT_RATE = 0x458 ++ TCP_BBR_RACK_RTT_USE = 0x44a ++ TCP_BBR_RECFORCE = 0x42c ++ TCP_BBR_REC_OVER_HPTS = 0x43a ++ TCP_BBR_RETRAN_WTSO = 0x44b ++ TCP_BBR_RWND_IS_APP = 0x42f ++ TCP_BBR_SEND_IWND_IN_TSO = 0x44f ++ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d ++ TCP_BBR_STARTUP_LOSS_EXIT = 0x432 ++ TCP_BBR_STARTUP_PG = 0x42d ++ TCP_BBR_TMR_PACE_OH = 0x448 ++ TCP_BBR_TSLIMITS = 0x434 ++ TCP_BBR_TSTMP_RAISES = 0x456 ++ TCP_BBR_UNLIMITED = 0x43b ++ TCP_BBR_USEDEL_RATE = 0x437 ++ TCP_BBR_USE_LOWGAIN = 0x433 ++ TCP_BBR_USE_RACK_CHEAT = 0x450 ++ TCP_BBR_USE_RACK_RR = 0x450 ++ TCP_BBR_UTTER_MAX_TSO = 0x452 ++ TCP_CA_NAME_MAX = 0x10 ++ TCP_CCALGOOPT = 0x41 ++ TCP_CONGESTION = 0x40 ++ TCP_DATA_AFTER_CLOSE = 0x44c ++ TCP_DEFER_OPTIONS = 0x470 ++ TCP_DELACK = 0x48 ++ TCP_FASTOPEN = 0x401 ++ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10 ++ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4 ++ TCP_FASTOPEN_PSK_LEN = 0x10 ++ TCP_FAST_RSM_HACK = 0x471 ++ TCP_FIN_IS_RST = 0x49 ++ TCP_FUNCTION_BLK = 0x2000 ++ TCP_FUNCTION_NAME_LEN_MAX = 0x20 ++ TCP_HDWR_RATE_CAP = 0x46a ++ TCP_HDWR_UP_ONLY = 0x46c ++ TCP_IDLE_REDUCE = 0x46 ++ TCP_INFO = 0x20 ++ TCP_IWND_NB = 0x2b ++ TCP_IWND_NSEG = 0x2c ++ TCP_KEEPCNT = 0x400 ++ TCP_KEEPIDLE = 0x100 ++ TCP_KEEPINIT = 0x80 ++ TCP_KEEPINTVL = 0x200 ++ TCP_LOG = 0x22 ++ TCP_LOGBUF = 0x23 ++ TCP_LOGDUMP = 0x25 ++ TCP_LOGDUMPID = 0x26 ++ TCP_LOGID = 0x24 ++ TCP_LOGID_CNT = 0x2e ++ TCP_LOG_ID_LEN = 0x40 ++ TCP_LOG_LIMIT = 0x4a ++ TCP_LOG_TAG = 0x2f ++ TCP_MAXBURST = 0x4 ++ TCP_MAXHLEN = 0x3c ++ TCP_MAXOLEN = 0x28 ++ TCP_MAXPEAKRATE = 0x45 ++ TCP_MAXSEG = 0x2 ++ TCP_MAXUNACKTIME = 0x44 ++ 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_NO_PRR = 0x462 ++ TCP_PACING_RATE_CAP = 0x46b ++ TCP_PCAP_IN = 0x1000 ++ TCP_PCAP_OUT = 0x800 ++ TCP_PERF_INFO = 0x4e ++ TCP_PROC_ACCOUNTING = 0x4c ++ TCP_RACK_ABC_VAL = 0x46d ++ TCP_RACK_CHEAT_NOT_CONF_RATE = 0x459 ++ TCP_RACK_DO_DETECTION = 0x449 ++ TCP_RACK_EARLY_RECOV = 0x423 ++ TCP_RACK_EARLY_SEG = 0x424 ++ TCP_RACK_FORCE_MSEG = 0x45d ++ TCP_RACK_GP_INCREASE = 0x446 ++ TCP_RACK_GP_INCREASE_CA = 0x45a ++ TCP_RACK_GP_INCREASE_REC = 0x45c ++ TCP_RACK_GP_INCREASE_SS = 0x45b ++ TCP_RACK_IDLE_REDUCE_HIGH = 0x444 ++ TCP_RACK_MBUF_QUEUE = 0x41a ++ TCP_RACK_MEASURE_CNT = 0x46f ++ TCP_RACK_MIN_PACE = 0x445 ++ TCP_RACK_MIN_PACE_SEG = 0x446 ++ TCP_RACK_MIN_TO = 0x422 ++ TCP_RACK_NONRXT_CFG_RATE = 0x463 ++ TCP_RACK_NO_PUSH_AT_MAX = 0x466 ++ TCP_RACK_PACE_ALWAYS = 0x41f ++ TCP_RACK_PACE_MAX_SEG = 0x41e ++ TCP_RACK_PACE_RATE_CA = 0x45e ++ TCP_RACK_PACE_RATE_REC = 0x460 ++ TCP_RACK_PACE_RATE_SS = 0x45f ++ TCP_RACK_PACE_REDUCE = 0x41d ++ TCP_RACK_PACE_TO_FILL = 0x467 ++ TCP_RACK_PACING_BETA = 0x472 ++ TCP_RACK_PACING_BETA_ECN = 0x473 ++ TCP_RACK_PKT_DELAY = 0x428 ++ TCP_RACK_PROFILE = 0x469 ++ TCP_RACK_PROP = 0x41b ++ TCP_RACK_PROP_RATE = 0x420 ++ TCP_RACK_PRR_SENDALOT = 0x421 ++ TCP_RACK_REORD_FADE = 0x426 ++ TCP_RACK_REORD_THRESH = 0x425 ++ TCP_RACK_RR_CONF = 0x459 ++ TCP_RACK_TIMER_SLOP = 0x474 ++ TCP_RACK_TLP_INC_VAR = 0x429 ++ TCP_RACK_TLP_REDUCE = 0x41c ++ TCP_RACK_TLP_THRESH = 0x427 ++ TCP_RACK_TLP_USE = 0x447 ++ TCP_REC_ABC_VAL = 0x46e ++ TCP_REMOTE_UDP_ENCAPS_PORT = 0x47 ++ TCP_REUSPORT_LB_NUMA = 0x402 ++ TCP_REUSPORT_LB_NUMA_CURDOM = -0x1 ++ TCP_REUSPORT_LB_NUMA_NODOM = -0x2 ++ TCP_RXTLS_ENABLE = 0x29 ++ TCP_RXTLS_MODE = 0x2a ++ TCP_SHARED_CWND_ALLOWED = 0x4b ++ TCP_SHARED_CWND_ENABLE = 0x464 ++ TCP_SHARED_CWND_TIME_LIMIT = 0x468 ++ TCP_STATS = 0x21 ++ TCP_TIMELY_DYN_ADJ = 0x465 ++ TCP_TLS_MODE_IFNET = 0x2 ++ TCP_TLS_MODE_NONE = 0x0 ++ TCP_TLS_MODE_SW = 0x1 ++ TCP_TLS_MODE_TOE = 0x3 ++ TCP_TXTLS_ENABLE = 0x27 ++ TCP_TXTLS_MODE = 0x28 ++ TCP_USER_LOG = 0x30 ++ TCP_USE_CMP_ACKS = 0x4d ++ TCP_VENDOR = 0x80000000 ++ TCSAFLUSH = 0x2 ++ TIMER_ABSTIME = 0x1 ++ TIMER_RELTIME = 0x0 ++ 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 ++ UTIME_NOW = -0x1 ++ UTIME_OMIT = -0x2 ++ 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) ++ EINTEGRITY = syscall.Errno(0x61) ++ EINTR = syscall.Errno(0x4) ++ EINVAL = syscall.Errno(0x16) ++ EIO = syscall.Errno(0x5) ++ EISCONN = syscall.Errno(0x38) ++ EISDIR = syscall.Errno(0x15) ++ ELAST = syscall.Errno(0x61) ++ 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 errorList = [...]struct { ++ num syscall.Errno ++ name string ++ desc string ++}{ ++ {1, "EPERM", "operation not permitted"}, ++ {2, "ENOENT", "no such file or directory"}, ++ {3, "ESRCH", "no such process"}, ++ {4, "EINTR", "interrupted system call"}, ++ {5, "EIO", "input/output error"}, ++ {6, "ENXIO", "device not configured"}, ++ {7, "E2BIG", "argument list too long"}, ++ {8, "ENOEXEC", "exec format error"}, ++ {9, "EBADF", "bad file descriptor"}, ++ {10, "ECHILD", "no child processes"}, ++ {11, "EDEADLK", "resource deadlock avoided"}, ++ {12, "ENOMEM", "cannot allocate memory"}, ++ {13, "EACCES", "permission denied"}, ++ {14, "EFAULT", "bad address"}, ++ {15, "ENOTBLK", "block device required"}, ++ {16, "EBUSY", "device busy"}, ++ {17, "EEXIST", "file exists"}, ++ {18, "EXDEV", "cross-device link"}, ++ {19, "ENODEV", "operation not supported by device"}, ++ {20, "ENOTDIR", "not a directory"}, ++ {21, "EISDIR", "is a directory"}, ++ {22, "EINVAL", "invalid argument"}, ++ {23, "ENFILE", "too many open files in system"}, ++ {24, "EMFILE", "too many open files"}, ++ {25, "ENOTTY", "inappropriate ioctl for device"}, ++ {26, "ETXTBSY", "text file busy"}, ++ {27, "EFBIG", "file too large"}, ++ {28, "ENOSPC", "no space left on device"}, ++ {29, "ESPIPE", "illegal seek"}, ++ {30, "EROFS", "read-only file system"}, ++ {31, "EMLINK", "too many links"}, ++ {32, "EPIPE", "broken pipe"}, ++ {33, "EDOM", "numerical argument out of domain"}, ++ {34, "ERANGE", "result too large"}, ++ {35, "EWOULDBLOCK", "resource temporarily unavailable"}, ++ {36, "EINPROGRESS", "operation now in progress"}, ++ {37, "EALREADY", "operation already in progress"}, ++ {38, "ENOTSOCK", "socket operation on non-socket"}, ++ {39, "EDESTADDRREQ", "destination address required"}, ++ {40, "EMSGSIZE", "message too long"}, ++ {41, "EPROTOTYPE", "protocol wrong type for socket"}, ++ {42, "ENOPROTOOPT", "protocol not available"}, ++ {43, "EPROTONOSUPPORT", "protocol not supported"}, ++ {44, "ESOCKTNOSUPPORT", "socket type not supported"}, ++ {45, "EOPNOTSUPP", "operation not supported"}, ++ {46, "EPFNOSUPPORT", "protocol family not supported"}, ++ {47, "EAFNOSUPPORT", "address family not supported by protocol family"}, ++ {48, "EADDRINUSE", "address already in use"}, ++ {49, "EADDRNOTAVAIL", "can't assign requested address"}, ++ {50, "ENETDOWN", "network is down"}, ++ {51, "ENETUNREACH", "network is unreachable"}, ++ {52, "ENETRESET", "network dropped connection on reset"}, ++ {53, "ECONNABORTED", "software caused connection abort"}, ++ {54, "ECONNRESET", "connection reset by peer"}, ++ {55, "ENOBUFS", "no buffer space available"}, ++ {56, "EISCONN", "socket is already connected"}, ++ {57, "ENOTCONN", "socket is not connected"}, ++ {58, "ESHUTDOWN", "can't send after socket shutdown"}, ++ {59, "ETOOMANYREFS", "too many references: can't splice"}, ++ {60, "ETIMEDOUT", "operation timed out"}, ++ {61, "ECONNREFUSED", "connection refused"}, ++ {62, "ELOOP", "too many levels of symbolic links"}, ++ {63, "ENAMETOOLONG", "file name too long"}, ++ {64, "EHOSTDOWN", "host is down"}, ++ {65, "EHOSTUNREACH", "no route to host"}, ++ {66, "ENOTEMPTY", "directory not empty"}, ++ {67, "EPROCLIM", "too many processes"}, ++ {68, "EUSERS", "too many users"}, ++ {69, "EDQUOT", "disc quota exceeded"}, ++ {70, "ESTALE", "stale NFS file handle"}, ++ {71, "EREMOTE", "too many levels of remote in path"}, ++ {72, "EBADRPC", "RPC struct is bad"}, ++ {73, "ERPCMISMATCH", "RPC version wrong"}, ++ {74, "EPROGUNAVAIL", "RPC prog. not avail"}, ++ {75, "EPROGMISMATCH", "program version wrong"}, ++ {76, "EPROCUNAVAIL", "bad procedure for program"}, ++ {77, "ENOLCK", "no locks available"}, ++ {78, "ENOSYS", "function not implemented"}, ++ {79, "EFTYPE", "inappropriate file type or format"}, ++ {80, "EAUTH", "authentication error"}, ++ {81, "ENEEDAUTH", "need authenticator"}, ++ {82, "EIDRM", "identifier removed"}, ++ {83, "ENOMSG", "no message of desired type"}, ++ {84, "EOVERFLOW", "value too large to be stored in data type"}, ++ {85, "ECANCELED", "operation canceled"}, ++ {86, "EILSEQ", "illegal byte sequence"}, ++ {87, "ENOATTR", "attribute not found"}, ++ {88, "EDOOFUS", "programming error"}, ++ {89, "EBADMSG", "bad message"}, ++ {90, "EMULTIHOP", "multihop attempted"}, ++ {91, "ENOLINK", "link has been severed"}, ++ {92, "EPROTO", "protocol error"}, ++ {93, "ENOTCAPABLE", "capabilities insufficient"}, ++ {94, "ECAPMODE", "not permitted in capability mode"}, ++ {95, "ENOTRECOVERABLE", "state not recoverable"}, ++ {96, "EOWNERDEAD", "previous owner died"}, ++ {97, "EINTEGRITY", "integrity check failed"}, ++} ++ ++// Signal table ++var signalList = [...]struct { ++ num syscall.Signal ++ name string ++ desc string ++}{ ++ {1, "SIGHUP", "hangup"}, ++ {2, "SIGINT", "interrupt"}, ++ {3, "SIGQUIT", "quit"}, ++ {4, "SIGILL", "illegal instruction"}, ++ {5, "SIGTRAP", "trace/BPT trap"}, ++ {6, "SIGIOT", "abort trap"}, ++ {7, "SIGEMT", "EMT trap"}, ++ {8, "SIGFPE", "floating point exception"}, ++ {9, "SIGKILL", "killed"}, ++ {10, "SIGBUS", "bus error"}, ++ {11, "SIGSEGV", "segmentation fault"}, ++ {12, "SIGSYS", "bad system call"}, ++ {13, "SIGPIPE", "broken pipe"}, ++ {14, "SIGALRM", "alarm clock"}, ++ {15, "SIGTERM", "terminated"}, ++ {16, "SIGURG", "urgent I/O condition"}, ++ {17, "SIGSTOP", "suspended (signal)"}, ++ {18, "SIGTSTP", "suspended"}, ++ {19, "SIGCONT", "continued"}, ++ {20, "SIGCHLD", "child exited"}, ++ {21, "SIGTTIN", "stopped (tty input)"}, ++ {22, "SIGTTOU", "stopped (tty output)"}, ++ {23, "SIGIO", "I/O possible"}, ++ {24, "SIGXCPU", "cputime limit exceeded"}, ++ {25, "SIGXFSZ", "filesize limit exceeded"}, ++ {26, "SIGVTALRM", "virtual timer expired"}, ++ {27, "SIGPROF", "profiling timer expired"}, ++ {28, "SIGWINCH", "window size changes"}, ++ {29, "SIGINFO", "information request"}, ++ {30, "SIGUSR1", "user defined signal 1"}, ++ {31, "SIGUSR2", "user defined signal 2"}, ++ {32, "SIGTHR", "unknown signal"}, ++ {33, "SIGLIBRT", "unknown signal"}, ++} +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go +index 52f5bbc..785d693 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go +@@ -1,4 +1,4 @@ +-// Code generated by mkmerge.go; DO NOT EDIT. ++// Code generated by mkmerge; DO NOT EDIT. + + //go:build linux + // +build linux +@@ -38,7 +38,8 @@ const ( + AF_KEY = 0xf + AF_LLC = 0x1a + AF_LOCAL = 0x1 +- AF_MAX = 0x2d ++ AF_MAX = 0x2e ++ AF_MCTP = 0x2d + AF_MPLS = 0x1c + AF_NETBEUI = 0xd + AF_NETLINK = 0x10 +@@ -116,6 +117,7 @@ const ( + ARPHRD_LAPB = 0x204 + ARPHRD_LOCALTLK = 0x305 + ARPHRD_LOOPBACK = 0x304 ++ ARPHRD_MCTP = 0x122 + ARPHRD_METRICOM = 0x17 + ARPHRD_NETLINK = 0x338 + ARPHRD_NETROM = 0x0 +@@ -138,6 +140,306 @@ const ( + ARPHRD_VOID = 0xffff + ARPHRD_VSOCKMON = 0x33a + ARPHRD_X25 = 0x10f ++ AUDIT_ADD = 0x3eb ++ AUDIT_ADD_RULE = 0x3f3 ++ AUDIT_ALWAYS = 0x2 ++ AUDIT_ANOM_ABEND = 0x6a5 ++ AUDIT_ANOM_CREAT = 0x6a7 ++ AUDIT_ANOM_LINK = 0x6a6 ++ AUDIT_ANOM_PROMISCUOUS = 0x6a4 ++ AUDIT_ARCH = 0xb ++ AUDIT_ARCH_AARCH64 = 0xc00000b7 ++ AUDIT_ARCH_ALPHA = 0xc0009026 ++ AUDIT_ARCH_ARCOMPACT = 0x4000005d ++ AUDIT_ARCH_ARCOMPACTBE = 0x5d ++ AUDIT_ARCH_ARCV2 = 0x400000c3 ++ AUDIT_ARCH_ARCV2BE = 0xc3 ++ AUDIT_ARCH_ARM = 0x40000028 ++ AUDIT_ARCH_ARMEB = 0x28 ++ AUDIT_ARCH_C6X = 0x4000008c ++ AUDIT_ARCH_C6XBE = 0x8c ++ AUDIT_ARCH_CRIS = 0x4000004c ++ AUDIT_ARCH_CSKY = 0x400000fc ++ AUDIT_ARCH_FRV = 0x5441 ++ AUDIT_ARCH_H8300 = 0x2e ++ AUDIT_ARCH_HEXAGON = 0xa4 ++ AUDIT_ARCH_I386 = 0x40000003 ++ AUDIT_ARCH_IA64 = 0xc0000032 ++ AUDIT_ARCH_LOONGARCH32 = 0x40000102 ++ AUDIT_ARCH_LOONGARCH64 = 0xc0000102 ++ AUDIT_ARCH_M32R = 0x58 ++ AUDIT_ARCH_M68K = 0x4 ++ AUDIT_ARCH_MICROBLAZE = 0xbd ++ AUDIT_ARCH_MIPS = 0x8 ++ AUDIT_ARCH_MIPS64 = 0x80000008 ++ AUDIT_ARCH_MIPS64N32 = 0xa0000008 ++ AUDIT_ARCH_MIPSEL = 0x40000008 ++ AUDIT_ARCH_MIPSEL64 = 0xc0000008 ++ AUDIT_ARCH_MIPSEL64N32 = 0xe0000008 ++ AUDIT_ARCH_NDS32 = 0x400000a7 ++ AUDIT_ARCH_NDS32BE = 0xa7 ++ AUDIT_ARCH_NIOS2 = 0x40000071 ++ AUDIT_ARCH_OPENRISC = 0x5c ++ AUDIT_ARCH_PARISC = 0xf ++ AUDIT_ARCH_PARISC64 = 0x8000000f ++ AUDIT_ARCH_PPC = 0x14 ++ AUDIT_ARCH_PPC64 = 0x80000015 ++ AUDIT_ARCH_PPC64LE = 0xc0000015 ++ AUDIT_ARCH_RISCV32 = 0x400000f3 ++ AUDIT_ARCH_RISCV64 = 0xc00000f3 ++ AUDIT_ARCH_S390 = 0x16 ++ AUDIT_ARCH_S390X = 0x80000016 ++ AUDIT_ARCH_SH = 0x2a ++ AUDIT_ARCH_SH64 = 0x8000002a ++ AUDIT_ARCH_SHEL = 0x4000002a ++ AUDIT_ARCH_SHEL64 = 0xc000002a ++ AUDIT_ARCH_SPARC = 0x2 ++ AUDIT_ARCH_SPARC64 = 0x8000002b ++ AUDIT_ARCH_TILEGX = 0xc00000bf ++ AUDIT_ARCH_TILEGX32 = 0x400000bf ++ AUDIT_ARCH_TILEPRO = 0x400000bc ++ AUDIT_ARCH_UNICORE = 0x4000006e ++ AUDIT_ARCH_X86_64 = 0xc000003e ++ AUDIT_ARCH_XTENSA = 0x5e ++ AUDIT_ARG0 = 0xc8 ++ AUDIT_ARG1 = 0xc9 ++ AUDIT_ARG2 = 0xca ++ AUDIT_ARG3 = 0xcb ++ AUDIT_AVC = 0x578 ++ AUDIT_AVC_PATH = 0x57a ++ AUDIT_BITMASK_SIZE = 0x40 ++ AUDIT_BIT_MASK = 0x8000000 ++ AUDIT_BIT_TEST = 0x48000000 ++ AUDIT_BPF = 0x536 ++ AUDIT_BPRM_FCAPS = 0x529 ++ AUDIT_CAPSET = 0x52a ++ AUDIT_CLASS_CHATTR = 0x2 ++ AUDIT_CLASS_CHATTR_32 = 0x3 ++ AUDIT_CLASS_DIR_WRITE = 0x0 ++ AUDIT_CLASS_DIR_WRITE_32 = 0x1 ++ AUDIT_CLASS_READ = 0x4 ++ AUDIT_CLASS_READ_32 = 0x5 ++ AUDIT_CLASS_SIGNAL = 0x8 ++ AUDIT_CLASS_SIGNAL_32 = 0x9 ++ AUDIT_CLASS_WRITE = 0x6 ++ AUDIT_CLASS_WRITE_32 = 0x7 ++ AUDIT_COMPARE_AUID_TO_EUID = 0x10 ++ AUDIT_COMPARE_AUID_TO_FSUID = 0xe ++ AUDIT_COMPARE_AUID_TO_OBJ_UID = 0x5 ++ AUDIT_COMPARE_AUID_TO_SUID = 0xf ++ AUDIT_COMPARE_EGID_TO_FSGID = 0x17 ++ AUDIT_COMPARE_EGID_TO_OBJ_GID = 0x4 ++ AUDIT_COMPARE_EGID_TO_SGID = 0x18 ++ AUDIT_COMPARE_EUID_TO_FSUID = 0x12 ++ AUDIT_COMPARE_EUID_TO_OBJ_UID = 0x3 ++ AUDIT_COMPARE_EUID_TO_SUID = 0x11 ++ AUDIT_COMPARE_FSGID_TO_OBJ_GID = 0x9 ++ AUDIT_COMPARE_FSUID_TO_OBJ_UID = 0x8 ++ AUDIT_COMPARE_GID_TO_EGID = 0x14 ++ AUDIT_COMPARE_GID_TO_FSGID = 0x15 ++ AUDIT_COMPARE_GID_TO_OBJ_GID = 0x2 ++ AUDIT_COMPARE_GID_TO_SGID = 0x16 ++ AUDIT_COMPARE_SGID_TO_FSGID = 0x19 ++ AUDIT_COMPARE_SGID_TO_OBJ_GID = 0x7 ++ AUDIT_COMPARE_SUID_TO_FSUID = 0x13 ++ AUDIT_COMPARE_SUID_TO_OBJ_UID = 0x6 ++ AUDIT_COMPARE_UID_TO_AUID = 0xa ++ AUDIT_COMPARE_UID_TO_EUID = 0xb ++ AUDIT_COMPARE_UID_TO_FSUID = 0xc ++ AUDIT_COMPARE_UID_TO_OBJ_UID = 0x1 ++ AUDIT_COMPARE_UID_TO_SUID = 0xd ++ AUDIT_CONFIG_CHANGE = 0x519 ++ AUDIT_CWD = 0x51b ++ AUDIT_DAEMON_ABORT = 0x4b2 ++ AUDIT_DAEMON_CONFIG = 0x4b3 ++ AUDIT_DAEMON_END = 0x4b1 ++ AUDIT_DAEMON_START = 0x4b0 ++ AUDIT_DEL = 0x3ec ++ AUDIT_DEL_RULE = 0x3f4 ++ AUDIT_DEVMAJOR = 0x64 ++ AUDIT_DEVMINOR = 0x65 ++ AUDIT_DIR = 0x6b ++ AUDIT_DM_CTRL = 0x53a ++ AUDIT_DM_EVENT = 0x53b ++ AUDIT_EGID = 0x6 ++ AUDIT_EOE = 0x528 ++ AUDIT_EQUAL = 0x40000000 ++ AUDIT_EUID = 0x2 ++ AUDIT_EVENT_LISTENER = 0x537 ++ AUDIT_EXE = 0x70 ++ AUDIT_EXECVE = 0x51d ++ AUDIT_EXIT = 0x67 ++ AUDIT_FAIL_PANIC = 0x2 ++ AUDIT_FAIL_PRINTK = 0x1 ++ AUDIT_FAIL_SILENT = 0x0 ++ AUDIT_FANOTIFY = 0x533 ++ AUDIT_FD_PAIR = 0x525 ++ AUDIT_FEATURE_BITMAP_ALL = 0x7f ++ AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT = 0x1 ++ AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME = 0x2 ++ AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND = 0x8 ++ AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH = 0x4 ++ AUDIT_FEATURE_BITMAP_FILTER_FS = 0x40 ++ AUDIT_FEATURE_BITMAP_LOST_RESET = 0x20 ++ AUDIT_FEATURE_BITMAP_SESSIONID_FILTER = 0x10 ++ AUDIT_FEATURE_CHANGE = 0x530 ++ AUDIT_FEATURE_LOGINUID_IMMUTABLE = 0x1 ++ AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0x0 ++ AUDIT_FEATURE_VERSION = 0x1 ++ AUDIT_FIELD_COMPARE = 0x6f ++ AUDIT_FILETYPE = 0x6c ++ AUDIT_FILTERKEY = 0xd2 ++ AUDIT_FILTER_ENTRY = 0x2 ++ AUDIT_FILTER_EXCLUDE = 0x5 ++ AUDIT_FILTER_EXIT = 0x4 ++ AUDIT_FILTER_FS = 0x6 ++ AUDIT_FILTER_PREPEND = 0x10 ++ AUDIT_FILTER_TASK = 0x1 ++ AUDIT_FILTER_TYPE = 0x5 ++ AUDIT_FILTER_URING_EXIT = 0x7 ++ AUDIT_FILTER_USER = 0x0 ++ AUDIT_FILTER_WATCH = 0x3 ++ AUDIT_FIRST_KERN_ANOM_MSG = 0x6a4 ++ AUDIT_FIRST_USER_MSG = 0x44c ++ AUDIT_FIRST_USER_MSG2 = 0x834 ++ AUDIT_FSGID = 0x8 ++ AUDIT_FSTYPE = 0x1a ++ AUDIT_FSUID = 0x4 ++ AUDIT_GET = 0x3e8 ++ AUDIT_GET_FEATURE = 0x3fb ++ AUDIT_GID = 0x5 ++ AUDIT_GREATER_THAN = 0x20000000 ++ AUDIT_GREATER_THAN_OR_EQUAL = 0x60000000 ++ AUDIT_INODE = 0x66 ++ AUDIT_INTEGRITY_DATA = 0x708 ++ AUDIT_INTEGRITY_EVM_XATTR = 0x70e ++ AUDIT_INTEGRITY_HASH = 0x70b ++ AUDIT_INTEGRITY_METADATA = 0x709 ++ AUDIT_INTEGRITY_PCR = 0x70c ++ AUDIT_INTEGRITY_POLICY_RULE = 0x70f ++ AUDIT_INTEGRITY_RULE = 0x70d ++ AUDIT_INTEGRITY_STATUS = 0x70a ++ AUDIT_IPC = 0x517 ++ AUDIT_IPC_SET_PERM = 0x51f ++ AUDIT_KERNEL = 0x7d0 ++ AUDIT_KERNEL_OTHER = 0x524 ++ AUDIT_KERN_MODULE = 0x532 ++ AUDIT_LAST_FEATURE = 0x1 ++ AUDIT_LAST_KERN_ANOM_MSG = 0x707 ++ AUDIT_LAST_USER_MSG = 0x4af ++ AUDIT_LAST_USER_MSG2 = 0xbb7 ++ AUDIT_LESS_THAN = 0x10000000 ++ AUDIT_LESS_THAN_OR_EQUAL = 0x50000000 ++ AUDIT_LIST = 0x3ea ++ AUDIT_LIST_RULES = 0x3f5 ++ AUDIT_LOGIN = 0x3ee ++ AUDIT_LOGINUID = 0x9 ++ AUDIT_LOGINUID_SET = 0x18 ++ AUDIT_MAC_CALIPSO_ADD = 0x58a ++ AUDIT_MAC_CALIPSO_DEL = 0x58b ++ AUDIT_MAC_CIPSOV4_ADD = 0x57f ++ AUDIT_MAC_CIPSOV4_DEL = 0x580 ++ AUDIT_MAC_CONFIG_CHANGE = 0x57d ++ AUDIT_MAC_IPSEC_ADDSA = 0x583 ++ AUDIT_MAC_IPSEC_ADDSPD = 0x585 ++ AUDIT_MAC_IPSEC_DELSA = 0x584 ++ AUDIT_MAC_IPSEC_DELSPD = 0x586 ++ AUDIT_MAC_IPSEC_EVENT = 0x587 ++ AUDIT_MAC_MAP_ADD = 0x581 ++ AUDIT_MAC_MAP_DEL = 0x582 ++ AUDIT_MAC_POLICY_LOAD = 0x57b ++ AUDIT_MAC_STATUS = 0x57c ++ AUDIT_MAC_UNLBL_ALLOW = 0x57e ++ AUDIT_MAC_UNLBL_STCADD = 0x588 ++ AUDIT_MAC_UNLBL_STCDEL = 0x589 ++ AUDIT_MAKE_EQUIV = 0x3f7 ++ AUDIT_MAX_FIELDS = 0x40 ++ AUDIT_MAX_FIELD_COMPARE = 0x19 ++ AUDIT_MAX_KEY_LEN = 0x100 ++ AUDIT_MESSAGE_TEXT_MAX = 0x2170 ++ AUDIT_MMAP = 0x52b ++ AUDIT_MQ_GETSETATTR = 0x523 ++ AUDIT_MQ_NOTIFY = 0x522 ++ AUDIT_MQ_OPEN = 0x520 ++ AUDIT_MQ_SENDRECV = 0x521 ++ AUDIT_MSGTYPE = 0xc ++ AUDIT_NEGATE = 0x80000000 ++ AUDIT_NETFILTER_CFG = 0x52d ++ AUDIT_NETFILTER_PKT = 0x52c ++ AUDIT_NEVER = 0x0 ++ AUDIT_NLGRP_MAX = 0x1 ++ AUDIT_NOT_EQUAL = 0x30000000 ++ AUDIT_NR_FILTERS = 0x8 ++ AUDIT_OBJ_GID = 0x6e ++ AUDIT_OBJ_LEV_HIGH = 0x17 ++ AUDIT_OBJ_LEV_LOW = 0x16 ++ AUDIT_OBJ_PID = 0x526 ++ AUDIT_OBJ_ROLE = 0x14 ++ AUDIT_OBJ_TYPE = 0x15 ++ AUDIT_OBJ_UID = 0x6d ++ AUDIT_OBJ_USER = 0x13 ++ AUDIT_OPENAT2 = 0x539 ++ AUDIT_OPERATORS = 0x78000000 ++ AUDIT_PATH = 0x516 ++ AUDIT_PERM = 0x6a ++ AUDIT_PERM_ATTR = 0x8 ++ AUDIT_PERM_EXEC = 0x1 ++ AUDIT_PERM_READ = 0x4 ++ AUDIT_PERM_WRITE = 0x2 ++ AUDIT_PERS = 0xa ++ AUDIT_PID = 0x0 ++ AUDIT_POSSIBLE = 0x1 ++ AUDIT_PPID = 0x12 ++ AUDIT_PROCTITLE = 0x52f ++ AUDIT_REPLACE = 0x531 ++ AUDIT_SADDR_FAM = 0x71 ++ AUDIT_SECCOMP = 0x52e ++ AUDIT_SELINUX_ERR = 0x579 ++ AUDIT_SESSIONID = 0x19 ++ AUDIT_SET = 0x3e9 ++ AUDIT_SET_FEATURE = 0x3fa ++ AUDIT_SGID = 0x7 ++ AUDIT_SID_UNSET = 0xffffffff ++ AUDIT_SIGNAL_INFO = 0x3f2 ++ AUDIT_SOCKADDR = 0x51a ++ AUDIT_SOCKETCALL = 0x518 ++ AUDIT_STATUS_BACKLOG_LIMIT = 0x10 ++ AUDIT_STATUS_BACKLOG_WAIT_TIME = 0x20 ++ AUDIT_STATUS_BACKLOG_WAIT_TIME_ACTUAL = 0x80 ++ AUDIT_STATUS_ENABLED = 0x1 ++ AUDIT_STATUS_FAILURE = 0x2 ++ AUDIT_STATUS_LOST = 0x40 ++ AUDIT_STATUS_PID = 0x4 ++ AUDIT_STATUS_RATE_LIMIT = 0x8 ++ AUDIT_SUBJ_CLR = 0x11 ++ AUDIT_SUBJ_ROLE = 0xe ++ AUDIT_SUBJ_SEN = 0x10 ++ AUDIT_SUBJ_TYPE = 0xf ++ AUDIT_SUBJ_USER = 0xd ++ AUDIT_SUCCESS = 0x68 ++ AUDIT_SUID = 0x3 ++ AUDIT_SYSCALL = 0x514 ++ AUDIT_SYSCALL_CLASSES = 0x10 ++ AUDIT_TIME_ADJNTPVAL = 0x535 ++ AUDIT_TIME_INJOFFSET = 0x534 ++ AUDIT_TRIM = 0x3f6 ++ AUDIT_TTY = 0x527 ++ AUDIT_TTY_GET = 0x3f8 ++ AUDIT_TTY_SET = 0x3f9 ++ AUDIT_UID = 0x1 ++ AUDIT_UID_UNSET = 0xffffffff ++ AUDIT_UNUSED_BITS = 0x7fffc00 ++ AUDIT_URINGOP = 0x538 ++ AUDIT_USER = 0x3ed ++ AUDIT_USER_AVC = 0x453 ++ AUDIT_USER_TTY = 0x464 ++ AUDIT_VERSION_BACKLOG_LIMIT = 0x1 ++ AUDIT_VERSION_BACKLOG_WAIT_TIME = 0x2 ++ AUDIT_VERSION_LATEST = 0x7f ++ AUDIT_WATCH = 0x69 ++ AUDIT_WATCH_INS = 0x3ef ++ AUDIT_WATCH_LIST = 0x3f1 ++ AUDIT_WATCH_REM = 0x3f0 + AUTOFS_SUPER_MAGIC = 0x187 + B0 = 0x0 + B110 = 0x3 +@@ -182,6 +484,7 @@ const ( + BPF_F_ALLOW_MULTI = 0x2 + BPF_F_ALLOW_OVERRIDE = 0x1 + BPF_F_ANY_ALIGNMENT = 0x2 ++ BPF_F_KPROBE_MULTI_RETURN = 0x1 + BPF_F_QUERY_EFFECTIVE = 0x1 + BPF_F_REPLACE = 0x4 + BPF_F_SLEEPABLE = 0x10 +@@ -189,6 +492,8 @@ const ( + BPF_F_TEST_RND_HI32 = 0x4 + BPF_F_TEST_RUN_ON_CPU = 0x1 + BPF_F_TEST_STATE_FREQ = 0x8 ++ BPF_F_TEST_XDP_LIVE_FRAMES = 0x2 ++ BPF_F_XDP_HAS_FRAGS = 0x20 + BPF_H = 0x8 + BPF_IMM = 0x0 + BPF_IND = 0x40 +@@ -228,7 +533,11 @@ const ( + BPF_OR = 0x40 + BPF_PSEUDO_BTF_ID = 0x3 + BPF_PSEUDO_CALL = 0x1 ++ BPF_PSEUDO_FUNC = 0x4 ++ BPF_PSEUDO_KFUNC_CALL = 0x2 + BPF_PSEUDO_MAP_FD = 0x1 ++ BPF_PSEUDO_MAP_IDX = 0x5 ++ BPF_PSEUDO_MAP_IDX_VALUE = 0x6 + BPF_PSEUDO_MAP_VALUE = 0x2 + BPF_RET = 0x6 + BPF_RSH = 0x70 +@@ -254,6 +563,17 @@ const ( + BUS_USB = 0x3 + BUS_VIRTUAL = 0x6 + CAN_BCM = 0x2 ++ CAN_CTRLMODE_3_SAMPLES = 0x4 ++ CAN_CTRLMODE_BERR_REPORTING = 0x10 ++ CAN_CTRLMODE_CC_LEN8_DLC = 0x100 ++ CAN_CTRLMODE_FD = 0x20 ++ CAN_CTRLMODE_FD_NON_ISO = 0x80 ++ CAN_CTRLMODE_LISTENONLY = 0x2 ++ CAN_CTRLMODE_LOOPBACK = 0x1 ++ CAN_CTRLMODE_ONE_SHOT = 0x8 ++ CAN_CTRLMODE_PRESUME_ACK = 0x40 ++ CAN_CTRLMODE_TDC_AUTO = 0x200 ++ CAN_CTRLMODE_TDC_MANUAL = 0x400 + CAN_EFF_FLAG = 0x80000000 + CAN_EFF_ID_BITS = 0x1d + CAN_EFF_MASK = 0x1fffffff +@@ -331,6 +651,7 @@ const ( + CAN_RTR_FLAG = 0x40000000 + CAN_SFF_ID_BITS = 0xb + CAN_SFF_MASK = 0x7ff ++ CAN_TERMINATION_DISABLED = 0x0 + CAN_TP16 = 0x3 + CAN_TP20 = 0x4 + CAP_AUDIT_CONTROL = 0x1e +@@ -375,9 +696,11 @@ const ( + CAP_SYS_TIME = 0x19 + CAP_SYS_TTY_CONFIG = 0x1a + CAP_WAKE_ALARM = 0x23 ++ CEPH_SUPER_MAGIC = 0xc36400 + CFLUSH = 0xf + CGROUP2_SUPER_MAGIC = 0x63677270 + CGROUP_SUPER_MAGIC = 0x27e0eb ++ CIFS_SUPER_MAGIC = 0xff534d42 + CLOCK_BOOTTIME = 0x7 + CLOCK_BOOTTIME_ALARM = 0x9 + CLOCK_DEFAULT = 0x0 +@@ -468,6 +791,7 @@ const ( + DM_DEV_WAIT = 0xc138fd08 + DM_DIR = "mapper" + DM_GET_TARGET_VERSION = 0xc138fd11 ++ DM_IMA_MEASUREMENT_FLAG = 0x80000 + DM_INACTIVE_PRESENT_FLAG = 0x40 + DM_INTERNAL_SUSPEND_FLAG = 0x40000 + DM_IOCTL = 0xfd +@@ -475,6 +799,8 @@ const ( + DM_LIST_VERSIONS = 0xc138fd0d + DM_MAX_TYPE_NAME = 0x10 + DM_NAME_LEN = 0x80 ++ DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID = 0x2 ++ DM_NAME_LIST_FLAG_HAS_UUID = 0x1 + DM_NOFLUSH_FLAG = 0x800 + DM_PERSISTENT_DEV_FLAG = 0x8 + DM_QUERY_INACTIVE_TABLE_FLAG = 0x1000 +@@ -494,9 +820,9 @@ const ( + DM_UUID_FLAG = 0x4000 + DM_UUID_LEN = 0x81 + DM_VERSION = 0xc138fd00 +- DM_VERSION_EXTRA = "-ioctl (2021-02-01)" ++ DM_VERSION_EXTRA = "-ioctl (2022-02-22)" + DM_VERSION_MAJOR = 0x4 +- DM_VERSION_MINOR = 0x2c ++ DM_VERSION_MINOR = 0x2e + DM_VERSION_PATCHLEVEL = 0x0 + DT_BLK = 0x6 + DT_CHR = 0x2 +@@ -512,6 +838,55 @@ const ( + EFD_SEMAPHORE = 0x1 + EFIVARFS_MAGIC = 0xde5e81e4 + EFS_SUPER_MAGIC = 0x414a53 ++ EM_386 = 0x3 ++ EM_486 = 0x6 ++ EM_68K = 0x4 ++ EM_860 = 0x7 ++ EM_88K = 0x5 ++ EM_AARCH64 = 0xb7 ++ EM_ALPHA = 0x9026 ++ EM_ALTERA_NIOS2 = 0x71 ++ EM_ARCOMPACT = 0x5d ++ EM_ARCV2 = 0xc3 ++ EM_ARM = 0x28 ++ EM_BLACKFIN = 0x6a ++ EM_BPF = 0xf7 ++ EM_CRIS = 0x4c ++ EM_CSKY = 0xfc ++ EM_CYGNUS_M32R = 0x9041 ++ EM_CYGNUS_MN10300 = 0xbeef ++ EM_FRV = 0x5441 ++ EM_H8_300 = 0x2e ++ EM_HEXAGON = 0xa4 ++ EM_IA_64 = 0x32 ++ EM_LOONGARCH = 0x102 ++ EM_M32 = 0x1 ++ EM_M32R = 0x58 ++ EM_MICROBLAZE = 0xbd ++ EM_MIPS = 0x8 ++ EM_MIPS_RS3_LE = 0xa ++ EM_MIPS_RS4_BE = 0xa ++ EM_MN10300 = 0x59 ++ EM_NDS32 = 0xa7 ++ EM_NONE = 0x0 ++ EM_OPENRISC = 0x5c ++ EM_PARISC = 0xf ++ EM_PPC = 0x14 ++ EM_PPC64 = 0x15 ++ EM_RISCV = 0xf3 ++ EM_S390 = 0x16 ++ EM_S390_OLD = 0xa390 ++ EM_SH = 0x2a ++ EM_SPARC = 0x2 ++ EM_SPARC32PLUS = 0x12 ++ EM_SPARCV9 = 0x2b ++ EM_SPU = 0x17 ++ EM_TILEGX = 0xbf ++ EM_TILEPRO = 0xbc ++ EM_TI_C6000 = 0x8c ++ EM_UNICORE = 0x6e ++ EM_X86_64 = 0x3e ++ EM_XTENSA = 0x5e + ENCODING_DEFAULT = 0x0 + ENCODING_FM_MARK = 0x3 + ENCODING_FM_SPACE = 0x4 +@@ -689,6 +1064,7 @@ const ( + ETH_P_EDSA = 0xdada + ETH_P_ERSPAN = 0x88be + ETH_P_ERSPAN2 = 0x22eb ++ ETH_P_ETHERCAT = 0x88a4 + ETH_P_FCOE = 0x8906 + ETH_P_FIP = 0x8914 + ETH_P_HDLC = 0x19 +@@ -710,6 +1086,7 @@ const ( + ETH_P_LOOPBACK = 0x9000 + ETH_P_MACSEC = 0x88e5 + ETH_P_MAP = 0xf9 ++ ETH_P_MCTP = 0xfa + ETH_P_MOBITEX = 0x15 + ETH_P_MPLS_MC = 0x8848 + ETH_P_MPLS_UC = 0x8847 +@@ -725,6 +1102,7 @@ const ( + ETH_P_PPP_MP = 0x8 + ETH_P_PPP_SES = 0x8864 + ETH_P_PREAUTH = 0x88c7 ++ ETH_P_PROFINET = 0x8892 + ETH_P_PRP = 0x88fb + ETH_P_PUP = 0x200 + ETH_P_PUPAT = 0x201 +@@ -732,6 +1110,7 @@ const ( + ETH_P_QINQ2 = 0x9200 + ETH_P_QINQ3 = 0x9300 + ETH_P_RARP = 0x8035 ++ ETH_P_REALTEK = 0x8899 + ETH_P_SCA = 0x6007 + ETH_P_SLOW = 0x8809 + ETH_P_SNAP = 0x5 +@@ -745,7 +1124,23 @@ const ( + ETH_P_WCCP = 0x883e + ETH_P_X25 = 0x805 + ETH_P_XDSA = 0xf8 ++ EV_ABS = 0x3 ++ EV_CNT = 0x20 ++ EV_FF = 0x15 ++ EV_FF_STATUS = 0x17 ++ EV_KEY = 0x1 ++ EV_LED = 0x11 ++ EV_MAX = 0x1f ++ EV_MSC = 0x4 ++ EV_PWR = 0x16 ++ EV_REL = 0x2 ++ EV_REP = 0x14 ++ EV_SND = 0x12 ++ EV_SW = 0x5 ++ EV_SYN = 0x0 ++ EV_VERSION = 0x10001 + EXABYTE_ENABLE_NEST = 0xf0 ++ EXFAT_SUPER_MAGIC = 0x2011bab0 + EXT2_SUPER_MAGIC = 0xef53 + EXT3_SUPER_MAGIC = 0xef53 + EXT4_SUPER_MAGIC = 0xef53 +@@ -783,13 +1178,20 @@ const ( + FAN_DELETE_SELF = 0x400 + FAN_DENY = 0x2 + FAN_ENABLE_AUDIT = 0x40 ++ FAN_EPIDFD = -0x2 + FAN_EVENT_INFO_TYPE_DFID = 0x3 + FAN_EVENT_INFO_TYPE_DFID_NAME = 0x2 ++ FAN_EVENT_INFO_TYPE_ERROR = 0x5 + FAN_EVENT_INFO_TYPE_FID = 0x1 ++ FAN_EVENT_INFO_TYPE_NEW_DFID_NAME = 0xc ++ FAN_EVENT_INFO_TYPE_OLD_DFID_NAME = 0xa ++ FAN_EVENT_INFO_TYPE_PIDFD = 0x4 + FAN_EVENT_METADATA_LEN = 0x18 + FAN_EVENT_ON_CHILD = 0x8000000 ++ FAN_FS_ERROR = 0x8000 + FAN_MARK_ADD = 0x1 + FAN_MARK_DONT_FOLLOW = 0x4 ++ FAN_MARK_EVICTABLE = 0x200 + FAN_MARK_FILESYSTEM = 0x100 + FAN_MARK_FLUSH = 0x80 + FAN_MARK_IGNORED_MASK = 0x20 +@@ -805,22 +1207,34 @@ const ( + FAN_MOVE_SELF = 0x800 + FAN_NOFD = -0x1 + FAN_NONBLOCK = 0x2 ++ FAN_NOPIDFD = -0x1 + FAN_ONDIR = 0x40000000 + FAN_OPEN = 0x20 + FAN_OPEN_EXEC = 0x1000 + FAN_OPEN_EXEC_PERM = 0x40000 + FAN_OPEN_PERM = 0x10000 + FAN_Q_OVERFLOW = 0x4000 ++ FAN_RENAME = 0x10000000 + FAN_REPORT_DFID_NAME = 0xc00 ++ FAN_REPORT_DFID_NAME_TARGET = 0x1e00 + FAN_REPORT_DIR_FID = 0x400 + FAN_REPORT_FID = 0x200 + FAN_REPORT_NAME = 0x800 ++ FAN_REPORT_PIDFD = 0x80 ++ FAN_REPORT_TARGET_FID = 0x1000 + FAN_REPORT_TID = 0x100 + FAN_UNLIMITED_MARKS = 0x20 + FAN_UNLIMITED_QUEUE = 0x10 + FD_CLOEXEC = 0x1 + FD_SETSIZE = 0x400 + FF0 = 0x0 ++ FIB_RULE_DEV_DETACHED = 0x8 ++ FIB_RULE_FIND_SADDR = 0x10000 ++ FIB_RULE_IIF_DETACHED = 0x8 ++ FIB_RULE_INVERT = 0x2 ++ FIB_RULE_OIF_DETACHED = 0x10 ++ FIB_RULE_PERMANENT = 0x1 ++ FIB_RULE_UNRESOLVED = 0x4 + FIDEDUPERANGE = 0xc0189436 + FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8 + FSCRYPT_KEY_DESC_PREFIX = "fscrypt:" +@@ -883,6 +1297,7 @@ const ( + FS_VERITY_METADATA_TYPE_DESCRIPTOR = 0x2 + FS_VERITY_METADATA_TYPE_MERKLE_TREE = 0x1 + FS_VERITY_METADATA_TYPE_SIGNATURE = 0x3 ++ FUSE_SUPER_MAGIC = 0x65735546 + FUTEXFS_SUPER_MAGIC = 0xbad1dea + F_ADD_SEALS = 0x409 + F_DUPFD = 0x0 +@@ -981,12 +1396,6 @@ const ( + HPFS_SUPER_MAGIC = 0xf995e849 + HUGETLBFS_MAGIC = 0x958458f6 + IBSHIFT = 0x10 +- ICMPV6_FILTER = 0x1 +- ICMPV6_FILTER_BLOCK = 0x1 +- ICMPV6_FILTER_BLOCKOTHERS = 0x3 +- ICMPV6_FILTER_PASS = 0x2 +- ICMPV6_FILTER_PASSONLY = 0x4 +- ICMP_FILTER = 0x1 + ICRNL = 0x100 + IFA_F_DADFAILED = 0x8 + IFA_F_DEPRECATED = 0x20 +@@ -1001,7 +1410,7 @@ const ( + IFA_F_STABLE_PRIVACY = 0x800 + IFA_F_TEMPORARY = 0x1 + IFA_F_TENTATIVE = 0x40 +- IFA_MAX = 0xa ++ IFA_MAX = 0xb + IFF_ALLMULTI = 0x200 + IFF_ATTACH_QUEUE = 0x200 + IFF_AUTOMEDIA = 0x4000 +@@ -1242,21 +1651,28 @@ const ( + IP_XFRM_POLICY = 0x11 + ISOFS_SUPER_MAGIC = 0x9660 + ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 + IUTF8 = 0x4000 + IXANY = 0x800 + JFFS2_SUPER_MAGIC = 0x72b6 ++ KCMPROTO_CONNECTED = 0x0 ++ KCM_RECV_DISABLE = 0x1 + KEXEC_ARCH_386 = 0x30000 + KEXEC_ARCH_68K = 0x40000 + KEXEC_ARCH_AARCH64 = 0xb70000 + KEXEC_ARCH_ARM = 0x280000 + KEXEC_ARCH_DEFAULT = 0x0 + KEXEC_ARCH_IA_64 = 0x320000 ++ KEXEC_ARCH_LOONGARCH = 0x1020000 + KEXEC_ARCH_MASK = 0xffff0000 + KEXEC_ARCH_MIPS = 0x80000 + KEXEC_ARCH_MIPS_LE = 0xa0000 + KEXEC_ARCH_PARISC = 0xf0000 + KEXEC_ARCH_PPC = 0x140000 + KEXEC_ARCH_PPC64 = 0x150000 ++ KEXEC_ARCH_RISCV = 0xf30000 + KEXEC_ARCH_S390 = 0x160000 + KEXEC_ARCH_SH = 0x2a0000 + KEXEC_ARCH_X86_64 = 0x3e0000 +@@ -1332,6 +1748,21 @@ const ( + KEY_SPEC_THREAD_KEYRING = -0x1 + KEY_SPEC_USER_KEYRING = -0x4 + KEY_SPEC_USER_SESSION_KEYRING = -0x5 ++ LANDLOCK_ACCESS_FS_EXECUTE = 0x1 ++ LANDLOCK_ACCESS_FS_MAKE_BLOCK = 0x800 ++ LANDLOCK_ACCESS_FS_MAKE_CHAR = 0x40 ++ LANDLOCK_ACCESS_FS_MAKE_DIR = 0x80 ++ LANDLOCK_ACCESS_FS_MAKE_FIFO = 0x400 ++ LANDLOCK_ACCESS_FS_MAKE_REG = 0x100 ++ LANDLOCK_ACCESS_FS_MAKE_SOCK = 0x200 ++ LANDLOCK_ACCESS_FS_MAKE_SYM = 0x1000 ++ LANDLOCK_ACCESS_FS_READ_DIR = 0x8 ++ LANDLOCK_ACCESS_FS_READ_FILE = 0x4 ++ LANDLOCK_ACCESS_FS_REFER = 0x2000 ++ LANDLOCK_ACCESS_FS_REMOVE_DIR = 0x10 ++ LANDLOCK_ACCESS_FS_REMOVE_FILE = 0x20 ++ LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2 ++ LANDLOCK_CREATE_RULESET_VERSION = 0x1 + LINUX_REBOOT_CMD_CAD_OFF = 0x0 + LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef + LINUX_REBOOT_CMD_HALT = 0xcdef0123 +@@ -1382,6 +1813,8 @@ const ( + MADV_NOHUGEPAGE = 0xf + MADV_NORMAL = 0x0 + MADV_PAGEOUT = 0x15 ++ MADV_POPULATE_READ = 0x16 ++ MADV_POPULATE_WRITE = 0x17 + MADV_RANDOM = 0x1 + MADV_REMOVE = 0x9 + MADV_SEQUENTIAL = 0x2 +@@ -1435,8 +1868,21 @@ const ( + MNT_DETACH = 0x2 + MNT_EXPIRE = 0x4 + MNT_FORCE = 0x1 ++ MODULE_INIT_COMPRESSED_FILE = 0x4 + MODULE_INIT_IGNORE_MODVERSIONS = 0x1 + MODULE_INIT_IGNORE_VERMAGIC = 0x2 ++ MOUNT_ATTR_IDMAP = 0x100000 ++ MOUNT_ATTR_NOATIME = 0x10 ++ MOUNT_ATTR_NODEV = 0x4 ++ MOUNT_ATTR_NODIRATIME = 0x80 ++ MOUNT_ATTR_NOEXEC = 0x8 ++ MOUNT_ATTR_NOSUID = 0x2 ++ MOUNT_ATTR_NOSYMFOLLOW = 0x200000 ++ MOUNT_ATTR_RDONLY = 0x1 ++ MOUNT_ATTR_RELATIME = 0x0 ++ MOUNT_ATTR_SIZE_VER0 = 0x20 ++ MOUNT_ATTR_STRICTATIME = 0x20 ++ MOUNT_ATTR__ATIME = 0x70 + MSDOS_SUPER_MAGIC = 0x4d44 + MSG_BATCH = 0x40000 + MSG_CMSG_CLOEXEC = 0x40000000 +@@ -1636,11 +2082,12 @@ const ( + NFNL_MSG_BATCH_END = 0x11 + NFNL_NFA_NEST = 0x8000 + NFNL_SUBSYS_ACCT = 0x7 +- NFNL_SUBSYS_COUNT = 0xc ++ NFNL_SUBSYS_COUNT = 0xd + NFNL_SUBSYS_CTHELPER = 0x9 + NFNL_SUBSYS_CTNETLINK = 0x1 + NFNL_SUBSYS_CTNETLINK_EXP = 0x2 + NFNL_SUBSYS_CTNETLINK_TIMEOUT = 0x8 ++ NFNL_SUBSYS_HOOK = 0xc + NFNL_SUBSYS_IPSET = 0x6 + NFNL_SUBSYS_NFTABLES = 0xa + NFNL_SUBSYS_NFT_COMPAT = 0xb +@@ -1667,6 +2114,7 @@ const ( + NLM_F_ACK_TLVS = 0x200 + NLM_F_APPEND = 0x800 + NLM_F_ATOMIC = 0x400 ++ NLM_F_BULK = 0x200 + NLM_F_CAPPED = 0x100 + NLM_F_CREATE = 0x400 + NLM_F_DUMP = 0x300 +@@ -1756,20 +2204,30 @@ const ( + PERF_ATTR_SIZE_VER4 = 0x68 + PERF_ATTR_SIZE_VER5 = 0x70 + PERF_ATTR_SIZE_VER6 = 0x78 ++ PERF_ATTR_SIZE_VER7 = 0x80 + PERF_AUX_FLAG_COLLISION = 0x8 ++ PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT = 0x0 ++ PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW = 0x100 + PERF_AUX_FLAG_OVERWRITE = 0x2 + PERF_AUX_FLAG_PARTIAL = 0x4 ++ PERF_AUX_FLAG_PMU_FORMAT_TYPE_MASK = 0xff00 + PERF_AUX_FLAG_TRUNCATED = 0x1 + PERF_FLAG_FD_CLOEXEC = 0x8 + PERF_FLAG_FD_NO_GROUP = 0x1 + PERF_FLAG_FD_OUTPUT = 0x2 + PERF_FLAG_PID_CGROUP = 0x4 ++ PERF_HW_EVENT_MASK = 0xffffffff + PERF_MAX_CONTEXTS_PER_STACK = 0x8 + PERF_MAX_STACK_DEPTH = 0x7f + PERF_MEM_BLK_ADDR = 0x4 + PERF_MEM_BLK_DATA = 0x2 + PERF_MEM_BLK_NA = 0x1 + PERF_MEM_BLK_SHIFT = 0x28 ++ PERF_MEM_HOPS_0 = 0x1 ++ PERF_MEM_HOPS_1 = 0x2 ++ PERF_MEM_HOPS_2 = 0x3 ++ PERF_MEM_HOPS_3 = 0x4 ++ PERF_MEM_HOPS_SHIFT = 0x2b + PERF_MEM_LOCK_LOCKED = 0x2 + PERF_MEM_LOCK_NA = 0x1 + PERF_MEM_LOCK_SHIFT = 0x18 +@@ -1822,6 +2280,7 @@ const ( + PERF_MEM_TLB_OS = 0x40 + PERF_MEM_TLB_SHIFT = 0x1a + PERF_MEM_TLB_WK = 0x20 ++ PERF_PMU_TYPE_SHIFT = 0x20 + PERF_RECORD_KSYMBOL_FLAGS_UNREGISTER = 0x1 + PERF_RECORD_MISC_COMM_EXEC = 0x2000 + PERF_RECORD_MISC_CPUMODE_MASK = 0x7 +@@ -1921,7 +2380,18 @@ const ( + PR_PAC_APGAKEY = 0x10 + PR_PAC_APIAKEY = 0x1 + PR_PAC_APIBKEY = 0x2 ++ PR_PAC_GET_ENABLED_KEYS = 0x3d + PR_PAC_RESET_KEYS = 0x36 ++ PR_PAC_SET_ENABLED_KEYS = 0x3c ++ PR_SCHED_CORE = 0x3e ++ PR_SCHED_CORE_CREATE = 0x1 ++ PR_SCHED_CORE_GET = 0x0 ++ PR_SCHED_CORE_MAX = 0x4 ++ PR_SCHED_CORE_SCOPE_PROCESS_GROUP = 0x2 ++ PR_SCHED_CORE_SCOPE_THREAD = 0x0 ++ PR_SCHED_CORE_SCOPE_THREAD_GROUP = 0x1 ++ PR_SCHED_CORE_SHARE_FROM = 0x3 ++ PR_SCHED_CORE_SHARE_TO = 0x2 + PR_SET_CHILD_SUBREAPER = 0x24 + PR_SET_DUMPABLE = 0x4 + PR_SET_ENDIAN = 0x14 +@@ -1960,11 +2430,19 @@ const ( + PR_SET_TIMING = 0xe + PR_SET_TSC = 0x1a + PR_SET_UNALIGN = 0x6 ++ PR_SET_VMA = 0x53564d41 ++ PR_SET_VMA_ANON_NAME = 0x0 ++ PR_SME_GET_VL = 0x40 ++ PR_SME_SET_VL = 0x3f ++ PR_SME_SET_VL_ONEXEC = 0x40000 ++ PR_SME_VL_INHERIT = 0x20000 ++ PR_SME_VL_LEN_MASK = 0xffff + PR_SPEC_DISABLE = 0x4 + PR_SPEC_DISABLE_NOEXEC = 0x10 + PR_SPEC_ENABLE = 0x2 + PR_SPEC_FORCE_DISABLE = 0x8 + PR_SPEC_INDIRECT_BRANCH = 0x1 ++ PR_SPEC_L1D_FLUSH = 0x2 + PR_SPEC_NOT_AFFECTED = 0x0 + PR_SPEC_PRCTL = 0x1 + PR_SPEC_STORE_BYPASS = 0x0 +@@ -2003,6 +2481,7 @@ const ( + PTRACE_GETREGSET = 0x4204 + PTRACE_GETSIGINFO = 0x4202 + PTRACE_GETSIGMASK = 0x420a ++ PTRACE_GET_RSEQ_CONFIGURATION = 0x420f + PTRACE_GET_SYSCALL_INFO = 0x420e + PTRACE_INTERRUPT = 0x4207 + PTRACE_KILL = 0x8 +@@ -2041,6 +2520,10 @@ const ( + PTRACE_SYSCALL_INFO_NONE = 0x0 + PTRACE_SYSCALL_INFO_SECCOMP = 0x3 + PTRACE_TRACEME = 0x0 ++ P_ALL = 0x0 ++ P_PGID = 0x2 ++ P_PID = 0x1 ++ P_PIDFD = 0x3 + QNX4_SUPER_MAGIC = 0x2f + QNX6_SUPER_MAGIC = 0x68191122 + RAMFS_MAGIC = 0x858458f6 +@@ -2099,12 +2582,24 @@ const ( + RTCF_NAT = 0x800000 + RTCF_VALVE = 0x200000 + RTC_AF = 0x20 ++ RTC_BSM_DIRECT = 0x1 ++ RTC_BSM_DISABLED = 0x0 ++ RTC_BSM_LEVEL = 0x2 ++ RTC_BSM_STANDBY = 0x3 + RTC_FEATURE_ALARM = 0x0 ++ RTC_FEATURE_ALARM_RES_2S = 0x3 + RTC_FEATURE_ALARM_RES_MINUTE = 0x1 +- RTC_FEATURE_CNT = 0x3 ++ RTC_FEATURE_ALARM_WAKEUP_ONLY = 0x7 ++ RTC_FEATURE_BACKUP_SWITCH_MODE = 0x6 ++ RTC_FEATURE_CNT = 0x8 ++ RTC_FEATURE_CORRECTION = 0x5 + RTC_FEATURE_NEED_WEEK_DAY = 0x2 ++ RTC_FEATURE_UPDATE_INTERRUPT = 0x4 + RTC_IRQF = 0x80 + RTC_MAX_FREQ = 0x2000 ++ RTC_PARAM_BACKUP_SWITCH_MODE = 0x2 ++ RTC_PARAM_CORRECTION = 0x1 ++ RTC_PARAM_FEATURES = 0x0 + RTC_PF = 0x40 + RTC_UF = 0x10 + RTF_ADDRCLASSMASK = 0xf8000000 +@@ -2163,12 +2658,14 @@ const ( + RTM_DELNEIGH = 0x1d + RTM_DELNETCONF = 0x51 + RTM_DELNEXTHOP = 0x69 ++ RTM_DELNEXTHOPBUCKET = 0x75 + RTM_DELNSID = 0x59 + RTM_DELQDISC = 0x25 + RTM_DELROUTE = 0x19 + RTM_DELRULE = 0x21 + RTM_DELTCLASS = 0x29 + RTM_DELTFILTER = 0x2d ++ RTM_DELTUNNEL = 0x79 + RTM_DELVLAN = 0x71 + RTM_F_CLONED = 0x200 + RTM_F_EQUALIZE = 0x400 +@@ -2193,6 +2690,7 @@ const ( + RTM_GETNEIGHTBL = 0x42 + RTM_GETNETCONF = 0x52 + RTM_GETNEXTHOP = 0x6a ++ RTM_GETNEXTHOPBUCKET = 0x76 + RTM_GETNSID = 0x5a + RTM_GETQDISC = 0x26 + RTM_GETROUTE = 0x1a +@@ -2200,8 +2698,9 @@ const ( + RTM_GETSTATS = 0x5e + RTM_GETTCLASS = 0x2a + RTM_GETTFILTER = 0x2e ++ RTM_GETTUNNEL = 0x7a + RTM_GETVLAN = 0x72 +- RTM_MAX = 0x73 ++ RTM_MAX = 0x7b + RTM_NEWACTION = 0x30 + RTM_NEWADDR = 0x14 + RTM_NEWADDRLABEL = 0x48 +@@ -2215,6 +2714,7 @@ const ( + RTM_NEWNEIGHTBL = 0x40 + RTM_NEWNETCONF = 0x50 + RTM_NEWNEXTHOP = 0x68 ++ RTM_NEWNEXTHOPBUCKET = 0x74 + RTM_NEWNSID = 0x58 + RTM_NEWNVLAN = 0x70 + RTM_NEWPREFIX = 0x34 +@@ -2224,11 +2724,13 @@ const ( + RTM_NEWSTATS = 0x5c + RTM_NEWTCLASS = 0x28 + RTM_NEWTFILTER = 0x2c +- RTM_NR_FAMILIES = 0x19 +- RTM_NR_MSGTYPES = 0x64 ++ RTM_NEWTUNNEL = 0x78 ++ RTM_NR_FAMILIES = 0x1b ++ RTM_NR_MSGTYPES = 0x6c + RTM_SETDCB = 0x4f + RTM_SETLINK = 0x13 + RTM_SETNEIGHTBL = 0x43 ++ RTM_SETSTATS = 0x5f + RTNH_ALIGNTO = 0x4 + RTNH_COMPARE_MASK = 0x59 + RTNH_F_DEAD = 0x1 +@@ -2253,6 +2755,7 @@ const ( + RTPROT_MROUTED = 0x11 + RTPROT_MRT = 0xa + RTPROT_NTK = 0xf ++ RTPROT_OPENR = 0x63 + RTPROT_OSPF = 0xbc + RTPROT_RA = 0x9 + RTPROT_REDIRECT = 0x1 +@@ -2283,6 +2786,7 @@ const ( + SECCOMP_MODE_DISABLED = 0x0 + SECCOMP_MODE_FILTER = 0x2 + SECCOMP_MODE_STRICT = 0x1 ++ SECRETMEM_MAGIC = 0x5345434d + SECURITYFS_MAGIC = 0x73636673 + SEEK_CUR = 0x1 + SEEK_DATA = 0x3 +@@ -2350,6 +2854,9 @@ const ( + SIOCGSTAMPNS = 0x8907 + SIOCGSTAMPNS_OLD = 0x8907 + SIOCGSTAMP_OLD = 0x8906 ++ SIOCKCMATTACH = 0x89e0 ++ SIOCKCMCLONE = 0x89e2 ++ SIOCKCMUNATTACH = 0x89e1 + SIOCOUTQNSD = 0x894b + SIOCPROTOPRIVATE = 0x89e0 + SIOCRTMSG = 0x890d +@@ -2392,14 +2899,21 @@ const ( + SMART_STATUS = 0xda + SMART_WRITE_LOG_SECTOR = 0xd6 + SMART_WRITE_THRESHOLDS = 0xd7 ++ SMB2_SUPER_MAGIC = 0xfe534d42 + SMB_SUPER_MAGIC = 0x517b + SOCKFS_MAGIC = 0x534f434b ++ SOCK_BUF_LOCK_MASK = 0x3 + SOCK_DCCP = 0x6 + SOCK_IOC_TYPE = 0x89 + SOCK_PACKET = 0xa + SOCK_RAW = 0x3 ++ SOCK_RCVBUF_LOCK = 0x2 + SOCK_RDM = 0x4 + SOCK_SEQPACKET = 0x5 ++ SOCK_SNDBUF_LOCK = 0x1 ++ SOCK_TXREHASH_DEFAULT = 0xff ++ SOCK_TXREHASH_DISABLED = 0x0 ++ SOCK_TXREHASH_ENABLED = 0x1 + SOL_AAL = 0x109 + SOL_ALG = 0x117 + SOL_ATM = 0x108 +@@ -2415,6 +2929,8 @@ const ( + SOL_IUCV = 0x115 + SOL_KCM = 0x119 + SOL_LLC = 0x10c ++ SOL_MCTP = 0x11d ++ SOL_MPTCP = 0x11c + SOL_NETBEUI = 0x10b + SOL_NETLINK = 0x10e + SOL_NFC = 0x118 +@@ -2424,6 +2940,7 @@ const ( + SOL_RAW = 0xff + SOL_RDS = 0x114 + SOL_RXRPC = 0x110 ++ SOL_SMC = 0x11e + SOL_TCP = 0x6 + SOL_TIPC = 0x10f + SOL_TLS = 0x11a +@@ -2456,6 +2973,8 @@ const ( + SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1 + SO_VM_SOCKETS_BUFFER_SIZE = 0x0 + SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6 ++ SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW = 0x8 ++ SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD = 0x6 + SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7 + SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3 + SO_VM_SOCKETS_TRUSTED = 0x5 +@@ -2528,7 +3047,7 @@ const ( + TASKSTATS_GENL_NAME = "TASKSTATS" + TASKSTATS_GENL_VERSION = 0x1 + TASKSTATS_TYPE_MAX = 0x6 +- TASKSTATS_VERSION = 0xa ++ TASKSTATS_VERSION = 0xd + TCIFLUSH = 0x0 + TCIOFF = 0x2 + TCIOFLUSH = 0x2 +@@ -2536,6 +3055,14 @@ const ( + TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_TSTAMP_HDR = 0x101080a ++ TCPOPT_WINDOW = 0x3 + TCP_CC_INFO = 0x1a + TCP_CM_INQ = 0x24 + TCP_CONGESTION = 0xd +@@ -2742,6 +3269,13 @@ const ( + WDIOS_TEMPPANIC = 0x4 + WDIOS_UNKNOWN = -0x1 + WEXITED = 0x4 ++ WGALLOWEDIP_A_MAX = 0x3 ++ WGDEVICE_A_MAX = 0x8 ++ WGPEER_A_MAX = 0xa ++ WG_CMD_MAX = 0x1 ++ WG_GENL_NAME = "wireguard" ++ WG_GENL_VERSION = 0x1 ++ WG_KEY_LEN = 0x20 + WIN_ACKMEDIACHANGE = 0xdb + WIN_CHECKPOWERMODE1 = 0xe5 + WIN_CHECKPOWERMODE2 = 0x98 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +index 09fc559..36c0dfc 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include -m32 ++// mkerrors.sh -Wall -Werror -static -I/tmp/386/include -m32 + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build 386 && linux + // +build 386,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/386/include -m32 _const.go + + package unix + +@@ -147,6 +147,7 @@ const ( + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 +@@ -249,6 +250,8 @@ const ( + RTC_EPOCH_SET = 0x4004700e + RTC_IRQP_READ = 0x8004700b + RTC_IRQP_SET = 0x4004700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x801c7011 +@@ -292,6 +295,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -308,6 +312,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 +@@ -321,9 +326,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -344,6 +351,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +index 75730cc..4ff9427 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include -m64 ++// mkerrors.sh -Wall -Werror -static -I/tmp/amd64/include -m64 + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build amd64 && linux + // +build amd64,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/amd64/include -m64 _const.go + + package unix + +@@ -147,6 +147,7 @@ const ( + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 +@@ -250,6 +251,8 @@ const ( + RTC_EPOCH_SET = 0x4008700e + RTC_IRQP_READ = 0x8008700b + RTC_IRQP_SET = 0x4008700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x80207011 +@@ -293,6 +296,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -309,6 +313,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 +@@ -322,9 +327,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -345,6 +352,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +index 127cf17..3eaa0fb 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/arm/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm && linux + // +build arm,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/arm/include _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 +@@ -256,6 +257,8 @@ const ( + RTC_EPOCH_SET = 0x4004700e + RTC_IRQP_READ = 0x8004700b + RTC_IRQP_SET = 0x4004700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x801c7011 +@@ -299,6 +302,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -315,6 +319,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 +@@ -328,9 +333,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -351,6 +358,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +index 957ca1f..d7995bd 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char ++// mkerrors.sh -Wall -Werror -static -I/tmp/arm64/include -fsigned-char + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm64 && linux + // +build arm64,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char _const.go + + package unix + +@@ -148,6 +148,7 @@ const ( + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 +@@ -246,6 +247,8 @@ const ( + RTC_EPOCH_SET = 0x4008700e + RTC_IRQP_READ = 0x8008700b + RTC_IRQP_SET = 0x4008700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x80207011 +@@ -289,6 +292,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -305,6 +309,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 +@@ -318,9 +323,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -341,6 +348,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +@@ -505,6 +513,7 @@ const ( + WORDSIZE = 0x40 + XCASE = 0x4 + XTABS = 0x1800 ++ ZA_MAGIC = 0x54366345 + _HIDIOCGRAWNAME = 0x80804804 + _HIDIOCGRAWPHYS = 0x80404805 + _HIDIOCGRAWUNIQ = 0x80404808 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +new file mode 100644 +index 0000000..928e24c +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +@@ -0,0 +1,818 @@ ++// mkerrors.sh -Wall -Werror -static -I/tmp/loong64/include ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build loong64 && linux ++// +build loong64,linux ++ ++// Code generated by cmd/cgo -godefs; DO NOT EDIT. ++// cgo -godefs -- -Wall -Werror -static -I/tmp/loong64/include _const.go ++ ++package unix ++ ++import "syscall" ++ ++const ( ++ B1000000 = 0x1008 ++ B115200 = 0x1002 ++ B1152000 = 0x1009 ++ B1500000 = 0x100a ++ B2000000 = 0x100b ++ B230400 = 0x1003 ++ B2500000 = 0x100c ++ B3000000 = 0x100d ++ B3500000 = 0x100e ++ B4000000 = 0x100f ++ B460800 = 0x1004 ++ B500000 = 0x1005 ++ B57600 = 0x1001 ++ B576000 = 0x1006 ++ B921600 = 0x1007 ++ BLKBSZGET = 0x80081270 ++ BLKBSZSET = 0x40081271 ++ BLKFLSBUF = 0x1261 ++ BLKFRAGET = 0x1265 ++ BLKFRASET = 0x1264 ++ BLKGETSIZE = 0x1260 ++ BLKGETSIZE64 = 0x80081272 ++ BLKPBSZGET = 0x127b ++ BLKRAGET = 0x1263 ++ BLKRASET = 0x1262 ++ BLKROGET = 0x125e ++ BLKROSET = 0x125d ++ BLKRRPART = 0x125f ++ BLKSECTGET = 0x1267 ++ BLKSECTSET = 0x1266 ++ BLKSSZGET = 0x1268 ++ BOTHER = 0x1000 ++ BS1 = 0x2000 ++ BSDLY = 0x2000 ++ CBAUD = 0x100f ++ CBAUDEX = 0x1000 ++ CIBAUD = 0x100f0000 ++ CLOCAL = 0x800 ++ CR1 = 0x200 ++ CR2 = 0x400 ++ CR3 = 0x600 ++ CRDLY = 0x600 ++ CREAD = 0x80 ++ CS6 = 0x10 ++ CS7 = 0x20 ++ CS8 = 0x30 ++ CSIZE = 0x30 ++ CSTOPB = 0x40 ++ ECCGETLAYOUT = 0x81484d11 ++ ECCGETSTATS = 0x80104d12 ++ ECHOCTL = 0x200 ++ ECHOE = 0x10 ++ ECHOK = 0x20 ++ ECHOKE = 0x800 ++ ECHONL = 0x40 ++ ECHOPRT = 0x400 ++ EFD_CLOEXEC = 0x80000 ++ EFD_NONBLOCK = 0x800 ++ EPOLL_CLOEXEC = 0x80000 ++ EXTPROC = 0x10000 ++ FF1 = 0x8000 ++ FFDLY = 0x8000 ++ FICLONE = 0x40049409 ++ FICLONERANGE = 0x4020940d ++ FLUSHO = 0x1000 ++ FPU_CTX_MAGIC = 0x46505501 ++ FS_IOC_ENABLE_VERITY = 0x40806685 ++ FS_IOC_GETFLAGS = 0x80086601 ++ FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b ++ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 ++ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 ++ FS_IOC_SETFLAGS = 0x40086602 ++ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 ++ F_GETLK = 0x5 ++ F_GETLK64 = 0x5 ++ F_GETOWN = 0x9 ++ F_RDLCK = 0x0 ++ F_SETLK = 0x6 ++ F_SETLK64 = 0x6 ++ F_SETLKW = 0x7 ++ F_SETLKW64 = 0x7 ++ F_SETOWN = 0x8 ++ F_UNLCK = 0x2 ++ F_WRLCK = 0x1 ++ HIDIOCGRAWINFO = 0x80084803 ++ HIDIOCGRDESC = 0x90044802 ++ HIDIOCGRDESCSIZE = 0x80044801 ++ HUPCL = 0x400 ++ ICANON = 0x2 ++ IEXTEN = 0x8000 ++ IN_CLOEXEC = 0x80000 ++ IN_NONBLOCK = 0x800 ++ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 ++ ISIG = 0x1 ++ IUCLC = 0x200 ++ IXOFF = 0x1000 ++ IXON = 0x400 ++ MAP_ANON = 0x20 ++ MAP_ANONYMOUS = 0x20 ++ MAP_DENYWRITE = 0x800 ++ MAP_EXECUTABLE = 0x1000 ++ MAP_GROWSDOWN = 0x100 ++ MAP_HUGETLB = 0x40000 ++ MAP_LOCKED = 0x2000 ++ MAP_NONBLOCK = 0x10000 ++ MAP_NORESERVE = 0x4000 ++ MAP_POPULATE = 0x8000 ++ MAP_STACK = 0x20000 ++ MAP_SYNC = 0x80000 ++ MCL_CURRENT = 0x1 ++ MCL_FUTURE = 0x2 ++ MCL_ONFAULT = 0x4 ++ MEMERASE = 0x40084d02 ++ MEMERASE64 = 0x40104d14 ++ MEMGETBADBLOCK = 0x40084d0b ++ MEMGETINFO = 0x80204d01 ++ MEMGETOOBSEL = 0x80c84d0a ++ MEMGETREGIONCOUNT = 0x80044d07 ++ MEMISLOCKED = 0x80084d17 ++ MEMLOCK = 0x40084d05 ++ MEMREADOOB = 0xc0104d04 ++ MEMSETBADBLOCK = 0x40084d0c ++ MEMUNLOCK = 0x40084d06 ++ MEMWRITEOOB = 0xc0104d03 ++ MTDFILEMODE = 0x4d13 ++ NFDBITS = 0x40 ++ NLDLY = 0x100 ++ NOFLSH = 0x80 ++ NS_GET_NSTYPE = 0xb703 ++ NS_GET_OWNER_UID = 0xb704 ++ NS_GET_PARENT = 0xb702 ++ NS_GET_USERNS = 0xb701 ++ OLCUC = 0x2 ++ ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 ++ OTPGETREGIONCOUNT = 0x40044d0e ++ OTPGETREGIONINFO = 0x400c4d0f ++ OTPLOCK = 0x800c4d10 ++ OTPSELECT = 0x80044d0d ++ 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_RSYNC = 0x101000 ++ O_SYNC = 0x101000 ++ O_TMPFILE = 0x410000 ++ O_TRUNC = 0x200 ++ PARENB = 0x100 ++ PARODD = 0x200 ++ PENDIN = 0x4000 ++ PERF_EVENT_IOC_DISABLE = 0x2401 ++ PERF_EVENT_IOC_ENABLE = 0x2400 ++ PERF_EVENT_IOC_ID = 0x80082407 ++ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b ++ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409 ++ PERF_EVENT_IOC_PERIOD = 0x40082404 ++ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a ++ PERF_EVENT_IOC_REFRESH = 0x2402 ++ PERF_EVENT_IOC_RESET = 0x2403 ++ PERF_EVENT_IOC_SET_BPF = 0x40042408 ++ PERF_EVENT_IOC_SET_FILTER = 0x40082406 ++ PERF_EVENT_IOC_SET_OUTPUT = 0x2405 ++ PPPIOCATTACH = 0x4004743d ++ PPPIOCATTCHAN = 0x40047438 ++ PPPIOCBRIDGECHAN = 0x40047435 ++ PPPIOCCONNECT = 0x4004743a ++ PPPIOCDETACH = 0x4004743c ++ PPPIOCDISCONN = 0x7439 ++ PPPIOCGASYNCMAP = 0x80047458 ++ PPPIOCGCHAN = 0x80047437 ++ PPPIOCGDEBUG = 0x80047441 ++ PPPIOCGFLAGS = 0x8004745a ++ PPPIOCGIDLE = 0x8010743f ++ PPPIOCGIDLE32 = 0x8008743f ++ PPPIOCGIDLE64 = 0x8010743f ++ PPPIOCGL2TPSTATS = 0x80487436 ++ PPPIOCGMRU = 0x80047453 ++ PPPIOCGRASYNCMAP = 0x80047455 ++ PPPIOCGUNIT = 0x80047456 ++ PPPIOCGXASYNCMAP = 0x80207450 ++ PPPIOCSACTIVE = 0x40107446 ++ PPPIOCSASYNCMAP = 0x40047457 ++ PPPIOCSCOMPRESS = 0x4010744d ++ PPPIOCSDEBUG = 0x40047440 ++ PPPIOCSFLAGS = 0x40047459 ++ PPPIOCSMAXCID = 0x40047451 ++ PPPIOCSMRRU = 0x4004743b ++ PPPIOCSMRU = 0x40047452 ++ PPPIOCSNPMODE = 0x4008744b ++ PPPIOCSPASS = 0x40107447 ++ PPPIOCSRASYNCMAP = 0x40047454 ++ PPPIOCSXASYNCMAP = 0x4020744f ++ PPPIOCUNBRIDGECHAN = 0x7434 ++ PPPIOCXFERUNIT = 0x744e ++ PR_SET_PTRACER_ANY = 0xffffffffffffffff ++ PTRACE_SYSEMU = 0x1f ++ PTRACE_SYSEMU_SINGLESTEP = 0x20 ++ RLIMIT_AS = 0x9 ++ RLIMIT_MEMLOCK = 0x8 ++ RLIMIT_NOFILE = 0x7 ++ RLIMIT_NPROC = 0x6 ++ RLIMIT_RSS = 0x5 ++ RNDADDENTROPY = 0x40085203 ++ RNDADDTOENTCNT = 0x40045201 ++ RNDCLEARPOOL = 0x5206 ++ RNDGETENTCNT = 0x80045200 ++ RNDGETPOOL = 0x80085202 ++ RNDRESEEDCRNG = 0x5207 ++ RNDZAPENTCNT = 0x5204 ++ RTC_AIE_OFF = 0x7002 ++ RTC_AIE_ON = 0x7001 ++ RTC_ALM_READ = 0x80247008 ++ RTC_ALM_SET = 0x40247007 ++ RTC_EPOCH_READ = 0x8008700d ++ RTC_EPOCH_SET = 0x4008700e ++ RTC_IRQP_READ = 0x8008700b ++ RTC_IRQP_SET = 0x4008700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 ++ RTC_PIE_OFF = 0x7006 ++ RTC_PIE_ON = 0x7005 ++ RTC_PLL_GET = 0x80207011 ++ RTC_PLL_SET = 0x40207012 ++ RTC_RD_TIME = 0x80247009 ++ RTC_SET_TIME = 0x4024700a ++ RTC_UIE_OFF = 0x7004 ++ RTC_UIE_ON = 0x7003 ++ RTC_VL_CLR = 0x7014 ++ RTC_VL_READ = 0x80047013 ++ RTC_WIE_OFF = 0x7010 ++ RTC_WIE_ON = 0x700f ++ RTC_WKALM_RD = 0x80287010 ++ RTC_WKALM_SET = 0x4028700f ++ SCM_TIMESTAMPING = 0x25 ++ SCM_TIMESTAMPING_OPT_STATS = 0x36 ++ SCM_TIMESTAMPING_PKTINFO = 0x3a ++ SCM_TIMESTAMPNS = 0x23 ++ SCM_TXTIME = 0x3d ++ SCM_WIFI_STATUS = 0x29 ++ SFD_CLOEXEC = 0x80000 ++ SFD_NONBLOCK = 0x800 ++ SIOCATMARK = 0x8905 ++ SIOCGPGRP = 0x8904 ++ SIOCGSTAMPNS_NEW = 0x80108907 ++ SIOCGSTAMP_NEW = 0x80108906 ++ SIOCINQ = 0x541b ++ SIOCOUTQ = 0x5411 ++ SIOCSPGRP = 0x8902 ++ SOCK_CLOEXEC = 0x80000 ++ SOCK_DGRAM = 0x2 ++ SOCK_NONBLOCK = 0x800 ++ SOCK_STREAM = 0x1 ++ SOL_SOCKET = 0x1 ++ SO_ACCEPTCONN = 0x1e ++ SO_ATTACH_BPF = 0x32 ++ SO_ATTACH_REUSEPORT_CBPF = 0x33 ++ SO_ATTACH_REUSEPORT_EBPF = 0x34 ++ SO_BINDTODEVICE = 0x19 ++ SO_BINDTOIFINDEX = 0x3e ++ SO_BPF_EXTENSIONS = 0x30 ++ SO_BROADCAST = 0x6 ++ SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 ++ SO_BUSY_POLL = 0x2e ++ SO_BUSY_POLL_BUDGET = 0x46 ++ SO_CNX_ADVICE = 0x35 ++ SO_COOKIE = 0x39 ++ SO_DETACH_REUSEPORT_BPF = 0x44 ++ SO_DOMAIN = 0x27 ++ SO_DONTROUTE = 0x5 ++ SO_ERROR = 0x4 ++ SO_INCOMING_CPU = 0x31 ++ SO_INCOMING_NAPI_ID = 0x38 ++ SO_KEEPALIVE = 0x9 ++ SO_LINGER = 0xd ++ SO_LOCK_FILTER = 0x2c ++ SO_MARK = 0x24 ++ SO_MAX_PACING_RATE = 0x2f ++ SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 ++ SO_NOFCS = 0x2b ++ SO_OOBINLINE = 0xa ++ SO_PASSCRED = 0x10 ++ SO_PASSSEC = 0x22 ++ SO_PEEK_OFF = 0x2a ++ SO_PEERCRED = 0x11 ++ SO_PEERGROUPS = 0x3b ++ SO_PEERSEC = 0x1f ++ SO_PREFER_BUSY_POLL = 0x45 ++ SO_PROTOCOL = 0x26 ++ SO_RCVBUF = 0x8 ++ SO_RCVBUFFORCE = 0x21 ++ SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b ++ SO_RCVTIMEO = 0x14 ++ SO_RCVTIMEO_NEW = 0x42 ++ SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 ++ 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_SNDTIMEO_NEW = 0x43 ++ SO_SNDTIMEO_OLD = 0x15 ++ SO_TIMESTAMPING = 0x25 ++ SO_TIMESTAMPING_NEW = 0x41 ++ SO_TIMESTAMPING_OLD = 0x25 ++ SO_TIMESTAMPNS = 0x23 ++ SO_TIMESTAMPNS_NEW = 0x40 ++ SO_TIMESTAMPNS_OLD = 0x23 ++ SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a ++ SO_TXTIME = 0x3d ++ SO_TYPE = 0x3 ++ SO_WIFI_STATUS = 0x29 ++ SO_ZEROCOPY = 0x3c ++ TAB1 = 0x800 ++ TAB2 = 0x1000 ++ TAB3 = 0x1800 ++ TABDLY = 0x1800 ++ TCFLSH = 0x540b ++ TCGETA = 0x5405 ++ TCGETS = 0x5401 ++ TCGETS2 = 0x802c542a ++ TCGETX = 0x5432 ++ 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 ++ TFD_CLOEXEC = 0x80000 ++ TFD_NONBLOCK = 0x800 ++ TIOCCBRK = 0x5428 ++ TIOCCONS = 0x541d ++ TIOCEXCL = 0x540c ++ TIOCGDEV = 0x80045432 ++ TIOCGETD = 0x5424 ++ TIOCGEXCL = 0x80045440 ++ TIOCGICOUNT = 0x545d ++ TIOCGISO7816 = 0x80285442 ++ TIOCGLCKTRMIOS = 0x5456 ++ TIOCGPGRP = 0x540f ++ TIOCGPKT = 0x80045438 ++ TIOCGPTLCK = 0x80045439 ++ TIOCGPTN = 0x80045430 ++ TIOCGPTPEER = 0x5441 ++ 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_RI = 0x80 ++ TIOCM_RNG = 0x80 ++ TIOCM_SR = 0x10 ++ TIOCM_ST = 0x8 ++ TIOCNOTTY = 0x5422 ++ TIOCNXCL = 0x540d ++ TIOCOUTQ = 0x5411 ++ TIOCPKT = 0x5420 ++ 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 ++ TIOCSISO7816 = 0xc0285443 ++ TIOCSLCKTRMIOS = 0x5457 ++ TIOCSPGRP = 0x5410 ++ TIOCSPTLCK = 0x40045431 ++ TIOCSRS485 = 0x542f ++ TIOCSSERIAL = 0x541f ++ TIOCSSOFTCAR = 0x541a ++ TIOCSTI = 0x5412 ++ TIOCSWINSZ = 0x5414 ++ TIOCVHANGUP = 0x5437 ++ TOSTOP = 0x100 ++ TUNATTACHFILTER = 0x401054d5 ++ TUNDETACHFILTER = 0x401054d6 ++ TUNGETDEVNETNS = 0x54e3 ++ TUNGETFEATURES = 0x800454cf ++ TUNGETFILTER = 0x801054db ++ TUNGETIFF = 0x800454d2 ++ TUNGETSNDBUF = 0x800454d3 ++ TUNGETVNETBE = 0x800454df ++ TUNGETVNETHDRSZ = 0x800454d7 ++ TUNGETVNETLE = 0x800454dd ++ TUNSETCARRIER = 0x400454e2 ++ TUNSETDEBUG = 0x400454c9 ++ TUNSETFILTEREBPF = 0x800454e1 ++ TUNSETGROUP = 0x400454ce ++ TUNSETIFF = 0x400454ca ++ TUNSETIFINDEX = 0x400454da ++ TUNSETLINK = 0x400454cd ++ TUNSETNOCSUM = 0x400454c8 ++ TUNSETOFFLOAD = 0x400454d0 ++ TUNSETOWNER = 0x400454cc ++ TUNSETPERSIST = 0x400454cb ++ TUNSETQUEUE = 0x400454d9 ++ TUNSETSNDBUF = 0x400454d4 ++ TUNSETSTEERINGEBPF = 0x800454e0 ++ TUNSETTXFILTER = 0x400454d1 ++ TUNSETVNETBE = 0x400454de ++ TUNSETVNETHDRSZ = 0x400454d8 ++ TUNSETVNETLE = 0x400454dc ++ UBI_IOCATT = 0x40186f40 ++ UBI_IOCDET = 0x40046f41 ++ UBI_IOCEBCH = 0x40044f02 ++ UBI_IOCEBER = 0x40044f01 ++ UBI_IOCEBISMAP = 0x80044f05 ++ UBI_IOCEBMAP = 0x40084f03 ++ UBI_IOCEBUNMAP = 0x40044f04 ++ UBI_IOCMKVOL = 0x40986f00 ++ UBI_IOCRMVOL = 0x40046f01 ++ UBI_IOCRNVOL = 0x51106f03 ++ UBI_IOCRPEB = 0x40046f04 ++ UBI_IOCRSVOL = 0x400c6f02 ++ UBI_IOCSETVOLPROP = 0x40104f06 ++ UBI_IOCSPEB = 0x40046f05 ++ UBI_IOCVOLCRBLK = 0x40804f07 ++ UBI_IOCVOLRMBLK = 0x4f08 ++ UBI_IOCVOLUP = 0x40084f00 ++ VDISCARD = 0xd ++ VEOF = 0x4 ++ VEOL = 0xb ++ VEOL2 = 0x10 ++ VMIN = 0x6 ++ VREPRINT = 0xc ++ VSTART = 0x8 ++ VSTOP = 0x9 ++ VSUSP = 0xa ++ VSWTC = 0x7 ++ VT1 = 0x4000 ++ VTDLY = 0x4000 ++ VTIME = 0x5 ++ VWERASE = 0xe ++ WDIOC_GETBOOTSTATUS = 0x80045702 ++ WDIOC_GETPRETIMEOUT = 0x80045709 ++ WDIOC_GETSTATUS = 0x80045701 ++ WDIOC_GETSUPPORT = 0x80285700 ++ WDIOC_GETTEMP = 0x80045703 ++ WDIOC_GETTIMELEFT = 0x8004570a ++ WDIOC_GETTIMEOUT = 0x80045707 ++ WDIOC_KEEPALIVE = 0x80045705 ++ WDIOC_SETOPTIONS = 0x80045704 ++ WORDSIZE = 0x40 ++ XCASE = 0x4 ++ XTABS = 0x1800 ++ _HIDIOCGRAWNAME = 0x80804804 ++ _HIDIOCGRAWPHYS = 0x80404805 ++ _HIDIOCGRAWUNIQ = 0x80404808 ++) ++ ++// Errors ++const ( ++ EADDRINUSE = syscall.Errno(0x62) ++ EADDRNOTAVAIL = syscall.Errno(0x63) ++ EADV = syscall.Errno(0x44) ++ EAFNOSUPPORT = syscall.Errno(0x61) ++ EALREADY = syscall.Errno(0x72) ++ EBADE = syscall.Errno(0x34) ++ EBADFD = syscall.Errno(0x4d) ++ EBADMSG = syscall.Errno(0x4a) ++ EBADR = syscall.Errno(0x35) ++ EBADRQC = syscall.Errno(0x38) ++ EBADSLT = syscall.Errno(0x39) ++ EBFONT = syscall.Errno(0x3b) ++ ECANCELED = syscall.Errno(0x7d) ++ 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) ++ EDOTDOT = syscall.Errno(0x49) ++ EDQUOT = syscall.Errno(0x7a) ++ EHOSTDOWN = syscall.Errno(0x70) ++ EHOSTUNREACH = syscall.Errno(0x71) ++ EHWPOISON = syscall.Errno(0x85) ++ EIDRM = syscall.Errno(0x2b) ++ EILSEQ = syscall.Errno(0x54) ++ EINPROGRESS = syscall.Errno(0x73) ++ EISCONN = syscall.Errno(0x6a) ++ 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) ++ 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) ++ ENOANO = syscall.Errno(0x37) ++ ENOBUFS = syscall.Errno(0x69) ++ ENOCSI = syscall.Errno(0x32) ++ ENODATA = syscall.Errno(0x3d) ++ ENOKEY = syscall.Errno(0x7e) ++ ENOLCK = syscall.Errno(0x25) ++ ENOLINK = syscall.Errno(0x43) ++ ENOMEDIUM = syscall.Errno(0x7b) ++ ENOMSG = syscall.Errno(0x2a) ++ ENONET = syscall.Errno(0x40) ++ ENOPKG = syscall.Errno(0x41) ++ ENOPROTOOPT = syscall.Errno(0x5c) ++ ENOSR = syscall.Errno(0x3f) ++ ENOSTR = syscall.Errno(0x3c) ++ ENOSYS = syscall.Errno(0x26) ++ ENOTCONN = syscall.Errno(0x6b) ++ ENOTEMPTY = syscall.Errno(0x27) ++ ENOTNAM = syscall.Errno(0x76) ++ ENOTRECOVERABLE = syscall.Errno(0x83) ++ ENOTSOCK = syscall.Errno(0x58) ++ ENOTSUP = syscall.Errno(0x5f) ++ ENOTUNIQ = syscall.Errno(0x4c) ++ EOPNOTSUPP = syscall.Errno(0x5f) ++ EOVERFLOW = syscall.Errno(0x4b) ++ EOWNERDEAD = syscall.Errno(0x82) ++ EPFNOSUPPORT = syscall.Errno(0x60) ++ EPROTO = syscall.Errno(0x47) ++ EPROTONOSUPPORT = syscall.Errno(0x5d) ++ EPROTOTYPE = syscall.Errno(0x5b) ++ EREMCHG = syscall.Errno(0x4e) ++ EREMOTE = syscall.Errno(0x42) ++ EREMOTEIO = syscall.Errno(0x79) ++ ERESTART = syscall.Errno(0x55) ++ ERFKILL = syscall.Errno(0x84) ++ ESHUTDOWN = syscall.Errno(0x6c) ++ ESOCKTNOSUPPORT = syscall.Errno(0x5e) ++ ESRMNT = syscall.Errno(0x45) ++ ESTALE = syscall.Errno(0x74) ++ ESTRPIPE = syscall.Errno(0x56) ++ ETIME = syscall.Errno(0x3e) ++ ETIMEDOUT = syscall.Errno(0x6e) ++ ETOOMANYREFS = syscall.Errno(0x6d) ++ EUCLEAN = syscall.Errno(0x75) ++ EUNATCH = syscall.Errno(0x31) ++ EUSERS = syscall.Errno(0x57) ++ EXFULL = syscall.Errno(0x36) ++) ++ ++// Signals ++const ( ++ SIGBUS = syscall.Signal(0x7) ++ SIGCHLD = syscall.Signal(0x11) ++ SIGCLD = syscall.Signal(0x11) ++ SIGCONT = syscall.Signal(0x12) ++ SIGIO = syscall.Signal(0x1d) ++ SIGPOLL = syscall.Signal(0x1d) ++ SIGPROF = syscall.Signal(0x1b) ++ SIGPWR = syscall.Signal(0x1e) ++ SIGSTKFLT = syscall.Signal(0x10) ++ SIGSTOP = syscall.Signal(0x13) ++ SIGSYS = syscall.Signal(0x1f) ++ SIGTSTP = syscall.Signal(0x14) ++ SIGTTIN = syscall.Signal(0x15) ++ SIGTTOU = syscall.Signal(0x16) ++ 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 errorList = [...]struct { ++ num syscall.Errno ++ name string ++ desc string ++}{ ++ {1, "EPERM", "operation not permitted"}, ++ {2, "ENOENT", "no such file or directory"}, ++ {3, "ESRCH", "no such process"}, ++ {4, "EINTR", "interrupted system call"}, ++ {5, "EIO", "input/output error"}, ++ {6, "ENXIO", "no such device or address"}, ++ {7, "E2BIG", "argument list too long"}, ++ {8, "ENOEXEC", "exec format error"}, ++ {9, "EBADF", "bad file descriptor"}, ++ {10, "ECHILD", "no child processes"}, ++ {11, "EAGAIN", "resource temporarily unavailable"}, ++ {12, "ENOMEM", "cannot allocate memory"}, ++ {13, "EACCES", "permission denied"}, ++ {14, "EFAULT", "bad address"}, ++ {15, "ENOTBLK", "block device required"}, ++ {16, "EBUSY", "device or resource busy"}, ++ {17, "EEXIST", "file exists"}, ++ {18, "EXDEV", "invalid cross-device link"}, ++ {19, "ENODEV", "no such device"}, ++ {20, "ENOTDIR", "not a directory"}, ++ {21, "EISDIR", "is a directory"}, ++ {22, "EINVAL", "invalid argument"}, ++ {23, "ENFILE", "too many open files in system"}, ++ {24, "EMFILE", "too many open files"}, ++ {25, "ENOTTY", "inappropriate ioctl for device"}, ++ {26, "ETXTBSY", "text file busy"}, ++ {27, "EFBIG", "file too large"}, ++ {28, "ENOSPC", "no space left on device"}, ++ {29, "ESPIPE", "illegal seek"}, ++ {30, "EROFS", "read-only file system"}, ++ {31, "EMLINK", "too many links"}, ++ {32, "EPIPE", "broken pipe"}, ++ {33, "EDOM", "numerical argument out of domain"}, ++ {34, "ERANGE", "numerical result out of range"}, ++ {35, "EDEADLK", "resource deadlock avoided"}, ++ {36, "ENAMETOOLONG", "file name too long"}, ++ {37, "ENOLCK", "no locks available"}, ++ {38, "ENOSYS", "function not implemented"}, ++ {39, "ENOTEMPTY", "directory not empty"}, ++ {40, "ELOOP", "too many levels of symbolic links"}, ++ {42, "ENOMSG", "no message of desired type"}, ++ {43, "EIDRM", "identifier removed"}, ++ {44, "ECHRNG", "channel number out of range"}, ++ {45, "EL2NSYNC", "level 2 not synchronized"}, ++ {46, "EL3HLT", "level 3 halted"}, ++ {47, "EL3RST", "level 3 reset"}, ++ {48, "ELNRNG", "link number out of range"}, ++ {49, "EUNATCH", "protocol driver not attached"}, ++ {50, "ENOCSI", "no CSI structure available"}, ++ {51, "EL2HLT", "level 2 halted"}, ++ {52, "EBADE", "invalid exchange"}, ++ {53, "EBADR", "invalid request descriptor"}, ++ {54, "EXFULL", "exchange full"}, ++ {55, "ENOANO", "no anode"}, ++ {56, "EBADRQC", "invalid request code"}, ++ {57, "EBADSLT", "invalid slot"}, ++ {59, "EBFONT", "bad font file format"}, ++ {60, "ENOSTR", "device not a stream"}, ++ {61, "ENODATA", "no data available"}, ++ {62, "ETIME", "timer expired"}, ++ {63, "ENOSR", "out of streams resources"}, ++ {64, "ENONET", "machine is not on the network"}, ++ {65, "ENOPKG", "package not installed"}, ++ {66, "EREMOTE", "object is remote"}, ++ {67, "ENOLINK", "link has been severed"}, ++ {68, "EADV", "advertise error"}, ++ {69, "ESRMNT", "srmount error"}, ++ {70, "ECOMM", "communication error on send"}, ++ {71, "EPROTO", "protocol error"}, ++ {72, "EMULTIHOP", "multihop attempted"}, ++ {73, "EDOTDOT", "RFS specific error"}, ++ {74, "EBADMSG", "bad message"}, ++ {75, "EOVERFLOW", "value too large for defined data type"}, ++ {76, "ENOTUNIQ", "name not unique on network"}, ++ {77, "EBADFD", "file descriptor in bad state"}, ++ {78, "EREMCHG", "remote address changed"}, ++ {79, "ELIBACC", "can not access a needed shared library"}, ++ {80, "ELIBBAD", "accessing a corrupted shared library"}, ++ {81, "ELIBSCN", ".lib section in a.out corrupted"}, ++ {82, "ELIBMAX", "attempting to link in too many shared libraries"}, ++ {83, "ELIBEXEC", "cannot exec a shared library directly"}, ++ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"}, ++ {85, "ERESTART", "interrupted system call should be restarted"}, ++ {86, "ESTRPIPE", "streams pipe error"}, ++ {87, "EUSERS", "too many users"}, ++ {88, "ENOTSOCK", "socket operation on non-socket"}, ++ {89, "EDESTADDRREQ", "destination address required"}, ++ {90, "EMSGSIZE", "message too long"}, ++ {91, "EPROTOTYPE", "protocol wrong type for socket"}, ++ {92, "ENOPROTOOPT", "protocol not available"}, ++ {93, "EPROTONOSUPPORT", "protocol not supported"}, ++ {94, "ESOCKTNOSUPPORT", "socket type not supported"}, ++ {95, "ENOTSUP", "operation not supported"}, ++ {96, "EPFNOSUPPORT", "protocol family not supported"}, ++ {97, "EAFNOSUPPORT", "address family not supported by protocol"}, ++ {98, "EADDRINUSE", "address already in use"}, ++ {99, "EADDRNOTAVAIL", "cannot assign requested address"}, ++ {100, "ENETDOWN", "network is down"}, ++ {101, "ENETUNREACH", "network is unreachable"}, ++ {102, "ENETRESET", "network dropped connection on reset"}, ++ {103, "ECONNABORTED", "software caused connection abort"}, ++ {104, "ECONNRESET", "connection reset by peer"}, ++ {105, "ENOBUFS", "no buffer space available"}, ++ {106, "EISCONN", "transport endpoint is already connected"}, ++ {107, "ENOTCONN", "transport endpoint is not connected"}, ++ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"}, ++ {109, "ETOOMANYREFS", "too many references: cannot splice"}, ++ {110, "ETIMEDOUT", "connection timed out"}, ++ {111, "ECONNREFUSED", "connection refused"}, ++ {112, "EHOSTDOWN", "host is down"}, ++ {113, "EHOSTUNREACH", "no route to host"}, ++ {114, "EALREADY", "operation already in progress"}, ++ {115, "EINPROGRESS", "operation now in progress"}, ++ {116, "ESTALE", "stale file handle"}, ++ {117, "EUCLEAN", "structure needs cleaning"}, ++ {118, "ENOTNAM", "not a XENIX named type file"}, ++ {119, "ENAVAIL", "no XENIX semaphores available"}, ++ {120, "EISNAM", "is a named type file"}, ++ {121, "EREMOTEIO", "remote I/O error"}, ++ {122, "EDQUOT", "disk quota exceeded"}, ++ {123, "ENOMEDIUM", "no medium found"}, ++ {124, "EMEDIUMTYPE", "wrong medium type"}, ++ {125, "ECANCELED", "operation canceled"}, ++ {126, "ENOKEY", "required key not available"}, ++ {127, "EKEYEXPIRED", "key has expired"}, ++ {128, "EKEYREVOKED", "key has been revoked"}, ++ {129, "EKEYREJECTED", "key was rejected by service"}, ++ {130, "EOWNERDEAD", "owner died"}, ++ {131, "ENOTRECOVERABLE", "state not recoverable"}, ++ {132, "ERFKILL", "operation not possible due to RF-kill"}, ++ {133, "EHWPOISON", "memory page has hardware error"}, ++} ++ ++// Signal table ++var signalList = [...]struct { ++ num syscall.Signal ++ name string ++ desc string ++}{ ++ {1, "SIGHUP", "hangup"}, ++ {2, "SIGINT", "interrupt"}, ++ {3, "SIGQUIT", "quit"}, ++ {4, "SIGILL", "illegal instruction"}, ++ {5, "SIGTRAP", "trace/breakpoint trap"}, ++ {6, "SIGABRT", "aborted"}, ++ {7, "SIGBUS", "bus error"}, ++ {8, "SIGFPE", "floating point exception"}, ++ {9, "SIGKILL", "killed"}, ++ {10, "SIGUSR1", "user defined signal 1"}, ++ {11, "SIGSEGV", "segmentation fault"}, ++ {12, "SIGUSR2", "user defined signal 2"}, ++ {13, "SIGPIPE", "broken pipe"}, ++ {14, "SIGALRM", "alarm clock"}, ++ {15, "SIGTERM", "terminated"}, ++ {16, "SIGSTKFLT", "stack fault"}, ++ {17, "SIGCHLD", "child exited"}, ++ {18, "SIGCONT", "continued"}, ++ {19, "SIGSTOP", "stopped (signal)"}, ++ {20, "SIGTSTP", "stopped"}, ++ {21, "SIGTTIN", "stopped (tty input)"}, ++ {22, "SIGTTOU", "stopped (tty output)"}, ++ {23, "SIGURG", "urgent I/O condition"}, ++ {24, "SIGXCPU", "CPU time limit exceeded"}, ++ {25, "SIGXFSZ", "file size limit exceeded"}, ++ {26, "SIGVTALRM", "virtual timer expired"}, ++ {27, "SIGPROF", "profiling timer expired"}, ++ {28, "SIGWINCH", "window changed"}, ++ {29, "SIGIO", "I/O possible"}, ++ {30, "SIGPWR", "power failure"}, ++ {31, "SIGSYS", "bad system call"}, ++} +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +index 314a205..179bffb 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/mips/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips && linux + // +build mips,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/mips/include _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -249,6 +250,8 @@ const ( + RTC_EPOCH_SET = 0x8004700e + RTC_IRQP_READ = 0x4004700b + RTC_IRQP_SET = 0x8004700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x401c7011 +@@ -292,6 +295,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -308,6 +312,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x11 +@@ -321,9 +326,11 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x1004 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x1006 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x1006 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x28 +@@ -345,6 +352,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +index 457e8de..1fba17b 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/mips64/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips64 && linux + // +build mips64,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/mips64/include _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -249,6 +250,8 @@ const ( + RTC_EPOCH_SET = 0x8008700e + RTC_IRQP_READ = 0x4008700b + RTC_IRQP_SET = 0x8008700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x40207011 +@@ -292,6 +295,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -308,6 +312,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x11 +@@ -321,9 +326,11 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x1004 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x1006 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x1006 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x28 +@@ -345,6 +352,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +index 33cd28f..b77dde3 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/mips64le/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips64le && linux + // +build mips64le,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/mips64le/include _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -249,6 +250,8 @@ const ( + RTC_EPOCH_SET = 0x8008700e + RTC_IRQP_READ = 0x4008700b + RTC_IRQP_SET = 0x8008700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x40207011 +@@ -292,6 +295,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -308,6 +312,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x11 +@@ -321,9 +326,11 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x1004 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x1006 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x1006 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x28 +@@ -345,6 +352,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +index 0e085ba..78c6c75 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/mipsle/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mipsle && linux + // +build mipsle,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/mipsle/include _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -249,6 +250,8 @@ const ( + RTC_EPOCH_SET = 0x8004700e + RTC_IRQP_READ = 0x4004700b + RTC_IRQP_SET = 0x8004700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x401c7011 +@@ -292,6 +295,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -308,6 +312,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x11 +@@ -321,9 +326,11 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x1004 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x1006 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x1006 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x28 +@@ -345,6 +352,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +index 1b5928c..1c0d31f 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/ppc/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc && linux + // +build ppc,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc/include _const.go + + package unix + +@@ -147,6 +147,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x4 + ONLCR = 0x2 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -304,6 +305,8 @@ const ( + RTC_EPOCH_SET = 0x8004700e + RTC_IRQP_READ = 0x4004700b + RTC_IRQP_SET = 0x8004700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x401c7011 +@@ -347,6 +350,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -363,6 +367,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x14 +@@ -376,9 +381,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x10 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x12 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x12 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -399,6 +406,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +index f3a41d6..959dd9b 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/ppc64/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc64 && linux + // +build ppc64,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64/include _const.go + + package unix + +@@ -147,6 +147,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x4 + ONLCR = 0x2 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -308,6 +309,8 @@ const ( + RTC_EPOCH_SET = 0x8008700e + RTC_IRQP_READ = 0x4008700b + RTC_IRQP_SET = 0x8008700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x40207011 +@@ -351,6 +354,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -367,6 +371,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x14 +@@ -380,9 +385,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x10 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x12 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x12 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -403,6 +410,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +index 6a5a555..5a873cd 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/ppc64le/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc64le && linux + // +build ppc64le,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64le/include _const.go + + package unix + +@@ -147,6 +147,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x4 + ONLCR = 0x2 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -308,6 +309,8 @@ const ( + RTC_EPOCH_SET = 0x8008700e + RTC_IRQP_READ = 0x4008700b + RTC_IRQP_SET = 0x8008700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x40207011 +@@ -351,6 +354,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -367,6 +371,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x14 +@@ -380,9 +385,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x10 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x12 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x12 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -403,6 +410,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +index a4da67e..e336d14 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/riscv64/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build riscv64 && linux + // +build riscv64,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/riscv64/include _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 +@@ -237,6 +238,8 @@ const ( + RTC_EPOCH_SET = 0x4008700e + RTC_IRQP_READ = 0x8008700b + RTC_IRQP_SET = 0x4008700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x80207011 +@@ -280,6 +283,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -296,6 +300,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 +@@ -309,9 +314,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -332,6 +339,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +index a7028e0..390c01d 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char ++// mkerrors.sh -Wall -Werror -static -I/tmp/s390x/include -fsigned-char + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build s390x && linux + // +build s390x,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/s390x/include -fsigned-char _const.go + + package unix + +@@ -145,6 +145,7 @@ const ( + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 +@@ -312,6 +313,8 @@ const ( + RTC_EPOCH_SET = 0x4008700e + RTC_IRQP_READ = 0x8008700b + RTC_IRQP_SET = 0x4008700c ++ RTC_PARAM_GET = 0x40187013 ++ RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x80207011 +@@ -355,6 +358,7 @@ const ( + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe ++ SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 +@@ -371,6 +375,7 @@ const ( + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 ++ SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 +@@ -384,9 +389,11 @@ const ( + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 ++ SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 ++ SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 +@@ -407,6 +414,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f ++ SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +index ed3b328..98a6e5f 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +@@ -1,11 +1,11 @@ +-// mkerrors.sh -Wall -Werror -static -I/tmp/include ++// mkerrors.sh -Wall -Werror -static -I/tmp/sparc64/include + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build sparc64 && linux + // +build sparc64,linux + + // Code generated by cmd/cgo -godefs; DO NOT EDIT. +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go ++// cgo -godefs -- -Wall -Werror -static -I/tmp/sparc64/include _const.go + + package unix + +@@ -150,6 +150,7 @@ const ( + NS_GET_USERNS = 0x2000b701 + OLCUC = 0x2 + ONLCR = 0x4 ++ OTPERASE = 0x800c4d19 + OTPGETREGIONCOUNT = 0x80044d0e + OTPGETREGIONINFO = 0x800c4d0f + OTPLOCK = 0x400c4d10 +@@ -303,6 +304,8 @@ const ( + RTC_EPOCH_SET = 0x8008700e + RTC_IRQP_READ = 0x4008700b + RTC_IRQP_SET = 0x8008700c ++ RTC_PARAM_GET = 0x80187013 ++ RTC_PARAM_SET = 0x80187014 + RTC_PIE_OFF = 0x20007006 + RTC_PIE_ON = 0x20007005 + RTC_PLL_GET = 0x40207011 +@@ -346,6 +349,7 @@ const ( + SO_BPF_EXTENSIONS = 0x32 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0x400 ++ SO_BUF_LOCK = 0x51 + SO_BUSY_POLL = 0x30 + SO_BUSY_POLL_BUDGET = 0x49 + SO_CNX_ADVICE = 0x37 +@@ -362,6 +366,7 @@ const ( + SO_MARK = 0x22 + SO_MAX_PACING_RATE = 0x31 + SO_MEMINFO = 0x39 ++ SO_NETNS_COOKIE = 0x50 + SO_NOFCS = 0x27 + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x2 +@@ -375,9 +380,11 @@ const ( + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x100b + SO_RCVLOWAT = 0x800 ++ SO_RCVMARK = 0x54 + SO_RCVTIMEO = 0x2000 + SO_RCVTIMEO_NEW = 0x44 + SO_RCVTIMEO_OLD = 0x2000 ++ SO_RESERVE_MEM = 0x52 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x24 +@@ -398,6 +405,7 @@ const ( + SO_TIMESTAMPNS_NEW = 0x42 + SO_TIMESTAMPNS_OLD = 0x21 + SO_TIMESTAMP_NEW = 0x46 ++ SO_TXREHASH = 0x53 + SO_TXTIME = 0x3f + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x25 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +index 593cc0f..6d56edc 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +@@ -1020,7 +1020,10 @@ const ( + RLIMIT_CPU = 0x0 + RLIMIT_DATA = 0x2 + RLIMIT_FSIZE = 0x1 ++ RLIMIT_MEMLOCK = 0x6 + RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 + RLIMIT_STACK = 0x3 + RLIM_INFINITY = 0x7fffffffffffffff + RTAX_AUTHOR = 0x6 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +index a4e4c22..aef6c08 100644 +--- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +@@ -1020,7 +1020,10 @@ const ( + RLIMIT_CPU = 0x0 + RLIMIT_DATA = 0x2 + RLIMIT_FSIZE = 0x1 ++ RLIMIT_MEMLOCK = 0x6 + RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 + RLIMIT_STACK = 0x3 + RLIM_INFINITY = 0x7fffffffffffffff + RTAX_AUTHOR = 0x6 +diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +new file mode 100644 +index 0000000..8e2c51b +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +@@ -0,0 +1,1905 @@ ++// mkerrors.sh -m64 ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build ppc64 && openbsd ++// +build ppc64,openbsd ++ ++// Code generated by cmd/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 ++ ALTWERASE = 0x200 ++ 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_FILDROP_CAPTURE = 0x1 ++ BPF_FILDROP_DROP = 0x2 ++ BPF_FILDROP_PASS = 0x0 ++ BPF_F_DIR_IN = 0x10 ++ BPF_F_DIR_MASK = 0x30 ++ BPF_F_DIR_OUT = 0x20 ++ BPF_F_DIR_SHIFT = 0x4 ++ BPF_F_FLOWID = 0x8 ++ BPF_F_PRI_MASK = 0x7 ++ 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_RND = 0xc0 ++ 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 ++ CLOCK_BOOTTIME = 0x6 ++ CLOCK_MONOTONIC = 0x3 ++ CLOCK_PROCESS_CPUTIME_ID = 0x2 ++ CLOCK_REALTIME = 0x0 ++ CLOCK_THREAD_CPUTIME_ID = 0x4 ++ CLOCK_UPTIME = 0x5 ++ CPUSTATES = 0x6 ++ CP_IDLE = 0x5 ++ CP_INTR = 0x4 ++ CP_NICE = 0x1 ++ CP_SPIN = 0x3 ++ CP_SYS = 0x2 ++ CP_USER = 0x0 ++ CREAD = 0x800 ++ CRTSCTS = 0x10000 ++ CS5 = 0x0 ++ CS6 = 0x100 ++ CS7 = 0x200 ++ CS8 = 0x300 ++ CSIZE = 0x300 ++ CSTART = 0x11 ++ CSTATUS = 0xff ++ CSTOP = 0x13 ++ CSTOPB = 0x400 ++ CSUSP = 0x1a ++ CTL_HW = 0x6 ++ CTL_KERN = 0x1 ++ CTL_MAXNAME = 0xc ++ CTL_NET = 0x4 ++ DIOCADDQUEUE = 0xc110445d ++ DIOCADDRULE = 0xcd604404 ++ DIOCADDSTATE = 0xc1084425 ++ DIOCCHANGERULE = 0xcd60441a ++ DIOCCLRIFFLAG = 0xc028445a ++ DIOCCLRSRCNODES = 0x20004455 ++ DIOCCLRSTATES = 0xc0e04412 ++ DIOCCLRSTATUS = 0xc0284416 ++ DIOCGETLIMIT = 0xc0084427 ++ DIOCGETQSTATS = 0xc1204460 ++ DIOCGETQUEUE = 0xc110445f ++ DIOCGETQUEUES = 0xc110445e ++ DIOCGETRULE = 0xcd604407 ++ DIOCGETRULES = 0xcd604406 ++ DIOCGETRULESET = 0xc444443b ++ DIOCGETRULESETS = 0xc444443a ++ DIOCGETSRCNODES = 0xc0104454 ++ DIOCGETSTATE = 0xc1084413 ++ DIOCGETSTATES = 0xc0104419 ++ DIOCGETSTATUS = 0xc1e84415 ++ DIOCGETSYNFLWATS = 0xc0084463 ++ DIOCGETTIMEOUT = 0xc008441e ++ DIOCIGETIFACES = 0xc0284457 ++ DIOCKILLSRCNODES = 0xc080445b ++ DIOCKILLSTATES = 0xc0e04429 ++ DIOCNATLOOK = 0xc0504417 ++ DIOCOSFPADD = 0xc088444f ++ DIOCOSFPFLUSH = 0x2000444e ++ DIOCOSFPGET = 0xc0884450 ++ DIOCRADDADDRS = 0xc4504443 ++ DIOCRADDTABLES = 0xc450443d ++ DIOCRCLRADDRS = 0xc4504442 ++ DIOCRCLRASTATS = 0xc4504448 ++ DIOCRCLRTABLES = 0xc450443c ++ DIOCRCLRTSTATS = 0xc4504441 ++ DIOCRDELADDRS = 0xc4504444 ++ DIOCRDELTABLES = 0xc450443e ++ DIOCRGETADDRS = 0xc4504446 ++ DIOCRGETASTATS = 0xc4504447 ++ DIOCRGETTABLES = 0xc450443f ++ DIOCRGETTSTATS = 0xc4504440 ++ DIOCRINADEFINE = 0xc450444d ++ DIOCRSETADDRS = 0xc4504445 ++ DIOCRSETTFLAGS = 0xc450444a ++ DIOCRTSTADDRS = 0xc4504449 ++ DIOCSETDEBUG = 0xc0044418 ++ DIOCSETHOSTID = 0xc0044456 ++ DIOCSETIFFLAG = 0xc0284459 ++ DIOCSETLIMIT = 0xc0084428 ++ DIOCSETREASS = 0xc004445c ++ DIOCSETSTATUSIF = 0xc0284414 ++ DIOCSETSYNCOOKIES = 0xc0014462 ++ DIOCSETSYNFLWATS = 0xc0084461 ++ DIOCSETTIMEOUT = 0xc008441d ++ DIOCSTART = 0x20004401 ++ DIOCSTOP = 0x20004402 ++ DIOCXBEGIN = 0xc0104451 ++ DIOCXCOMMIT = 0xc0104452 ++ DIOCXROLLBACK = 0xc0104453 ++ 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_OPENFLOW = 0x10b ++ 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 ++ DLT_USBPCAP = 0xf9 ++ 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 ++ 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 ++ ETH64_8021_RSVD_MASK = 0xfffffffffff0 ++ ETH64_8021_RSVD_PREFIX = 0x180c2000000 ++ 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_EAPOL = 0x888e ++ 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_MACSEC = 0x88e5 ++ 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_NHRP = 0x2001 ++ ETHERTYPE_NOVELL = 0x8138 ++ ETHERTYPE_NS = 0x600 ++ ETHERTYPE_NSAT = 0x601 ++ ETHERTYPE_NSCOMPAT = 0x807 ++ ETHERTYPE_NSH = 0x984f ++ ETHERTYPE_NTRAILER = 0x10 ++ ETHERTYPE_OS9 = 0x7007 ++ ETHERTYPE_OS9NET = 0x7009 ++ ETHERTYPE_PACER = 0x80c6 ++ ETHERTYPE_PBB = 0x88e7 ++ 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_HARDMTU_LEN = 0xff9b ++ ETHER_MAX_LEN = 0x5ee ++ ETHER_MIN_LEN = 0x40 ++ ETHER_TYPE_LEN = 0x2 ++ ETHER_VLAN_ENCAP_LEN = 0x4 ++ EVFILT_AIO = -0x3 ++ EVFILT_DEVICE = -0x8 ++ EVFILT_EXCEPT = -0x9 ++ EVFILT_PROC = -0x5 ++ EVFILT_READ = -0x1 ++ EVFILT_SIGNAL = -0x6 ++ EVFILT_SYSCOUNT = 0x9 ++ EVFILT_TIMER = -0x7 ++ EVFILT_VNODE = -0x4 ++ EVFILT_WRITE = -0x2 ++ EVL_ENCAPLEN = 0x4 ++ EVL_PRIO_BITS = 0xd ++ EVL_PRIO_MAX = 0x7 ++ EVL_VLID_MASK = 0xfff ++ EVL_VLID_MAX = 0xffe ++ EVL_VLID_MIN = 0x1 ++ EVL_VLID_NULL = 0x0 ++ 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_FLAG1 = 0x2000 ++ EV_ONESHOT = 0x10 ++ EV_RECEIPT = 0x40 ++ EV_SYSFLAGS = 0xf800 ++ 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_ISATTY = 0xb ++ 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 ++ HW_MACHINE = 0x1 ++ ICANON = 0x100 ++ ICMP6_FILTER = 0x12 ++ ICRNL = 0x100 ++ IEXTEN = 0x400 ++ IFAN_ARRIVAL = 0x0 ++ IFAN_DEPARTURE = 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_OACTIVE = 0x400 ++ IFF_POINTOPOINT = 0x10 ++ IFF_PROMISC = 0x100 ++ IFF_RUNNING = 0x40 ++ IFF_SIMPLEX = 0x800 ++ IFF_STATICARP = 0x20 ++ 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_MBIM = 0xfa ++ 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_WIREGUARD = 0xfb ++ 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_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_SCTP = 0x84 ++ IPPROTO_TCP = 0x6 ++ IPPROTO_TP = 0x1d ++ IPPROTO_UDP = 0x11 ++ IPPROTO_UDPLITE = 0x88 ++ 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 = 0xfffffff ++ IPV6_FLOWLABEL_MASK = 0xfffff ++ 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_MINHOPCOUNT = 0x41 ++ 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_DROP_MEMBERSHIP = 0xd ++ IP_ESP_NETWORK_LEVEL = 0x16 ++ IP_ESP_TRANS_LEVEL = 0x15 ++ IP_HDRINCL = 0x2 ++ IP_IPCOMP_LEVEL = 0x1d ++ IP_IPDEFTTL = 0x25 ++ 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_SENDSRCADDR = 0x7 ++ IP_TOS = 0x3 ++ IP_TTL = 0x4 ++ ISIG = 0x80 ++ ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 ++ IUCLC = 0x1000 ++ IXANY = 0x800 ++ IXOFF = 0x400 ++ IXON = 0x200 ++ KERN_HOSTNAME = 0xa ++ KERN_OSRELEASE = 0x2 ++ KERN_OSTYPE = 0x1 ++ KERN_VERSION = 0x4 ++ 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_ANONYMOUS = 0x1000 ++ MAP_CONCEAL = 0x8000 ++ MAP_COPY = 0x2 ++ MAP_FILE = 0x0 ++ MAP_FIXED = 0x10 ++ MAP_FLAGMASK = 0xfff7 ++ MAP_HASSEMAPHORE = 0x0 ++ MAP_INHERIT = 0x0 ++ MAP_INHERIT_COPY = 0x1 ++ MAP_INHERIT_NONE = 0x2 ++ MAP_INHERIT_SHARE = 0x0 ++ MAP_INHERIT_ZERO = 0x3 ++ MAP_NOEXTEND = 0x0 ++ MAP_NORESERVE = 0x0 ++ MAP_PRIVATE = 0x2 ++ MAP_RENAME = 0x0 ++ MAP_SHARED = 0x1 ++ MAP_STACK = 0x4000 ++ MAP_TRYFIXED = 0x0 ++ MCL_CURRENT = 0x1 ++ MCL_FUTURE = 0x2 ++ MNT_ASYNC = 0x40 ++ MNT_DEFEXPORTED = 0x200 ++ MNT_DELEXPORT = 0x20000 ++ MNT_DOOMED = 0x8000000 ++ MNT_EXPORTANON = 0x400 ++ MNT_EXPORTED = 0x100 ++ MNT_EXRDONLY = 0x80 ++ MNT_FORCE = 0x80000 ++ MNT_LAZY = 0x3 ++ MNT_LOCAL = 0x1000 ++ MNT_NOATIME = 0x8000 ++ MNT_NODEV = 0x10 ++ MNT_NOEXEC = 0x4 ++ MNT_NOPERM = 0x20 ++ MNT_NOSUID = 0x8 ++ MNT_NOWAIT = 0x2 ++ MNT_QUOTA = 0x2000 ++ MNT_RDONLY = 0x1 ++ MNT_RELOAD = 0x40000 ++ MNT_ROOTFS = 0x4000 ++ MNT_SOFTDEP = 0x4000000 ++ MNT_STALLED = 0x100000 ++ MNT_SWAPPABLE = 0x200000 ++ MNT_SYNCHRONOUS = 0x2 ++ MNT_UPDATE = 0x10000 ++ MNT_VISFLAGMASK = 0x400ffff ++ MNT_WAIT = 0x1 ++ MNT_WANTRDWR = 0x2000000 ++ MNT_WXALLOWED = 0x800 ++ MOUNT_AFS = "afs" ++ MOUNT_CD9660 = "cd9660" ++ MOUNT_EXT2FS = "ext2fs" ++ MOUNT_FFS = "ffs" ++ MOUNT_FUSEFS = "fuse" ++ MOUNT_MFS = "mfs" ++ MOUNT_MSDOS = "msdos" ++ MOUNT_NCPFS = "ncpfs" ++ MOUNT_NFS = "nfs" ++ MOUNT_NTFS = "ntfs" ++ MOUNT_TMPFS = "tmpfs" ++ MOUNT_UDF = "udf" ++ MOUNT_UFS = "ffs" ++ MSG_BCAST = 0x100 ++ MSG_CMSG_CLOEXEC = 0x800 ++ 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 ++ MSG_WAITFORONE = 0x1000 ++ 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_IFNAMES = 0x6 ++ NET_RT_MAXID = 0x8 ++ NET_RT_SOURCE = 0x7 ++ NET_RT_STATS = 0x4 ++ NET_RT_TABLE = 0x5 ++ NFDBITS = 0x20 ++ NOFLSH = 0x80000000 ++ NOKERNINFO = 0x2000000 ++ NOTE_ATTRIB = 0x8 ++ NOTE_CHANGE = 0x1 ++ 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_OOB = 0x4 ++ 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 ++ OLCUC = 0x20 ++ ONLCR = 0x2 ++ ONLRET = 0x80 ++ ONOCR = 0x40 ++ ONOEOT = 0x8 ++ OPOST = 0x1 ++ OXTABS = 0x4 ++ 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_MEMLOCK = 0x6 ++ RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 ++ RLIMIT_STACK = 0x3 ++ RLIM_INFINITY = 0x7fffffffffffffff ++ RTAX_AUTHOR = 0x6 ++ RTAX_BFD = 0xb ++ RTAX_BRD = 0x7 ++ RTAX_DNS = 0xc ++ RTAX_DST = 0x0 ++ RTAX_GATEWAY = 0x1 ++ RTAX_GENMASK = 0x3 ++ RTAX_IFA = 0x5 ++ RTAX_IFP = 0x4 ++ RTAX_LABEL = 0xa ++ RTAX_MAX = 0xf ++ RTAX_NETMASK = 0x2 ++ RTAX_SEARCH = 0xe ++ RTAX_SRC = 0x8 ++ RTAX_SRCMASK = 0x9 ++ RTAX_STATIC = 0xd ++ RTA_AUTHOR = 0x40 ++ RTA_BFD = 0x800 ++ RTA_BRD = 0x80 ++ RTA_DNS = 0x1000 ++ RTA_DST = 0x1 ++ RTA_GATEWAY = 0x2 ++ RTA_GENMASK = 0x8 ++ RTA_IFA = 0x20 ++ RTA_IFP = 0x10 ++ RTA_LABEL = 0x400 ++ RTA_NETMASK = 0x4 ++ RTA_SEARCH = 0x4000 ++ RTA_SRC = 0x100 ++ RTA_SRCMASK = 0x200 ++ RTA_STATIC = 0x2000 ++ RTF_ANNOUNCE = 0x4000 ++ RTF_BFD = 0x1000000 ++ RTF_BLACKHOLE = 0x1000 ++ RTF_BROADCAST = 0x400000 ++ RTF_CACHED = 0x20000 ++ RTF_CLONED = 0x10000 ++ RTF_CLONING = 0x100 ++ RTF_CONNECTED = 0x800000 ++ RTF_DONE = 0x40 ++ RTF_DYNAMIC = 0x10 ++ RTF_FMASK = 0x110fc08 ++ RTF_GATEWAY = 0x2 ++ RTF_HOST = 0x4 ++ RTF_LLINFO = 0x400 ++ RTF_LOCAL = 0x200000 ++ RTF_MODIFIED = 0x20 ++ RTF_MPATH = 0x40000 ++ RTF_MPLS = 0x100000 ++ RTF_MULTICAST = 0x200 ++ RTF_PERMANENT_ARP = 0x2000 ++ RTF_PROTO1 = 0x8000 ++ RTF_PROTO2 = 0x4000 ++ RTF_PROTO3 = 0x2000 ++ RTF_REJECT = 0x8 ++ RTF_STATIC = 0x800 ++ RTF_UP = 0x1 ++ RTF_USETRAILERS = 0x8000 ++ RTM_80211INFO = 0x15 ++ RTM_ADD = 0x1 ++ RTM_BFD = 0x12 ++ RTM_CHANGE = 0x3 ++ RTM_CHGADDRATTR = 0x14 ++ RTM_DELADDR = 0xd ++ RTM_DELETE = 0x2 ++ RTM_DESYNC = 0x10 ++ RTM_GET = 0x4 ++ RTM_IFANNOUNCE = 0xf ++ RTM_IFINFO = 0xe ++ RTM_INVALIDATE = 0x11 ++ RTM_LOSING = 0x5 ++ RTM_MAXSIZE = 0x800 ++ RTM_MISS = 0x7 ++ RTM_NEWADDR = 0xc ++ RTM_PROPOSAL = 0x13 ++ RTM_REDIRECT = 0x6 ++ RTM_RESOLVE = 0xb ++ RTM_SOURCE = 0x16 ++ 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_BITS = 0x8 ++ RT_TABLEID_MASK = 0xff ++ RT_TABLEID_MAX = 0xff ++ RUSAGE_CHILDREN = -0x1 ++ RUSAGE_SELF = 0x0 ++ RUSAGE_THREAD = 0x1 ++ SCM_RIGHTS = 0x1 ++ SCM_TIMESTAMP = 0x4 ++ SEEK_CUR = 0x1 ++ SEEK_END = 0x2 ++ SEEK_SET = 0x0 ++ SHUT_RD = 0x0 ++ SHUT_RDWR = 0x2 ++ SHUT_WR = 0x1 ++ SIOCADDMULTI = 0x80206931 ++ SIOCAIFADDR = 0x8040691a ++ SIOCAIFGROUP = 0x80286987 ++ SIOCATMARK = 0x40047307 ++ SIOCBRDGADD = 0x8060693c ++ SIOCBRDGADDL = 0x80606949 ++ SIOCBRDGADDS = 0x80606941 ++ SIOCBRDGARL = 0x808c694d ++ SIOCBRDGDADDR = 0x81286947 ++ SIOCBRDGDEL = 0x8060693d ++ SIOCBRDGDELS = 0x80606942 ++ SIOCBRDGFLUSH = 0x80606948 ++ SIOCBRDGFRL = 0x808c694e ++ SIOCBRDGGCACHE = 0xc0146941 ++ SIOCBRDGGFD = 0xc0146952 ++ SIOCBRDGGHT = 0xc0146951 ++ SIOCBRDGGIFFLGS = 0xc060693e ++ SIOCBRDGGMA = 0xc0146953 ++ SIOCBRDGGPARAM = 0xc0406958 ++ SIOCBRDGGPRI = 0xc0146950 ++ SIOCBRDGGRL = 0xc030694f ++ SIOCBRDGGTO = 0xc0146946 ++ SIOCBRDGIFS = 0xc0606942 ++ SIOCBRDGRTS = 0xc0206943 ++ SIOCBRDGSADDR = 0xc1286944 ++ SIOCBRDGSCACHE = 0x80146940 ++ SIOCBRDGSFD = 0x80146952 ++ SIOCBRDGSHT = 0x80146951 ++ SIOCBRDGSIFCOST = 0x80606955 ++ SIOCBRDGSIFFLGS = 0x8060693f ++ SIOCBRDGSIFPRIO = 0x80606954 ++ SIOCBRDGSIFPROT = 0x8060694a ++ SIOCBRDGSMA = 0x80146953 ++ SIOCBRDGSPRI = 0x80146950 ++ SIOCBRDGSPROTO = 0x8014695a ++ SIOCBRDGSTO = 0x80146945 ++ SIOCBRDGSTXHC = 0x80146959 ++ SIOCDELLABEL = 0x80206997 ++ SIOCDELMULTI = 0x80206932 ++ SIOCDIFADDR = 0x80206919 ++ SIOCDIFGROUP = 0x80286989 ++ SIOCDIFPARENT = 0x802069b4 ++ SIOCDIFPHYADDR = 0x80206949 ++ SIOCDPWE3NEIGHBOR = 0x802069de ++ SIOCDVNETID = 0x802069af ++ SIOCGETKALIVE = 0xc01869a4 ++ SIOCGETLABEL = 0x8020699a ++ SIOCGETMPWCFG = 0xc02069ae ++ SIOCGETPFLOW = 0xc02069fe ++ SIOCGETPFSYNC = 0xc02069f8 ++ SIOCGETSGCNT = 0xc0207534 ++ SIOCGETVIFCNT = 0xc0287533 ++ SIOCGETVLAN = 0xc0206990 ++ SIOCGIFADDR = 0xc0206921 ++ SIOCGIFBRDADDR = 0xc0206923 ++ SIOCGIFCONF = 0xc0106924 ++ SIOCGIFDATA = 0xc020691b ++ SIOCGIFDESCR = 0xc0206981 ++ SIOCGIFDSTADDR = 0xc0206922 ++ SIOCGIFFLAGS = 0xc0206911 ++ SIOCGIFGATTR = 0xc028698b ++ SIOCGIFGENERIC = 0xc020693a ++ SIOCGIFGLIST = 0xc028698d ++ SIOCGIFGMEMB = 0xc028698a ++ SIOCGIFGROUP = 0xc0286988 ++ SIOCGIFHARDMTU = 0xc02069a5 ++ SIOCGIFLLPRIO = 0xc02069b6 ++ SIOCGIFMEDIA = 0xc0406938 ++ SIOCGIFMETRIC = 0xc0206917 ++ SIOCGIFMTU = 0xc020697e ++ SIOCGIFNETMASK = 0xc0206925 ++ SIOCGIFPAIR = 0xc02069b1 ++ SIOCGIFPARENT = 0xc02069b3 ++ SIOCGIFPRIORITY = 0xc020699c ++ SIOCGIFRDOMAIN = 0xc02069a0 ++ SIOCGIFRTLABEL = 0xc0206983 ++ SIOCGIFRXR = 0x802069aa ++ SIOCGIFSFFPAGE = 0xc1126939 ++ SIOCGIFXFLAGS = 0xc020699e ++ SIOCGLIFPHYADDR = 0xc218694b ++ SIOCGLIFPHYDF = 0xc02069c2 ++ SIOCGLIFPHYECN = 0xc02069c8 ++ SIOCGLIFPHYRTABLE = 0xc02069a2 ++ SIOCGLIFPHYTTL = 0xc02069a9 ++ SIOCGPGRP = 0x40047309 ++ SIOCGPWE3 = 0xc0206998 ++ SIOCGPWE3CTRLWORD = 0xc02069dc ++ SIOCGPWE3FAT = 0xc02069dd ++ SIOCGPWE3NEIGHBOR = 0xc21869de ++ SIOCGRXHPRIO = 0xc02069db ++ SIOCGSPPPPARAMS = 0xc0206994 ++ SIOCGTXHPRIO = 0xc02069c6 ++ SIOCGUMBINFO = 0xc02069be ++ SIOCGUMBPARAM = 0xc02069c0 ++ SIOCGVH = 0xc02069f6 ++ SIOCGVNETFLOWID = 0xc02069c4 ++ SIOCGVNETID = 0xc02069a7 ++ SIOCIFAFATTACH = 0x801169ab ++ SIOCIFAFDETACH = 0x801169ac ++ SIOCIFCREATE = 0x8020697a ++ SIOCIFDESTROY = 0x80206979 ++ SIOCIFGCLONERS = 0xc0106978 ++ SIOCSETKALIVE = 0x801869a3 ++ SIOCSETLABEL = 0x80206999 ++ SIOCSETMPWCFG = 0x802069ad ++ SIOCSETPFLOW = 0x802069fd ++ SIOCSETPFSYNC = 0x802069f7 ++ SIOCSETVLAN = 0x8020698f ++ SIOCSIFADDR = 0x8020690c ++ SIOCSIFBRDADDR = 0x80206913 ++ SIOCSIFDESCR = 0x80206980 ++ SIOCSIFDSTADDR = 0x8020690e ++ SIOCSIFFLAGS = 0x80206910 ++ SIOCSIFGATTR = 0x8028698c ++ SIOCSIFGENERIC = 0x80206939 ++ SIOCSIFLLADDR = 0x8020691f ++ SIOCSIFLLPRIO = 0x802069b5 ++ SIOCSIFMEDIA = 0xc0206937 ++ SIOCSIFMETRIC = 0x80206918 ++ SIOCSIFMTU = 0x8020697f ++ SIOCSIFNETMASK = 0x80206916 ++ SIOCSIFPAIR = 0x802069b0 ++ SIOCSIFPARENT = 0x802069b2 ++ SIOCSIFPRIORITY = 0x8020699b ++ SIOCSIFRDOMAIN = 0x8020699f ++ SIOCSIFRTLABEL = 0x80206982 ++ SIOCSIFXFLAGS = 0x8020699d ++ SIOCSLIFPHYADDR = 0x8218694a ++ SIOCSLIFPHYDF = 0x802069c1 ++ SIOCSLIFPHYECN = 0x802069c7 ++ SIOCSLIFPHYRTABLE = 0x802069a1 ++ SIOCSLIFPHYTTL = 0x802069a8 ++ SIOCSPGRP = 0x80047308 ++ SIOCSPWE3CTRLWORD = 0x802069dc ++ SIOCSPWE3FAT = 0x802069dd ++ SIOCSPWE3NEIGHBOR = 0x821869de ++ SIOCSRXHPRIO = 0x802069db ++ SIOCSSPPPPARAMS = 0x80206993 ++ SIOCSTXHPRIO = 0x802069c5 ++ SIOCSUMBPARAM = 0x802069bf ++ SIOCSVH = 0xc02069f5 ++ SIOCSVNETFLOWID = 0x802069c3 ++ SIOCSVNETID = 0x802069a6 ++ SOCK_CLOEXEC = 0x8000 ++ SOCK_DGRAM = 0x2 ++ SOCK_DNS = 0x1000 ++ SOCK_NONBLOCK = 0x4000 ++ 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_DOMAIN = 0x1024 ++ SO_DONTROUTE = 0x10 ++ SO_ERROR = 0x1007 ++ SO_KEEPALIVE = 0x8 ++ SO_LINGER = 0x80 ++ SO_NETPROC = 0x1020 ++ SO_OOBINLINE = 0x100 ++ SO_PEERCRED = 0x1022 ++ SO_PROTOCOL = 0x1025 ++ 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 ++ SO_ZEROIZE = 0x2000 ++ 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_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 ++ TCIOFF = 0x3 ++ TCIOFLUSH = 0x3 ++ TCION = 0x4 ++ TCOFLUSH = 0x2 ++ TCOOFF = 0x1 ++ TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_HDR = 0x1010500 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SACK_PERMIT_HDR = 0x1010402 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_TSTAMP_HDR = 0x101080a ++ TCPOPT_WINDOW = 0x3 ++ TCP_INFO = 0x9 ++ 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_SACKHOLE_LIMIT = 0x80 ++ TCP_SACK_ENABLE = 0x8 ++ TCSAFLUSH = 0x2 ++ TIMER_ABSTIME = 0x1 ++ TIMER_RELTIME = 0x0 ++ TIOCCBRK = 0x2000747a ++ TIOCCDTR = 0x20007478 ++ TIOCCHKVERAUTH = 0x2000741e ++ TIOCCLRVERAUTH = 0x2000741d ++ 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 ++ TIOCSETVERAUTH = 0x8004741c ++ TIOCSFLAGS = 0x8004745c ++ TIOCSIG = 0x8004745f ++ TIOCSPGRP = 0x80047476 ++ TIOCSTART = 0x2000746e ++ TIOCSTAT = 0x20007465 ++ TIOCSTOP = 0x2000746f ++ TIOCSTSTAMP = 0x8008745a ++ TIOCSWINSZ = 0x80087467 ++ TIOCUCNTL = 0x80047466 ++ TIOCUCNTL_CBRK = 0x7a ++ TIOCUCNTL_SBRK = 0x7b ++ TOSTOP = 0x400000 ++ UTIME_NOW = -0x2 ++ UTIME_OMIT = -0x1 ++ VDISCARD = 0xf ++ VDSUSP = 0xb ++ VEOF = 0x0 ++ VEOL = 0x1 ++ VEOL2 = 0x2 ++ VERASE = 0x3 ++ VINTR = 0x8 ++ VKILL = 0x5 ++ VLNEXT = 0xe ++ VMIN = 0x10 ++ VM_ANONMIN = 0x7 ++ VM_LOADAVG = 0x2 ++ VM_MALLOC_CONF = 0xc ++ VM_MAXID = 0xd ++ VM_MAXSLP = 0xa ++ VM_METER = 0x1 ++ VM_NKMEMPAGES = 0x6 ++ VM_PSSTRINGS = 0x3 ++ VM_SWAPENCRYPT = 0x5 ++ VM_USPACE = 0xb ++ VM_UVMEXP = 0x4 ++ VM_VNODEMIN = 0x9 ++ VM_VTEXTMIN = 0x8 ++ VQUIT = 0x9 ++ VREPRINT = 0x6 ++ VSTART = 0xc ++ VSTATUS = 0x12 ++ VSTOP = 0xd ++ VSUSP = 0xa ++ VTIME = 0x11 ++ VWERASE = 0x4 ++ WALTSIG = 0x4 ++ WCONTINUED = 0x8 ++ WCOREFLAG = 0x80 ++ WNOHANG = 0x1 ++ WUNTRACED = 0x2 ++ XCASE = 0x1000000 ++) ++ ++// 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(0x5c) ++ 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(0x5f) ++ 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) ++ ENOTRECOVERABLE = syscall.Errno(0x5d) ++ ENOTSOCK = syscall.Errno(0x26) ++ ENOTSUP = syscall.Errno(0x5b) ++ ENOTTY = syscall.Errno(0x19) ++ ENXIO = syscall.Errno(0x6) ++ EOPNOTSUPP = syscall.Errno(0x2d) ++ EOVERFLOW = syscall.Errno(0x57) ++ EOWNERDEAD = syscall.Errno(0x5e) ++ 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(0x5f) ++ 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 errorList = [...]struct { ++ num syscall.Errno ++ name string ++ desc string ++}{ ++ {1, "EPERM", "operation not permitted"}, ++ {2, "ENOENT", "no such file or directory"}, ++ {3, "ESRCH", "no such process"}, ++ {4, "EINTR", "interrupted system call"}, ++ {5, "EIO", "input/output error"}, ++ {6, "ENXIO", "device not configured"}, ++ {7, "E2BIG", "argument list too long"}, ++ {8, "ENOEXEC", "exec format error"}, ++ {9, "EBADF", "bad file descriptor"}, ++ {10, "ECHILD", "no child processes"}, ++ {11, "EDEADLK", "resource deadlock avoided"}, ++ {12, "ENOMEM", "cannot allocate memory"}, ++ {13, "EACCES", "permission denied"}, ++ {14, "EFAULT", "bad address"}, ++ {15, "ENOTBLK", "block device required"}, ++ {16, "EBUSY", "device busy"}, ++ {17, "EEXIST", "file exists"}, ++ {18, "EXDEV", "cross-device link"}, ++ {19, "ENODEV", "operation not supported by device"}, ++ {20, "ENOTDIR", "not a directory"}, ++ {21, "EISDIR", "is a directory"}, ++ {22, "EINVAL", "invalid argument"}, ++ {23, "ENFILE", "too many open files in system"}, ++ {24, "EMFILE", "too many open files"}, ++ {25, "ENOTTY", "inappropriate ioctl for device"}, ++ {26, "ETXTBSY", "text file busy"}, ++ {27, "EFBIG", "file too large"}, ++ {28, "ENOSPC", "no space left on device"}, ++ {29, "ESPIPE", "illegal seek"}, ++ {30, "EROFS", "read-only file system"}, ++ {31, "EMLINK", "too many links"}, ++ {32, "EPIPE", "broken pipe"}, ++ {33, "EDOM", "numerical argument out of domain"}, ++ {34, "ERANGE", "result too large"}, ++ {35, "EAGAIN", "resource temporarily unavailable"}, ++ {36, "EINPROGRESS", "operation now in progress"}, ++ {37, "EALREADY", "operation already in progress"}, ++ {38, "ENOTSOCK", "socket operation on non-socket"}, ++ {39, "EDESTADDRREQ", "destination address required"}, ++ {40, "EMSGSIZE", "message too long"}, ++ {41, "EPROTOTYPE", "protocol wrong type for socket"}, ++ {42, "ENOPROTOOPT", "protocol not available"}, ++ {43, "EPROTONOSUPPORT", "protocol not supported"}, ++ {44, "ESOCKTNOSUPPORT", "socket type not supported"}, ++ {45, "EOPNOTSUPP", "operation not supported"}, ++ {46, "EPFNOSUPPORT", "protocol family not supported"}, ++ {47, "EAFNOSUPPORT", "address family not supported by protocol family"}, ++ {48, "EADDRINUSE", "address already in use"}, ++ {49, "EADDRNOTAVAIL", "can't assign requested address"}, ++ {50, "ENETDOWN", "network is down"}, ++ {51, "ENETUNREACH", "network is unreachable"}, ++ {52, "ENETRESET", "network dropped connection on reset"}, ++ {53, "ECONNABORTED", "software caused connection abort"}, ++ {54, "ECONNRESET", "connection reset by peer"}, ++ {55, "ENOBUFS", "no buffer space available"}, ++ {56, "EISCONN", "socket is already connected"}, ++ {57, "ENOTCONN", "socket is not connected"}, ++ {58, "ESHUTDOWN", "can't send after socket shutdown"}, ++ {59, "ETOOMANYREFS", "too many references: can't splice"}, ++ {60, "ETIMEDOUT", "operation timed out"}, ++ {61, "ECONNREFUSED", "connection refused"}, ++ {62, "ELOOP", "too many levels of symbolic links"}, ++ {63, "ENAMETOOLONG", "file name too long"}, ++ {64, "EHOSTDOWN", "host is down"}, ++ {65, "EHOSTUNREACH", "no route to host"}, ++ {66, "ENOTEMPTY", "directory not empty"}, ++ {67, "EPROCLIM", "too many processes"}, ++ {68, "EUSERS", "too many users"}, ++ {69, "EDQUOT", "disk quota exceeded"}, ++ {70, "ESTALE", "stale NFS file handle"}, ++ {71, "EREMOTE", "too many levels of remote in path"}, ++ {72, "EBADRPC", "RPC struct is bad"}, ++ {73, "ERPCMISMATCH", "RPC version wrong"}, ++ {74, "EPROGUNAVAIL", "RPC program not available"}, ++ {75, "EPROGMISMATCH", "program version wrong"}, ++ {76, "EPROCUNAVAIL", "bad procedure for program"}, ++ {77, "ENOLCK", "no locks available"}, ++ {78, "ENOSYS", "function not implemented"}, ++ {79, "EFTYPE", "inappropriate file type or format"}, ++ {80, "EAUTH", "authentication error"}, ++ {81, "ENEEDAUTH", "need authenticator"}, ++ {82, "EIPSEC", "IPsec processing failure"}, ++ {83, "ENOATTR", "attribute not found"}, ++ {84, "EILSEQ", "illegal byte sequence"}, ++ {85, "ENOMEDIUM", "no medium found"}, ++ {86, "EMEDIUMTYPE", "wrong medium type"}, ++ {87, "EOVERFLOW", "value too large to be stored in data type"}, ++ {88, "ECANCELED", "operation canceled"}, ++ {89, "EIDRM", "identifier removed"}, ++ {90, "ENOMSG", "no message of desired type"}, ++ {91, "ENOTSUP", "not supported"}, ++ {92, "EBADMSG", "bad message"}, ++ {93, "ENOTRECOVERABLE", "state not recoverable"}, ++ {94, "EOWNERDEAD", "previous owner died"}, ++ {95, "ELAST", "protocol error"}, ++} ++ ++// Signal table ++var signalList = [...]struct { ++ num syscall.Signal ++ name string ++ desc string ++}{ ++ {1, "SIGHUP", "hangup"}, ++ {2, "SIGINT", "interrupt"}, ++ {3, "SIGQUIT", "quit"}, ++ {4, "SIGILL", "illegal instruction"}, ++ {5, "SIGTRAP", "trace/BPT trap"}, ++ {6, "SIGABRT", "abort trap"}, ++ {7, "SIGEMT", "EMT trap"}, ++ {8, "SIGFPE", "floating point exception"}, ++ {9, "SIGKILL", "killed"}, ++ {10, "SIGBUS", "bus error"}, ++ {11, "SIGSEGV", "segmentation fault"}, ++ {12, "SIGSYS", "bad system call"}, ++ {13, "SIGPIPE", "broken pipe"}, ++ {14, "SIGALRM", "alarm clock"}, ++ {15, "SIGTERM", "terminated"}, ++ {16, "SIGURG", "urgent I/O condition"}, ++ {17, "SIGSTOP", "suspended (signal)"}, ++ {18, "SIGTSTP", "suspended"}, ++ {19, "SIGCONT", "continued"}, ++ {20, "SIGCHLD", "child exited"}, ++ {21, "SIGTTIN", "stopped (tty input)"}, ++ {22, "SIGTTOU", "stopped (tty output)"}, ++ {23, "SIGIO", "I/O possible"}, ++ {24, "SIGXCPU", "cputime limit exceeded"}, ++ {25, "SIGXFSZ", "filesize limit exceeded"}, ++ {26, "SIGVTALRM", "virtual timer expired"}, ++ {27, "SIGPROF", "profiling timer expired"}, ++ {28, "SIGWINCH", "window size changes"}, ++ {29, "SIGINFO", "information request"}, ++ {30, "SIGUSR1", "user defined signal 1"}, ++ {31, "SIGUSR2", "user defined signal 2"}, ++ {32, "SIGTHR", "thread AST"}, ++} +diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +new file mode 100644 +index 0000000..13d4030 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +@@ -0,0 +1,1904 @@ ++// mkerrors.sh -m64 ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build riscv64 && openbsd ++// +build riscv64,openbsd ++ ++// Code generated by cmd/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 ++ ALTWERASE = 0x200 ++ 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_FILDROP_CAPTURE = 0x1 ++ BPF_FILDROP_DROP = 0x2 ++ BPF_FILDROP_PASS = 0x0 ++ BPF_F_DIR_IN = 0x10 ++ BPF_F_DIR_MASK = 0x30 ++ BPF_F_DIR_OUT = 0x20 ++ BPF_F_DIR_SHIFT = 0x4 ++ BPF_F_FLOWID = 0x8 ++ BPF_F_PRI_MASK = 0x7 ++ 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_RND = 0xc0 ++ 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 ++ CLOCK_BOOTTIME = 0x6 ++ CLOCK_MONOTONIC = 0x3 ++ CLOCK_PROCESS_CPUTIME_ID = 0x2 ++ CLOCK_REALTIME = 0x0 ++ CLOCK_THREAD_CPUTIME_ID = 0x4 ++ CLOCK_UPTIME = 0x5 ++ CPUSTATES = 0x6 ++ CP_IDLE = 0x5 ++ CP_INTR = 0x4 ++ CP_NICE = 0x1 ++ CP_SPIN = 0x3 ++ CP_SYS = 0x2 ++ CP_USER = 0x0 ++ CREAD = 0x800 ++ CRTSCTS = 0x10000 ++ CS5 = 0x0 ++ CS6 = 0x100 ++ CS7 = 0x200 ++ CS8 = 0x300 ++ CSIZE = 0x300 ++ CSTART = 0x11 ++ CSTATUS = 0xff ++ CSTOP = 0x13 ++ CSTOPB = 0x400 ++ CSUSP = 0x1a ++ CTL_HW = 0x6 ++ CTL_KERN = 0x1 ++ CTL_MAXNAME = 0xc ++ CTL_NET = 0x4 ++ DIOCADDQUEUE = 0xc110445d ++ DIOCADDRULE = 0xcd604404 ++ DIOCADDSTATE = 0xc1084425 ++ DIOCCHANGERULE = 0xcd60441a ++ DIOCCLRIFFLAG = 0xc028445a ++ DIOCCLRSRCNODES = 0x20004455 ++ DIOCCLRSTATES = 0xc0e04412 ++ DIOCCLRSTATUS = 0xc0284416 ++ DIOCGETLIMIT = 0xc0084427 ++ DIOCGETQSTATS = 0xc1204460 ++ DIOCGETQUEUE = 0xc110445f ++ DIOCGETQUEUES = 0xc110445e ++ DIOCGETRULE = 0xcd604407 ++ DIOCGETRULES = 0xcd604406 ++ DIOCGETRULESET = 0xc444443b ++ DIOCGETRULESETS = 0xc444443a ++ DIOCGETSRCNODES = 0xc0104454 ++ DIOCGETSTATE = 0xc1084413 ++ DIOCGETSTATES = 0xc0104419 ++ DIOCGETSTATUS = 0xc1e84415 ++ DIOCGETSYNFLWATS = 0xc0084463 ++ DIOCGETTIMEOUT = 0xc008441e ++ DIOCIGETIFACES = 0xc0284457 ++ DIOCKILLSRCNODES = 0xc080445b ++ DIOCKILLSTATES = 0xc0e04429 ++ DIOCNATLOOK = 0xc0504417 ++ DIOCOSFPADD = 0xc088444f ++ DIOCOSFPFLUSH = 0x2000444e ++ DIOCOSFPGET = 0xc0884450 ++ DIOCRADDADDRS = 0xc4504443 ++ DIOCRADDTABLES = 0xc450443d ++ DIOCRCLRADDRS = 0xc4504442 ++ DIOCRCLRASTATS = 0xc4504448 ++ DIOCRCLRTABLES = 0xc450443c ++ DIOCRCLRTSTATS = 0xc4504441 ++ DIOCRDELADDRS = 0xc4504444 ++ DIOCRDELTABLES = 0xc450443e ++ DIOCRGETADDRS = 0xc4504446 ++ DIOCRGETASTATS = 0xc4504447 ++ DIOCRGETTABLES = 0xc450443f ++ DIOCRGETTSTATS = 0xc4504440 ++ DIOCRINADEFINE = 0xc450444d ++ DIOCRSETADDRS = 0xc4504445 ++ DIOCRSETTFLAGS = 0xc450444a ++ DIOCRTSTADDRS = 0xc4504449 ++ DIOCSETDEBUG = 0xc0044418 ++ DIOCSETHOSTID = 0xc0044456 ++ DIOCSETIFFLAG = 0xc0284459 ++ DIOCSETLIMIT = 0xc0084428 ++ DIOCSETREASS = 0xc004445c ++ DIOCSETSTATUSIF = 0xc0284414 ++ DIOCSETSYNCOOKIES = 0xc0014462 ++ DIOCSETSYNFLWATS = 0xc0084461 ++ DIOCSETTIMEOUT = 0xc008441d ++ DIOCSTART = 0x20004401 ++ DIOCSTOP = 0x20004402 ++ DIOCXBEGIN = 0xc0104451 ++ DIOCXCOMMIT = 0xc0104452 ++ DIOCXROLLBACK = 0xc0104453 ++ 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_OPENFLOW = 0x10b ++ 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 ++ DLT_USBPCAP = 0xf9 ++ 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 ++ 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 ++ ETH64_8021_RSVD_MASK = 0xfffffffffff0 ++ ETH64_8021_RSVD_PREFIX = 0x180c2000000 ++ 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_EAPOL = 0x888e ++ 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_MACSEC = 0x88e5 ++ 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_NHRP = 0x2001 ++ ETHERTYPE_NOVELL = 0x8138 ++ ETHERTYPE_NS = 0x600 ++ ETHERTYPE_NSAT = 0x601 ++ ETHERTYPE_NSCOMPAT = 0x807 ++ ETHERTYPE_NSH = 0x984f ++ ETHERTYPE_NTRAILER = 0x10 ++ ETHERTYPE_OS9 = 0x7007 ++ ETHERTYPE_OS9NET = 0x7009 ++ ETHERTYPE_PACER = 0x80c6 ++ ETHERTYPE_PBB = 0x88e7 ++ 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_HARDMTU_LEN = 0xff9b ++ ETHER_MAX_LEN = 0x5ee ++ ETHER_MIN_LEN = 0x40 ++ ETHER_TYPE_LEN = 0x2 ++ ETHER_VLAN_ENCAP_LEN = 0x4 ++ EVFILT_AIO = -0x3 ++ EVFILT_DEVICE = -0x8 ++ EVFILT_EXCEPT = -0x9 ++ EVFILT_PROC = -0x5 ++ EVFILT_READ = -0x1 ++ EVFILT_SIGNAL = -0x6 ++ EVFILT_SYSCOUNT = 0x9 ++ EVFILT_TIMER = -0x7 ++ EVFILT_VNODE = -0x4 ++ EVFILT_WRITE = -0x2 ++ EVL_ENCAPLEN = 0x4 ++ EVL_PRIO_BITS = 0xd ++ EVL_PRIO_MAX = 0x7 ++ EVL_VLID_MASK = 0xfff ++ EVL_VLID_MAX = 0xffe ++ EVL_VLID_MIN = 0x1 ++ EVL_VLID_NULL = 0x0 ++ 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_FLAG1 = 0x2000 ++ EV_ONESHOT = 0x10 ++ EV_RECEIPT = 0x40 ++ EV_SYSFLAGS = 0xf800 ++ 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_ISATTY = 0xb ++ 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 ++ HW_MACHINE = 0x1 ++ ICANON = 0x100 ++ ICMP6_FILTER = 0x12 ++ ICRNL = 0x100 ++ IEXTEN = 0x400 ++ IFAN_ARRIVAL = 0x0 ++ IFAN_DEPARTURE = 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_OACTIVE = 0x400 ++ IFF_POINTOPOINT = 0x10 ++ IFF_PROMISC = 0x100 ++ IFF_RUNNING = 0x40 ++ IFF_SIMPLEX = 0x800 ++ IFF_STATICARP = 0x20 ++ 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_MBIM = 0xfa ++ 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_WIREGUARD = 0xfb ++ 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_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_SCTP = 0x84 ++ IPPROTO_TCP = 0x6 ++ IPPROTO_TP = 0x1d ++ IPPROTO_UDP = 0x11 ++ IPPROTO_UDPLITE = 0x88 ++ 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_MINHOPCOUNT = 0x41 ++ 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_DROP_MEMBERSHIP = 0xd ++ IP_ESP_NETWORK_LEVEL = 0x16 ++ IP_ESP_TRANS_LEVEL = 0x15 ++ IP_HDRINCL = 0x2 ++ IP_IPCOMP_LEVEL = 0x1d ++ IP_IPDEFTTL = 0x25 ++ 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_SENDSRCADDR = 0x7 ++ IP_TOS = 0x3 ++ IP_TTL = 0x4 ++ ISIG = 0x80 ++ ISTRIP = 0x20 ++ ITIMER_PROF = 0x2 ++ ITIMER_REAL = 0x0 ++ ITIMER_VIRTUAL = 0x1 ++ IUCLC = 0x1000 ++ IXANY = 0x800 ++ IXOFF = 0x400 ++ IXON = 0x200 ++ KERN_HOSTNAME = 0xa ++ KERN_OSRELEASE = 0x2 ++ KERN_OSTYPE = 0x1 ++ KERN_VERSION = 0x4 ++ 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_ANONYMOUS = 0x1000 ++ MAP_CONCEAL = 0x8000 ++ MAP_COPY = 0x2 ++ MAP_FILE = 0x0 ++ MAP_FIXED = 0x10 ++ MAP_FLAGMASK = 0xfff7 ++ MAP_HASSEMAPHORE = 0x0 ++ MAP_INHERIT = 0x0 ++ MAP_INHERIT_COPY = 0x1 ++ MAP_INHERIT_NONE = 0x2 ++ MAP_INHERIT_SHARE = 0x0 ++ MAP_INHERIT_ZERO = 0x3 ++ MAP_NOEXTEND = 0x0 ++ MAP_NORESERVE = 0x0 ++ MAP_PRIVATE = 0x2 ++ MAP_RENAME = 0x0 ++ MAP_SHARED = 0x1 ++ MAP_STACK = 0x4000 ++ MAP_TRYFIXED = 0x0 ++ MCL_CURRENT = 0x1 ++ MCL_FUTURE = 0x2 ++ MNT_ASYNC = 0x40 ++ MNT_DEFEXPORTED = 0x200 ++ MNT_DELEXPORT = 0x20000 ++ MNT_DOOMED = 0x8000000 ++ MNT_EXPORTANON = 0x400 ++ MNT_EXPORTED = 0x100 ++ MNT_EXRDONLY = 0x80 ++ MNT_FORCE = 0x80000 ++ MNT_LAZY = 0x3 ++ MNT_LOCAL = 0x1000 ++ MNT_NOATIME = 0x8000 ++ MNT_NODEV = 0x10 ++ MNT_NOEXEC = 0x4 ++ MNT_NOPERM = 0x20 ++ MNT_NOSUID = 0x8 ++ MNT_NOWAIT = 0x2 ++ MNT_QUOTA = 0x2000 ++ MNT_RDONLY = 0x1 ++ MNT_RELOAD = 0x40000 ++ MNT_ROOTFS = 0x4000 ++ MNT_SOFTDEP = 0x4000000 ++ MNT_STALLED = 0x100000 ++ MNT_SWAPPABLE = 0x200000 ++ MNT_SYNCHRONOUS = 0x2 ++ MNT_UPDATE = 0x10000 ++ MNT_VISFLAGMASK = 0x400ffff ++ MNT_WAIT = 0x1 ++ MNT_WANTRDWR = 0x2000000 ++ MNT_WXALLOWED = 0x800 ++ MOUNT_AFS = "afs" ++ MOUNT_CD9660 = "cd9660" ++ MOUNT_EXT2FS = "ext2fs" ++ MOUNT_FFS = "ffs" ++ MOUNT_FUSEFS = "fuse" ++ MOUNT_MFS = "mfs" ++ MOUNT_MSDOS = "msdos" ++ MOUNT_NCPFS = "ncpfs" ++ MOUNT_NFS = "nfs" ++ MOUNT_NTFS = "ntfs" ++ MOUNT_TMPFS = "tmpfs" ++ MOUNT_UDF = "udf" ++ MOUNT_UFS = "ffs" ++ MSG_BCAST = 0x100 ++ MSG_CMSG_CLOEXEC = 0x800 ++ 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_IFNAMES = 0x6 ++ NET_RT_MAXID = 0x8 ++ NET_RT_SOURCE = 0x7 ++ NET_RT_STATS = 0x4 ++ NET_RT_TABLE = 0x5 ++ NFDBITS = 0x20 ++ NOFLSH = 0x80000000 ++ NOKERNINFO = 0x2000000 ++ NOTE_ATTRIB = 0x8 ++ NOTE_CHANGE = 0x1 ++ 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_OOB = 0x4 ++ 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 ++ OLCUC = 0x20 ++ ONLCR = 0x2 ++ ONLRET = 0x80 ++ ONOCR = 0x40 ++ ONOEOT = 0x8 ++ OPOST = 0x1 ++ OXTABS = 0x4 ++ 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_MEMLOCK = 0x6 ++ RLIMIT_NOFILE = 0x8 ++ RLIMIT_NPROC = 0x7 ++ RLIMIT_RSS = 0x5 ++ RLIMIT_STACK = 0x3 ++ RLIM_INFINITY = 0x7fffffffffffffff ++ RTAX_AUTHOR = 0x6 ++ RTAX_BFD = 0xb ++ RTAX_BRD = 0x7 ++ RTAX_DNS = 0xc ++ RTAX_DST = 0x0 ++ RTAX_GATEWAY = 0x1 ++ RTAX_GENMASK = 0x3 ++ RTAX_IFA = 0x5 ++ RTAX_IFP = 0x4 ++ RTAX_LABEL = 0xa ++ RTAX_MAX = 0xf ++ RTAX_NETMASK = 0x2 ++ RTAX_SEARCH = 0xe ++ RTAX_SRC = 0x8 ++ RTAX_SRCMASK = 0x9 ++ RTAX_STATIC = 0xd ++ RTA_AUTHOR = 0x40 ++ RTA_BFD = 0x800 ++ RTA_BRD = 0x80 ++ RTA_DNS = 0x1000 ++ RTA_DST = 0x1 ++ RTA_GATEWAY = 0x2 ++ RTA_GENMASK = 0x8 ++ RTA_IFA = 0x20 ++ RTA_IFP = 0x10 ++ RTA_LABEL = 0x400 ++ RTA_NETMASK = 0x4 ++ RTA_SEARCH = 0x4000 ++ RTA_SRC = 0x100 ++ RTA_SRCMASK = 0x200 ++ RTA_STATIC = 0x2000 ++ RTF_ANNOUNCE = 0x4000 ++ RTF_BFD = 0x1000000 ++ RTF_BLACKHOLE = 0x1000 ++ RTF_BROADCAST = 0x400000 ++ RTF_CACHED = 0x20000 ++ RTF_CLONED = 0x10000 ++ RTF_CLONING = 0x100 ++ RTF_CONNECTED = 0x800000 ++ RTF_DONE = 0x40 ++ RTF_DYNAMIC = 0x10 ++ RTF_FMASK = 0x110fc08 ++ RTF_GATEWAY = 0x2 ++ RTF_HOST = 0x4 ++ RTF_LLINFO = 0x400 ++ RTF_LOCAL = 0x200000 ++ RTF_MODIFIED = 0x20 ++ RTF_MPATH = 0x40000 ++ RTF_MPLS = 0x100000 ++ RTF_MULTICAST = 0x200 ++ RTF_PERMANENT_ARP = 0x2000 ++ RTF_PROTO1 = 0x8000 ++ RTF_PROTO2 = 0x4000 ++ RTF_PROTO3 = 0x2000 ++ RTF_REJECT = 0x8 ++ RTF_STATIC = 0x800 ++ RTF_UP = 0x1 ++ RTF_USETRAILERS = 0x8000 ++ RTM_80211INFO = 0x15 ++ RTM_ADD = 0x1 ++ RTM_BFD = 0x12 ++ RTM_CHANGE = 0x3 ++ RTM_CHGADDRATTR = 0x14 ++ RTM_DELADDR = 0xd ++ RTM_DELETE = 0x2 ++ RTM_DESYNC = 0x10 ++ RTM_GET = 0x4 ++ RTM_IFANNOUNCE = 0xf ++ RTM_IFINFO = 0xe ++ RTM_INVALIDATE = 0x11 ++ RTM_LOSING = 0x5 ++ RTM_MAXSIZE = 0x800 ++ RTM_MISS = 0x7 ++ RTM_NEWADDR = 0xc ++ RTM_PROPOSAL = 0x13 ++ RTM_REDIRECT = 0x6 ++ RTM_RESOLVE = 0xb ++ RTM_SOURCE = 0x16 ++ 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_BITS = 0x8 ++ RT_TABLEID_MASK = 0xff ++ RT_TABLEID_MAX = 0xff ++ RUSAGE_CHILDREN = -0x1 ++ RUSAGE_SELF = 0x0 ++ RUSAGE_THREAD = 0x1 ++ SCM_RIGHTS = 0x1 ++ SCM_TIMESTAMP = 0x4 ++ SEEK_CUR = 0x1 ++ SEEK_END = 0x2 ++ SEEK_SET = 0x0 ++ SHUT_RD = 0x0 ++ SHUT_RDWR = 0x2 ++ SHUT_WR = 0x1 ++ SIOCADDMULTI = 0x80206931 ++ SIOCAIFADDR = 0x8040691a ++ SIOCAIFGROUP = 0x80286987 ++ SIOCATMARK = 0x40047307 ++ SIOCBRDGADD = 0x8060693c ++ SIOCBRDGADDL = 0x80606949 ++ SIOCBRDGADDS = 0x80606941 ++ SIOCBRDGARL = 0x808c694d ++ SIOCBRDGDADDR = 0x81286947 ++ SIOCBRDGDEL = 0x8060693d ++ SIOCBRDGDELS = 0x80606942 ++ SIOCBRDGFLUSH = 0x80606948 ++ SIOCBRDGFRL = 0x808c694e ++ SIOCBRDGGCACHE = 0xc0146941 ++ SIOCBRDGGFD = 0xc0146952 ++ SIOCBRDGGHT = 0xc0146951 ++ SIOCBRDGGIFFLGS = 0xc060693e ++ SIOCBRDGGMA = 0xc0146953 ++ SIOCBRDGGPARAM = 0xc0406958 ++ SIOCBRDGGPRI = 0xc0146950 ++ SIOCBRDGGRL = 0xc030694f ++ SIOCBRDGGTO = 0xc0146946 ++ SIOCBRDGIFS = 0xc0606942 ++ SIOCBRDGRTS = 0xc0206943 ++ SIOCBRDGSADDR = 0xc1286944 ++ SIOCBRDGSCACHE = 0x80146940 ++ SIOCBRDGSFD = 0x80146952 ++ SIOCBRDGSHT = 0x80146951 ++ SIOCBRDGSIFCOST = 0x80606955 ++ SIOCBRDGSIFFLGS = 0x8060693f ++ SIOCBRDGSIFPRIO = 0x80606954 ++ SIOCBRDGSIFPROT = 0x8060694a ++ SIOCBRDGSMA = 0x80146953 ++ SIOCBRDGSPRI = 0x80146950 ++ SIOCBRDGSPROTO = 0x8014695a ++ SIOCBRDGSTO = 0x80146945 ++ SIOCBRDGSTXHC = 0x80146959 ++ SIOCDELLABEL = 0x80206997 ++ SIOCDELMULTI = 0x80206932 ++ SIOCDIFADDR = 0x80206919 ++ SIOCDIFGROUP = 0x80286989 ++ SIOCDIFPARENT = 0x802069b4 ++ SIOCDIFPHYADDR = 0x80206949 ++ SIOCDPWE3NEIGHBOR = 0x802069de ++ SIOCDVNETID = 0x802069af ++ SIOCGETKALIVE = 0xc01869a4 ++ SIOCGETLABEL = 0x8020699a ++ SIOCGETMPWCFG = 0xc02069ae ++ SIOCGETPFLOW = 0xc02069fe ++ SIOCGETPFSYNC = 0xc02069f8 ++ SIOCGETSGCNT = 0xc0207534 ++ SIOCGETVIFCNT = 0xc0287533 ++ SIOCGETVLAN = 0xc0206990 ++ SIOCGIFADDR = 0xc0206921 ++ SIOCGIFBRDADDR = 0xc0206923 ++ SIOCGIFCONF = 0xc0106924 ++ SIOCGIFDATA = 0xc020691b ++ SIOCGIFDESCR = 0xc0206981 ++ SIOCGIFDSTADDR = 0xc0206922 ++ SIOCGIFFLAGS = 0xc0206911 ++ SIOCGIFGATTR = 0xc028698b ++ SIOCGIFGENERIC = 0xc020693a ++ SIOCGIFGLIST = 0xc028698d ++ SIOCGIFGMEMB = 0xc028698a ++ SIOCGIFGROUP = 0xc0286988 ++ SIOCGIFHARDMTU = 0xc02069a5 ++ SIOCGIFLLPRIO = 0xc02069b6 ++ SIOCGIFMEDIA = 0xc0406938 ++ SIOCGIFMETRIC = 0xc0206917 ++ SIOCGIFMTU = 0xc020697e ++ SIOCGIFNETMASK = 0xc0206925 ++ SIOCGIFPAIR = 0xc02069b1 ++ SIOCGIFPARENT = 0xc02069b3 ++ SIOCGIFPRIORITY = 0xc020699c ++ SIOCGIFRDOMAIN = 0xc02069a0 ++ SIOCGIFRTLABEL = 0xc0206983 ++ SIOCGIFRXR = 0x802069aa ++ SIOCGIFSFFPAGE = 0xc1126939 ++ SIOCGIFXFLAGS = 0xc020699e ++ SIOCGLIFPHYADDR = 0xc218694b ++ SIOCGLIFPHYDF = 0xc02069c2 ++ SIOCGLIFPHYECN = 0xc02069c8 ++ SIOCGLIFPHYRTABLE = 0xc02069a2 ++ SIOCGLIFPHYTTL = 0xc02069a9 ++ SIOCGPGRP = 0x40047309 ++ SIOCGPWE3 = 0xc0206998 ++ SIOCGPWE3CTRLWORD = 0xc02069dc ++ SIOCGPWE3FAT = 0xc02069dd ++ SIOCGPWE3NEIGHBOR = 0xc21869de ++ SIOCGRXHPRIO = 0xc02069db ++ SIOCGSPPPPARAMS = 0xc0206994 ++ SIOCGTXHPRIO = 0xc02069c6 ++ SIOCGUMBINFO = 0xc02069be ++ SIOCGUMBPARAM = 0xc02069c0 ++ SIOCGVH = 0xc02069f6 ++ SIOCGVNETFLOWID = 0xc02069c4 ++ SIOCGVNETID = 0xc02069a7 ++ SIOCIFAFATTACH = 0x801169ab ++ SIOCIFAFDETACH = 0x801169ac ++ SIOCIFCREATE = 0x8020697a ++ SIOCIFDESTROY = 0x80206979 ++ SIOCIFGCLONERS = 0xc0106978 ++ SIOCSETKALIVE = 0x801869a3 ++ SIOCSETLABEL = 0x80206999 ++ SIOCSETMPWCFG = 0x802069ad ++ SIOCSETPFLOW = 0x802069fd ++ SIOCSETPFSYNC = 0x802069f7 ++ SIOCSETVLAN = 0x8020698f ++ SIOCSIFADDR = 0x8020690c ++ SIOCSIFBRDADDR = 0x80206913 ++ SIOCSIFDESCR = 0x80206980 ++ SIOCSIFDSTADDR = 0x8020690e ++ SIOCSIFFLAGS = 0x80206910 ++ SIOCSIFGATTR = 0x8028698c ++ SIOCSIFGENERIC = 0x80206939 ++ SIOCSIFLLADDR = 0x8020691f ++ SIOCSIFLLPRIO = 0x802069b5 ++ SIOCSIFMEDIA = 0xc0206937 ++ SIOCSIFMETRIC = 0x80206918 ++ SIOCSIFMTU = 0x8020697f ++ SIOCSIFNETMASK = 0x80206916 ++ SIOCSIFPAIR = 0x802069b0 ++ SIOCSIFPARENT = 0x802069b2 ++ SIOCSIFPRIORITY = 0x8020699b ++ SIOCSIFRDOMAIN = 0x8020699f ++ SIOCSIFRTLABEL = 0x80206982 ++ SIOCSIFXFLAGS = 0x8020699d ++ SIOCSLIFPHYADDR = 0x8218694a ++ SIOCSLIFPHYDF = 0x802069c1 ++ SIOCSLIFPHYECN = 0x802069c7 ++ SIOCSLIFPHYRTABLE = 0x802069a1 ++ SIOCSLIFPHYTTL = 0x802069a8 ++ SIOCSPGRP = 0x80047308 ++ SIOCSPWE3CTRLWORD = 0x802069dc ++ SIOCSPWE3FAT = 0x802069dd ++ SIOCSPWE3NEIGHBOR = 0x821869de ++ SIOCSRXHPRIO = 0x802069db ++ SIOCSSPPPPARAMS = 0x80206993 ++ SIOCSTXHPRIO = 0x802069c5 ++ SIOCSUMBPARAM = 0x802069bf ++ SIOCSVH = 0xc02069f5 ++ SIOCSVNETFLOWID = 0x802069c3 ++ SIOCSVNETID = 0x802069a6 ++ SOCK_CLOEXEC = 0x8000 ++ SOCK_DGRAM = 0x2 ++ SOCK_DNS = 0x1000 ++ SOCK_NONBLOCK = 0x4000 ++ 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_DOMAIN = 0x1024 ++ SO_DONTROUTE = 0x10 ++ SO_ERROR = 0x1007 ++ SO_KEEPALIVE = 0x8 ++ SO_LINGER = 0x80 ++ SO_NETPROC = 0x1020 ++ SO_OOBINLINE = 0x100 ++ SO_PEERCRED = 0x1022 ++ SO_PROTOCOL = 0x1025 ++ 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 ++ SO_ZEROIZE = 0x2000 ++ 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_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 ++ TCIOFF = 0x3 ++ TCIOFLUSH = 0x3 ++ TCION = 0x4 ++ TCOFLUSH = 0x2 ++ TCOOFF = 0x1 ++ TCOON = 0x2 ++ TCPOPT_EOL = 0x0 ++ TCPOPT_MAXSEG = 0x2 ++ TCPOPT_NOP = 0x1 ++ TCPOPT_SACK = 0x5 ++ TCPOPT_SACK_HDR = 0x1010500 ++ TCPOPT_SACK_PERMITTED = 0x4 ++ TCPOPT_SACK_PERMIT_HDR = 0x1010402 ++ TCPOPT_SIGNATURE = 0x13 ++ TCPOPT_TIMESTAMP = 0x8 ++ TCPOPT_TSTAMP_HDR = 0x101080a ++ TCPOPT_WINDOW = 0x3 ++ TCP_INFO = 0x9 ++ 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_SACKHOLE_LIMIT = 0x80 ++ TCP_SACK_ENABLE = 0x8 ++ TCSAFLUSH = 0x2 ++ TIMER_ABSTIME = 0x1 ++ TIMER_RELTIME = 0x0 ++ TIOCCBRK = 0x2000747a ++ TIOCCDTR = 0x20007478 ++ TIOCCHKVERAUTH = 0x2000741e ++ TIOCCLRVERAUTH = 0x2000741d ++ 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 ++ TIOCSETVERAUTH = 0x8004741c ++ TIOCSFLAGS = 0x8004745c ++ TIOCSIG = 0x8004745f ++ TIOCSPGRP = 0x80047476 ++ TIOCSTART = 0x2000746e ++ TIOCSTAT = 0x20007465 ++ TIOCSTOP = 0x2000746f ++ TIOCSTSTAMP = 0x8008745a ++ TIOCSWINSZ = 0x80087467 ++ TIOCUCNTL = 0x80047466 ++ TIOCUCNTL_CBRK = 0x7a ++ TIOCUCNTL_SBRK = 0x7b ++ TOSTOP = 0x400000 ++ UTIME_NOW = -0x2 ++ UTIME_OMIT = -0x1 ++ VDISCARD = 0xf ++ VDSUSP = 0xb ++ VEOF = 0x0 ++ VEOL = 0x1 ++ VEOL2 = 0x2 ++ VERASE = 0x3 ++ VINTR = 0x8 ++ VKILL = 0x5 ++ VLNEXT = 0xe ++ VMIN = 0x10 ++ VM_ANONMIN = 0x7 ++ VM_LOADAVG = 0x2 ++ VM_MALLOC_CONF = 0xc ++ VM_MAXID = 0xd ++ VM_MAXSLP = 0xa ++ VM_METER = 0x1 ++ VM_NKMEMPAGES = 0x6 ++ VM_PSSTRINGS = 0x3 ++ VM_SWAPENCRYPT = 0x5 ++ VM_USPACE = 0xb ++ VM_UVMEXP = 0x4 ++ VM_VNODEMIN = 0x9 ++ VM_VTEXTMIN = 0x8 ++ VQUIT = 0x9 ++ VREPRINT = 0x6 ++ VSTART = 0xc ++ VSTATUS = 0x12 ++ VSTOP = 0xd ++ VSUSP = 0xa ++ VTIME = 0x11 ++ VWERASE = 0x4 ++ WALTSIG = 0x4 ++ WCONTINUED = 0x8 ++ WCOREFLAG = 0x80 ++ WNOHANG = 0x1 ++ WUNTRACED = 0x2 ++ XCASE = 0x1000000 ++) ++ ++// 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(0x5c) ++ 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(0x5f) ++ 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) ++ ENOTRECOVERABLE = syscall.Errno(0x5d) ++ ENOTSOCK = syscall.Errno(0x26) ++ ENOTSUP = syscall.Errno(0x5b) ++ ENOTTY = syscall.Errno(0x19) ++ ENXIO = syscall.Errno(0x6) ++ EOPNOTSUPP = syscall.Errno(0x2d) ++ EOVERFLOW = syscall.Errno(0x57) ++ EOWNERDEAD = syscall.Errno(0x5e) ++ 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(0x5f) ++ 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 errorList = [...]struct { ++ num syscall.Errno ++ name string ++ desc string ++}{ ++ {1, "EPERM", "operation not permitted"}, ++ {2, "ENOENT", "no such file or directory"}, ++ {3, "ESRCH", "no such process"}, ++ {4, "EINTR", "interrupted system call"}, ++ {5, "EIO", "input/output error"}, ++ {6, "ENXIO", "device not configured"}, ++ {7, "E2BIG", "argument list too long"}, ++ {8, "ENOEXEC", "exec format error"}, ++ {9, "EBADF", "bad file descriptor"}, ++ {10, "ECHILD", "no child processes"}, ++ {11, "EDEADLK", "resource deadlock avoided"}, ++ {12, "ENOMEM", "cannot allocate memory"}, ++ {13, "EACCES", "permission denied"}, ++ {14, "EFAULT", "bad address"}, ++ {15, "ENOTBLK", "block device required"}, ++ {16, "EBUSY", "device busy"}, ++ {17, "EEXIST", "file exists"}, ++ {18, "EXDEV", "cross-device link"}, ++ {19, "ENODEV", "operation not supported by device"}, ++ {20, "ENOTDIR", "not a directory"}, ++ {21, "EISDIR", "is a directory"}, ++ {22, "EINVAL", "invalid argument"}, ++ {23, "ENFILE", "too many open files in system"}, ++ {24, "EMFILE", "too many open files"}, ++ {25, "ENOTTY", "inappropriate ioctl for device"}, ++ {26, "ETXTBSY", "text file busy"}, ++ {27, "EFBIG", "file too large"}, ++ {28, "ENOSPC", "no space left on device"}, ++ {29, "ESPIPE", "illegal seek"}, ++ {30, "EROFS", "read-only file system"}, ++ {31, "EMLINK", "too many links"}, ++ {32, "EPIPE", "broken pipe"}, ++ {33, "EDOM", "numerical argument out of domain"}, ++ {34, "ERANGE", "result too large"}, ++ {35, "EAGAIN", "resource temporarily unavailable"}, ++ {36, "EINPROGRESS", "operation now in progress"}, ++ {37, "EALREADY", "operation already in progress"}, ++ {38, "ENOTSOCK", "socket operation on non-socket"}, ++ {39, "EDESTADDRREQ", "destination address required"}, ++ {40, "EMSGSIZE", "message too long"}, ++ {41, "EPROTOTYPE", "protocol wrong type for socket"}, ++ {42, "ENOPROTOOPT", "protocol not available"}, ++ {43, "EPROTONOSUPPORT", "protocol not supported"}, ++ {44, "ESOCKTNOSUPPORT", "socket type not supported"}, ++ {45, "EOPNOTSUPP", "operation not supported"}, ++ {46, "EPFNOSUPPORT", "protocol family not supported"}, ++ {47, "EAFNOSUPPORT", "address family not supported by protocol family"}, ++ {48, "EADDRINUSE", "address already in use"}, ++ {49, "EADDRNOTAVAIL", "can't assign requested address"}, ++ {50, "ENETDOWN", "network is down"}, ++ {51, "ENETUNREACH", "network is unreachable"}, ++ {52, "ENETRESET", "network dropped connection on reset"}, ++ {53, "ECONNABORTED", "software caused connection abort"}, ++ {54, "ECONNRESET", "connection reset by peer"}, ++ {55, "ENOBUFS", "no buffer space available"}, ++ {56, "EISCONN", "socket is already connected"}, ++ {57, "ENOTCONN", "socket is not connected"}, ++ {58, "ESHUTDOWN", "can't send after socket shutdown"}, ++ {59, "ETOOMANYREFS", "too many references: can't splice"}, ++ {60, "ETIMEDOUT", "operation timed out"}, ++ {61, "ECONNREFUSED", "connection refused"}, ++ {62, "ELOOP", "too many levels of symbolic links"}, ++ {63, "ENAMETOOLONG", "file name too long"}, ++ {64, "EHOSTDOWN", "host is down"}, ++ {65, "EHOSTUNREACH", "no route to host"}, ++ {66, "ENOTEMPTY", "directory not empty"}, ++ {67, "EPROCLIM", "too many processes"}, ++ {68, "EUSERS", "too many users"}, ++ {69, "EDQUOT", "disk quota exceeded"}, ++ {70, "ESTALE", "stale NFS file handle"}, ++ {71, "EREMOTE", "too many levels of remote in path"}, ++ {72, "EBADRPC", "RPC struct is bad"}, ++ {73, "ERPCMISMATCH", "RPC version wrong"}, ++ {74, "EPROGUNAVAIL", "RPC program not available"}, ++ {75, "EPROGMISMATCH", "program version wrong"}, ++ {76, "EPROCUNAVAIL", "bad procedure for program"}, ++ {77, "ENOLCK", "no locks available"}, ++ {78, "ENOSYS", "function not implemented"}, ++ {79, "EFTYPE", "inappropriate file type or format"}, ++ {80, "EAUTH", "authentication error"}, ++ {81, "ENEEDAUTH", "need authenticator"}, ++ {82, "EIPSEC", "IPsec processing failure"}, ++ {83, "ENOATTR", "attribute not found"}, ++ {84, "EILSEQ", "illegal byte sequence"}, ++ {85, "ENOMEDIUM", "no medium found"}, ++ {86, "EMEDIUMTYPE", "wrong medium type"}, ++ {87, "EOVERFLOW", "value too large to be stored in data type"}, ++ {88, "ECANCELED", "operation canceled"}, ++ {89, "EIDRM", "identifier removed"}, ++ {90, "ENOMSG", "no message of desired type"}, ++ {91, "ENOTSUP", "not supported"}, ++ {92, "EBADMSG", "bad message"}, ++ {93, "ENOTRECOVERABLE", "state not recoverable"}, ++ {94, "EOWNERDEAD", "previous owner died"}, ++ {95, "ELAST", "protocol error"}, ++} ++ ++// Signal table ++var signalList = [...]struct { ++ num syscall.Signal ++ name string ++ desc string ++}{ ++ {1, "SIGHUP", "hangup"}, ++ {2, "SIGINT", "interrupt"}, ++ {3, "SIGQUIT", "quit"}, ++ {4, "SIGILL", "illegal instruction"}, ++ {5, "SIGTRAP", "trace/BPT trap"}, ++ {6, "SIGABRT", "abort trap"}, ++ {7, "SIGEMT", "EMT trap"}, ++ {8, "SIGFPE", "floating point exception"}, ++ {9, "SIGKILL", "killed"}, ++ {10, "SIGBUS", "bus error"}, ++ {11, "SIGSEGV", "segmentation fault"}, ++ {12, "SIGSYS", "bad system call"}, ++ {13, "SIGPIPE", "broken pipe"}, ++ {14, "SIGALRM", "alarm clock"}, ++ {15, "SIGTERM", "terminated"}, ++ {16, "SIGURG", "urgent I/O condition"}, ++ {17, "SIGSTOP", "suspended (signal)"}, ++ {18, "SIGTSTP", "suspended"}, ++ {19, "SIGCONT", "continued"}, ++ {20, "SIGCHLD", "child exited"}, ++ {21, "SIGTTIN", "stopped (tty input)"}, ++ {22, "SIGTTOU", "stopped (tty output)"}, ++ {23, "SIGIO", "I/O possible"}, ++ {24, "SIGXCPU", "cputime limit exceeded"}, ++ {25, "SIGXFSZ", "filesize limit exceeded"}, ++ {26, "SIGVTALRM", "virtual timer expired"}, ++ {27, "SIGPROF", "profiling timer expired"}, ++ {28, "SIGWINCH", "window size changes"}, ++ {29, "SIGINFO", "information request"}, ++ {30, "SIGUSR1", "user defined signal 1"}, ++ {31, "SIGUSR2", "user defined signal 2"}, ++ {32, "SIGTHR", "thread AST"}, ++} +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +index 91a23cc..870215d 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +@@ -17,6 +17,7 @@ int getdirent(int, uintptr_t, size_t); + int wait4(int, uintptr_t, int, uintptr_t); + int ioctl(int, int, uintptr_t); + int fcntl(uintptr_t, int, uintptr_t); ++int fsync_range(int, int, long long, long long); + int acct(uintptr_t); + int chdir(uintptr_t); + int chroot(uintptr_t); +@@ -29,7 +30,6 @@ int fchmod(int, unsigned int); + int fchmodat(int, uintptr_t, unsigned int, int); + int fchownat(int, uintptr_t, int, int, int); + int fdatasync(int); +-int fsync(int); + int getpgid(int); + int getpgrp(); + int getpid(); +@@ -255,6 +255,16 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func fsyncRange(fd int, how int, start int64, length int64) (err error) { ++ r0, er := C.fsync_range(C.int(fd), C.int(how), C.longlong(start), C.longlong(length)) ++ if r0 == -1 && er != nil { ++ err = er ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + func Acct(path string) (err error) { + _p0 := uintptr(unsafe.Pointer(C.CString(path))) + r0, er := C.acct(C.uintptr_t(_p0)) +@@ -379,16 +389,6 @@ func Fdatasync(fd int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func Fsync(fd int) (err error) { +- r0, er := C.fsync(C.int(fd)) +- if r0 == -1 && er != nil { +- err = er +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- + func Getpgid(pid int) (pgid int, err error) { + r0, er := C.getpgid(C.int(pid)) + pgid = int(r0) +@@ -975,7 +975,7 @@ func Pause() (err error) { + + // 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) { ++func pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 *byte + if len(p) > 0 { + _p0 = &p[0] +@@ -992,7 +992,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++func pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 *byte + if len(p) > 0 { + _p0 = &p[0] +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +index 33c2609..a89b0bf 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +@@ -135,6 +135,16 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func fsyncRange(fd int, how int, start int64, length int64) (err error) { ++ _, e1 := callfsync_range(fd, how, start, length) ++ 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) +@@ -283,16 +293,6 @@ func Fdatasync(fd int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func Fsync(fd int) (err error) { +- _, e1 := callfsync(fd) +- 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 := callgetpgid(pid) + pgid = int(r0) +@@ -931,7 +931,7 @@ func Pause() (err error) { + + // 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) { ++func pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 *byte + if len(p) > 0 { + _p0 = &p[0] +@@ -946,7 +946,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++func pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 *byte + if len(p) > 0 { + _p0 = &p[0] +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +index 8b737fa..2caa5ad 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +@@ -18,6 +18,7 @@ import ( + //go:cgo_import_dynamic libc_wait4 wait4 "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_fcntl fcntl "libc.a/shr_64.o" ++//go:cgo_import_dynamic libc_fsync_range fsync_range "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_acct acct "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_chdir chdir "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_chroot chroot "libc.a/shr_64.o" +@@ -30,7 +31,6 @@ import ( + //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_fchownat fchownat "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_fdatasync fdatasync "libc.a/shr_64.o" +-//go:cgo_import_dynamic libc_fsync fsync "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_getpgid getpgid "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.a/shr_64.o" + //go:cgo_import_dynamic libc_getpid getpid "libc.a/shr_64.o" +@@ -136,6 +136,7 @@ import ( + //go:linkname libc_wait4 libc_wait4 + //go:linkname libc_ioctl libc_ioctl + //go:linkname libc_fcntl libc_fcntl ++//go:linkname libc_fsync_range libc_fsync_range + //go:linkname libc_acct libc_acct + //go:linkname libc_chdir libc_chdir + //go:linkname libc_chroot libc_chroot +@@ -148,7 +149,6 @@ import ( + //go:linkname libc_fchmodat libc_fchmodat + //go:linkname libc_fchownat libc_fchownat + //go:linkname libc_fdatasync libc_fdatasync +-//go:linkname libc_fsync libc_fsync + //go:linkname libc_getpgid libc_getpgid + //go:linkname libc_getpgrp libc_getpgrp + //go:linkname libc_getpid libc_getpid +@@ -257,6 +257,7 @@ var ( + libc_wait4, + libc_ioctl, + libc_fcntl, ++ libc_fsync_range, + libc_acct, + libc_chdir, + libc_chroot, +@@ -269,7 +270,6 @@ var ( + libc_fchmodat, + libc_fchownat, + libc_fdatasync, +- libc_fsync, + libc_getpgid, + libc_getpgrp, + libc_getpid, +@@ -430,6 +430,13 @@ func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func callfsync_range(fd int, how int, start int64, length int64) (r1 uintptr, e1 Errno) { ++ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fsync_range)), 4, uintptr(fd), uintptr(how), uintptr(start), uintptr(length), 0, 0) ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) { + r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_acct)), 1, _p0, 0, 0, 0, 0, 0) + return +@@ -514,13 +521,6 @@ func callfdatasync(fd int) (r1 uintptr, e1 Errno) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func callfsync(fd int) (r1 uintptr, e1 Errno) { +- r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fsync)), 1, uintptr(fd), 0, 0, 0, 0, 0) +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- + func callgetpgid(pid int) (r1 uintptr, e1 Errno) { + r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0) + return +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +index 3c26091..944a714 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +@@ -16,6 +16,7 @@ int getdirent(int, uintptr_t, size_t); + int wait4(int, uintptr_t, int, uintptr_t); + int ioctl(int, int, uintptr_t); + int fcntl(uintptr_t, int, uintptr_t); ++int fsync_range(int, int, long long, long long); + int acct(uintptr_t); + int chdir(uintptr_t); + int chroot(uintptr_t); +@@ -28,7 +29,6 @@ int fchmod(int, unsigned int); + int fchmodat(int, uintptr_t, unsigned int, int); + int fchownat(int, uintptr_t, int, int, int); + int fdatasync(int); +-int fsync(int); + int getpgid(int); + int getpgrp(); + int getpid(); +@@ -199,6 +199,14 @@ func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func callfsync_range(fd int, how int, start int64, length int64) (r1 uintptr, e1 Errno) { ++ r1 = uintptr(C.fsync_range(C.int(fd), C.int(how), C.longlong(start), C.longlong(length))) ++ e1 = syscall.GetErrno() ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) { + r1 = uintptr(C.acct(C.uintptr_t(_p0))) + e1 = syscall.GetErrno() +@@ -295,14 +303,6 @@ func callfdatasync(fd int) (r1 uintptr, e1 Errno) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func callfsync(fd int) (r1 uintptr, e1 Errno) { +- r1 = uintptr(C.fsync(C.int(fd))) +- e1 = syscall.GetErrno() +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- + func callgetpgid(pid int) (r1 uintptr, e1 Errno) { + r1 = uintptr(C.getpgid(C.int(pid))) + e1 = syscall.GetErrno() +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go +deleted file mode 100644 +index a06eb09..0000000 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go ++++ /dev/null +@@ -1,40 +0,0 @@ +-// go run mksyscall.go -tags darwin,amd64,go1.13 syscall_darwin.1_13.go +-// Code generated by the command above; see README.md. DO NOT EDIT. +- +-//go:build darwin && amd64 && go1.13 +-// +build darwin,amd64,go1.13 +- +-package unix +- +-import ( +- "syscall" +- "unsafe" +-) +- +-var _ syscall.Errno +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func closedir(dir uintptr) (err error) { +- _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-var libc_closedir_trampoline_addr uintptr +- +-//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib" +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) { +- r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) +- res = Errno(r0) +- return +-} +- +-var libc_readdir_r_trampoline_addr uintptr +- +-//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s +deleted file mode 100644 +index d6c3e25..0000000 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s ++++ /dev/null +@@ -1,25 +0,0 @@ +-// go run mkasm_darwin.go amd64 +-// Code generated by the command above; DO NOT EDIT. +- +-//go:build go1.13 +-// +build go1.13 +- +-#include "textflag.h" +- +-TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_fdopendir(SB) +- +-GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB) +- +-TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_closedir(SB) +- +-GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB) +- +-TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_readdir_r(SB) +- +-GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +index d4efe8d..c2461c4 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +@@ -1,8 +1,8 @@ +-// go run mksyscall.go -tags darwin,amd64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go ++// go run mksyscall.go -tags darwin,amd64 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go + // Code generated by the command above; see README.md. DO NOT EDIT. + +-//go:build darwin && amd64 && go1.12 +-// +build darwin,amd64,go1.12 ++//go:build darwin && amd64 ++// +build darwin,amd64 + + package unix + +@@ -463,6 +463,32 @@ var libc_munlockall_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func closedir(dir uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_closedir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) { ++ r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) ++ res = Errno(r0) ++ return ++} ++ ++var libc_readdir_r_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + func pipe(p *[2]int32) (err error) { + _, _, e1 := syscall_rawSyscall(libc_pipe_trampoline_addr, uintptr(unsafe.Pointer(p)), 0, 0) + if e1 != 0 { +@@ -643,17 +669,22 @@ var libc_flistxattr_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) { +- _, _, e1 := syscall_syscall6(libc_setattrlist_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0) ++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 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + +-var libc_setattrlist_trampoline_addr uintptr ++var libc_utimensat_trampoline_addr uintptr + +-//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib" ++//go:cgo_import_dynamic libc_utimensat utimensat "/usr/lib/libSystem.B.dylib" + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +@@ -734,6 +765,65 @@ var libc_sendfile_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func shmat(id int, addr uintptr, flag int) (ret uintptr, err error) { ++ r0, _, e1 := syscall_syscall(libc_shmat_trampoline_addr, uintptr(id), uintptr(addr), uintptr(flag)) ++ ret = uintptr(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmat shmat "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error) { ++ r0, _, e1 := syscall_syscall(libc_shmctl_trampoline_addr, uintptr(id), uintptr(cmd), uintptr(unsafe.Pointer(buf))) ++ result = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmctl shmctl "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmdt(addr uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_shmdt_trampoline_addr, uintptr(addr), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmdt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmdt shmdt "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmget(key int, size int, flag int) (id int, err error) { ++ r0, _, e1 := syscall_syscall(libc_shmget_trampoline_addr, uintptr(key), uintptr(size), uintptr(flag)) ++ id = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmget_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmget shmget "/usr/lib/libSystem.B.dylib" ++ ++// 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) +@@ -1579,6 +1669,30 @@ var libc_mknod_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(fsType) ++ if err != nil { ++ return ++ } ++ var _p1 *byte ++ _p1, err = BytePtrFromString(dir) ++ if err != nil { ++ return ++ } ++ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mount mount "/usr/lib/libSystem.B.dylib" ++ ++// 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) +@@ -1639,7 +1753,7 @@ var libc_pathconf_trampoline_addr uintptr + + // 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) { ++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]) +@@ -1660,7 +1774,7 @@ var libc_pread_trampoline_addr uintptr + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +index bc169c2..95fe4c0 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s ++++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +@@ -1,11 +1,14 @@ +-// go run mkasm_darwin.go amd64 ++// go run mkasm.go darwin amd64 + // Code generated by the command above; DO NOT EDIT. + +-//go:build go1.12 +-// +build go1.12 +- + #include "textflag.h" + ++TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fdopendir(SB) ++ ++GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB) ++ + TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getgroups(SB) + +@@ -174,6 +177,18 @@ TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8 + DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) + ++TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_closedir(SB) ++ ++GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB) ++ ++TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readdir_r(SB) ++ ++GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB) ++ + TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pipe(SB) + +@@ -228,11 +243,11 @@ TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8 + DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB) + +-TEXT libc_setattrlist_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_setattrlist(SB) ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) + +-GLOBL ·libc_setattrlist_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB) ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + + TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_fcntl(SB) +@@ -264,6 +279,30 @@ TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8 + DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB) + ++TEXT libc_shmat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmat(SB) ++ ++GLOBL ·libc_shmat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmat_trampoline_addr(SB)/8, $libc_shmat_trampoline<>(SB) ++ ++TEXT libc_shmctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmctl(SB) ++ ++GLOBL ·libc_shmctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmctl_trampoline_addr(SB)/8, $libc_shmctl_trampoline<>(SB) ++ ++TEXT libc_shmdt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmdt(SB) ++ ++GLOBL ·libc_shmdt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmdt_trampoline_addr(SB)/8, $libc_shmdt_trampoline<>(SB) ++ ++TEXT libc_shmget_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmget(SB) ++ ++GLOBL ·libc_shmget_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmget_trampoline_addr(SB)/8, $libc_shmget_trampoline<>(SB) ++ + TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_access(SB) + +@@ -576,6 +615,12 @@ TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 + DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) + ++TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mount(SB) ++ ++GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) ++ + TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_open(SB) + +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go +deleted file mode 100644 +index cec595d..0000000 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go ++++ /dev/null +@@ -1,40 +0,0 @@ +-// go run mksyscall.go -tags darwin,arm64,go1.13 syscall_darwin.1_13.go +-// Code generated by the command above; see README.md. DO NOT EDIT. +- +-//go:build darwin && arm64 && go1.13 +-// +build darwin,arm64,go1.13 +- +-package unix +- +-import ( +- "syscall" +- "unsafe" +-) +- +-var _ syscall.Errno +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func closedir(dir uintptr) (err error) { +- _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-var libc_closedir_trampoline_addr uintptr +- +-//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib" +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) { +- r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) +- res = Errno(r0) +- return +-} +- +-var libc_readdir_r_trampoline_addr uintptr +- +-//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s +deleted file mode 100644 +index 3579897..0000000 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s ++++ /dev/null +@@ -1,25 +0,0 @@ +-// go run mkasm_darwin.go arm64 +-// Code generated by the command above; DO NOT EDIT. +- +-//go:build go1.13 +-// +build go1.13 +- +-#include "textflag.h" +- +-TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_fdopendir(SB) +- +-GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB) +- +-TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_closedir(SB) +- +-GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB) +- +-TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_readdir_r(SB) +- +-GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +index f2ee2bd..26a0fdc 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +@@ -1,8 +1,8 @@ +-// go run mksyscall.go -tags darwin,arm64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go ++// go run mksyscall.go -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go + // Code generated by the command above; see README.md. DO NOT EDIT. + +-//go:build darwin && arm64 && go1.12 +-// +build darwin,arm64,go1.12 ++//go:build darwin && arm64 ++// +build darwin,arm64 + + package unix + +@@ -463,6 +463,32 @@ var libc_munlockall_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func closedir(dir uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_closedir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) { ++ r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) ++ res = Errno(r0) ++ return ++} ++ ++var libc_readdir_r_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + func pipe(p *[2]int32) (err error) { + _, _, e1 := syscall_rawSyscall(libc_pipe_trampoline_addr, uintptr(unsafe.Pointer(p)), 0, 0) + if e1 != 0 { +@@ -643,17 +669,22 @@ var libc_flistxattr_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) { +- _, _, e1 := syscall_syscall6(libc_setattrlist_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0) ++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 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + +-var libc_setattrlist_trampoline_addr uintptr ++var libc_utimensat_trampoline_addr uintptr + +-//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib" ++//go:cgo_import_dynamic libc_utimensat utimensat "/usr/lib/libSystem.B.dylib" + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +@@ -734,6 +765,65 @@ var libc_sendfile_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func shmat(id int, addr uintptr, flag int) (ret uintptr, err error) { ++ r0, _, e1 := syscall_syscall(libc_shmat_trampoline_addr, uintptr(id), uintptr(addr), uintptr(flag)) ++ ret = uintptr(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmat shmat "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error) { ++ r0, _, e1 := syscall_syscall(libc_shmctl_trampoline_addr, uintptr(id), uintptr(cmd), uintptr(unsafe.Pointer(buf))) ++ result = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmctl shmctl "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmdt(addr uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_shmdt_trampoline_addr, uintptr(addr), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmdt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmdt shmdt "/usr/lib/libSystem.B.dylib" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmget(key int, size int, flag int) (id int, err error) { ++ r0, _, e1 := syscall_syscall(libc_shmget_trampoline_addr, uintptr(key), uintptr(size), uintptr(flag)) ++ id = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shmget_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shmget shmget "/usr/lib/libSystem.B.dylib" ++ ++// 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) +@@ -1579,6 +1669,30 @@ var libc_mknod_trampoline_addr uintptr + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(fsType) ++ if err != nil { ++ return ++ } ++ var _p1 *byte ++ _p1, err = BytePtrFromString(dir) ++ if err != nil { ++ return ++ } ++ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mount mount "/usr/lib/libSystem.B.dylib" ++ ++// 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) +@@ -1639,7 +1753,7 @@ var libc_pathconf_trampoline_addr uintptr + + // 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) { ++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]) +@@ -1660,7 +1774,7 @@ var libc_pread_trampoline_addr uintptr + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +index 33e1977..efa5b4c 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s ++++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +@@ -1,11 +1,14 @@ +-// go run mkasm_darwin.go arm64 ++// go run mkasm.go darwin arm64 + // Code generated by the command above; DO NOT EDIT. + +-//go:build go1.12 +-// +build go1.12 +- + #include "textflag.h" + ++TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fdopendir(SB) ++ ++GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB) ++ + TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getgroups(SB) + +@@ -174,6 +177,18 @@ TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8 + DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) + ++TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_closedir(SB) ++ ++GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB) ++ ++TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readdir_r(SB) ++ ++GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB) ++ + TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pipe(SB) + +@@ -228,11 +243,11 @@ TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8 + DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB) + +-TEXT libc_setattrlist_trampoline<>(SB),NOSPLIT,$0-0 +- JMP libc_setattrlist(SB) ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) + +-GLOBL ·libc_setattrlist_trampoline_addr(SB), RODATA, $8 +-DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB) ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + + TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_fcntl(SB) +@@ -264,6 +279,30 @@ TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8 + DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB) + ++TEXT libc_shmat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmat(SB) ++ ++GLOBL ·libc_shmat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmat_trampoline_addr(SB)/8, $libc_shmat_trampoline<>(SB) ++ ++TEXT libc_shmctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmctl(SB) ++ ++GLOBL ·libc_shmctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmctl_trampoline_addr(SB)/8, $libc_shmctl_trampoline<>(SB) ++ ++TEXT libc_shmdt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmdt(SB) ++ ++GLOBL ·libc_shmdt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmdt_trampoline_addr(SB)/8, $libc_shmdt_trampoline<>(SB) ++ ++TEXT libc_shmget_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shmget(SB) ++ ++GLOBL ·libc_shmget_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shmget_trampoline_addr(SB)/8, $libc_shmget_trampoline<>(SB) ++ + TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_access(SB) + +@@ -576,6 +615,12 @@ TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 + GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 + DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) + ++TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mount(SB) ++ ++GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) ++ + TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_open(SB) + +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +index 3e9bddb..039c4aa 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat(fd int, stat *stat_freebsd11_t) (err error) { ++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) +@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat_freebsd12(fd int, stat *Stat_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, 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_freebsd11_t, flags int) (err error) { ++func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatat_freebsd12(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_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 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 fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { ++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) +@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, 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 { +@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { + + // 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) { ++func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) +@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (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_FREEBSD12, 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) +@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func lstat(path string, stat *stat_freebsd11_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) +- 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) +@@ -1317,43 +1250,13 @@ func Mkfifo(path string, mode uint32) (err error) { + + // 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)) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func mknodat(fd 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(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { ++func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0) ++ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0) + if e1 != 0 { + err = errnoErr(e1) + } +@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func stat(path string, stat *stat_freebsd11_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) +- 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_freebsd11_t) (err error) { ++func Statfs(path string, stat *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func statfs_freebsd12(path string, stat *Statfs_t) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(path) +- if err != nil { +- return +- } +- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), 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 Symlink(path string, link string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +index c72a462..0535d3c 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat(fd int, stat *stat_freebsd11_t) (err error) { ++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) +@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat_freebsd12(fd int, stat *Stat_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, 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_freebsd11_t, flags int) (err error) { ++func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatat_freebsd12(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_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 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 fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { ++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) +@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, 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 { +@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { + + // 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) { ++func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) +@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (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_FREEBSD12, 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) +@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func lstat(path string, stat *stat_freebsd11_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) +- 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) +@@ -1317,22 +1250,7 @@ func Mkfifo(path string, mode uint32) (err error) { + + // 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)) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func mknodat(fd int, path string, mode uint32, dev int) (err error) { ++func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -1347,21 +1265,6 @@ func mknodat(fd int, path string, mode uint32, dev int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(path) +- if err != nil { +- return +- } +- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 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 { +@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func stat(path string, stat *stat_freebsd11_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) +- 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_freebsd11_t) (err error) { ++func Statfs(path string, stat *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func statfs_freebsd12(path string, stat *Statfs_t) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(path) +- if err != nil { +- return +- } +- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), 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 Symlink(path string, link string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +index 530d5df..1018b52 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +@@ -351,22 +351,6 @@ func Munlockall() (err error) { + + // 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)) +- 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 { +@@ -404,6 +388,22 @@ func ioctl(fd int, req uint, arg uintptr) (err error) { + + // 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)) ++ 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 int) (err error) { + _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0) + if e1 != 0 { +@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat(fd int, stat *stat_freebsd11_t) (err error) { ++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) +@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat_freebsd12(fd int, stat *Stat_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, 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_freebsd11_t, flags int) (err error) { ++func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatat_freebsd12(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_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 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 fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { ++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) +@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, 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 { +@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { + + // 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) { ++func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) +@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (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_FREEBSD12, 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) +@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func lstat(path string, stat *stat_freebsd11_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) +- 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) +@@ -1317,43 +1250,13 @@ func Mkfifo(path string, mode uint32) (err error) { + + // 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)) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func mknodat(fd 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(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { ++func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, uintptr(dev), uintptr(dev>>32)) + if e1 != 0 { + err = errnoErr(e1) + } +@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func stat(path string, stat *stat_freebsd11_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) +- 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_freebsd11_t) (err error) { ++func Statfs(path string, stat *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func statfs_freebsd12(path string, stat *Statfs_t) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(path) +- if err != nil { +- return +- } +- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), 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 Symlink(path string, link string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +index 71e7df9..3802f4b 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat(fd int, stat *stat_freebsd11_t) (err error) { ++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) +@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstat_freebsd12(fd int, stat *Stat_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, 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_freebsd11_t, flags int) (err error) { ++func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatat_freebsd12(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_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 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 fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { ++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) +@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { +- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, 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 { +@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { + + // 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) { ++func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) +@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (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_FREEBSD12, 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) +@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func lstat(path string, stat *stat_freebsd11_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) +- 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) +@@ -1317,22 +1250,7 @@ func Mkfifo(path string, mode uint32) (err error) { + + // 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)) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func mknodat(fd int, path string, mode uint32, dev int) (err error) { ++func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -1347,21 +1265,6 @@ func mknodat(fd int, path string, mode uint32, dev int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(path) +- if err != nil { +- return +- } +- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 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 { +@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func stat(path string, stat *stat_freebsd11_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) +- 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_freebsd11_t) (err error) { ++func Statfs(path string, stat *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { +@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func statfs_freebsd12(path string, stat *Statfs_t) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(path) +- if err != nil { +- return +- } +- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), 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 Symlink(path string, link string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +new file mode 100644 +index 0000000..8a2db7d +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +@@ -0,0 +1,1889 @@ ++// go run mksyscall.go -tags freebsd,riscv64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_riscv64.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build freebsd && riscv64 ++// +build freebsd,riscv64 ++ ++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 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) ++ 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 poll(fds *PollFd, nfds int, timeout int) (n int, err error) { ++ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(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 Madvise(b []byte, behav 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(behav)) ++ 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 Msync(b []byte, flags int) (err error) { ++ var _p0 unsafe.Pointer ++ if len(b) > 0 { ++ _p0 = unsafe.Pointer(&b[0]) ++ } else { ++ _p0 = unsafe.Pointer(&_zero) ++ } ++ _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ 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 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 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 ioctl(fd int, req uint, arg uintptr) (err error) { ++ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) ++ 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)) ++ 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 int) (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 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) ++ 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 CapEnter() (err error) { ++ _, _, e1 := Syscall(SYS_CAP_ENTER, 0, 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func capRightsGet(version int, fd int, rightsp *CapRights) (err error) { ++ _, _, e1 := Syscall(SYS___CAP_RIGHTS_GET, uintptr(version), uintptr(fd), uintptr(unsafe.Pointer(rightsp))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func capRightsLimit(fd int, rightsp *CapRights) (err error) { ++ _, _, e1 := Syscall(SYS_CAP_RIGHTS_LIMIT, uintptr(fd), uintptr(unsafe.Pointer(rightsp)), 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) ++ 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) ++ 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) ++ 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)) ++ 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) ++ 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) ++ 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) ++ 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))) ++ 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) ++ 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) ++ 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))) ++ 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) ++ 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) ++ 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) ++ 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))) ++ 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) ++ 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 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) ++ 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 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) ++ 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 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) ++ 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 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) ++ 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 *uint64) (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)) ++ 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) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Linkat(pathfd int, path string, linkfd int, link string, flags int) (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 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ 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 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) ++ 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)) ++ 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) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 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)) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Openat(fdat int, path string, mode int, perm uint32) (fd int, err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(fdat), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 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 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) ++ 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))) ++ n = 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) ++ 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) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Renameat(fromfd int, from string, tofd int, 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 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ 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) ++ 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) ++ 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(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 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) ++ 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 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) ++ 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) ++ 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))) ++ 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) ++ 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) ++ 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) ++ 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)) ++ 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) ++ 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 ++} ++ ++// 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) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +index af5cb06..b57c705 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +@@ -15,25 +15,19 @@ import ( + //go:cgo_import_dynamic libc_writev writev "libc.so" + //go:cgo_import_dynamic libc_pwritev pwritev "libc.so" + //go:cgo_import_dynamic libc_accept4 accept4 "libsocket.so" +-//go:cgo_import_dynamic libc_putmsg putmsg "libc.so" +-//go:cgo_import_dynamic libc_getmsg getmsg "libc.so" + + //go:linkname procreadv libc_readv + //go:linkname procpreadv libc_preadv + //go:linkname procwritev libc_writev + //go:linkname procpwritev libc_pwritev + //go:linkname procaccept4 libc_accept4 +-//go:linkname procputmsg libc_putmsg +-//go:linkname procgetmsg libc_getmsg + + var ( + procreadv, + procpreadv, + procwritev, + procpwritev, +- procaccept4, +- procputmsg, +- procgetmsg syscallFunc ++ procaccept4 syscallFunc + ) + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +@@ -106,23 +100,3 @@ func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, + } + return + } +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error) { +- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procputmsg)), 4, uintptr(fd), uintptr(unsafe.Pointer(clptr)), uintptr(unsafe.Pointer(dataptr)), uintptr(flags), 0, 0) +- if e1 != 0 { +- err = e1 +- } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func getmsg(fd int, clptr *strbuf, dataptr *strbuf, flags *int) (err error) { +- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetmsg)), 4, uintptr(fd), uintptr(unsafe.Pointer(clptr)), uintptr(unsafe.Pointer(dataptr)), uintptr(unsafe.Pointer(flags)), 0, 0) +- if e1 != 0 { +- err = e1 +- } +- return +-} +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go +index d566632..293cf36 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go +@@ -1,4 +1,4 @@ +-// Code generated by mkmerge.go; DO NOT EDIT. ++// Code generated by mkmerge; DO NOT EDIT. + + //go:build linux + // +build linux +@@ -110,6 +110,16 @@ func openat2(dirfd int, path string, open_how *OpenHow, size int) (fd int, err e + + // 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 ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) +@@ -221,6 +231,16 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func Waitid(idType int, id int, info *Siginfo, options int, rusage *Rusage) (err error) { ++ _, _, e1 := Syscall6(SYS_WAITID, uintptr(idType), uintptr(id), uintptr(unsafe.Pointer(info)), uintptr(options), 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 KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) { + r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + ret = int(r0) +@@ -399,6 +419,21 @@ func mount(source string, target string, fstype string, flags uintptr, data *byt + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func mountSetattr(dirfd int, pathname string, flags uint, attr *MountAttr, size uintptr) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(pathname) ++ if err != nil { ++ return ++ } ++ _, _, e1 := Syscall6(SYS_MOUNT_SETATTR, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(unsafe.Pointer(attr)), uintptr(size), 0) ++ 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) +@@ -793,6 +828,49 @@ func Fsync(fd int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func Fsmount(fd int, flags int, mountAttrs int) (fsfd int, err error) { ++ r0, _, e1 := Syscall(SYS_FSMOUNT, uintptr(fd), uintptr(flags), uintptr(mountAttrs)) ++ fsfd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fsopen(fsName string, flags int) (fd int, err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(fsName) ++ if err != nil { ++ return ++ } ++ r0, _, e1 := Syscall(SYS_FSOPEN, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 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 Fspick(dirfd int, pathName string, flags int) (fd int, err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(pathName) ++ if err != nil { ++ return ++ } ++ r0, _, e1 := Syscall(SYS_FSPICK, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ fd = int(r0) ++ 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 { +@@ -1170,6 +1248,26 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func MoveMount(fromDirfd int, fromPathName string, toDirfd int, toPathName string, flags int) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(fromPathName) ++ if err != nil { ++ return ++ } ++ var _p1 *byte ++ _p1, err = BytePtrFromString(toPathName) ++ if err != nil { ++ return ++ } ++ _, _, e1 := Syscall6(SYS_MOVE_MOUNT, uintptr(fromDirfd), uintptr(unsafe.Pointer(_p0)), uintptr(toDirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 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 { +@@ -1180,6 +1278,22 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func OpenTree(dfd int, fileName string, flags uint) (r int, err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(fileName) ++ if err != nil { ++ return ++ } ++ r0, _, e1 := Syscall(SYS_OPEN_TREE, uintptr(dfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ r = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + func PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error) { + r0, _, e1 := Syscall6(SYS_PERF_EVENT_OPEN, uintptr(unsafe.Pointer(attr)), uintptr(pid), uintptr(cpu), uintptr(groupFd), uintptr(flags), 0) + fd = int(r0) +@@ -1211,7 +1325,7 @@ func PivotRoot(newroot string, putold string) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { ++func Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { + _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1945,8 +2059,103 @@ func ProcessVMWritev(pid int, localIov []Iovec, remoteIov []RemoteIovec, flags u + + // 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) ++func PidfdOpen(pid int, flags int) (fd int, err error) { ++ r0, _, e1 := Syscall(SYS_PIDFD_OPEN, uintptr(pid), uintptr(flags), 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 PidfdGetfd(pidfd int, targetfd int, flags int) (fd int, err error) { ++ r0, _, e1 := Syscall(SYS_PIDFD_GETFD, uintptr(pidfd), uintptr(targetfd), uintptr(flags)) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func PidfdSendSignal(pidfd int, sig Signal, info *Siginfo, flags int) (err error) { ++ _, _, e1 := Syscall6(SYS_PIDFD_SEND_SIGNAL, uintptr(pidfd), uintptr(sig), uintptr(unsafe.Pointer(info)), 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 shmat(id int, addr uintptr, flag int) (ret uintptr, err error) { ++ r0, _, e1 := Syscall(SYS_SHMAT, uintptr(id), uintptr(addr), uintptr(flag)) ++ ret = uintptr(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error) { ++ r0, _, e1 := Syscall(SYS_SHMCTL, uintptr(id), uintptr(cmd), uintptr(unsafe.Pointer(buf))) ++ result = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmdt(addr uintptr) (err error) { ++ _, _, e1 := Syscall(SYS_SHMDT, uintptr(addr), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func shmget(key int, size int, flag int) (id int, err error) { ++ r0, _, e1 := Syscall(SYS_SHMGET, uintptr(key), uintptr(size), uintptr(flag)) ++ id = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func getitimer(which int, currValue *Itimerval) (err error) { ++ _, _, e1 := Syscall(SYS_GETITIMER, uintptr(which), uintptr(unsafe.Pointer(currValue)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func setitimer(which int, newValue *Itimerval, oldValue *Itimerval) (err error) { ++ _, _, e1 := Syscall(SYS_SETITIMER, uintptr(which), uintptr(unsafe.Pointer(newValue)), uintptr(unsafe.Pointer(oldValue))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func rtSigprocmask(how int, set *Sigset_t, oldset *Sigset_t, sigsetsize uintptr) (err error) { ++ _, _, e1 := RawSyscall6(SYS_RT_SIGPROCMASK, uintptr(how), uintptr(unsafe.Pointer(set)), uintptr(unsafe.Pointer(oldset)), uintptr(sigsetsize), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +index e37096e..c81b0ad 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go ++// go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && 386 +@@ -46,37 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -181,17 +150,6 @@ func Getuid() (uid int) { + + // 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 { +@@ -242,7 +200,7 @@ func Lstat(path string, stat *Stat_t) (err error) { + + // 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) { ++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]) +@@ -259,7 +217,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -329,46 +287,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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) +@@ -569,9 +487,9 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +index 9919d84..2206bce 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go ++// go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && amd64 +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -191,17 +170,6 @@ func Getuid() (uid int) { + + // 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 { +@@ -247,6 +215,17 @@ func Listen(s int, n int) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func MemfdSecret(flags int) (fd int, err error) { ++ r0, _, e1 := Syscall(SYS_MEMFD_SECRET, 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 Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { +@@ -257,7 +236,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -274,7 +253,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -355,36 +334,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -395,16 +344,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -476,17 +415,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -711,19 +639,13 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // 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) ++func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(cmdline) ++ if err != nil { ++ return + } +- return +-} +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } +@@ -732,13 +654,9 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(cmdline) +- if err != nil { +- return +- } +- _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +index 076754d..edf6b39 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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) +@@ -235,27 +214,6 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -340,17 +298,6 @@ func Getuid() (uid int) { + + // 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) +@@ -465,46 +412,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -591,7 +498,7 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // 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) { ++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]) +@@ -608,7 +515,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -681,17 +588,6 @@ func setrlimit(resource int, rlim *rlimit32) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(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 armSyncFileRange(fd int, flags int, off int64, n int64) (err error) { + _, _, e1 := Syscall6(SYS_ARM_SYNC_FILE_RANGE, uintptr(fd), uintptr(flags), uintptr(off), uintptr(off>>32), uintptr(n), uintptr(n>>32)) + if e1 != 0 { +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +index e893f98..190609f 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +@@ -180,7 +180,18 @@ func Listen(s int, n int) (err error) { + + // 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) { ++func MemfdSecret(flags int) (fd int, err error) { ++ r0, _, e1 := Syscall(SYS_MEMFD_SECRET, 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 pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) +@@ -197,7 +208,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -278,36 +289,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -318,16 +299,6 @@ func setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -389,17 +360,6 @@ func Truncate(path string, length int64) (err error) { + + // 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) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +new file mode 100644 +index 0000000..806ffd1 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +@@ -0,0 +1,487 @@ ++// go run mksyscall.go -tags linux,loong64 syscall_linux.go syscall_linux_loong64.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build linux && loong64 ++// +build linux,loong64 ++ ++package unix ++ ++import ( ++ "syscall" ++ "unsafe" ++) ++ ++var _ syscall.Errno ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) { ++ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0) ++ 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 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 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 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 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, _ := RawSyscallNoError(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, _ := RawSyscallNoError(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, _ := RawSyscallNoError(SYS_GETGID, 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, _ := RawSyscallNoError(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 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) (prev int, err error) { ++ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0) ++ prev = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func setfsuid(uid int) (prev int, err error) { ++ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0) ++ prev = int(r0) ++ 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) ++ 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) ++ 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 kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(cmdline) ++ if err != nil { ++ return ++ } ++ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +index 4703cf3..5f984cb 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go ++// go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && mips +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -171,7 +150,7 @@ func Listen(s int, n int) (err error) { + + // 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) { ++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]) +@@ -188,7 +167,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -269,46 +248,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 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 { +@@ -365,17 +304,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -544,17 +472,6 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + + // 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 { +@@ -706,18 +623,6 @@ func Pause() (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func pipe() (p1 int, p2 int, err error) { +- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0) +- p1 = int(r0) +- p2 = int(r1) +- 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) +@@ -749,9 +654,9 @@ func setrlimit(resource int, rlim *rlimit32) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +index a134f9a..46fc380 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go ++// go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && mips64 +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -201,7 +180,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -218,7 +197,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -299,36 +278,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -339,16 +288,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -420,17 +359,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -720,9 +648,9 @@ func stat(path string, st *stat_t) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +index b1fff2d..cbd0d4d 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -201,7 +180,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -218,7 +197,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -299,36 +278,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -339,16 +288,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -420,17 +359,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -717,14 +645,3 @@ func stat(path string, st *stat_t) (err error) { + } + return + } +- +-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +- +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) +- if e1 != 0 { +- err = errnoErr(e1) +- } +- return +-} +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +index d13d6da..0c13d15 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go ++// go run mksyscall.go -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && mipsle +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -171,7 +150,7 @@ func Listen(s int, n int) (err error) { + + // 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) { ++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]) +@@ -188,7 +167,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -269,46 +248,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 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 { +@@ -365,17 +304,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -544,17 +472,6 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + + // 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 { +@@ -706,18 +623,6 @@ func Pause() (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func pipe() (p1 int, p2 int, err error) { +- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0) +- p1 = int(r0) +- p2 = int(r1) +- 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) +@@ -749,9 +654,9 @@ func setrlimit(resource int, rlim *rlimit32) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +index 927cf1a..e01432a 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -b32 -tags linux,ppc syscall_linux.go syscall_linux_ppc.go ++// go run mksyscall.go -b32 -tags linux,ppc syscall_linux.go syscall_linux_ppc.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && ppc +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -161,17 +140,6 @@ func Getuid() (uid int) { + + // 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 { +@@ -242,7 +210,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -259,7 +227,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -340,46 +308,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 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 { +@@ -441,17 +369,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -717,27 +634,6 @@ func setrlimit(resource int, rlim *rlimit32) (err error) { + + // 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 poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(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 syncFileRange2(fd int, flags int, off int64, n int64) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(flags), uintptr(off>>32), uintptr(off), uintptr(n>>32), uintptr(n)) + if e1 != 0 { +@@ -760,3 +656,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f + } + return + } ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) ++ 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 +index da8ec03..13c7ee7 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go ++// go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && ppc64 +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -191,17 +170,6 @@ func Getuid() (uid int) { + + // 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 { +@@ -272,7 +240,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -289,7 +257,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -381,36 +349,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -421,16 +359,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -507,17 +435,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -763,27 +680,6 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // 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 poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(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 syncFileRange2(fd int, flags int, off int64, n int64) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(flags), uintptr(off), uintptr(n), 0, 0) + if e1 != 0 { +@@ -806,3 +702,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f + } + return + } ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) ++ 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 +index 083f493..02d0c0f 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go ++// go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && ppc64le +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -191,17 +170,6 @@ func Getuid() (uid int) { + + // 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 { +@@ -272,7 +240,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -289,7 +257,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -381,36 +349,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -421,16 +359,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -507,17 +435,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { + + // 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) +@@ -763,27 +680,6 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // 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 poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(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 syncFileRange2(fd int, flags int, off int64, n int64) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(flags), uintptr(off), uintptr(n), 0, 0) + if e1 != 0 { +@@ -806,3 +702,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f + } + return + } ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +index 63b393b..9fee3b1 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +@@ -180,7 +180,18 @@ func Listen(s int, n int) (err error) { + + // 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) { ++func MemfdSecret(flags int) (fd int, err error) { ++ r0, _, e1 := Syscall(SYS_MEMFD_SECRET, 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 pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) +@@ -197,7 +208,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -258,36 +269,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -298,16 +279,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -369,17 +340,6 @@ func Truncate(path string, length int64) (err error) { + + // 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) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +index bb34740..647bbfe 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go ++// go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && s390x +@@ -46,27 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + + // 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 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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { +@@ -191,17 +170,6 @@ func Getuid() (uid int) { + + // 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) +@@ -242,7 +210,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -259,7 +227,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -351,36 +319,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -391,16 +329,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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) +@@ -553,9 +481,13 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(cmdline) ++ if err != nil { ++ return ++ } ++ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } +@@ -564,13 +496,9 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +-func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { +- var _p0 *byte +- _p0, err = BytePtrFromString(cmdline) +- if err != nil { +- return +- } +- _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +index 8edc517..ada057f 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go ++// go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go syscall_linux_alarm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build linux && sparc64 +@@ -73,16 +73,6 @@ func Fadvise(fd int, offset int64, length int64, advice int) (err error) { + + // 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 { +@@ -180,17 +170,6 @@ func Getuid() (uid int) { + + // 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) +@@ -241,7 +220,7 @@ func Pause() (err error) { + + // 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) { ++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]) +@@ -258,7 +237,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +@@ -350,36 +329,6 @@ func setfsuid(uid int) (prev int, err error) { + + // 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 { +@@ -390,16 +339,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) { + + // 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 { +@@ -476,17 +415,6 @@ func Truncate(path string, length int64) (err error) { + + // 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) +@@ -721,19 +649,9 @@ func utimes(path string, times *[2]Timeval) (err error) { + + // 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 poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) +- n = int(r0) ++func Alarm(seconds uint) (remaining uint, err error) { ++ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0) ++ remaining = uint(r0) + if e1 != 0 { + err = errnoErr(e1) + } +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +index 4726ab3..4af561a 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +@@ -351,18 +351,6 @@ func Munlockall() (err error) { + + // 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 pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { +@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +index fe71456..3b90e94 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +@@ -351,18 +351,6 @@ func Munlockall() (err error) { + + // 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 pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { +@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +index 0b5b2f0..890f4cc 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +@@ -351,18 +351,6 @@ func Munlockall() (err error) { + + // 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 pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { +@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +index bfca286..c79f071 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +@@ -351,18 +351,6 @@ func Munlockall() (err error) { + + // 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 pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { +@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +index 8f80f4a..2925fe0 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go ++// go run mksyscall.go -l32 -openbsd -libc -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build openbsd && 386 +@@ -16,7 +16,7 @@ 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) { + return + } + ++var libc_getgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgroups getgroups "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgroups setgroups "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err + return + } + ++var libc_wait4_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + return + } + ++var libc_accept_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_accept accept "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_bind_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_bind bind "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_connect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_connect connect "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) { + return + } + ++var libc_socket_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socket socket "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getpeername_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpeername getpeername "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockname_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockname getsockname "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_shutdown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shutdown shutdown "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_socketpair_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socketpair socketpair "libc.so" ++ + // 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) { +@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + } 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))) ++ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, 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) +@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + return + } + ++var libc_recvfrom_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so" ++ + // 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) { +@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) ( + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) ++ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sendto_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendto sendto "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_recvmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_sendmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne + return + } + ++var libc_kevent_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kevent kevent "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func utimes(path string, timeval *[2]Timeval) (err error) { +@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) ++ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_utimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimes utimes "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_futimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_futimes futimes "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) ++ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + return + } + ++var libc_poll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_poll poll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Madvise(b []byte, behav int) (err error) { +@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav)) ++ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_madvise_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_madvise madvise "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mlock(b []byte) (err error) { +@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlock mlock "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mprotect(b []byte, prot int) (err error) { +@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) ++ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mprotect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Msync(b []byte, flags int) (err error) { +@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_msync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_msync msync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlock(b []byte) (err error) { +@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlock munlock "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlockall() (err error) { +- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_pipe2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getdents(fd int, buf []byte) (n int, err error) { +@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) { + return + } + ++var libc_getdents_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getdents getdents "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getcwd(buf []byte) (n int, err error) { +@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0) ++ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) { + return + } + ++var libc_getcwd_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ioctl(fd int, req uint, arg uintptr) (err error) { +- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) ++ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ioctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" ++ + // 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) { +@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) + } 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)) ++ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sysctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sysctl sysctl "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { +- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, + return + } + ++var libc_ppoll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ppoll ppoll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Access(path string, mode uint32) (err error) { +@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_access_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_access access "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_adjtime_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_adjtime adjtime "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chdir(path string) (err error) { +@@ -463,13 +607,17 @@ func Chdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chdir chdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chflags(path string, flags int) (err error) { +@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chflags chflags "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chmod(path string, mode uint32) (err error) { +@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chmod chmod "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chown(path string, uid int, gid int) (err error) { +@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chown chown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chroot(path string) (err error) { +@@ -523,27 +683,35 @@ func Chroot(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chroot_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chroot chroot "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_close_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_close close "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0) + nfd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) { + return + } + ++var libc_dup_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup dup "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Dup3(from int, to int, flags int) (err error) { +- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup3_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup3 dup3 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Exit(code int) { +- Syscall(SYS_EXIT, uintptr(code), 0, 0) ++ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0) + return + } + ++var libc_exit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_exit exit "libc.so" ++ + // 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) { +@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_faccessat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_faccessat faccessat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchdir fchdir "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchflags fchflags "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmod fchmod "libc.so" ++ + // 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) { +@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchown fchown "libc.so" ++ + // 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) { +@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchownat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_flock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_flock flock "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) { + return + } + ++var libc_fpathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstat fstat "libc.so" ++ + // 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) { +@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatat fstatat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fsync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fsync fsync "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), uintptr(length>>32)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ftruncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getegid() (egid int) { +- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0) + egid = int(r0) + return + } + ++var libc_getegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getegid getegid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Geteuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_geteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_geteuid geteuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getgid() (gid int) { +- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0) + gid = int(r0) + return + } + ++var libc_getgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgid getgid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) { + return + } + ++var libc_getpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpgrp() (pgrp int) { +- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0) + pgrp = int(r0) + return + } + ++var libc_getpgrp_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpid() (pid int) { +- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0) + pid = int(r0) + return + } + ++var libc_getpid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpid getpid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getppid() (ppid int) { +- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0) + ppid = int(r0) + return + } + ++var libc_getppid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getppid getppid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) { + return + } + ++var libc_getpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpriority getpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getrtable() (rtable int, err error) { +- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0) ++ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0) + rtable = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) { + return + } + ++var libc_getrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrtable getrtable "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrusage_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0) + sid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) { + return + } + ++var libc_getsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsid getsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_gettimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_getuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getuid getuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Issetugid() (tainted bool) { +- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) ++ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0) + tainted = bool(r0 != 0) + return + } + ++var libc_issetugid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_issetugid issetugid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_kill_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kill kill "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) { + return + } + ++var libc_kqueue_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kqueue kqueue "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lchown(path string, uid int, gid int) (err error) { +@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lchown lchown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Link(path string, link string) (err error) { +@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_link_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_link link "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { +@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_linkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_linkat linkat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_listen_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_listen listen "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lstat(path string, stat *Stat_t) (err error) { +@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lstat lstat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdir(path string, mode uint32) (err error) { +@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdir mkdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdirat(dirfd int, path string, mode uint32) (err error) { +@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdirat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifo(path string, mode uint32) (err error) { +@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifo_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifoat(dirfd int, path string, mode uint32) (err error) { +@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifoat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mknod(path string, mode uint32, dev int) (err error) { +@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) ++ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknod mknod "libc.so" ++ + // 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) { +@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_nanosleep_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" ++ + // 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) { +@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) ++ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_open_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_open open "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { +@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_openat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_openat openat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Pathconf(path string, name int) (val int, err error) { +@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) ++ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) { + return + } + ++var libc_pathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pathconf pathconf "libc.so" ++ + // 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) { ++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)) ++ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pread_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pread pread "libc.so" ++ + // 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) { ++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)) ++ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pwrite_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pwrite pwrite "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func read(fd int, p []byte) (n int, err error) { +@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) { + return + } + ++var libc_read_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_read read "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Readlink(path string, buf []byte) (n int, err error) { +@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlink readlink "libc.so" ++ + // 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) { +@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rename(from string, to string) (err error) { +@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rename_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rename rename "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Renameat(fromfd int, from string, tofd int, to string) (err error) { +@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_renameat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_renameat renameat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Revoke(path string) (err error) { +@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_revoke_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_revoke revoke "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rmdir(path string) (err error) { +@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rmdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rmdir rmdir "libc.so" ++ + // 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) ++ r0, r1, e1 := syscall_syscall6(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0) + newoffset = int64(int64(r1)<<32 | int64(r0)) + if e1 != 0 { + err = errnoErr(e1) +@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + return + } + ++var libc_lseek_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lseek lseek "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, 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) +@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + return + } + ++var libc_select_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_select select "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setegid setegid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_seteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_seteuid seteuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgid setgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setlogin(name string) (err error) { +@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setlogin_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setlogin setlogin "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpgid setpgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpriority setpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setregid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setregid setregid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setreuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setreuid setreuid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresgid setresgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresuid setresuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setrtable(rtable int) (err error) { +- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0) ++ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrtable setrtable "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) { + return + } + ++var libc_setsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsid setsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_settimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setuid setuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Stat(path string, stat *Stat_t) (err error) { +@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_stat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_stat stat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Statfs(path string, stat *Statfs_t) (err error) { +@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_statfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_statfs statfs "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlink(path string, link string) (err error) { +@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlink symlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { +@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) ++ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Sync() (err error) { +- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sync sync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Truncate(path string, length int64) (err error) { +@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0) ++ _, _, e1 := syscall_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_truncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_truncate truncate "libc.so" ++ + // 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) ++ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0) + oldmask = int(r0) + return + } + ++var libc_umask_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_umask umask "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlink(path string) (err error) { +@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlink unlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlinkat(dirfd int, path string, flags int) (err error) { +@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unmount(path string, flags int) (err error) { +@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unmount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unmount unmount "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func write(fd int, p []byte) (n int, err error) { +@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) { + return + } + ++var libc_write_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_write write "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall9(libc_mmap_trampoline_addr, 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) +@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) ( + return + } + ++var libc_mmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mmap mmap "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munmap munmap "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) { + // 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)) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } ++ ++var libc_utimensat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +new file mode 100644 +index 0000000..75eb2f5 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +@@ -0,0 +1,796 @@ ++// go run mkasm.go openbsd 386 ++// Code generated by the command above; DO NOT EDIT. ++ ++#include "textflag.h" ++ ++TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgroups(SB) ++ ++GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getgroups_trampoline_addr(SB)/4, $libc_getgroups_trampoline<>(SB) ++ ++TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgroups(SB) ++ ++GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setgroups_trampoline_addr(SB)/4, $libc_setgroups_trampoline<>(SB) ++ ++TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_wait4(SB) ++ ++GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_wait4_trampoline_addr(SB)/4, $libc_wait4_trampoline<>(SB) ++ ++TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_accept(SB) ++ ++GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_accept_trampoline_addr(SB)/4, $libc_accept_trampoline<>(SB) ++ ++TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_bind(SB) ++ ++GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_bind_trampoline_addr(SB)/4, $libc_bind_trampoline<>(SB) ++ ++TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_connect(SB) ++ ++GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_connect_trampoline_addr(SB)/4, $libc_connect_trampoline<>(SB) ++ ++TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socket(SB) ++ ++GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_socket_trampoline_addr(SB)/4, $libc_socket_trampoline<>(SB) ++ ++TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockopt(SB) ++ ++GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getsockopt_trampoline_addr(SB)/4, $libc_getsockopt_trampoline<>(SB) ++ ++TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsockopt(SB) ++ ++GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setsockopt_trampoline_addr(SB)/4, $libc_setsockopt_trampoline<>(SB) ++ ++TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpeername(SB) ++ ++GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpeername_trampoline_addr(SB)/4, $libc_getpeername_trampoline<>(SB) ++ ++TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockname(SB) ++ ++GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getsockname_trampoline_addr(SB)/4, $libc_getsockname_trampoline<>(SB) ++ ++TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shutdown(SB) ++ ++GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_shutdown_trampoline_addr(SB)/4, $libc_shutdown_trampoline<>(SB) ++ ++TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socketpair(SB) ++ ++GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_socketpair_trampoline_addr(SB)/4, $libc_socketpair_trampoline<>(SB) ++ ++TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvfrom(SB) ++ ++GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_recvfrom_trampoline_addr(SB)/4, $libc_recvfrom_trampoline<>(SB) ++ ++TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendto(SB) ++ ++GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sendto_trampoline_addr(SB)/4, $libc_sendto_trampoline<>(SB) ++ ++TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvmsg(SB) ++ ++GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_recvmsg_trampoline_addr(SB)/4, $libc_recvmsg_trampoline<>(SB) ++ ++TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendmsg(SB) ++ ++GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sendmsg_trampoline_addr(SB)/4, $libc_sendmsg_trampoline<>(SB) ++ ++TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kevent(SB) ++ ++GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_kevent_trampoline_addr(SB)/4, $libc_kevent_trampoline<>(SB) ++ ++TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimes(SB) ++ ++GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_utimes_trampoline_addr(SB)/4, $libc_utimes_trampoline<>(SB) ++ ++TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_futimes(SB) ++ ++GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_futimes_trampoline_addr(SB)/4, $libc_futimes_trampoline<>(SB) ++ ++TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_poll(SB) ++ ++GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_poll_trampoline_addr(SB)/4, $libc_poll_trampoline<>(SB) ++ ++TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_madvise(SB) ++ ++GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_madvise_trampoline_addr(SB)/4, $libc_madvise_trampoline<>(SB) ++ ++TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlock(SB) ++ ++GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mlock_trampoline_addr(SB)/4, $libc_mlock_trampoline<>(SB) ++ ++TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlockall(SB) ++ ++GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mlockall_trampoline_addr(SB)/4, $libc_mlockall_trampoline<>(SB) ++ ++TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mprotect(SB) ++ ++GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mprotect_trampoline_addr(SB)/4, $libc_mprotect_trampoline<>(SB) ++ ++TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_msync(SB) ++ ++GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_msync_trampoline_addr(SB)/4, $libc_msync_trampoline<>(SB) ++ ++TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlock(SB) ++ ++GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_munlock_trampoline_addr(SB)/4, $libc_munlock_trampoline<>(SB) ++ ++TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlockall(SB) ++ ++GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_munlockall_trampoline_addr(SB)/4, $libc_munlockall_trampoline<>(SB) ++ ++TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pipe2(SB) ++ ++GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pipe2_trampoline_addr(SB)/4, $libc_pipe2_trampoline<>(SB) ++ ++TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getdents(SB) ++ ++GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getdents_trampoline_addr(SB)/4, $libc_getdents_trampoline<>(SB) ++ ++TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getcwd(SB) ++ ++GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB) ++ ++TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ioctl(SB) ++ ++GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_ioctl_trampoline_addr(SB)/4, $libc_ioctl_trampoline<>(SB) ++ ++TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sysctl(SB) ++ ++GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sysctl_trampoline_addr(SB)/4, $libc_sysctl_trampoline<>(SB) ++ ++TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ppoll(SB) ++ ++GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_ppoll_trampoline_addr(SB)/4, $libc_ppoll_trampoline<>(SB) ++ ++TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_access(SB) ++ ++GLOBL ·libc_access_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_access_trampoline_addr(SB)/4, $libc_access_trampoline<>(SB) ++ ++TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_adjtime(SB) ++ ++GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_adjtime_trampoline_addr(SB)/4, $libc_adjtime_trampoline<>(SB) ++ ++TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chdir(SB) ++ ++GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chdir_trampoline_addr(SB)/4, $libc_chdir_trampoline<>(SB) ++ ++TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chflags(SB) ++ ++GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chflags_trampoline_addr(SB)/4, $libc_chflags_trampoline<>(SB) ++ ++TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chmod(SB) ++ ++GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chmod_trampoline_addr(SB)/4, $libc_chmod_trampoline<>(SB) ++ ++TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chown(SB) ++ ++GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chown_trampoline_addr(SB)/4, $libc_chown_trampoline<>(SB) ++ ++TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chroot(SB) ++ ++GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chroot_trampoline_addr(SB)/4, $libc_chroot_trampoline<>(SB) ++ ++TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_close(SB) ++ ++GLOBL ·libc_close_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_close_trampoline_addr(SB)/4, $libc_close_trampoline<>(SB) ++ ++TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup(SB) ++ ++GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_dup_trampoline_addr(SB)/4, $libc_dup_trampoline<>(SB) ++ ++TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup2(SB) ++ ++GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_dup2_trampoline_addr(SB)/4, $libc_dup2_trampoline<>(SB) ++ ++TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup3(SB) ++ ++GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_dup3_trampoline_addr(SB)/4, $libc_dup3_trampoline<>(SB) ++ ++TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_exit(SB) ++ ++GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_exit_trampoline_addr(SB)/4, $libc_exit_trampoline<>(SB) ++ ++TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_faccessat(SB) ++ ++GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_faccessat_trampoline_addr(SB)/4, $libc_faccessat_trampoline<>(SB) ++ ++TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchdir(SB) ++ ++GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchdir_trampoline_addr(SB)/4, $libc_fchdir_trampoline<>(SB) ++ ++TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchflags(SB) ++ ++GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchflags_trampoline_addr(SB)/4, $libc_fchflags_trampoline<>(SB) ++ ++TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmod(SB) ++ ++GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchmod_trampoline_addr(SB)/4, $libc_fchmod_trampoline<>(SB) ++ ++TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmodat(SB) ++ ++GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchmodat_trampoline_addr(SB)/4, $libc_fchmodat_trampoline<>(SB) ++ ++TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchown(SB) ++ ++GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchown_trampoline_addr(SB)/4, $libc_fchown_trampoline<>(SB) ++ ++TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchownat(SB) ++ ++GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchownat_trampoline_addr(SB)/4, $libc_fchownat_trampoline<>(SB) ++ ++TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_flock(SB) ++ ++GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_flock_trampoline_addr(SB)/4, $libc_flock_trampoline<>(SB) ++ ++TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fpathconf(SB) ++ ++GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fpathconf_trampoline_addr(SB)/4, $libc_fpathconf_trampoline<>(SB) ++ ++TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstat(SB) ++ ++GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fstat_trampoline_addr(SB)/4, $libc_fstat_trampoline<>(SB) ++ ++TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatat(SB) ++ ++GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fstatat_trampoline_addr(SB)/4, $libc_fstatat_trampoline<>(SB) ++ ++TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatfs(SB) ++ ++GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fstatfs_trampoline_addr(SB)/4, $libc_fstatfs_trampoline<>(SB) ++ ++TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fsync(SB) ++ ++GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fsync_trampoline_addr(SB)/4, $libc_fsync_trampoline<>(SB) ++ ++TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ftruncate(SB) ++ ++GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_ftruncate_trampoline_addr(SB)/4, $libc_ftruncate_trampoline<>(SB) ++ ++TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getegid(SB) ++ ++GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getegid_trampoline_addr(SB)/4, $libc_getegid_trampoline<>(SB) ++ ++TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_geteuid(SB) ++ ++GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_geteuid_trampoline_addr(SB)/4, $libc_geteuid_trampoline<>(SB) ++ ++TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgid(SB) ++ ++GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getgid_trampoline_addr(SB)/4, $libc_getgid_trampoline<>(SB) ++ ++TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgid(SB) ++ ++GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpgid_trampoline_addr(SB)/4, $libc_getpgid_trampoline<>(SB) ++ ++TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgrp(SB) ++ ++GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpgrp_trampoline_addr(SB)/4, $libc_getpgrp_trampoline<>(SB) ++ ++TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpid(SB) ++ ++GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpid_trampoline_addr(SB)/4, $libc_getpid_trampoline<>(SB) ++ ++TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getppid(SB) ++ ++GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getppid_trampoline_addr(SB)/4, $libc_getppid_trampoline<>(SB) ++ ++TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpriority(SB) ++ ++GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpriority_trampoline_addr(SB)/4, $libc_getpriority_trampoline<>(SB) ++ ++TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrlimit(SB) ++ ++GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getrlimit_trampoline_addr(SB)/4, $libc_getrlimit_trampoline<>(SB) ++ ++TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrtable(SB) ++ ++GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getrtable_trampoline_addr(SB)/4, $libc_getrtable_trampoline<>(SB) ++ ++TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrusage(SB) ++ ++GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getrusage_trampoline_addr(SB)/4, $libc_getrusage_trampoline<>(SB) ++ ++TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsid(SB) ++ ++GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getsid_trampoline_addr(SB)/4, $libc_getsid_trampoline<>(SB) ++ ++TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_gettimeofday(SB) ++ ++GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_gettimeofday_trampoline_addr(SB)/4, $libc_gettimeofday_trampoline<>(SB) ++ ++TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getuid(SB) ++ ++GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getuid_trampoline_addr(SB)/4, $libc_getuid_trampoline<>(SB) ++ ++TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_issetugid(SB) ++ ++GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_issetugid_trampoline_addr(SB)/4, $libc_issetugid_trampoline<>(SB) ++ ++TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kill(SB) ++ ++GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_kill_trampoline_addr(SB)/4, $libc_kill_trampoline<>(SB) ++ ++TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kqueue(SB) ++ ++GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_kqueue_trampoline_addr(SB)/4, $libc_kqueue_trampoline<>(SB) ++ ++TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lchown(SB) ++ ++GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_lchown_trampoline_addr(SB)/4, $libc_lchown_trampoline<>(SB) ++ ++TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_link(SB) ++ ++GLOBL ·libc_link_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_link_trampoline_addr(SB)/4, $libc_link_trampoline<>(SB) ++ ++TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_linkat(SB) ++ ++GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_linkat_trampoline_addr(SB)/4, $libc_linkat_trampoline<>(SB) ++ ++TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_listen(SB) ++ ++GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_listen_trampoline_addr(SB)/4, $libc_listen_trampoline<>(SB) ++ ++TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lstat(SB) ++ ++GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_lstat_trampoline_addr(SB)/4, $libc_lstat_trampoline<>(SB) ++ ++TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdir(SB) ++ ++GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkdir_trampoline_addr(SB)/4, $libc_mkdir_trampoline<>(SB) ++ ++TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdirat(SB) ++ ++GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkdirat_trampoline_addr(SB)/4, $libc_mkdirat_trampoline<>(SB) ++ ++TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifo(SB) ++ ++GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkfifo_trampoline_addr(SB)/4, $libc_mkfifo_trampoline<>(SB) ++ ++TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifoat(SB) ++ ++GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkfifoat_trampoline_addr(SB)/4, $libc_mkfifoat_trampoline<>(SB) ++ ++TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknod(SB) ++ ++GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mknod_trampoline_addr(SB)/4, $libc_mknod_trampoline<>(SB) ++ ++TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknodat(SB) ++ ++GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB) ++ ++TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_nanosleep(SB) ++ ++GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_nanosleep_trampoline_addr(SB)/4, $libc_nanosleep_trampoline<>(SB) ++ ++TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_open(SB) ++ ++GLOBL ·libc_open_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_open_trampoline_addr(SB)/4, $libc_open_trampoline<>(SB) ++ ++TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_openat(SB) ++ ++GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_openat_trampoline_addr(SB)/4, $libc_openat_trampoline<>(SB) ++ ++TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pathconf(SB) ++ ++GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pathconf_trampoline_addr(SB)/4, $libc_pathconf_trampoline<>(SB) ++ ++TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pread(SB) ++ ++GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pread_trampoline_addr(SB)/4, $libc_pread_trampoline<>(SB) ++ ++TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pwrite(SB) ++ ++GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pwrite_trampoline_addr(SB)/4, $libc_pwrite_trampoline<>(SB) ++ ++TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_read(SB) ++ ++GLOBL ·libc_read_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_read_trampoline_addr(SB)/4, $libc_read_trampoline<>(SB) ++ ++TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlink(SB) ++ ++GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_readlink_trampoline_addr(SB)/4, $libc_readlink_trampoline<>(SB) ++ ++TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlinkat(SB) ++ ++GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_readlinkat_trampoline_addr(SB)/4, $libc_readlinkat_trampoline<>(SB) ++ ++TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rename(SB) ++ ++GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_rename_trampoline_addr(SB)/4, $libc_rename_trampoline<>(SB) ++ ++TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_renameat(SB) ++ ++GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_renameat_trampoline_addr(SB)/4, $libc_renameat_trampoline<>(SB) ++ ++TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_revoke(SB) ++ ++GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_revoke_trampoline_addr(SB)/4, $libc_revoke_trampoline<>(SB) ++ ++TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rmdir(SB) ++ ++GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_rmdir_trampoline_addr(SB)/4, $libc_rmdir_trampoline<>(SB) ++ ++TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lseek(SB) ++ ++GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_lseek_trampoline_addr(SB)/4, $libc_lseek_trampoline<>(SB) ++ ++TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_select(SB) ++ ++GLOBL ·libc_select_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_select_trampoline_addr(SB)/4, $libc_select_trampoline<>(SB) ++ ++TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setegid(SB) ++ ++GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setegid_trampoline_addr(SB)/4, $libc_setegid_trampoline<>(SB) ++ ++TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_seteuid(SB) ++ ++GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_seteuid_trampoline_addr(SB)/4, $libc_seteuid_trampoline<>(SB) ++ ++TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgid(SB) ++ ++GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setgid_trampoline_addr(SB)/4, $libc_setgid_trampoline<>(SB) ++ ++TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setlogin(SB) ++ ++GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setlogin_trampoline_addr(SB)/4, $libc_setlogin_trampoline<>(SB) ++ ++TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpgid(SB) ++ ++GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setpgid_trampoline_addr(SB)/4, $libc_setpgid_trampoline<>(SB) ++ ++TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpriority(SB) ++ ++GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setpriority_trampoline_addr(SB)/4, $libc_setpriority_trampoline<>(SB) ++ ++TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setregid(SB) ++ ++GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setregid_trampoline_addr(SB)/4, $libc_setregid_trampoline<>(SB) ++ ++TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setreuid(SB) ++ ++GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setreuid_trampoline_addr(SB)/4, $libc_setreuid_trampoline<>(SB) ++ ++TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresgid(SB) ++ ++GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setresgid_trampoline_addr(SB)/4, $libc_setresgid_trampoline<>(SB) ++ ++TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresuid(SB) ++ ++GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setresuid_trampoline_addr(SB)/4, $libc_setresuid_trampoline<>(SB) ++ ++TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrlimit(SB) ++ ++GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setrlimit_trampoline_addr(SB)/4, $libc_setrlimit_trampoline<>(SB) ++ ++TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrtable(SB) ++ ++GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setrtable_trampoline_addr(SB)/4, $libc_setrtable_trampoline<>(SB) ++ ++TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsid(SB) ++ ++GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setsid_trampoline_addr(SB)/4, $libc_setsid_trampoline<>(SB) ++ ++TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_settimeofday(SB) ++ ++GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_settimeofday_trampoline_addr(SB)/4, $libc_settimeofday_trampoline<>(SB) ++ ++TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setuid(SB) ++ ++GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setuid_trampoline_addr(SB)/4, $libc_setuid_trampoline<>(SB) ++ ++TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_stat(SB) ++ ++GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_stat_trampoline_addr(SB)/4, $libc_stat_trampoline<>(SB) ++ ++TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_statfs(SB) ++ ++GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_statfs_trampoline_addr(SB)/4, $libc_statfs_trampoline<>(SB) ++ ++TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlink(SB) ++ ++GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_symlink_trampoline_addr(SB)/4, $libc_symlink_trampoline<>(SB) ++ ++TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlinkat(SB) ++ ++GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_symlinkat_trampoline_addr(SB)/4, $libc_symlinkat_trampoline<>(SB) ++ ++TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sync(SB) ++ ++GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sync_trampoline_addr(SB)/4, $libc_sync_trampoline<>(SB) ++ ++TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_truncate(SB) ++ ++GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_truncate_trampoline_addr(SB)/4, $libc_truncate_trampoline<>(SB) ++ ++TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_umask(SB) ++ ++GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_umask_trampoline_addr(SB)/4, $libc_umask_trampoline<>(SB) ++ ++TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlink(SB) ++ ++GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_unlink_trampoline_addr(SB)/4, $libc_unlink_trampoline<>(SB) ++ ++TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlinkat(SB) ++ ++GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_unlinkat_trampoline_addr(SB)/4, $libc_unlinkat_trampoline<>(SB) ++ ++TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unmount(SB) ++ ++GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_unmount_trampoline_addr(SB)/4, $libc_unmount_trampoline<>(SB) ++ ++TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_write(SB) ++ ++GLOBL ·libc_write_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_write_trampoline_addr(SB)/4, $libc_write_trampoline<>(SB) ++ ++TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mmap(SB) ++ ++GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mmap_trampoline_addr(SB)/4, $libc_mmap_trampoline<>(SB) ++ ++TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munmap(SB) ++ ++GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB) ++ ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) ++ ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +index 3a47aca..98446d2 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go ++// go run mksyscall.go -openbsd -libc -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build openbsd && amd64 +@@ -16,7 +16,7 @@ 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) { + return + } + ++var libc_getgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgroups getgroups "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgroups setgroups "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err + return + } + ++var libc_wait4_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + return + } + ++var libc_accept_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_accept accept "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_bind_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_bind bind "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_connect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_connect connect "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) { + return + } + ++var libc_socket_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socket socket "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getpeername_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpeername getpeername "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockname_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockname getsockname "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_shutdown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shutdown shutdown "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_socketpair_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socketpair socketpair "libc.so" ++ + // 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) { +@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + } 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))) ++ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, 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) +@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + return + } + ++var libc_recvfrom_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so" ++ + // 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) { +@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) ( + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) ++ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sendto_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendto sendto "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_recvmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_sendmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne + return + } + ++var libc_kevent_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kevent kevent "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func utimes(path string, timeval *[2]Timeval) (err error) { +@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) ++ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_utimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimes utimes "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_futimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_futimes futimes "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) ++ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + return + } + ++var libc_poll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_poll poll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Madvise(b []byte, behav int) (err error) { +@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav)) ++ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_madvise_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_madvise madvise "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mlock(b []byte) (err error) { +@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlock mlock "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mprotect(b []byte, prot int) (err error) { +@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) ++ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mprotect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Msync(b []byte, flags int) (err error) { +@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_msync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_msync msync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlock(b []byte) (err error) { +@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlock munlock "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlockall() (err error) { +- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_pipe2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getdents(fd int, buf []byte) (n int, err error) { +@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) { + return + } + ++var libc_getdents_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getdents getdents "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getcwd(buf []byte) (n int, err error) { +@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0) ++ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) { + return + } + ++var libc_getcwd_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ioctl(fd int, req uint, arg uintptr) (err error) { +- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) ++ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ioctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" ++ + // 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) { +@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) + } 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)) ++ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sysctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sysctl sysctl "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { +- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, + return + } + ++var libc_ppoll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ppoll ppoll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Access(path string, mode uint32) (err error) { +@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_access_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_access access "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_adjtime_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_adjtime adjtime "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chdir(path string) (err error) { +@@ -463,13 +607,17 @@ func Chdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chdir chdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chflags(path string, flags int) (err error) { +@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chflags chflags "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chmod(path string, mode uint32) (err error) { +@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chmod chmod "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chown(path string, uid int, gid int) (err error) { +@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chown chown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chroot(path string) (err error) { +@@ -523,27 +683,35 @@ func Chroot(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chroot_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chroot chroot "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_close_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_close close "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0) + nfd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) { + return + } + ++var libc_dup_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup dup "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Dup3(from int, to int, flags int) (err error) { +- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup3_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup3 dup3 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Exit(code int) { +- Syscall(SYS_EXIT, uintptr(code), 0, 0) ++ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0) + return + } + ++var libc_exit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_exit exit "libc.so" ++ + // 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) { +@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_faccessat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_faccessat faccessat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchdir fchdir "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchflags fchflags "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmod fchmod "libc.so" ++ + // 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) { +@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchown fchown "libc.so" ++ + // 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) { +@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchownat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_flock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_flock flock "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) { + return + } + ++var libc_fpathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstat fstat "libc.so" ++ + // 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) { +@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatat fstatat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fsync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fsync fsync "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ftruncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getegid() (egid int) { +- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0) + egid = int(r0) + return + } + ++var libc_getegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getegid getegid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Geteuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_geteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_geteuid geteuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getgid() (gid int) { +- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0) + gid = int(r0) + return + } + ++var libc_getgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgid getgid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) { + return + } + ++var libc_getpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpgrp() (pgrp int) { +- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0) + pgrp = int(r0) + return + } + ++var libc_getpgrp_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpid() (pid int) { +- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0) + pid = int(r0) + return + } + ++var libc_getpid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpid getpid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getppid() (ppid int) { +- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0) + ppid = int(r0) + return + } + ++var libc_getppid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getppid getppid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) { + return + } + ++var libc_getpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpriority getpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getrtable() (rtable int, err error) { +- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0) ++ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0) + rtable = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) { + return + } + ++var libc_getrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrtable getrtable "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrusage_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0) + sid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) { + return + } + ++var libc_getsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsid getsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_gettimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_getuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getuid getuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Issetugid() (tainted bool) { +- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) ++ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0) + tainted = bool(r0 != 0) + return + } + ++var libc_issetugid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_issetugid issetugid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_kill_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kill kill "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) { + return + } + ++var libc_kqueue_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kqueue kqueue "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lchown(path string, uid int, gid int) (err error) { +@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lchown lchown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Link(path string, link string) (err error) { +@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_link_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_link link "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { +@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_linkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_linkat linkat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_listen_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_listen listen "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lstat(path string, stat *Stat_t) (err error) { +@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lstat lstat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdir(path string, mode uint32) (err error) { +@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdir mkdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdirat(dirfd int, path string, mode uint32) (err error) { +@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdirat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifo(path string, mode uint32) (err error) { +@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifo_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifoat(dirfd int, path string, mode uint32) (err error) { +@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifoat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mknod(path string, mode uint32, dev int) (err error) { +@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) ++ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknod mknod "libc.so" ++ + // 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) { +@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_nanosleep_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" ++ + // 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) { +@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) ++ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_open_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_open open "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { +@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_openat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_openat openat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Pathconf(path string, name int) (val int, err error) { +@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) ++ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) { + return + } + ++var libc_pathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pathconf pathconf "libc.so" ++ + // 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) { ++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) ++ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pread_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pread pread "libc.so" ++ + // 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) { ++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) ++ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pwrite_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pwrite pwrite "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func read(fd int, p []byte) (n int, err error) { +@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) { + return + } + ++var libc_read_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_read read "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Readlink(path string, buf []byte) (n int, err error) { +@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlink readlink "libc.so" ++ + // 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) { +@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rename(from string, to string) (err error) { +@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rename_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rename rename "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Renameat(fromfd int, from string, tofd int, to string) (err error) { +@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_renameat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_renameat renameat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Revoke(path string) (err error) { +@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_revoke_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_revoke revoke "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rmdir(path string) (err error) { +@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rmdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rmdir rmdir "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(whence)) + newoffset = int64(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + return + } + ++var libc_lseek_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lseek lseek "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, 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) +@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + return + } + ++var libc_select_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_select select "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setegid setegid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_seteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_seteuid seteuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgid setgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setlogin(name string) (err error) { +@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setlogin_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setlogin setlogin "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpgid setpgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpriority setpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setregid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setregid setregid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setreuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setreuid setreuid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresgid setresgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresuid setresuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setrtable(rtable int) (err error) { +- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0) ++ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrtable setrtable "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) { + return + } + ++var libc_setsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsid setsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_settimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setuid setuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Stat(path string, stat *Stat_t) (err error) { +@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_stat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_stat stat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Statfs(path string, stat *Statfs_t) (err error) { +@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_statfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_statfs statfs "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlink(path string, link string) (err error) { +@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlink symlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { +@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) ++ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Sync() (err error) { +- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sync sync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Truncate(path string, length int64) (err error) { +@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length)) ++ _, _, e1 := syscall_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_truncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_truncate truncate "libc.so" ++ + // 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) ++ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0) + oldmask = int(r0) + return + } + ++var libc_umask_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_umask umask "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlink(path string) (err error) { +@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlink unlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlinkat(dirfd int, path string, flags int) (err error) { +@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unmount(path string, flags int) (err error) { +@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unmount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unmount unmount "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func write(fd int, p []byte) (n int, err error) { +@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) { + return + } + ++var libc_write_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_write write "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) + ret = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) ( + return + } + ++var libc_mmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mmap mmap "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munmap munmap "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) { + // 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)) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } ++ ++var libc_utimensat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +new file mode 100644 +index 0000000..243a666 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +@@ -0,0 +1,796 @@ ++// go run mkasm.go openbsd amd64 ++// Code generated by the command above; DO NOT EDIT. ++ ++#include "textflag.h" ++ ++TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgroups(SB) ++ ++GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB) ++ ++TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgroups(SB) ++ ++GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB) ++ ++TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_wait4(SB) ++ ++GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB) ++ ++TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_accept(SB) ++ ++GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB) ++ ++TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_bind(SB) ++ ++GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB) ++ ++TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_connect(SB) ++ ++GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB) ++ ++TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socket(SB) ++ ++GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB) ++ ++TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockopt(SB) ++ ++GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB) ++ ++TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsockopt(SB) ++ ++GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB) ++ ++TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpeername(SB) ++ ++GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB) ++ ++TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockname(SB) ++ ++GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB) ++ ++TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shutdown(SB) ++ ++GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB) ++ ++TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socketpair(SB) ++ ++GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB) ++ ++TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvfrom(SB) ++ ++GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB) ++ ++TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendto(SB) ++ ++GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB) ++ ++TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvmsg(SB) ++ ++GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB) ++ ++TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendmsg(SB) ++ ++GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB) ++ ++TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kevent(SB) ++ ++GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB) ++ ++TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimes(SB) ++ ++GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB) ++ ++TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_futimes(SB) ++ ++GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB) ++ ++TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_poll(SB) ++ ++GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB) ++ ++TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_madvise(SB) ++ ++GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB) ++ ++TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlock(SB) ++ ++GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB) ++ ++TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlockall(SB) ++ ++GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB) ++ ++TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mprotect(SB) ++ ++GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB) ++ ++TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_msync(SB) ++ ++GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB) ++ ++TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlock(SB) ++ ++GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB) ++ ++TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlockall(SB) ++ ++GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) ++ ++TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pipe2(SB) ++ ++GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB) ++ ++TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getdents(SB) ++ ++GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB) ++ ++TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getcwd(SB) ++ ++GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB) ++ ++TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ioctl(SB) ++ ++GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) ++ ++TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sysctl(SB) ++ ++GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) ++ ++TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ppoll(SB) ++ ++GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB) ++ ++TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_access(SB) ++ ++GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB) ++ ++TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_adjtime(SB) ++ ++GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB) ++ ++TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chdir(SB) ++ ++GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) ++ ++TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chflags(SB) ++ ++GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB) ++ ++TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chmod(SB) ++ ++GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB) ++ ++TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chown(SB) ++ ++GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB) ++ ++TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chroot(SB) ++ ++GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB) ++ ++TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_close(SB) ++ ++GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) ++ ++TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup(SB) ++ ++GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB) ++ ++TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup2(SB) ++ ++GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) ++ ++TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup3(SB) ++ ++GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB) ++ ++TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_exit(SB) ++ ++GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) ++ ++TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_faccessat(SB) ++ ++GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB) ++ ++TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchdir(SB) ++ ++GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB) ++ ++TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchflags(SB) ++ ++GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB) ++ ++TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmod(SB) ++ ++GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB) ++ ++TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmodat(SB) ++ ++GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB) ++ ++TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchown(SB) ++ ++GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB) ++ ++TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchownat(SB) ++ ++GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB) ++ ++TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_flock(SB) ++ ++GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB) ++ ++TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fpathconf(SB) ++ ++GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB) ++ ++TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstat(SB) ++ ++GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB) ++ ++TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatat(SB) ++ ++GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB) ++ ++TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatfs(SB) ++ ++GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB) ++ ++TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fsync(SB) ++ ++GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB) ++ ++TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ftruncate(SB) ++ ++GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB) ++ ++TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getegid(SB) ++ ++GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB) ++ ++TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_geteuid(SB) ++ ++GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB) ++ ++TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgid(SB) ++ ++GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB) ++ ++TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgid(SB) ++ ++GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB) ++ ++TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgrp(SB) ++ ++GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB) ++ ++TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpid(SB) ++ ++GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB) ++ ++TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getppid(SB) ++ ++GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB) ++ ++TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpriority(SB) ++ ++GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB) ++ ++TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrlimit(SB) ++ ++GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB) ++ ++TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrtable(SB) ++ ++GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB) ++ ++TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrusage(SB) ++ ++GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB) ++ ++TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsid(SB) ++ ++GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB) ++ ++TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_gettimeofday(SB) ++ ++GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB) ++ ++TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getuid(SB) ++ ++GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB) ++ ++TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_issetugid(SB) ++ ++GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB) ++ ++TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kill(SB) ++ ++GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB) ++ ++TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kqueue(SB) ++ ++GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB) ++ ++TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lchown(SB) ++ ++GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB) ++ ++TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_link(SB) ++ ++GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB) ++ ++TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_linkat(SB) ++ ++GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB) ++ ++TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_listen(SB) ++ ++GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB) ++ ++TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lstat(SB) ++ ++GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB) ++ ++TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdir(SB) ++ ++GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB) ++ ++TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdirat(SB) ++ ++GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB) ++ ++TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifo(SB) ++ ++GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB) ++ ++TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifoat(SB) ++ ++GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB) ++ ++TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknod(SB) ++ ++GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) ++ ++TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknodat(SB) ++ ++GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) ++ ++TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_nanosleep(SB) ++ ++GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB) ++ ++TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_open(SB) ++ ++GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB) ++ ++TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_openat(SB) ++ ++GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB) ++ ++TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pathconf(SB) ++ ++GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB) ++ ++TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pread(SB) ++ ++GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB) ++ ++TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pwrite(SB) ++ ++GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB) ++ ++TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_read(SB) ++ ++GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) ++ ++TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlink(SB) ++ ++GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB) ++ ++TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlinkat(SB) ++ ++GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB) ++ ++TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rename(SB) ++ ++GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB) ++ ++TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_renameat(SB) ++ ++GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB) ++ ++TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_revoke(SB) ++ ++GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB) ++ ++TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rmdir(SB) ++ ++GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB) ++ ++TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lseek(SB) ++ ++GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB) ++ ++TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_select(SB) ++ ++GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB) ++ ++TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setegid(SB) ++ ++GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB) ++ ++TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_seteuid(SB) ++ ++GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB) ++ ++TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgid(SB) ++ ++GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB) ++ ++TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setlogin(SB) ++ ++GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB) ++ ++TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpgid(SB) ++ ++GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB) ++ ++TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpriority(SB) ++ ++GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB) ++ ++TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setregid(SB) ++ ++GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB) ++ ++TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setreuid(SB) ++ ++GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB) ++ ++TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresgid(SB) ++ ++GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB) ++ ++TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresuid(SB) ++ ++GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB) ++ ++TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrlimit(SB) ++ ++GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) ++ ++TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrtable(SB) ++ ++GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB) ++ ++TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsid(SB) ++ ++GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB) ++ ++TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_settimeofday(SB) ++ ++GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB) ++ ++TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setuid(SB) ++ ++GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB) ++ ++TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_stat(SB) ++ ++GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB) ++ ++TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_statfs(SB) ++ ++GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB) ++ ++TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlink(SB) ++ ++GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB) ++ ++TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlinkat(SB) ++ ++GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB) ++ ++TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sync(SB) ++ ++GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB) ++ ++TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_truncate(SB) ++ ++GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB) ++ ++TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_umask(SB) ++ ++GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB) ++ ++TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlink(SB) ++ ++GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB) ++ ++TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlinkat(SB) ++ ++GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB) ++ ++TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unmount(SB) ++ ++GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB) ++ ++TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_write(SB) ++ ++GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) ++ ++TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mmap(SB) ++ ++GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB) ++ ++TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munmap(SB) ++ ++GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) ++ ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) ++ ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +index 883a9b4..8da6791 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go ++// go run mksyscall.go -l32 -openbsd -arm -libc -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build openbsd && arm +@@ -16,7 +16,7 @@ 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) { + return + } + ++var libc_getgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgroups getgroups "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgroups setgroups "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err + return + } + ++var libc_wait4_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + return + } + ++var libc_accept_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_accept accept "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_bind_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_bind bind "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_connect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_connect connect "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) { + return + } + ++var libc_socket_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socket socket "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getpeername_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpeername getpeername "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockname_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockname getsockname "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_shutdown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shutdown shutdown "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_socketpair_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socketpair socketpair "libc.so" ++ + // 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) { +@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + } 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))) ++ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, 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) +@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + return + } + ++var libc_recvfrom_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so" ++ + // 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) { +@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) ( + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) ++ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sendto_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendto sendto "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_recvmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_sendmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne + return + } + ++var libc_kevent_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kevent kevent "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func utimes(path string, timeval *[2]Timeval) (err error) { +@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) ++ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_utimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimes utimes "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_futimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_futimes futimes "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) ++ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + return + } + ++var libc_poll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_poll poll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Madvise(b []byte, behav int) (err error) { +@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav)) ++ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_madvise_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_madvise madvise "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mlock(b []byte) (err error) { +@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlock mlock "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mprotect(b []byte, prot int) (err error) { +@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) ++ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mprotect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Msync(b []byte, flags int) (err error) { +@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_msync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_msync msync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlock(b []byte) (err error) { +@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlock munlock "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlockall() (err error) { +- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_pipe2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getdents(fd int, buf []byte) (n int, err error) { +@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) { + return + } + ++var libc_getdents_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getdents getdents "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getcwd(buf []byte) (n int, err error) { +@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0) ++ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) { + return + } + ++var libc_getcwd_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ioctl(fd int, req uint, arg uintptr) (err error) { +- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) ++ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ioctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" ++ + // 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) { +@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) + } 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)) ++ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sysctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sysctl sysctl "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { +- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, + return + } + ++var libc_ppoll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ppoll ppoll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Access(path string, mode uint32) (err error) { +@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_access_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_access access "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_adjtime_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_adjtime adjtime "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chdir(path string) (err error) { +@@ -463,13 +607,17 @@ func Chdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chdir chdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chflags(path string, flags int) (err error) { +@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chflags chflags "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chmod(path string, mode uint32) (err error) { +@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chmod chmod "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chown(path string, uid int, gid int) (err error) { +@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chown chown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chroot(path string) (err error) { +@@ -523,27 +683,35 @@ func Chroot(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chroot_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chroot chroot "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_close_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_close close "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0) + nfd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) { + return + } + ++var libc_dup_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup dup "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Dup3(from int, to int, flags int) (err error) { +- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup3_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup3 dup3 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Exit(code int) { +- Syscall(SYS_EXIT, uintptr(code), 0, 0) ++ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0) + return + } + ++var libc_exit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_exit exit "libc.so" ++ + // 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) { +@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_faccessat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_faccessat faccessat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchdir fchdir "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchflags fchflags "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmod fchmod "libc.so" ++ + // 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) { +@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchown fchown "libc.so" ++ + // 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) { +@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchownat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_flock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_flock flock "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) { + return + } + ++var libc_fpathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstat fstat "libc.so" ++ + // 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) { +@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatat fstatat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fsync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fsync fsync "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_ftruncate_trampoline_addr, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ftruncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getegid() (egid int) { +- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0) + egid = int(r0) + return + } + ++var libc_getegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getegid getegid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Geteuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_geteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_geteuid geteuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getgid() (gid int) { +- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0) + gid = int(r0) + return + } + ++var libc_getgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgid getgid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) { + return + } + ++var libc_getpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpgrp() (pgrp int) { +- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0) + pgrp = int(r0) + return + } + ++var libc_getpgrp_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpid() (pid int) { +- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0) + pid = int(r0) + return + } + ++var libc_getpid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpid getpid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getppid() (ppid int) { +- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0) + ppid = int(r0) + return + } + ++var libc_getppid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getppid getppid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) { + return + } + ++var libc_getpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpriority getpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getrtable() (rtable int, err error) { +- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0) ++ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0) + rtable = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) { + return + } + ++var libc_getrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrtable getrtable "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrusage_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0) + sid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) { + return + } + ++var libc_getsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsid getsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_gettimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_getuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getuid getuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Issetugid() (tainted bool) { +- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) ++ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0) + tainted = bool(r0 != 0) + return + } + ++var libc_issetugid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_issetugid issetugid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_kill_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kill kill "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) { + return + } + ++var libc_kqueue_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kqueue kqueue "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lchown(path string, uid int, gid int) (err error) { +@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lchown lchown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Link(path string, link string) (err error) { +@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_link_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_link link "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { +@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_linkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_linkat linkat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_listen_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_listen listen "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lstat(path string, stat *Stat_t) (err error) { +@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lstat lstat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdir(path string, mode uint32) (err error) { +@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdir mkdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdirat(dirfd int, path string, mode uint32) (err error) { +@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdirat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifo(path string, mode uint32) (err error) { +@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifo_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifoat(dirfd int, path string, mode uint32) (err error) { +@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifoat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mknod(path string, mode uint32, dev int) (err error) { +@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) ++ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknod mknod "libc.so" ++ + // 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) { +@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_nanosleep_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" ++ + // 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) { +@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) ++ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_open_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_open open "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { +@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_openat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_openat openat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Pathconf(path string, name int) (val int, err error) { +@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) ++ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) { + return + } + ++var libc_pathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pathconf pathconf "libc.so" ++ + // 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) { ++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)) ++ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pread_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pread pread "libc.so" ++ + // 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) { ++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)) ++ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pwrite_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pwrite pwrite "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func read(fd int, p []byte) (n int, err error) { +@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) { + return + } + ++var libc_read_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_read read "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Readlink(path string, buf []byte) (n int, err error) { +@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlink readlink "libc.so" ++ + // 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) { +@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rename(from string, to string) (err error) { +@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rename_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rename rename "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Renameat(fromfd int, from string, tofd int, to string) (err error) { +@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_renameat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_renameat renameat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Revoke(path string) (err error) { +@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_revoke_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_revoke revoke "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rmdir(path string) (err error) { +@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rmdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rmdir rmdir "libc.so" ++ + // 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) ++ r0, r1, e1 := syscall_syscall6(libc_lseek_trampoline_addr, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0) + newoffset = int64(int64(r1)<<32 | int64(r0)) + if e1 != 0 { + err = errnoErr(e1) +@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + return + } + ++var libc_lseek_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lseek lseek "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, 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) +@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + return + } + ++var libc_select_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_select select "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setegid setegid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_seteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_seteuid seteuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgid setgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setlogin(name string) (err error) { +@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setlogin_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setlogin setlogin "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpgid setpgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpriority setpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setregid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setregid setregid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setreuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setreuid setreuid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresgid setresgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresuid setresuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setrtable(rtable int) (err error) { +- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0) ++ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrtable setrtable "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) { + return + } + ++var libc_setsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsid setsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_settimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setuid setuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Stat(path string, stat *Stat_t) (err error) { +@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_stat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_stat stat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Statfs(path string, stat *Statfs_t) (err error) { +@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_statfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_statfs statfs "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlink(path string, link string) (err error) { +@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlink symlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { +@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) ++ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Sync() (err error) { +- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sync sync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Truncate(path string, length int64) (err error) { +@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_truncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_truncate truncate "libc.so" ++ + // 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) ++ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0) + oldmask = int(r0) + return + } + ++var libc_umask_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_umask umask "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlink(path string) (err error) { +@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlink unlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlinkat(dirfd int, path string, flags int) (err error) { +@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unmount(path string, flags int) (err error) { +@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unmount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unmount unmount "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func write(fd int, p []byte) (n int, err error) { +@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) { + return + } + ++var libc_write_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_write write "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall9(libc_mmap_trampoline_addr, 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) +@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) ( + return + } + ++var libc_mmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mmap mmap "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munmap munmap "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) { + // 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)) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } ++ ++var libc_utimensat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +new file mode 100644 +index 0000000..9ad116d +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +@@ -0,0 +1,796 @@ ++// go run mkasm.go openbsd arm ++// Code generated by the command above; DO NOT EDIT. ++ ++#include "textflag.h" ++ ++TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgroups(SB) ++ ++GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getgroups_trampoline_addr(SB)/4, $libc_getgroups_trampoline<>(SB) ++ ++TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgroups(SB) ++ ++GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setgroups_trampoline_addr(SB)/4, $libc_setgroups_trampoline<>(SB) ++ ++TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_wait4(SB) ++ ++GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_wait4_trampoline_addr(SB)/4, $libc_wait4_trampoline<>(SB) ++ ++TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_accept(SB) ++ ++GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_accept_trampoline_addr(SB)/4, $libc_accept_trampoline<>(SB) ++ ++TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_bind(SB) ++ ++GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_bind_trampoline_addr(SB)/4, $libc_bind_trampoline<>(SB) ++ ++TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_connect(SB) ++ ++GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_connect_trampoline_addr(SB)/4, $libc_connect_trampoline<>(SB) ++ ++TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socket(SB) ++ ++GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_socket_trampoline_addr(SB)/4, $libc_socket_trampoline<>(SB) ++ ++TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockopt(SB) ++ ++GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getsockopt_trampoline_addr(SB)/4, $libc_getsockopt_trampoline<>(SB) ++ ++TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsockopt(SB) ++ ++GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setsockopt_trampoline_addr(SB)/4, $libc_setsockopt_trampoline<>(SB) ++ ++TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpeername(SB) ++ ++GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpeername_trampoline_addr(SB)/4, $libc_getpeername_trampoline<>(SB) ++ ++TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockname(SB) ++ ++GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getsockname_trampoline_addr(SB)/4, $libc_getsockname_trampoline<>(SB) ++ ++TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shutdown(SB) ++ ++GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_shutdown_trampoline_addr(SB)/4, $libc_shutdown_trampoline<>(SB) ++ ++TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socketpair(SB) ++ ++GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_socketpair_trampoline_addr(SB)/4, $libc_socketpair_trampoline<>(SB) ++ ++TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvfrom(SB) ++ ++GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_recvfrom_trampoline_addr(SB)/4, $libc_recvfrom_trampoline<>(SB) ++ ++TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendto(SB) ++ ++GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sendto_trampoline_addr(SB)/4, $libc_sendto_trampoline<>(SB) ++ ++TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvmsg(SB) ++ ++GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_recvmsg_trampoline_addr(SB)/4, $libc_recvmsg_trampoline<>(SB) ++ ++TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendmsg(SB) ++ ++GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sendmsg_trampoline_addr(SB)/4, $libc_sendmsg_trampoline<>(SB) ++ ++TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kevent(SB) ++ ++GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_kevent_trampoline_addr(SB)/4, $libc_kevent_trampoline<>(SB) ++ ++TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimes(SB) ++ ++GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_utimes_trampoline_addr(SB)/4, $libc_utimes_trampoline<>(SB) ++ ++TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_futimes(SB) ++ ++GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_futimes_trampoline_addr(SB)/4, $libc_futimes_trampoline<>(SB) ++ ++TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_poll(SB) ++ ++GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_poll_trampoline_addr(SB)/4, $libc_poll_trampoline<>(SB) ++ ++TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_madvise(SB) ++ ++GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_madvise_trampoline_addr(SB)/4, $libc_madvise_trampoline<>(SB) ++ ++TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlock(SB) ++ ++GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mlock_trampoline_addr(SB)/4, $libc_mlock_trampoline<>(SB) ++ ++TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlockall(SB) ++ ++GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mlockall_trampoline_addr(SB)/4, $libc_mlockall_trampoline<>(SB) ++ ++TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mprotect(SB) ++ ++GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mprotect_trampoline_addr(SB)/4, $libc_mprotect_trampoline<>(SB) ++ ++TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_msync(SB) ++ ++GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_msync_trampoline_addr(SB)/4, $libc_msync_trampoline<>(SB) ++ ++TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlock(SB) ++ ++GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_munlock_trampoline_addr(SB)/4, $libc_munlock_trampoline<>(SB) ++ ++TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlockall(SB) ++ ++GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_munlockall_trampoline_addr(SB)/4, $libc_munlockall_trampoline<>(SB) ++ ++TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pipe2(SB) ++ ++GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pipe2_trampoline_addr(SB)/4, $libc_pipe2_trampoline<>(SB) ++ ++TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getdents(SB) ++ ++GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getdents_trampoline_addr(SB)/4, $libc_getdents_trampoline<>(SB) ++ ++TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getcwd(SB) ++ ++GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB) ++ ++TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ioctl(SB) ++ ++GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_ioctl_trampoline_addr(SB)/4, $libc_ioctl_trampoline<>(SB) ++ ++TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sysctl(SB) ++ ++GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sysctl_trampoline_addr(SB)/4, $libc_sysctl_trampoline<>(SB) ++ ++TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ppoll(SB) ++ ++GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_ppoll_trampoline_addr(SB)/4, $libc_ppoll_trampoline<>(SB) ++ ++TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_access(SB) ++ ++GLOBL ·libc_access_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_access_trampoline_addr(SB)/4, $libc_access_trampoline<>(SB) ++ ++TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_adjtime(SB) ++ ++GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_adjtime_trampoline_addr(SB)/4, $libc_adjtime_trampoline<>(SB) ++ ++TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chdir(SB) ++ ++GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chdir_trampoline_addr(SB)/4, $libc_chdir_trampoline<>(SB) ++ ++TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chflags(SB) ++ ++GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chflags_trampoline_addr(SB)/4, $libc_chflags_trampoline<>(SB) ++ ++TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chmod(SB) ++ ++GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chmod_trampoline_addr(SB)/4, $libc_chmod_trampoline<>(SB) ++ ++TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chown(SB) ++ ++GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chown_trampoline_addr(SB)/4, $libc_chown_trampoline<>(SB) ++ ++TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chroot(SB) ++ ++GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_chroot_trampoline_addr(SB)/4, $libc_chroot_trampoline<>(SB) ++ ++TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_close(SB) ++ ++GLOBL ·libc_close_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_close_trampoline_addr(SB)/4, $libc_close_trampoline<>(SB) ++ ++TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup(SB) ++ ++GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_dup_trampoline_addr(SB)/4, $libc_dup_trampoline<>(SB) ++ ++TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup2(SB) ++ ++GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_dup2_trampoline_addr(SB)/4, $libc_dup2_trampoline<>(SB) ++ ++TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup3(SB) ++ ++GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_dup3_trampoline_addr(SB)/4, $libc_dup3_trampoline<>(SB) ++ ++TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_exit(SB) ++ ++GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_exit_trampoline_addr(SB)/4, $libc_exit_trampoline<>(SB) ++ ++TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_faccessat(SB) ++ ++GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_faccessat_trampoline_addr(SB)/4, $libc_faccessat_trampoline<>(SB) ++ ++TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchdir(SB) ++ ++GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchdir_trampoline_addr(SB)/4, $libc_fchdir_trampoline<>(SB) ++ ++TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchflags(SB) ++ ++GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchflags_trampoline_addr(SB)/4, $libc_fchflags_trampoline<>(SB) ++ ++TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmod(SB) ++ ++GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchmod_trampoline_addr(SB)/4, $libc_fchmod_trampoline<>(SB) ++ ++TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmodat(SB) ++ ++GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchmodat_trampoline_addr(SB)/4, $libc_fchmodat_trampoline<>(SB) ++ ++TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchown(SB) ++ ++GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchown_trampoline_addr(SB)/4, $libc_fchown_trampoline<>(SB) ++ ++TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchownat(SB) ++ ++GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fchownat_trampoline_addr(SB)/4, $libc_fchownat_trampoline<>(SB) ++ ++TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_flock(SB) ++ ++GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_flock_trampoline_addr(SB)/4, $libc_flock_trampoline<>(SB) ++ ++TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fpathconf(SB) ++ ++GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fpathconf_trampoline_addr(SB)/4, $libc_fpathconf_trampoline<>(SB) ++ ++TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstat(SB) ++ ++GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fstat_trampoline_addr(SB)/4, $libc_fstat_trampoline<>(SB) ++ ++TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatat(SB) ++ ++GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fstatat_trampoline_addr(SB)/4, $libc_fstatat_trampoline<>(SB) ++ ++TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatfs(SB) ++ ++GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fstatfs_trampoline_addr(SB)/4, $libc_fstatfs_trampoline<>(SB) ++ ++TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fsync(SB) ++ ++GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_fsync_trampoline_addr(SB)/4, $libc_fsync_trampoline<>(SB) ++ ++TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ftruncate(SB) ++ ++GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_ftruncate_trampoline_addr(SB)/4, $libc_ftruncate_trampoline<>(SB) ++ ++TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getegid(SB) ++ ++GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getegid_trampoline_addr(SB)/4, $libc_getegid_trampoline<>(SB) ++ ++TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_geteuid(SB) ++ ++GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_geteuid_trampoline_addr(SB)/4, $libc_geteuid_trampoline<>(SB) ++ ++TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgid(SB) ++ ++GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getgid_trampoline_addr(SB)/4, $libc_getgid_trampoline<>(SB) ++ ++TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgid(SB) ++ ++GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpgid_trampoline_addr(SB)/4, $libc_getpgid_trampoline<>(SB) ++ ++TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgrp(SB) ++ ++GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpgrp_trampoline_addr(SB)/4, $libc_getpgrp_trampoline<>(SB) ++ ++TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpid(SB) ++ ++GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpid_trampoline_addr(SB)/4, $libc_getpid_trampoline<>(SB) ++ ++TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getppid(SB) ++ ++GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getppid_trampoline_addr(SB)/4, $libc_getppid_trampoline<>(SB) ++ ++TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpriority(SB) ++ ++GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getpriority_trampoline_addr(SB)/4, $libc_getpriority_trampoline<>(SB) ++ ++TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrlimit(SB) ++ ++GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getrlimit_trampoline_addr(SB)/4, $libc_getrlimit_trampoline<>(SB) ++ ++TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrtable(SB) ++ ++GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getrtable_trampoline_addr(SB)/4, $libc_getrtable_trampoline<>(SB) ++ ++TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrusage(SB) ++ ++GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getrusage_trampoline_addr(SB)/4, $libc_getrusage_trampoline<>(SB) ++ ++TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsid(SB) ++ ++GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getsid_trampoline_addr(SB)/4, $libc_getsid_trampoline<>(SB) ++ ++TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_gettimeofday(SB) ++ ++GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_gettimeofday_trampoline_addr(SB)/4, $libc_gettimeofday_trampoline<>(SB) ++ ++TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getuid(SB) ++ ++GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_getuid_trampoline_addr(SB)/4, $libc_getuid_trampoline<>(SB) ++ ++TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_issetugid(SB) ++ ++GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_issetugid_trampoline_addr(SB)/4, $libc_issetugid_trampoline<>(SB) ++ ++TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kill(SB) ++ ++GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_kill_trampoline_addr(SB)/4, $libc_kill_trampoline<>(SB) ++ ++TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kqueue(SB) ++ ++GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_kqueue_trampoline_addr(SB)/4, $libc_kqueue_trampoline<>(SB) ++ ++TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lchown(SB) ++ ++GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_lchown_trampoline_addr(SB)/4, $libc_lchown_trampoline<>(SB) ++ ++TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_link(SB) ++ ++GLOBL ·libc_link_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_link_trampoline_addr(SB)/4, $libc_link_trampoline<>(SB) ++ ++TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_linkat(SB) ++ ++GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_linkat_trampoline_addr(SB)/4, $libc_linkat_trampoline<>(SB) ++ ++TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_listen(SB) ++ ++GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_listen_trampoline_addr(SB)/4, $libc_listen_trampoline<>(SB) ++ ++TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lstat(SB) ++ ++GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_lstat_trampoline_addr(SB)/4, $libc_lstat_trampoline<>(SB) ++ ++TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdir(SB) ++ ++GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkdir_trampoline_addr(SB)/4, $libc_mkdir_trampoline<>(SB) ++ ++TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdirat(SB) ++ ++GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkdirat_trampoline_addr(SB)/4, $libc_mkdirat_trampoline<>(SB) ++ ++TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifo(SB) ++ ++GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkfifo_trampoline_addr(SB)/4, $libc_mkfifo_trampoline<>(SB) ++ ++TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifoat(SB) ++ ++GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mkfifoat_trampoline_addr(SB)/4, $libc_mkfifoat_trampoline<>(SB) ++ ++TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknod(SB) ++ ++GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mknod_trampoline_addr(SB)/4, $libc_mknod_trampoline<>(SB) ++ ++TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknodat(SB) ++ ++GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB) ++ ++TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_nanosleep(SB) ++ ++GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_nanosleep_trampoline_addr(SB)/4, $libc_nanosleep_trampoline<>(SB) ++ ++TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_open(SB) ++ ++GLOBL ·libc_open_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_open_trampoline_addr(SB)/4, $libc_open_trampoline<>(SB) ++ ++TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_openat(SB) ++ ++GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_openat_trampoline_addr(SB)/4, $libc_openat_trampoline<>(SB) ++ ++TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pathconf(SB) ++ ++GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pathconf_trampoline_addr(SB)/4, $libc_pathconf_trampoline<>(SB) ++ ++TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pread(SB) ++ ++GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pread_trampoline_addr(SB)/4, $libc_pread_trampoline<>(SB) ++ ++TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pwrite(SB) ++ ++GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_pwrite_trampoline_addr(SB)/4, $libc_pwrite_trampoline<>(SB) ++ ++TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_read(SB) ++ ++GLOBL ·libc_read_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_read_trampoline_addr(SB)/4, $libc_read_trampoline<>(SB) ++ ++TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlink(SB) ++ ++GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_readlink_trampoline_addr(SB)/4, $libc_readlink_trampoline<>(SB) ++ ++TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlinkat(SB) ++ ++GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_readlinkat_trampoline_addr(SB)/4, $libc_readlinkat_trampoline<>(SB) ++ ++TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rename(SB) ++ ++GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_rename_trampoline_addr(SB)/4, $libc_rename_trampoline<>(SB) ++ ++TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_renameat(SB) ++ ++GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_renameat_trampoline_addr(SB)/4, $libc_renameat_trampoline<>(SB) ++ ++TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_revoke(SB) ++ ++GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_revoke_trampoline_addr(SB)/4, $libc_revoke_trampoline<>(SB) ++ ++TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rmdir(SB) ++ ++GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_rmdir_trampoline_addr(SB)/4, $libc_rmdir_trampoline<>(SB) ++ ++TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lseek(SB) ++ ++GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_lseek_trampoline_addr(SB)/4, $libc_lseek_trampoline<>(SB) ++ ++TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_select(SB) ++ ++GLOBL ·libc_select_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_select_trampoline_addr(SB)/4, $libc_select_trampoline<>(SB) ++ ++TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setegid(SB) ++ ++GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setegid_trampoline_addr(SB)/4, $libc_setegid_trampoline<>(SB) ++ ++TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_seteuid(SB) ++ ++GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_seteuid_trampoline_addr(SB)/4, $libc_seteuid_trampoline<>(SB) ++ ++TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgid(SB) ++ ++GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setgid_trampoline_addr(SB)/4, $libc_setgid_trampoline<>(SB) ++ ++TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setlogin(SB) ++ ++GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setlogin_trampoline_addr(SB)/4, $libc_setlogin_trampoline<>(SB) ++ ++TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpgid(SB) ++ ++GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setpgid_trampoline_addr(SB)/4, $libc_setpgid_trampoline<>(SB) ++ ++TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpriority(SB) ++ ++GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setpriority_trampoline_addr(SB)/4, $libc_setpriority_trampoline<>(SB) ++ ++TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setregid(SB) ++ ++GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setregid_trampoline_addr(SB)/4, $libc_setregid_trampoline<>(SB) ++ ++TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setreuid(SB) ++ ++GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setreuid_trampoline_addr(SB)/4, $libc_setreuid_trampoline<>(SB) ++ ++TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresgid(SB) ++ ++GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setresgid_trampoline_addr(SB)/4, $libc_setresgid_trampoline<>(SB) ++ ++TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresuid(SB) ++ ++GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setresuid_trampoline_addr(SB)/4, $libc_setresuid_trampoline<>(SB) ++ ++TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrlimit(SB) ++ ++GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setrlimit_trampoline_addr(SB)/4, $libc_setrlimit_trampoline<>(SB) ++ ++TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrtable(SB) ++ ++GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setrtable_trampoline_addr(SB)/4, $libc_setrtable_trampoline<>(SB) ++ ++TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsid(SB) ++ ++GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setsid_trampoline_addr(SB)/4, $libc_setsid_trampoline<>(SB) ++ ++TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_settimeofday(SB) ++ ++GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_settimeofday_trampoline_addr(SB)/4, $libc_settimeofday_trampoline<>(SB) ++ ++TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setuid(SB) ++ ++GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_setuid_trampoline_addr(SB)/4, $libc_setuid_trampoline<>(SB) ++ ++TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_stat(SB) ++ ++GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_stat_trampoline_addr(SB)/4, $libc_stat_trampoline<>(SB) ++ ++TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_statfs(SB) ++ ++GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_statfs_trampoline_addr(SB)/4, $libc_statfs_trampoline<>(SB) ++ ++TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlink(SB) ++ ++GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_symlink_trampoline_addr(SB)/4, $libc_symlink_trampoline<>(SB) ++ ++TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlinkat(SB) ++ ++GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_symlinkat_trampoline_addr(SB)/4, $libc_symlinkat_trampoline<>(SB) ++ ++TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sync(SB) ++ ++GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_sync_trampoline_addr(SB)/4, $libc_sync_trampoline<>(SB) ++ ++TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_truncate(SB) ++ ++GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_truncate_trampoline_addr(SB)/4, $libc_truncate_trampoline<>(SB) ++ ++TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_umask(SB) ++ ++GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_umask_trampoline_addr(SB)/4, $libc_umask_trampoline<>(SB) ++ ++TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlink(SB) ++ ++GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_unlink_trampoline_addr(SB)/4, $libc_unlink_trampoline<>(SB) ++ ++TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlinkat(SB) ++ ++GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_unlinkat_trampoline_addr(SB)/4, $libc_unlinkat_trampoline<>(SB) ++ ++TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unmount(SB) ++ ++GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_unmount_trampoline_addr(SB)/4, $libc_unmount_trampoline<>(SB) ++ ++TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_write(SB) ++ ++GLOBL ·libc_write_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_write_trampoline_addr(SB)/4, $libc_write_trampoline<>(SB) ++ ++TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mmap(SB) ++ ++GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_mmap_trampoline_addr(SB)/4, $libc_mmap_trampoline<>(SB) ++ ++TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munmap(SB) ++ ++GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB) ++ ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) ++ ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $4 ++DATA ·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +index aac7fdc..800aab6 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +@@ -1,4 +1,4 @@ +-// go run mksyscall.go -openbsd -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm64.go ++// go run mksyscall.go -openbsd -libc -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm64.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build openbsd && arm64 +@@ -16,7 +16,7 @@ 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) { + return + } + ++var libc_getgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgroups getgroups "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgroups setgroups "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err + return + } + ++var libc_wait4_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + return + } + ++var libc_accept_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_accept accept "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_bind_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_bind bind "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_connect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_connect connect "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) { + return + } + ++var libc_socket_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socket socket "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getpeername_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpeername getpeername "libc.so" ++ + // 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))) ++ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getsockname_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockname getsockname "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_shutdown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shutdown shutdown "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_socketpair_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socketpair socketpair "libc.so" ++ + // 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) { +@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + } 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))) ++ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, 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) +@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + return + } + ++var libc_recvfrom_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so" ++ + // 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) { +@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) ( + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) ++ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sendto_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendto sendto "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_recvmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + return + } + ++var libc_sendmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so" ++ + // 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))) ++ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne + return + } + ++var libc_kevent_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kevent kevent "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func utimes(path string, timeval *[2]Timeval) (err error) { +@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) ++ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_utimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimes utimes "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_futimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_futimes futimes "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { +- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) ++ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + return + } + ++var libc_poll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_poll poll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Madvise(b []byte, behav int) (err error) { +@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav)) ++ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_madvise_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_madvise madvise "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mlock(b []byte) (err error) { +@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlock mlock "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mprotect(b []byte, prot int) (err error) { +@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) ++ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mprotect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Msync(b []byte, flags int) (err error) { +@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_msync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_msync msync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlock(b []byte) (err error) { +@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) ++ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlock munlock "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Munlockall() (err error) { +- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_pipe2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getdents(fd int, buf []byte) (n int, err error) { +@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) { + return + } + ++var libc_getdents_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getdents getdents "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getcwd(buf []byte) (n int, err error) { +@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0) ++ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) { + return + } + ++var libc_getcwd_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ioctl(fd int, req uint, arg uintptr) (err error) { +- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) ++ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ioctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" ++ + // 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) { +@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) + } 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)) ++ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sysctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sysctl sysctl "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { +- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, + return + } + ++var libc_ppoll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ppoll ppoll "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Access(path string, mode uint32) (err error) { +@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_access_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_access access "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_adjtime_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_adjtime adjtime "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chdir(path string) (err error) { +@@ -463,13 +607,17 @@ func Chdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chdir chdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chflags(path string, flags int) (err error) { +@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chflags chflags "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chmod(path string, mode uint32) (err error) { +@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chmod chmod "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chown(path string, uid int, gid int) (err error) { +@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chown chown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Chroot(path string) (err error) { +@@ -523,27 +683,35 @@ func Chroot(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_chroot_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chroot chroot "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_close_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_close close "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0) + nfd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) { + return + } + ++var libc_dup_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup dup "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Dup3(from int, to int, flags int) (err error) { +- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_dup3_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup3 dup3 "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Exit(code int) { +- Syscall(SYS_EXIT, uintptr(code), 0, 0) ++ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0) + return + } + ++var libc_exit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_exit exit "libc.so" ++ + // 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) { +@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_faccessat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_faccessat faccessat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchdir fchdir "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchflags fchflags "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmod fchmod "libc.so" ++ + // 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) { +@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchmodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchown fchown "libc.so" ++ + // 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) { +@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fchownat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_flock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_flock flock "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) { + return + } + ++var libc_fpathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstat fstat "libc.so" ++ + // 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) { +@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatat fstatat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fstatfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_fsync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fsync fsync "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_ftruncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getegid() (egid int) { +- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0) + egid = int(r0) + return + } + ++var libc_getegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getegid getegid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Geteuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_geteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_geteuid geteuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getgid() (gid int) { +- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0) + gid = int(r0) + return + } + ++var libc_getgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgid getgid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) { + return + } + ++var libc_getpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpgrp() (pgrp int) { +- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0) + pgrp = int(r0) + return + } + ++var libc_getpgrp_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getpid() (pid int) { +- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0) + pid = int(r0) + return + } + ++var libc_getpid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpid getpid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getppid() (ppid int) { +- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0) + ppid = int(r0) + return + } + ++var libc_getppid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getppid getppid "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) { + return + } + ++var libc_getpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpriority getpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getrtable() (rtable int, err error) { +- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0) ++ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0) + rtable = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) { + return + } + ++var libc_getrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrtable getrtable "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_getrusage_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0) + sid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) { + return + } + ++var libc_getsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsid getsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_gettimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Getuid() (uid int) { +- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) ++ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0) + uid = int(r0) + return + } + ++var libc_getuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getuid getuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Issetugid() (tainted bool) { +- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) ++ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0) + tainted = bool(r0 != 0) + return + } + ++var libc_issetugid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_issetugid issetugid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_kill_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kill kill "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) { + return + } + ++var libc_kqueue_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kqueue kqueue "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lchown(path string, uid int, gid int) (err error) { +@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lchown lchown "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Link(path string, link string) (err error) { +@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_link_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_link link "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { +@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_linkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_linkat linkat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_listen_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_listen listen "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Lstat(path string, stat *Stat_t) (err error) { +@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_lstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lstat lstat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdir(path string, mode uint32) (err error) { +@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdir mkdir "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkdirat(dirfd int, path string, mode uint32) (err error) { +@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkdirat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifo(path string, mode uint32) (err error) { +@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifo_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mkfifoat(dirfd int, path string, mode uint32) (err error) { +@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mkfifoat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Mknod(path string, mode uint32, dev int) (err error) { +@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) ++ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknod mknod "libc.so" ++ + // 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) { +@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_mknodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_nanosleep_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" ++ + // 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) { +@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) ++ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_open_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_open open "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { +@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { + return + } + ++var libc_openat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_openat openat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Pathconf(path string, name int) (val int, err error) { +@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) { + if err != nil { + return + } +- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) ++ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) { + return + } + ++var libc_pathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pathconf pathconf "libc.so" ++ + // 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) { ++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) ++ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pread_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pread pread "libc.so" ++ + // 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) { ++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) ++ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + return + } + ++var libc_pwrite_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pwrite pwrite "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func read(fd int, p []byte) (n int, err error) { +@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) { + return + } + ++var libc_read_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_read read "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Readlink(path string, buf []byte) (n int, err error) { +@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) ++ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlink readlink "libc.so" ++ + // 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) { +@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + } else { + _p1 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) ++ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + return + } + ++var libc_readlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rename(from string, to string) (err error) { +@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rename_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rename rename "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Renameat(fromfd int, from string, tofd int, to string) (err error) { +@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_renameat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_renameat renameat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Revoke(path string) (err error) { +@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_revoke_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_revoke revoke "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Rmdir(path string) (err error) { +@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_rmdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rmdir rmdir "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(whence)) + newoffset = int64(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + return + } + ++var libc_lseek_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lseek lseek "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, 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) +@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err + return + } + ++var libc_select_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_select select "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setegid setegid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_seteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_seteuid seteuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgid setgid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setlogin(name string) (err error) { +@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setlogin_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setlogin setlogin "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpgid setpgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpriority setpriority "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setregid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setregid setregid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setreuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setreuid setreuid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresgid setresgid "libc.so" ++ + // 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)) ++ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setresuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresuid setresuid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Setrtable(rtable int) (err error) { +- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0) ++ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrtable setrtable "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) { + return + } + ++var libc_setsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsid setsid "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_settimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so" ++ + // 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) ++ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_setuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setuid setuid "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Stat(path string, stat *Stat_t) (err error) { +@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_stat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_stat stat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Statfs(path string, stat *Statfs_t) (err error) { +@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_statfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_statfs statfs "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlink(path string, link string) (err error) { +@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlink symlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { +@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) ++ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_symlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Sync() (err error) { +- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) ++ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_sync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sync sync "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Truncate(path string, length int64) (err error) { +@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length)) ++ _, _, e1 := syscall_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_truncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_truncate truncate "libc.so" ++ + // 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) ++ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0) + oldmask = int(r0) + return + } + ++var libc_umask_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_umask umask "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlink(path string) (err error) { +@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlink unlink "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unlinkat(dirfd int, path string, flags int) (err error) { +@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func Unmount(path string, flags int) (err error) { +@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) { + if err != nil { + return + } +- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_unmount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unmount unmount "libc.so" ++ + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + + func write(fd int, p []byte) (n int, err error) { +@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) { + } else { + _p0 = unsafe.Pointer(&_zero) + } +- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) { + return + } + ++var libc_write_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_write write "libc.so" ++ + // 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) ++ r0, _, e1 := syscall_syscall6(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) + ret = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) ( + return + } + ++var libc_mmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mmap mmap "libc.so" ++ + // 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) ++ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } + ++var libc_munmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munmap munmap "libc.so" ++ + // 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)) ++ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) { + // 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)) ++ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) +@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error + if err != nil { + return + } +- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) ++ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return + } ++ ++var libc_utimensat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +new file mode 100644 +index 0000000..4efeff9 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +@@ -0,0 +1,796 @@ ++// go run mkasm.go openbsd arm64 ++// Code generated by the command above; DO NOT EDIT. ++ ++#include "textflag.h" ++ ++TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgroups(SB) ++ ++GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB) ++ ++TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgroups(SB) ++ ++GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB) ++ ++TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_wait4(SB) ++ ++GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB) ++ ++TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_accept(SB) ++ ++GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB) ++ ++TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_bind(SB) ++ ++GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB) ++ ++TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_connect(SB) ++ ++GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB) ++ ++TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socket(SB) ++ ++GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB) ++ ++TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockopt(SB) ++ ++GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB) ++ ++TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsockopt(SB) ++ ++GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB) ++ ++TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpeername(SB) ++ ++GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB) ++ ++TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockname(SB) ++ ++GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB) ++ ++TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shutdown(SB) ++ ++GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB) ++ ++TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socketpair(SB) ++ ++GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB) ++ ++TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvfrom(SB) ++ ++GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB) ++ ++TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendto(SB) ++ ++GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB) ++ ++TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvmsg(SB) ++ ++GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB) ++ ++TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendmsg(SB) ++ ++GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB) ++ ++TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kevent(SB) ++ ++GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB) ++ ++TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimes(SB) ++ ++GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB) ++ ++TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_futimes(SB) ++ ++GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB) ++ ++TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_poll(SB) ++ ++GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB) ++ ++TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_madvise(SB) ++ ++GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB) ++ ++TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlock(SB) ++ ++GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB) ++ ++TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlockall(SB) ++ ++GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB) ++ ++TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mprotect(SB) ++ ++GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB) ++ ++TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_msync(SB) ++ ++GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB) ++ ++TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlock(SB) ++ ++GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB) ++ ++TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlockall(SB) ++ ++GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) ++ ++TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pipe2(SB) ++ ++GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB) ++ ++TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getdents(SB) ++ ++GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB) ++ ++TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getcwd(SB) ++ ++GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB) ++ ++TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ioctl(SB) ++ ++GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) ++ ++TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sysctl(SB) ++ ++GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) ++ ++TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ppoll(SB) ++ ++GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB) ++ ++TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_access(SB) ++ ++GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB) ++ ++TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_adjtime(SB) ++ ++GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB) ++ ++TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chdir(SB) ++ ++GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) ++ ++TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chflags(SB) ++ ++GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB) ++ ++TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chmod(SB) ++ ++GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB) ++ ++TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chown(SB) ++ ++GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB) ++ ++TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chroot(SB) ++ ++GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB) ++ ++TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_close(SB) ++ ++GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) ++ ++TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup(SB) ++ ++GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB) ++ ++TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup2(SB) ++ ++GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) ++ ++TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup3(SB) ++ ++GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB) ++ ++TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_exit(SB) ++ ++GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) ++ ++TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_faccessat(SB) ++ ++GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB) ++ ++TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchdir(SB) ++ ++GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB) ++ ++TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchflags(SB) ++ ++GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB) ++ ++TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmod(SB) ++ ++GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB) ++ ++TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmodat(SB) ++ ++GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB) ++ ++TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchown(SB) ++ ++GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB) ++ ++TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchownat(SB) ++ ++GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB) ++ ++TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_flock(SB) ++ ++GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB) ++ ++TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fpathconf(SB) ++ ++GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB) ++ ++TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstat(SB) ++ ++GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB) ++ ++TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatat(SB) ++ ++GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB) ++ ++TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatfs(SB) ++ ++GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB) ++ ++TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fsync(SB) ++ ++GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB) ++ ++TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ftruncate(SB) ++ ++GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB) ++ ++TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getegid(SB) ++ ++GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB) ++ ++TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_geteuid(SB) ++ ++GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB) ++ ++TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgid(SB) ++ ++GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB) ++ ++TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgid(SB) ++ ++GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB) ++ ++TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgrp(SB) ++ ++GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB) ++ ++TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpid(SB) ++ ++GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB) ++ ++TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getppid(SB) ++ ++GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB) ++ ++TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpriority(SB) ++ ++GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB) ++ ++TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrlimit(SB) ++ ++GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB) ++ ++TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrtable(SB) ++ ++GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB) ++ ++TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrusage(SB) ++ ++GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB) ++ ++TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsid(SB) ++ ++GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB) ++ ++TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_gettimeofday(SB) ++ ++GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB) ++ ++TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getuid(SB) ++ ++GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB) ++ ++TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_issetugid(SB) ++ ++GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB) ++ ++TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kill(SB) ++ ++GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB) ++ ++TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kqueue(SB) ++ ++GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB) ++ ++TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lchown(SB) ++ ++GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB) ++ ++TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_link(SB) ++ ++GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB) ++ ++TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_linkat(SB) ++ ++GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB) ++ ++TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_listen(SB) ++ ++GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB) ++ ++TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lstat(SB) ++ ++GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB) ++ ++TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdir(SB) ++ ++GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB) ++ ++TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdirat(SB) ++ ++GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB) ++ ++TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifo(SB) ++ ++GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB) ++ ++TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifoat(SB) ++ ++GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB) ++ ++TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknod(SB) ++ ++GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) ++ ++TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknodat(SB) ++ ++GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) ++ ++TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_nanosleep(SB) ++ ++GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB) ++ ++TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_open(SB) ++ ++GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB) ++ ++TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_openat(SB) ++ ++GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB) ++ ++TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pathconf(SB) ++ ++GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB) ++ ++TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pread(SB) ++ ++GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB) ++ ++TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pwrite(SB) ++ ++GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB) ++ ++TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_read(SB) ++ ++GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) ++ ++TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlink(SB) ++ ++GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB) ++ ++TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlinkat(SB) ++ ++GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB) ++ ++TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rename(SB) ++ ++GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB) ++ ++TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_renameat(SB) ++ ++GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB) ++ ++TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_revoke(SB) ++ ++GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB) ++ ++TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rmdir(SB) ++ ++GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB) ++ ++TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lseek(SB) ++ ++GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB) ++ ++TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_select(SB) ++ ++GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB) ++ ++TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setegid(SB) ++ ++GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB) ++ ++TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_seteuid(SB) ++ ++GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB) ++ ++TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgid(SB) ++ ++GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB) ++ ++TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setlogin(SB) ++ ++GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB) ++ ++TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpgid(SB) ++ ++GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB) ++ ++TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpriority(SB) ++ ++GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB) ++ ++TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setregid(SB) ++ ++GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB) ++ ++TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setreuid(SB) ++ ++GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB) ++ ++TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresgid(SB) ++ ++GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB) ++ ++TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresuid(SB) ++ ++GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB) ++ ++TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrlimit(SB) ++ ++GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) ++ ++TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrtable(SB) ++ ++GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB) ++ ++TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsid(SB) ++ ++GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB) ++ ++TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_settimeofday(SB) ++ ++GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB) ++ ++TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setuid(SB) ++ ++GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB) ++ ++TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_stat(SB) ++ ++GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB) ++ ++TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_statfs(SB) ++ ++GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB) ++ ++TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlink(SB) ++ ++GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB) ++ ++TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlinkat(SB) ++ ++GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB) ++ ++TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sync(SB) ++ ++GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB) ++ ++TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_truncate(SB) ++ ++GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB) ++ ++TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_umask(SB) ++ ++GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB) ++ ++TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlink(SB) ++ ++GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB) ++ ++TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlinkat(SB) ++ ++GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB) ++ ++TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unmount(SB) ++ ++GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB) ++ ++TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_write(SB) ++ ++GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) ++ ++TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mmap(SB) ++ ++GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB) ++ ++TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munmap(SB) ++ ++GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) ++ ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) ++ ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +index 8776187..016d959 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +@@ -1128,7 +1128,7 @@ func Pathconf(path string, name int) (val int, err error) { + + // 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) { ++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]) +@@ -1145,7 +1145,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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]) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +new file mode 100644 +index 0000000..c85de2d +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +@@ -0,0 +1,2221 @@ ++// go run mksyscall.go -openbsd -libc -tags openbsd,ppc64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_ppc64.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build openbsd && ppc64 ++// +build openbsd,ppc64 ++ ++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 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgroups getgroups "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func setgroups(ngid int, gid *_Gid_t) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgroups setgroups "libc.so" ++ ++// 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 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) ++ wpid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_wait4_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" ++ ++// 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_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_accept_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_accept accept "libc.so" ++ ++// 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_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_bind_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_bind bind "libc.so" ++ ++// 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_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_connect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_connect connect "libc.so" ++ ++// 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 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto)) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_socket_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socket socket "libc.so" ++ ++// 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 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" ++ ++// 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 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getpeername_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpeername getpeername "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getsockname_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockname getsockname "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Shutdown(s int, how int) (err error) { ++ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shutdown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shutdown shutdown "libc.so" ++ ++// 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 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_socketpair_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socketpair socketpair "libc.so" ++ ++// 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 := syscall_syscall6(libc_recvfrom_trampoline_addr, 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 ++} ++ ++var libc_recvfrom_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so" ++ ++// 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 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sendto_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendto sendto "libc.so" ++ ++// 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_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_recvmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so" ++ ++// 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_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sendmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so" ++ ++// 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 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_kevent_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kevent kevent "libc.so" ++ ++// 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_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_utimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimes utimes "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func futimes(fd int, timeval *[2]Timeval) (err error) { ++ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_futimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_futimes futimes "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { ++ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_poll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_poll poll "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Madvise(b []byte, behav int) (err error) { ++ var _p0 unsafe.Pointer ++ if len(b) > 0 { ++ _p0 = unsafe.Pointer(&b[0]) ++ } else { ++ _p0 = unsafe.Pointer(&_zero) ++ } ++ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_madvise_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_madvise madvise "libc.so" ++ ++// 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_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlock mlock "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Mlockall(flags int) (err error) { ++ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" ++ ++// 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_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mprotect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Msync(b []byte, flags int) (err error) { ++ var _p0 unsafe.Pointer ++ if len(b) > 0 { ++ _p0 = unsafe.Pointer(&b[0]) ++ } else { ++ _p0 = unsafe.Pointer(&_zero) ++ } ++ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_msync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_msync msync "libc.so" ++ ++// 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_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_munlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlock munlock "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Munlockall() (err error) { ++ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_munlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func pipe2(p *[2]_C_int, flags int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pipe2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" ++ ++// 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_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getdents_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getdents getdents "libc.so" ++ ++// 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_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getcwd_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func ioctl(fd int, req uint, arg uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_ioctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" ++ ++// 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 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sysctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sysctl sysctl "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { ++ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_ppoll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ppoll ppoll "libc.so" ++ ++// 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_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_access_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_access access "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Adjtime(delta *Timeval, olddelta *Timeval) (err error) { ++ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_adjtime_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_adjtime adjtime "libc.so" ++ ++// 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_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chdir chdir "libc.so" ++ ++// 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_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chflags chflags "libc.so" ++ ++// 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_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chmod chmod "libc.so" ++ ++// 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_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chown chown "libc.so" ++ ++// 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_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chroot_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chroot chroot "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Close(fd int) (err error) { ++ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_close_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_close close "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Dup(fd int) (nfd int, err error) { ++ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0) ++ nfd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_dup_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup dup "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Dup2(from int, to int) (err error) { ++ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_dup2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Dup3(from int, to int, flags int) (err error) { ++ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_dup3_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup3 dup3 "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Exit(code int) { ++ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0) ++ return ++} ++ ++var libc_exit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_exit exit "libc.so" ++ ++// 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 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_faccessat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_faccessat faccessat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fchdir(fd int) (err error) { ++ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchdir fchdir "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fchflags(fd int, flags int) (err error) { ++ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchflags fchflags "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fchmod(fd int, mode uint32) (err error) { ++ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmod fchmod "libc.so" ++ ++// 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 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchmodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" ++ ++// 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_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchown fchown "libc.so" ++ ++// 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 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchownat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Flock(fd int, how int) (err error) { ++ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_flock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_flock flock "libc.so" ++ ++// 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_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0) ++ val = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fpathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fstat(fd int, stat *Stat_t) (err error) { ++ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstat fstat "libc.so" ++ ++// 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 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fstatat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatat fstatat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fstatfs(fd int, stat *Statfs_t) (err error) { ++ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fstatfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fsync(fd int) (err error) { ++ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fsync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fsync fsync "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Ftruncate(fd int, length int64) (err error) { ++ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_ftruncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getegid() (egid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0) ++ egid = int(r0) ++ return ++} ++ ++var libc_getegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getegid getegid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Geteuid() (uid int) { ++ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0) ++ uid = int(r0) ++ return ++} ++ ++var libc_geteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_geteuid geteuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getgid() (gid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0) ++ gid = int(r0) ++ return ++} ++ ++var libc_getgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgid getgid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getpgid(pid int) (pgid int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0) ++ pgid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getpgrp() (pgrp int) { ++ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0) ++ pgrp = int(r0) ++ return ++} ++ ++var libc_getpgrp_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getpid() (pid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0) ++ pid = int(r0) ++ return ++} ++ ++var libc_getpid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpid getpid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getppid() (ppid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0) ++ ppid = int(r0) ++ return ++} ++ ++var libc_getppid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getppid getppid "libc.so" ++ ++// 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_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0) ++ prio = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpriority getpriority "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getrlimit(which int, lim *Rlimit) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getrtable() (rtable int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0) ++ rtable = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrtable getrtable "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getrusage(who int, rusage *Rusage) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getrusage_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getsid(pid int) (sid int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0) ++ sid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsid getsid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Gettimeofday(tv *Timeval) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_gettimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getuid() (uid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0) ++ uid = int(r0) ++ return ++} ++ ++var libc_getuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getuid getuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Issetugid() (tainted bool) { ++ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0) ++ tainted = bool(r0 != 0) ++ return ++} ++ ++var libc_issetugid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_issetugid issetugid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Kill(pid int, signum syscall.Signal) (err error) { ++ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_kill_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kill kill "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Kqueue() (fd int, err error) { ++ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_kqueue_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kqueue kqueue "libc.so" ++ ++// 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_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_lchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lchown lchown "libc.so" ++ ++// 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_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_link_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_link link "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Linkat(pathfd int, path string, linkfd int, link string, flags int) (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_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_linkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_linkat linkat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Listen(s int, backlog int) (err error) { ++ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_listen_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_listen listen "libc.so" ++ ++// 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_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_lstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lstat lstat "libc.so" ++ ++// 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_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdir mkdir "libc.so" ++ ++// 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_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkdirat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" ++ ++// 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_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkfifo_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Mkfifoat(dirfd int, path string, mode uint32) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkfifoat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" ++ ++// 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_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mknod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknod mknod "libc.so" ++ ++// 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 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mknodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Nanosleep(time *Timespec, leftover *Timespec) (err error) { ++ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_nanosleep_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" ++ ++// 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_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_open_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_open open "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_openat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_openat openat "libc.so" ++ ++// 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_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) ++ val = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pathconf pathconf "libc.so" ++ ++// 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 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pread_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pread pread "libc.so" ++ ++// 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 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pwrite_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pwrite pwrite "libc.so" ++ ++// 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_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_read_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_read read "libc.so" ++ ++// 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_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_readlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlink readlink "libc.so" ++ ++// 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 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_readlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so" ++ ++// 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_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_rename_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rename rename "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Renameat(fromfd int, from string, tofd int, 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_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_renameat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_renameat renameat "libc.so" ++ ++// 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_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_revoke_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_revoke revoke "libc.so" ++ ++// 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_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_rmdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rmdir rmdir "libc.so" ++ ++// 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_syscall(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(whence)) ++ newoffset = int64(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_lseek_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lseek lseek "libc.so" ++ ++// 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 := syscall_syscall6(libc_select_trampoline_addr, 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 ++} ++ ++var libc_select_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_select select "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setegid(egid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setegid setegid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Seteuid(euid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_seteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_seteuid seteuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setgid(gid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgid setgid "libc.so" ++ ++// 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_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setlogin_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setlogin setlogin "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setpgid(pid int, pgid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpgid setpgid "libc.so" ++ ++// 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_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpriority setpriority "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setregid(rgid int, egid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setregid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setregid setregid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setreuid(ruid int, euid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setreuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setreuid setreuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setresgid(rgid int, egid int, sgid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setresgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresgid setresgid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setresuid(ruid int, euid int, suid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setresuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresuid setresuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setrlimit(which int, lim *Rlimit) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setrtable(rtable int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrtable setrtable "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setsid() (pid int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0) ++ pid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsid setsid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Settimeofday(tp *Timeval) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_settimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setuid(uid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setuid setuid "libc.so" ++ ++// 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_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_stat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_stat stat "libc.so" ++ ++// 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_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_statfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_statfs statfs "libc.so" ++ ++// 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_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_symlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlink symlink "libc.so" ++ ++// 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_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_symlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Sync() (err error) { ++ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sync sync "libc.so" ++ ++// 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_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_truncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_truncate truncate "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Umask(newmask int) (oldmask int) { ++ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0) ++ oldmask = int(r0) ++ return ++} ++ ++var libc_umask_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_umask umask "libc.so" ++ ++// 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_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_unlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlink unlink "libc.so" ++ ++// 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_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_unlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" ++ ++// 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_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_unmount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unmount unmount "libc.so" ++ ++// 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_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_write_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_write write "libc.so" ++ ++// 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 := syscall_syscall6(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) ++ ret = uintptr(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mmap mmap "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func munmap(addr uintptr, length uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_munmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munmap munmap "libc.so" ++ ++// 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_syscall(libc_read_trampoline_addr, 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_syscall(libc_write_trampoline_addr, 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 utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_utimensat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +new file mode 100644 +index 0000000..7c9223b +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +@@ -0,0 +1,796 @@ ++// go run mkasm.go openbsd ppc64 ++// Code generated by the command above; DO NOT EDIT. ++ ++#include "textflag.h" ++ ++TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getgroups(SB) ++ RET ++GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB) ++ ++TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setgroups(SB) ++ RET ++GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB) ++ ++TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_wait4(SB) ++ RET ++GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB) ++ ++TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_accept(SB) ++ RET ++GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB) ++ ++TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_bind(SB) ++ RET ++GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB) ++ ++TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_connect(SB) ++ RET ++GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB) ++ ++TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_socket(SB) ++ RET ++GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB) ++ ++TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getsockopt(SB) ++ RET ++GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB) ++ ++TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setsockopt(SB) ++ RET ++GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB) ++ ++TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getpeername(SB) ++ RET ++GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB) ++ ++TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getsockname(SB) ++ RET ++GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB) ++ ++TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_shutdown(SB) ++ RET ++GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB) ++ ++TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_socketpair(SB) ++ RET ++GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB) ++ ++TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_recvfrom(SB) ++ RET ++GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB) ++ ++TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_sendto(SB) ++ RET ++GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB) ++ ++TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_recvmsg(SB) ++ RET ++GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB) ++ ++TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_sendmsg(SB) ++ RET ++GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB) ++ ++TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_kevent(SB) ++ RET ++GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB) ++ ++TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_utimes(SB) ++ RET ++GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB) ++ ++TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_futimes(SB) ++ RET ++GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB) ++ ++TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_poll(SB) ++ RET ++GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB) ++ ++TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_madvise(SB) ++ RET ++GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB) ++ ++TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mlock(SB) ++ RET ++GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB) ++ ++TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mlockall(SB) ++ RET ++GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB) ++ ++TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mprotect(SB) ++ RET ++GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB) ++ ++TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_msync(SB) ++ RET ++GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB) ++ ++TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_munlock(SB) ++ RET ++GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB) ++ ++TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_munlockall(SB) ++ RET ++GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) ++ ++TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_pipe2(SB) ++ RET ++GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB) ++ ++TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getdents(SB) ++ RET ++GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB) ++ ++TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getcwd(SB) ++ RET ++GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB) ++ ++TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_ioctl(SB) ++ RET ++GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) ++ ++TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_sysctl(SB) ++ RET ++GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) ++ ++TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_ppoll(SB) ++ RET ++GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB) ++ ++TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_access(SB) ++ RET ++GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB) ++ ++TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_adjtime(SB) ++ RET ++GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB) ++ ++TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_chdir(SB) ++ RET ++GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) ++ ++TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_chflags(SB) ++ RET ++GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB) ++ ++TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_chmod(SB) ++ RET ++GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB) ++ ++TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_chown(SB) ++ RET ++GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB) ++ ++TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_chroot(SB) ++ RET ++GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB) ++ ++TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_close(SB) ++ RET ++GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) ++ ++TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_dup(SB) ++ RET ++GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB) ++ ++TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_dup2(SB) ++ RET ++GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) ++ ++TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_dup3(SB) ++ RET ++GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB) ++ ++TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_exit(SB) ++ RET ++GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) ++ ++TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_faccessat(SB) ++ RET ++GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB) ++ ++TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fchdir(SB) ++ RET ++GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB) ++ ++TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fchflags(SB) ++ RET ++GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB) ++ ++TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fchmod(SB) ++ RET ++GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB) ++ ++TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fchmodat(SB) ++ RET ++GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB) ++ ++TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fchown(SB) ++ RET ++GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB) ++ ++TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fchownat(SB) ++ RET ++GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB) ++ ++TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_flock(SB) ++ RET ++GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB) ++ ++TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fpathconf(SB) ++ RET ++GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB) ++ ++TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fstat(SB) ++ RET ++GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB) ++ ++TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fstatat(SB) ++ RET ++GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB) ++ ++TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fstatfs(SB) ++ RET ++GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB) ++ ++TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_fsync(SB) ++ RET ++GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB) ++ ++TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_ftruncate(SB) ++ RET ++GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB) ++ ++TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getegid(SB) ++ RET ++GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB) ++ ++TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_geteuid(SB) ++ RET ++GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB) ++ ++TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getgid(SB) ++ RET ++GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB) ++ ++TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getpgid(SB) ++ RET ++GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB) ++ ++TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getpgrp(SB) ++ RET ++GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB) ++ ++TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getpid(SB) ++ RET ++GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB) ++ ++TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getppid(SB) ++ RET ++GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB) ++ ++TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getpriority(SB) ++ RET ++GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB) ++ ++TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getrlimit(SB) ++ RET ++GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB) ++ ++TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getrtable(SB) ++ RET ++GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB) ++ ++TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getrusage(SB) ++ RET ++GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB) ++ ++TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getsid(SB) ++ RET ++GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB) ++ ++TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_gettimeofday(SB) ++ RET ++GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB) ++ ++TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_getuid(SB) ++ RET ++GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB) ++ ++TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_issetugid(SB) ++ RET ++GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB) ++ ++TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_kill(SB) ++ RET ++GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB) ++ ++TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_kqueue(SB) ++ RET ++GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB) ++ ++TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_lchown(SB) ++ RET ++GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB) ++ ++TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_link(SB) ++ RET ++GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB) ++ ++TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_linkat(SB) ++ RET ++GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB) ++ ++TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_listen(SB) ++ RET ++GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB) ++ ++TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_lstat(SB) ++ RET ++GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB) ++ ++TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mkdir(SB) ++ RET ++GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB) ++ ++TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mkdirat(SB) ++ RET ++GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB) ++ ++TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mkfifo(SB) ++ RET ++GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB) ++ ++TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mkfifoat(SB) ++ RET ++GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB) ++ ++TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mknod(SB) ++ RET ++GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) ++ ++TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mknodat(SB) ++ RET ++GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) ++ ++TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_nanosleep(SB) ++ RET ++GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB) ++ ++TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_open(SB) ++ RET ++GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB) ++ ++TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_openat(SB) ++ RET ++GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB) ++ ++TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_pathconf(SB) ++ RET ++GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB) ++ ++TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_pread(SB) ++ RET ++GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB) ++ ++TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_pwrite(SB) ++ RET ++GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB) ++ ++TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_read(SB) ++ RET ++GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) ++ ++TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_readlink(SB) ++ RET ++GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB) ++ ++TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_readlinkat(SB) ++ RET ++GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB) ++ ++TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_rename(SB) ++ RET ++GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB) ++ ++TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_renameat(SB) ++ RET ++GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB) ++ ++TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_revoke(SB) ++ RET ++GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB) ++ ++TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_rmdir(SB) ++ RET ++GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB) ++ ++TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_lseek(SB) ++ RET ++GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB) ++ ++TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_select(SB) ++ RET ++GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB) ++ ++TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setegid(SB) ++ RET ++GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB) ++ ++TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_seteuid(SB) ++ RET ++GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB) ++ ++TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setgid(SB) ++ RET ++GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB) ++ ++TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setlogin(SB) ++ RET ++GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB) ++ ++TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setpgid(SB) ++ RET ++GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB) ++ ++TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setpriority(SB) ++ RET ++GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB) ++ ++TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setregid(SB) ++ RET ++GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB) ++ ++TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setreuid(SB) ++ RET ++GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB) ++ ++TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setresgid(SB) ++ RET ++GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB) ++ ++TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setresuid(SB) ++ RET ++GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB) ++ ++TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setrlimit(SB) ++ RET ++GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) ++ ++TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setrtable(SB) ++ RET ++GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB) ++ ++TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setsid(SB) ++ RET ++GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB) ++ ++TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_settimeofday(SB) ++ RET ++GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB) ++ ++TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_setuid(SB) ++ RET ++GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB) ++ ++TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_stat(SB) ++ RET ++GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB) ++ ++TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_statfs(SB) ++ RET ++GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB) ++ ++TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_symlink(SB) ++ RET ++GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB) ++ ++TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_symlinkat(SB) ++ RET ++GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB) ++ ++TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_sync(SB) ++ RET ++GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB) ++ ++TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_truncate(SB) ++ RET ++GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB) ++ ++TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_umask(SB) ++ RET ++GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB) ++ ++TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_unlink(SB) ++ RET ++GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB) ++ ++TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_unlinkat(SB) ++ RET ++GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB) ++ ++TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_unmount(SB) ++ RET ++GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB) ++ ++TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_write(SB) ++ RET ++GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) ++ ++TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_mmap(SB) ++ RET ++GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB) ++ ++TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_munmap(SB) ++ RET ++GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) ++ ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ CALL libc_utimensat(SB) ++ RET ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +new file mode 100644 +index 0000000..8e3e787 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +@@ -0,0 +1,2221 @@ ++// go run mksyscall.go -openbsd -libc -tags openbsd,riscv64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_riscv64.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build openbsd && riscv64 ++// +build openbsd,riscv64 ++ ++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 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgroups getgroups "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func setgroups(ngid int, gid *_Gid_t) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setgroups_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgroups setgroups "libc.so" ++ ++// 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 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) ++ wpid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_wait4_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" ++ ++// 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_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_accept_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_accept accept "libc.so" ++ ++// 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_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_bind_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_bind bind "libc.so" ++ ++// 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_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_connect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_connect connect "libc.so" ++ ++// 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 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto)) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_socket_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socket socket "libc.so" ++ ++// 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 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" ++ ++// 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 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setsockopt_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getpeername_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpeername getpeername "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getsockname_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsockname getsockname "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Shutdown(s int, how int) (err error) { ++ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_shutdown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_shutdown shutdown "libc.so" ++ ++// 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 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_socketpair_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_socketpair socketpair "libc.so" ++ ++// 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 := syscall_syscall6(libc_recvfrom_trampoline_addr, 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 ++} ++ ++var libc_recvfrom_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so" ++ ++// 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 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sendto_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendto sendto "libc.so" ++ ++// 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_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_recvmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so" ++ ++// 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_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sendmsg_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so" ++ ++// 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 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_kevent_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kevent kevent "libc.so" ++ ++// 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_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_utimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimes utimes "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func futimes(fd int, timeval *[2]Timeval) (err error) { ++ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_futimes_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_futimes futimes "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { ++ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_poll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_poll poll "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Madvise(b []byte, behav int) (err error) { ++ var _p0 unsafe.Pointer ++ if len(b) > 0 { ++ _p0 = unsafe.Pointer(&b[0]) ++ } else { ++ _p0 = unsafe.Pointer(&_zero) ++ } ++ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_madvise_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_madvise madvise "libc.so" ++ ++// 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_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlock mlock "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Mlockall(flags int) (err error) { ++ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" ++ ++// 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_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mprotect_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Msync(b []byte, flags int) (err error) { ++ var _p0 unsafe.Pointer ++ if len(b) > 0 { ++ _p0 = unsafe.Pointer(&b[0]) ++ } else { ++ _p0 = unsafe.Pointer(&_zero) ++ } ++ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_msync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_msync msync "libc.so" ++ ++// 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_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_munlock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlock munlock "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Munlockall() (err error) { ++ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_munlockall_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func pipe2(p *[2]_C_int, flags int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pipe2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" ++ ++// 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_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getdents_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getdents getdents "libc.so" ++ ++// 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_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getcwd_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func ioctl(fd int, req uint, arg uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_ioctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" ++ ++// 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 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sysctl_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sysctl sysctl "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { ++ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_ppoll_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ppoll ppoll "libc.so" ++ ++// 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_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_access_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_access access "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Adjtime(delta *Timeval, olddelta *Timeval) (err error) { ++ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_adjtime_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_adjtime adjtime "libc.so" ++ ++// 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_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chdir chdir "libc.so" ++ ++// 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_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chflags chflags "libc.so" ++ ++// 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_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chmod chmod "libc.so" ++ ++// 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_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chown chown "libc.so" ++ ++// 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_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_chroot_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_chroot chroot "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Close(fd int) (err error) { ++ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_close_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_close close "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Dup(fd int) (nfd int, err error) { ++ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0) ++ nfd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_dup_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup dup "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Dup2(from int, to int) (err error) { ++ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_dup2_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Dup3(from int, to int, flags int) (err error) { ++ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_dup3_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_dup3 dup3 "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Exit(code int) { ++ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0) ++ return ++} ++ ++var libc_exit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_exit exit "libc.so" ++ ++// 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 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_faccessat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_faccessat faccessat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fchdir(fd int) (err error) { ++ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchdir fchdir "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fchflags(fd int, flags int) (err error) { ++ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchflags_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchflags fchflags "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fchmod(fd int, mode uint32) (err error) { ++ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchmod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmod fchmod "libc.so" ++ ++// 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 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchmodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" ++ ++// 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_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchown fchown "libc.so" ++ ++// 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 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fchownat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Flock(fd int, how int) (err error) { ++ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_flock_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_flock flock "libc.so" ++ ++// 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_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0) ++ val = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fpathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fstat(fd int, stat *Stat_t) (err error) { ++ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstat fstat "libc.so" ++ ++// 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 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fstatat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatat fstatat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fstatfs(fd int, stat *Statfs_t) (err error) { ++ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fstatfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Fsync(fd int) (err error) { ++ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_fsync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_fsync fsync "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Ftruncate(fd int, length int64) (err error) { ++ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_ftruncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getegid() (egid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0) ++ egid = int(r0) ++ return ++} ++ ++var libc_getegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getegid getegid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Geteuid() (uid int) { ++ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0) ++ uid = int(r0) ++ return ++} ++ ++var libc_geteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_geteuid geteuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getgid() (gid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0) ++ gid = int(r0) ++ return ++} ++ ++var libc_getgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getgid getgid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getpgid(pid int) (pgid int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0) ++ pgid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getpgrp() (pgrp int) { ++ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0) ++ pgrp = int(r0) ++ return ++} ++ ++var libc_getpgrp_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getpid() (pid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0) ++ pid = int(r0) ++ return ++} ++ ++var libc_getpid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpid getpid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getppid() (ppid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0) ++ ppid = int(r0) ++ return ++} ++ ++var libc_getppid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getppid getppid "libc.so" ++ ++// 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_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0) ++ prio = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getpriority getpriority "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getrlimit(which int, lim *Rlimit) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getrtable() (rtable int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0) ++ rtable = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrtable getrtable "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getrusage(who int, rusage *Rusage) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getrusage_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getsid(pid int) (sid int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0) ++ sid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_getsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getsid getsid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Gettimeofday(tv *Timeval) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_gettimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Getuid() (uid int) { ++ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0) ++ uid = int(r0) ++ return ++} ++ ++var libc_getuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_getuid getuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Issetugid() (tainted bool) { ++ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0) ++ tainted = bool(r0 != 0) ++ return ++} ++ ++var libc_issetugid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_issetugid issetugid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Kill(pid int, signum syscall.Signal) (err error) { ++ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_kill_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kill kill "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Kqueue() (fd int, err error) { ++ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_kqueue_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_kqueue kqueue "libc.so" ++ ++// 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_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_lchown_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lchown lchown "libc.so" ++ ++// 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_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_link_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_link link "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Linkat(pathfd int, path string, linkfd int, link string, flags int) (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_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_linkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_linkat linkat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Listen(s int, backlog int) (err error) { ++ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_listen_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_listen listen "libc.so" ++ ++// 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_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_lstat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lstat lstat "libc.so" ++ ++// 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_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdir mkdir "libc.so" ++ ++// 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_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkdirat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" ++ ++// 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_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkfifo_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Mkfifoat(dirfd int, path string, mode uint32) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mkfifoat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" ++ ++// 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_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mknod_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknod mknod "libc.so" ++ ++// 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 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mknodat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Nanosleep(time *Timespec, leftover *Timespec) (err error) { ++ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_nanosleep_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" ++ ++// 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_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_open_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_open open "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) ++ fd = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_openat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_openat openat "libc.so" ++ ++// 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_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) ++ val = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pathconf_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pathconf pathconf "libc.so" ++ ++// 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 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pread_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pread pread "libc.so" ++ ++// 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 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_pwrite_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_pwrite pwrite "libc.so" ++ ++// 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_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_read_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_read read "libc.so" ++ ++// 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_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_readlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlink readlink "libc.so" ++ ++// 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 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_readlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so" ++ ++// 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_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_rename_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rename rename "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Renameat(fromfd int, from string, tofd int, 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_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_renameat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_renameat renameat "libc.so" ++ ++// 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_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_revoke_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_revoke revoke "libc.so" ++ ++// 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_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_rmdir_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_rmdir rmdir "libc.so" ++ ++// 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_syscall(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(whence)) ++ newoffset = int64(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_lseek_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_lseek lseek "libc.so" ++ ++// 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 := syscall_syscall6(libc_select_trampoline_addr, 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 ++} ++ ++var libc_select_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_select select "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setegid(egid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setegid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setegid setegid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Seteuid(euid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_seteuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_seteuid seteuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setgid(gid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setgid setgid "libc.so" ++ ++// 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_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setlogin_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setlogin setlogin "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setpgid(pid int, pgid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setpgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpgid setpgid "libc.so" ++ ++// 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_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setpriority_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setpriority setpriority "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setregid(rgid int, egid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setregid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setregid setregid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setreuid(ruid int, euid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setreuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setreuid setreuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setresgid(rgid int, egid int, sgid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setresgid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresgid setresgid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setresuid(ruid int, euid int, suid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setresuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setresuid setresuid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setrlimit(which int, lim *Rlimit) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setrlimit_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setrtable(rtable int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setrtable_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setrtable setrtable "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setsid() (pid int, err error) { ++ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0) ++ pid = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setsid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setsid setsid "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Settimeofday(tp *Timeval) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_settimeofday_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Setuid(uid int) (err error) { ++ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_setuid_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_setuid setuid "libc.so" ++ ++// 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_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_stat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_stat stat "libc.so" ++ ++// 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_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_statfs_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_statfs statfs "libc.so" ++ ++// 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_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_symlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlink symlink "libc.so" ++ ++// 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_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_symlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Sync() (err error) { ++ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_sync_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_sync sync "libc.so" ++ ++// 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_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_truncate_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_truncate truncate "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func Umask(newmask int) (oldmask int) { ++ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0) ++ oldmask = int(r0) ++ return ++} ++ ++var libc_umask_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_umask umask "libc.so" ++ ++// 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_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_unlink_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlink unlink "libc.so" ++ ++// 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_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_unlinkat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" ++ ++// 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_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_unmount_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_unmount unmount "libc.so" ++ ++// 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_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p))) ++ n = int(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_write_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_write write "libc.so" ++ ++// 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 := syscall_syscall6(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) ++ ret = uintptr(r0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_mmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_mmap mmap "libc.so" ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func munmap(addr uintptr, length uintptr) (err error) { ++ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_munmap_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_munmap munmap "libc.so" ++ ++// 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_syscall(libc_read_trampoline_addr, 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_syscall(libc_write_trampoline_addr, 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 utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) { ++ var _p0 *byte ++ _p0, err = BytePtrFromString(path) ++ if err != nil { ++ return ++ } ++ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++var libc_utimensat_trampoline_addr uintptr ++ ++//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +new file mode 100644 +index 0000000..7dba789 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +@@ -0,0 +1,796 @@ ++// go run mkasm.go openbsd riscv64 ++// Code generated by the command above; DO NOT EDIT. ++ ++#include "textflag.h" ++ ++TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgroups(SB) ++ ++GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB) ++ ++TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgroups(SB) ++ ++GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB) ++ ++TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_wait4(SB) ++ ++GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB) ++ ++TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_accept(SB) ++ ++GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB) ++ ++TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_bind(SB) ++ ++GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB) ++ ++TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_connect(SB) ++ ++GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB) ++ ++TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socket(SB) ++ ++GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB) ++ ++TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockopt(SB) ++ ++GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB) ++ ++TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsockopt(SB) ++ ++GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB) ++ ++TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpeername(SB) ++ ++GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB) ++ ++TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsockname(SB) ++ ++GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB) ++ ++TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_shutdown(SB) ++ ++GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB) ++ ++TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_socketpair(SB) ++ ++GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB) ++ ++TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvfrom(SB) ++ ++GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB) ++ ++TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendto(SB) ++ ++GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB) ++ ++TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_recvmsg(SB) ++ ++GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB) ++ ++TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sendmsg(SB) ++ ++GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB) ++ ++TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kevent(SB) ++ ++GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB) ++ ++TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimes(SB) ++ ++GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB) ++ ++TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_futimes(SB) ++ ++GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB) ++ ++TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_poll(SB) ++ ++GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB) ++ ++TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_madvise(SB) ++ ++GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB) ++ ++TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlock(SB) ++ ++GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB) ++ ++TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mlockall(SB) ++ ++GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB) ++ ++TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mprotect(SB) ++ ++GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB) ++ ++TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_msync(SB) ++ ++GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB) ++ ++TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlock(SB) ++ ++GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB) ++ ++TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munlockall(SB) ++ ++GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) ++ ++TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pipe2(SB) ++ ++GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB) ++ ++TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getdents(SB) ++ ++GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB) ++ ++TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getcwd(SB) ++ ++GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB) ++ ++TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ioctl(SB) ++ ++GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) ++ ++TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sysctl(SB) ++ ++GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) ++ ++TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ppoll(SB) ++ ++GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB) ++ ++TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_access(SB) ++ ++GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB) ++ ++TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_adjtime(SB) ++ ++GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB) ++ ++TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chdir(SB) ++ ++GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) ++ ++TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chflags(SB) ++ ++GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB) ++ ++TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chmod(SB) ++ ++GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB) ++ ++TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chown(SB) ++ ++GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB) ++ ++TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_chroot(SB) ++ ++GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB) ++ ++TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_close(SB) ++ ++GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) ++ ++TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup(SB) ++ ++GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB) ++ ++TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup2(SB) ++ ++GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) ++ ++TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_dup3(SB) ++ ++GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB) ++ ++TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_exit(SB) ++ ++GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) ++ ++TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_faccessat(SB) ++ ++GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB) ++ ++TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchdir(SB) ++ ++GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB) ++ ++TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchflags(SB) ++ ++GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB) ++ ++TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmod(SB) ++ ++GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB) ++ ++TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchmodat(SB) ++ ++GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB) ++ ++TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchown(SB) ++ ++GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB) ++ ++TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fchownat(SB) ++ ++GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB) ++ ++TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_flock(SB) ++ ++GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB) ++ ++TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fpathconf(SB) ++ ++GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB) ++ ++TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstat(SB) ++ ++GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB) ++ ++TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatat(SB) ++ ++GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB) ++ ++TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fstatfs(SB) ++ ++GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB) ++ ++TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_fsync(SB) ++ ++GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB) ++ ++TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_ftruncate(SB) ++ ++GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB) ++ ++TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getegid(SB) ++ ++GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB) ++ ++TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_geteuid(SB) ++ ++GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB) ++ ++TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getgid(SB) ++ ++GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB) ++ ++TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgid(SB) ++ ++GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB) ++ ++TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpgrp(SB) ++ ++GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB) ++ ++TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpid(SB) ++ ++GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB) ++ ++TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getppid(SB) ++ ++GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB) ++ ++TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getpriority(SB) ++ ++GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB) ++ ++TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrlimit(SB) ++ ++GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB) ++ ++TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrtable(SB) ++ ++GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB) ++ ++TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getrusage(SB) ++ ++GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB) ++ ++TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getsid(SB) ++ ++GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB) ++ ++TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_gettimeofday(SB) ++ ++GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB) ++ ++TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_getuid(SB) ++ ++GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB) ++ ++TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_issetugid(SB) ++ ++GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB) ++ ++TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kill(SB) ++ ++GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB) ++ ++TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_kqueue(SB) ++ ++GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB) ++ ++TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lchown(SB) ++ ++GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB) ++ ++TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_link(SB) ++ ++GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB) ++ ++TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_linkat(SB) ++ ++GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB) ++ ++TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_listen(SB) ++ ++GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB) ++ ++TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lstat(SB) ++ ++GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB) ++ ++TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdir(SB) ++ ++GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB) ++ ++TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkdirat(SB) ++ ++GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB) ++ ++TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifo(SB) ++ ++GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB) ++ ++TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mkfifoat(SB) ++ ++GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB) ++ ++TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknod(SB) ++ ++GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) ++ ++TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mknodat(SB) ++ ++GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) ++ ++TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_nanosleep(SB) ++ ++GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB) ++ ++TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_open(SB) ++ ++GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB) ++ ++TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_openat(SB) ++ ++GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB) ++ ++TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pathconf(SB) ++ ++GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB) ++ ++TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pread(SB) ++ ++GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB) ++ ++TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_pwrite(SB) ++ ++GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB) ++ ++TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_read(SB) ++ ++GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) ++ ++TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlink(SB) ++ ++GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB) ++ ++TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_readlinkat(SB) ++ ++GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB) ++ ++TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rename(SB) ++ ++GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB) ++ ++TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_renameat(SB) ++ ++GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB) ++ ++TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_revoke(SB) ++ ++GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB) ++ ++TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_rmdir(SB) ++ ++GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB) ++ ++TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_lseek(SB) ++ ++GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB) ++ ++TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_select(SB) ++ ++GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB) ++ ++TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setegid(SB) ++ ++GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB) ++ ++TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_seteuid(SB) ++ ++GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB) ++ ++TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setgid(SB) ++ ++GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB) ++ ++TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setlogin(SB) ++ ++GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB) ++ ++TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpgid(SB) ++ ++GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB) ++ ++TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setpriority(SB) ++ ++GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB) ++ ++TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setregid(SB) ++ ++GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB) ++ ++TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setreuid(SB) ++ ++GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB) ++ ++TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresgid(SB) ++ ++GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB) ++ ++TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setresuid(SB) ++ ++GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB) ++ ++TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrlimit(SB) ++ ++GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) ++ ++TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setrtable(SB) ++ ++GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB) ++ ++TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setsid(SB) ++ ++GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB) ++ ++TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_settimeofday(SB) ++ ++GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB) ++ ++TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_setuid(SB) ++ ++GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB) ++ ++TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_stat(SB) ++ ++GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB) ++ ++TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_statfs(SB) ++ ++GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB) ++ ++TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlink(SB) ++ ++GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB) ++ ++TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_symlinkat(SB) ++ ++GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB) ++ ++TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_sync(SB) ++ ++GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB) ++ ++TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_truncate(SB) ++ ++GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB) ++ ++TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_umask(SB) ++ ++GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB) ++ ++TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlink(SB) ++ ++GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB) ++ ++TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unlinkat(SB) ++ ++GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB) ++ ++TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_unmount(SB) ++ ++GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB) ++ ++TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_write(SB) ++ ++GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) ++ ++TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_mmap(SB) ++ ++GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB) ++ ++TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_munmap(SB) ++ ++GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) ++ ++TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 ++ JMP libc_utimensat(SB) ++ ++GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 ++DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) +diff --git a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +index 4e18d5c..91f5a2b 100644 +--- a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +@@ -66,6 +66,7 @@ import ( + //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_getsid getsid "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" +@@ -141,6 +142,13 @@ import ( + //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_port_create port_create "libc.so" ++//go:cgo_import_dynamic libc_port_associate port_associate "libc.so" ++//go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so" ++//go:cgo_import_dynamic libc_port_get port_get "libc.so" ++//go:cgo_import_dynamic libc_port_getn port_getn "libc.so" ++//go:cgo_import_dynamic libc_putmsg putmsg "libc.so" ++//go:cgo_import_dynamic libc_getmsg getmsg "libc.so" + + //go:linkname procpipe libc_pipe + //go:linkname procpipe2 libc_pipe2 +@@ -197,6 +205,7 @@ import ( + //go:linkname procGetpriority libc_getpriority + //go:linkname procGetrlimit libc_getrlimit + //go:linkname procGetrusage libc_getrusage ++//go:linkname procGetsid libc_getsid + //go:linkname procGettimeofday libc_gettimeofday + //go:linkname procGetuid libc_getuid + //go:linkname procKill libc_kill +@@ -222,8 +231,8 @@ import ( + //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 procpread libc_pread ++//go:linkname procpwrite libc_pwrite + //go:linkname procread libc_read + //go:linkname procReadlink libc_readlink + //go:linkname procRename libc_rename +@@ -272,6 +281,13 @@ import ( + //go:linkname procgetpeername libc_getpeername + //go:linkname procsetsockopt libc_setsockopt + //go:linkname procrecvfrom libc_recvfrom ++//go:linkname procport_create libc_port_create ++//go:linkname procport_associate libc_port_associate ++//go:linkname procport_dissociate libc_port_dissociate ++//go:linkname procport_get libc_port_get ++//go:linkname procport_getn libc_port_getn ++//go:linkname procputmsg libc_putmsg ++//go:linkname procgetmsg libc_getmsg + + var ( + procpipe, +@@ -329,6 +345,7 @@ var ( + procGetpriority, + procGetrlimit, + procGetrusage, ++ procGetsid, + procGettimeofday, + procGetuid, + procKill, +@@ -354,8 +371,8 @@ var ( + procOpenat, + procPathconf, + procPause, +- procPread, +- procPwrite, ++ procpread, ++ procpwrite, + procread, + procReadlink, + procRename, +@@ -403,7 +420,14 @@ var ( + proc__xnet_getsockopt, + procgetpeername, + procsetsockopt, +- procrecvfrom syscallFunc ++ procrecvfrom, ++ procport_create, ++ procport_associate, ++ procport_dissociate, ++ procport_get, ++ procport_getn, ++ procputmsg, ++ procgetmsg syscallFunc + ) + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +@@ -1029,6 +1053,17 @@ func Getrusage(who int, rusage *Rusage) (err error) { + + // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + ++func Getsid(pid int) (sid int, err error) { ++ r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetsid)), 1, uintptr(pid), 0, 0, 0, 0, 0) ++ sid = int(r0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ + 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 { +@@ -1365,12 +1400,12 @@ func Pause() (err error) { + + // 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) { ++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) ++ 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 +@@ -1380,12 +1415,12 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) { + + // 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) { ++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) ++ 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 +@@ -1981,3 +2016,78 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl + } + return + } ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func port_create() (n int, err error) { ++ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_create)), 0, 0, 0, 0, 0, 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func port_associate(port int, source int, object uintptr, events int, user *byte) (n int, err error) { ++ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_associate)), 5, uintptr(port), uintptr(source), uintptr(object), uintptr(events), uintptr(unsafe.Pointer(user)), 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func port_dissociate(port int, source int, object uintptr) (n int, err error) { ++ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_dissociate)), 3, uintptr(port), uintptr(source), uintptr(object), 0, 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func port_get(port int, pe *portEvent, timeout *Timespec) (n int, err error) { ++ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_get)), 3, uintptr(port), uintptr(unsafe.Pointer(pe)), uintptr(unsafe.Pointer(timeout)), 0, 0, 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func port_getn(port int, pe *portEvent, max uint32, nget *uint32, timeout *Timespec) (n int, err error) { ++ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_getn)), 5, uintptr(port), uintptr(unsafe.Pointer(pe)), uintptr(max), uintptr(unsafe.Pointer(nget)), uintptr(unsafe.Pointer(timeout)), 0) ++ n = int(r0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error) { ++ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procputmsg)), 4, uintptr(fd), uintptr(unsafe.Pointer(clptr)), uintptr(unsafe.Pointer(dataptr)), uintptr(flags), 0, 0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} ++ ++// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT ++ ++func getmsg(fd int, clptr *strbuf, dataptr *strbuf, flags *int) (err error) { ++ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetmsg)), 4, uintptr(fd), uintptr(unsafe.Pointer(clptr)), uintptr(unsafe.Pointer(dataptr)), uintptr(unsafe.Pointer(flags)), 0, 0) ++ if e1 != 0 { ++ err = e1 ++ } ++ return ++} +diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +new file mode 100644 +index 0000000..e440544 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +@@ -0,0 +1,281 @@ ++// go run mksysctl_openbsd.go ++// Code generated by the command above; DO NOT EDIT. ++ ++//go:build ppc64 && openbsd ++// +build ppc64,openbsd ++ ++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.profile", []_C_int{9, 9}}, ++ {"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.ncpuonline", []_C_int{6, 25}}, ++ {"hw.pagesize", []_C_int{6, 7}}, ++ {"hw.perfpolicy", []_C_int{6, 23}}, ++ {"hw.physmem", []_C_int{6, 19}}, ++ {"hw.power", []_C_int{6, 26}}, ++ {"hw.product", []_C_int{6, 15}}, ++ {"hw.serialno", []_C_int{6, 17}}, ++ {"hw.setperf", []_C_int{6, 13}}, ++ {"hw.smt", []_C_int{6, 24}}, ++ {"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.allowdt", []_C_int{1, 65}}, ++ {"kern.allowkmem", []_C_int{1, 52}}, ++ {"kern.argmax", []_C_int{1, 8}}, ++ {"kern.audio", []_C_int{1, 84}}, ++ {"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.consbuf", []_C_int{1, 83}}, ++ {"kern.consbufsize", []_C_int{1, 82}}, ++ {"kern.consdev", []_C_int{1, 75}}, ++ {"kern.cp_time", []_C_int{1, 40}}, ++ {"kern.cp_time2", []_C_int{1, 71}}, ++ {"kern.cpustats", []_C_int{1, 85}}, ++ {"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.global_ptrace", []_C_int{1, 81}}, ++ {"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.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.pfstatus", []_C_int{1, 86}}, ++ {"kern.pool_debug", []_C_int{1, 77}}, ++ {"kern.posix1version", []_C_int{1, 17}}, ++ {"kern.proc", []_C_int{1, 66}}, ++ {"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.timeout_stats", []_C_int{1, 87}}, ++ {"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.utc_offset", []_C_int{1, 88}}, ++ {"kern.version", []_C_int{1, 4}}, ++ {"kern.video", []_C_int{1, 89}}, ++ {"kern.watchdog.auto", []_C_int{1, 64, 2}}, ++ {"kern.watchdog.period", []_C_int{1, 64, 1}}, ++ {"kern.witnesswatch", []_C_int{1, 53}}, ++ {"kern.wxabort", []_C_int{1, 74}}, ++ {"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.arpdown", []_C_int{4, 2, 0, 40}}, ++ {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}}, ++ {"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}}, ++ {"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.mrtmfc", []_C_int{4, 2, 0, 37}}, ++ {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}}, ++ {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}}, ++ {"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}}, ++ {"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.pfsync.stats", []_C_int{4, 2, 240, 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.rootonly", []_C_int{4, 2, 6, 24}}, ++ {"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.tcp.synhashsize", []_C_int{4, 2, 6, 25}}, ++ {"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}}, ++ {"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.rootonly", []_C_int{4, 2, 17, 6}}, ++ {"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_umaxtries", []_C_int{4, 24, 30, 9}}, ++ {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}}, ++ {"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.mforwarding", []_C_int{4, 24, 17, 42}}, ++ {"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}}, ++ {"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}}, ++ {"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.soiikey", []_C_int{4, 24, 17, 54}}, ++ {"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.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.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.malloc_conf", []_C_int{2, 12}}, ++ {"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/zsysctl_openbsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +new file mode 100644 +index 0000000..a0db82f +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +@@ -0,0 +1,282 @@ ++// go run mksysctl_openbsd.go ++// Code generated by the command above; DO NOT EDIT. ++ ++//go:build riscv64 && openbsd ++// +build riscv64,openbsd ++ ++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.profile", []_C_int{9, 9}}, ++ {"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.ncpuonline", []_C_int{6, 25}}, ++ {"hw.pagesize", []_C_int{6, 7}}, ++ {"hw.perfpolicy", []_C_int{6, 23}}, ++ {"hw.physmem", []_C_int{6, 19}}, ++ {"hw.power", []_C_int{6, 26}}, ++ {"hw.product", []_C_int{6, 15}}, ++ {"hw.serialno", []_C_int{6, 17}}, ++ {"hw.setperf", []_C_int{6, 13}}, ++ {"hw.smt", []_C_int{6, 24}}, ++ {"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.allowdt", []_C_int{1, 65}}, ++ {"kern.allowkmem", []_C_int{1, 52}}, ++ {"kern.argmax", []_C_int{1, 8}}, ++ {"kern.audio", []_C_int{1, 84}}, ++ {"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.consbuf", []_C_int{1, 83}}, ++ {"kern.consbufsize", []_C_int{1, 82}}, ++ {"kern.consdev", []_C_int{1, 75}}, ++ {"kern.cp_time", []_C_int{1, 40}}, ++ {"kern.cp_time2", []_C_int{1, 71}}, ++ {"kern.cpustats", []_C_int{1, 85}}, ++ {"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.global_ptrace", []_C_int{1, 81}}, ++ {"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.pfstatus", []_C_int{1, 86}}, ++ {"kern.pool_debug", []_C_int{1, 77}}, ++ {"kern.posix1version", []_C_int{1, 17}}, ++ {"kern.proc", []_C_int{1, 66}}, ++ {"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.timeout_stats", []_C_int{1, 87}}, ++ {"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.utc_offset", []_C_int{1, 88}}, ++ {"kern.version", []_C_int{1, 4}}, ++ {"kern.video", []_C_int{1, 89}}, ++ {"kern.watchdog.auto", []_C_int{1, 64, 2}}, ++ {"kern.watchdog.period", []_C_int{1, 64, 1}}, ++ {"kern.witnesswatch", []_C_int{1, 53}}, ++ {"kern.wxabort", []_C_int{1, 74}}, ++ {"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.arpdown", []_C_int{4, 2, 0, 40}}, ++ {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}}, ++ {"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}}, ++ {"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.mrtmfc", []_C_int{4, 2, 0, 37}}, ++ {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}}, ++ {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}}, ++ {"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}}, ++ {"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.pfsync.stats", []_C_int{4, 2, 240, 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.rootonly", []_C_int{4, 2, 6, 24}}, ++ {"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.tcp.synhashsize", []_C_int{4, 2, 6, 25}}, ++ {"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}}, ++ {"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.rootonly", []_C_int{4, 2, 17, 6}}, ++ {"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_umaxtries", []_C_int{4, 24, 30, 9}}, ++ {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}}, ++ {"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.mforwarding", []_C_int{4, 24, 17, 42}}, ++ {"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}}, ++ {"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}}, ++ {"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.soiikey", []_C_int{4, 24, 17, 54}}, ++ {"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.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.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.malloc_conf", []_C_int{2, 12}}, ++ {"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_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +index 59d5dfc..4e0d961 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +@@ -1,4 +1,4 @@ +-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master ++// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build 386 && freebsd +@@ -19,10 +19,9 @@ const ( + 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_BREAK = 17 // { caddr_t break(char *nsize); } + SYS_GETPID = 20 // { pid_t getpid(void); } + SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } + SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } +@@ -43,7 +42,6 @@ const ( + 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, size_t offset, u_int scale); } + SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } +@@ -58,15 +56,14 @@ const ( + SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } + SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } + SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } +- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int ++ SYS_UMASK = 60 // { int umask(int newmask); } + SYS_CHROOT = 61 // { int chroot(char *path); } + SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } + 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 ovadvise_args int + SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } +- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } ++ 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, char *vec); } + SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } +@@ -124,14 +121,10 @@ const ( + 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, struct rlimit *rlp); } getrlimit __getrlimit_args int + SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int +- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } + SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int + SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } + SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } +@@ -143,12 +136,12 @@ const ( + SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } + SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } + SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } +- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } ++ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } + 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, struct timespec *tp); } +- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } + SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } + SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } +@@ -157,50 +150,44 @@ const ( + SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } + SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } + SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } +- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } +- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } + SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } +- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } ++ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } + SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } + 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, int timeout); } + SYS_ISSETUGID = 253 // { int issetugid(void); } + SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } + SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } + SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } +- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } +- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } ++ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } + SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } + SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } +- 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, u_int iovcnt, off_t offset); } + SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } + SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } +- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_MODNEXT = 300 // { int modnext(int modid); } +- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } ++ 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_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 // { ssize_t aio_return(struct aiocb *aiocbp); } +- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } ++ 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_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___GETCWD = 326 // { int __getcwd(char *buf, size_t 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); } +@@ -226,14 +213,13 @@ const ( + SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } +- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } +- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } ++ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t 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, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } +@@ -251,10 +237,6 @@ const ( + 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, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } + SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } +- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } +- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } +- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } +- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } + SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } + SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } +@@ -267,14 +249,14 @@ const ( + SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } + SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } + SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } +- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } ++ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } + SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } + SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } +- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } ++ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } + SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } +- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } ++ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } + SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } + SYS_SWAPOFF = 424 // { int swapoff(const char *name); } + SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } +@@ -288,10 +270,10 @@ const ( + SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } + SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } + SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } +- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } ++ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } + 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, u_int length); } +@@ -300,17 +282,17 @@ const ( + 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( struct auditinfo_addr *auditinfo_addr, u_int length); } +- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_AUDITCTL = 453 // { int auditctl(char *path); } + SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } + SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } + SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } + SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } +- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } +- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } +- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} +- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } ++ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } ++ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } + 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); } +@@ -319,7 +301,7 @@ const ( + 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, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } + SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } +- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } ++ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } + SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } + SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } +@@ -338,14 +320,12 @@ const ( + SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } + SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } + SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } +- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } + SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } + 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, dev_t dev); } + SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } +- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } ++ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } + SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } + SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } +@@ -391,7 +371,24 @@ const ( + SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } + SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } + SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } +- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } +- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } + SYS_FDATASYNC = 550 // { int fdatasync(int fd); } ++ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } ++ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } ++ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } ++ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } ++ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } ++ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } ++ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } ++ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } ++ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } ++ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } ++ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } ++ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } ++ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } ++ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } ++ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } ++ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } ++ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } ++ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +index 342d471..01636b8 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +@@ -1,4 +1,4 @@ +-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master ++// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build amd64 && freebsd +@@ -19,10 +19,9 @@ const ( + 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_BREAK = 17 // { caddr_t break(char *nsize); } + SYS_GETPID = 20 // { pid_t getpid(void); } + SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } + SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } +@@ -43,7 +42,6 @@ const ( + 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, size_t offset, u_int scale); } + SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } +@@ -58,15 +56,14 @@ const ( + SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } + SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } + SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } +- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int ++ SYS_UMASK = 60 // { int umask(int newmask); } + SYS_CHROOT = 61 // { int chroot(char *path); } + SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } + 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 ovadvise_args int + SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } +- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } ++ 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, char *vec); } + SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } +@@ -124,14 +121,10 @@ const ( + 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, struct rlimit *rlp); } getrlimit __getrlimit_args int + SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int +- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } + SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int + SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } + SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } +@@ -143,12 +136,12 @@ const ( + SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } + SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } + SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } +- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } ++ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } + 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, struct timespec *tp); } +- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } + SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } + SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } +@@ -157,50 +150,44 @@ const ( + SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } + SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } + SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } +- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } +- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } + SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } +- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } ++ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } + SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } + 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, int timeout); } + SYS_ISSETUGID = 253 // { int issetugid(void); } + SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } + SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } + SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } +- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } +- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } ++ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } + SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } + SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } +- 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, u_int iovcnt, off_t offset); } + SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } + SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } +- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_MODNEXT = 300 // { int modnext(int modid); } +- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } ++ 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_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 // { ssize_t aio_return(struct aiocb *aiocbp); } +- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } ++ 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_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___GETCWD = 326 // { int __getcwd(char *buf, size_t 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); } +@@ -226,14 +213,13 @@ const ( + SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } +- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } +- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } ++ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t 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, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } +@@ -251,10 +237,6 @@ const ( + 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, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } + SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } +- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } +- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } +- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } +- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } + SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } + SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } +@@ -267,14 +249,14 @@ const ( + SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } + SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } + SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } +- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } ++ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } + SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } + SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } +- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } ++ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } + SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } +- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } ++ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } + SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } + SYS_SWAPOFF = 424 // { int swapoff(const char *name); } + SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } +@@ -288,10 +270,10 @@ const ( + SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } + SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } + SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } +- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } ++ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } + 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, u_int length); } +@@ -300,17 +282,17 @@ const ( + 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( struct auditinfo_addr *auditinfo_addr, u_int length); } +- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_AUDITCTL = 453 // { int auditctl(char *path); } + SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } + SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } + SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } + SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } +- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } +- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } +- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} +- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } ++ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } ++ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } + 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); } +@@ -319,7 +301,7 @@ const ( + 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, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } + SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } +- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } ++ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } + SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } + SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } +@@ -338,14 +320,12 @@ const ( + SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } + SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } + SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } +- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } + SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } + 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, dev_t dev); } + SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } +- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } ++ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } + SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } + SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } +@@ -391,7 +371,24 @@ const ( + SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } + SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } + SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } +- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } +- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } + SYS_FDATASYNC = 550 // { int fdatasync(int fd); } ++ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } ++ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } ++ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } ++ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } ++ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } ++ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } ++ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } ++ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } ++ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } ++ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } ++ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } ++ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } ++ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } ++ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } ++ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } ++ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } ++ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } ++ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +index e2e3d72..ad99bc1 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +@@ -1,4 +1,4 @@ +-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master ++// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm && freebsd +@@ -19,10 +19,9 @@ const ( + 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_BREAK = 17 // { caddr_t break(char *nsize); } + SYS_GETPID = 20 // { pid_t getpid(void); } + SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } + SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } +@@ -43,7 +42,6 @@ const ( + 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, size_t offset, u_int scale); } + SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } +@@ -58,15 +56,14 @@ const ( + SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } + SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } + SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } +- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int ++ SYS_UMASK = 60 // { int umask(int newmask); } + SYS_CHROOT = 61 // { int chroot(char *path); } + SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } + 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 ovadvise_args int + SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } +- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } ++ 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, char *vec); } + SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } +@@ -124,14 +121,10 @@ const ( + 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, struct rlimit *rlp); } getrlimit __getrlimit_args int + SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int +- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } + SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int + SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } + SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } +@@ -143,12 +136,12 @@ const ( + SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } + SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } + SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } +- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } ++ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } + 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, struct timespec *tp); } +- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } + SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } + SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } +@@ -157,50 +150,44 @@ const ( + SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } + SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } + SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } +- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } +- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } + SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } +- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } ++ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } + SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } + 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, int timeout); } + SYS_ISSETUGID = 253 // { int issetugid(void); } + SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } + SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } + SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } +- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } +- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } ++ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } + SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } + SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } +- 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, u_int iovcnt, off_t offset); } + SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } + SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } +- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_MODNEXT = 300 // { int modnext(int modid); } +- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } ++ 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_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 // { ssize_t aio_return(struct aiocb *aiocbp); } +- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } ++ 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_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___GETCWD = 326 // { int __getcwd(char *buf, size_t 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); } +@@ -226,14 +213,13 @@ const ( + SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } +- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } +- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } ++ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t 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, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } +@@ -251,10 +237,6 @@ const ( + 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, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } + SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } +- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } +- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } +- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } +- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } + SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } + SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } +@@ -267,14 +249,14 @@ const ( + SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } + SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } + SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } +- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } ++ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } + SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } + SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } +- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } ++ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } + SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } +- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } ++ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } + SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } + SYS_SWAPOFF = 424 // { int swapoff(const char *name); } + SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } +@@ -288,10 +270,10 @@ const ( + SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } + SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } + SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } +- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } ++ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } + 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, u_int length); } +@@ -300,17 +282,17 @@ const ( + 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( struct auditinfo_addr *auditinfo_addr, u_int length); } +- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_AUDITCTL = 453 // { int auditctl(char *path); } + SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } + SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } + SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } + SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } +- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } +- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } +- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} +- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } ++ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } ++ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } + 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); } +@@ -319,7 +301,7 @@ const ( + 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, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } + SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } +- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } ++ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } + SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } + SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } +@@ -338,14 +320,12 @@ const ( + SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } + SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } + SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } +- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } + SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } + 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, dev_t dev); } + SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } +- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } ++ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } + SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } + SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } +@@ -391,7 +371,24 @@ const ( + SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } + SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } + SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } +- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } +- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } + SYS_FDATASYNC = 550 // { int fdatasync(int fd); } ++ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } ++ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } ++ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } ++ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } ++ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } ++ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } ++ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } ++ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } ++ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } ++ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } ++ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } ++ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } ++ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } ++ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } ++ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } ++ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } ++ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } ++ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +index 61ad5ca..89dcc42 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +@@ -1,4 +1,4 @@ +-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master ++// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm64 && freebsd +@@ -19,10 +19,9 @@ const ( + 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_BREAK = 17 // { caddr_t break(char *nsize); } + SYS_GETPID = 20 // { pid_t getpid(void); } + SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } + SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } +@@ -43,7 +42,6 @@ const ( + 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, size_t offset, u_int scale); } + SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } +@@ -58,15 +56,14 @@ const ( + SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } + SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } + SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } +- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int ++ SYS_UMASK = 60 // { int umask(int newmask); } + SYS_CHROOT = 61 // { int chroot(char *path); } + SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } + 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 ovadvise_args int + SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } +- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } ++ 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, char *vec); } + SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } +@@ -124,14 +121,10 @@ const ( + 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, struct rlimit *rlp); } getrlimit __getrlimit_args int + SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int +- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } + SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int + SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } + SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } +@@ -143,12 +136,12 @@ const ( + SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } + SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } + SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } +- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } ++ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } + 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, struct timespec *tp); } +- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } + SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } + SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } +@@ -157,50 +150,44 @@ const ( + SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } + SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } + SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } +- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } +- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } + SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } +- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } ++ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } + SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } + 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, int timeout); } + SYS_ISSETUGID = 253 // { int issetugid(void); } + SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } + SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } + SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } +- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } +- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } ++ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } + SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } + SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } +- 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, u_int iovcnt, off_t offset); } + SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } + SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } +- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_MODNEXT = 300 // { int modnext(int modid); } +- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } ++ 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_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 // { ssize_t aio_return(struct aiocb *aiocbp); } +- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } ++ 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_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___GETCWD = 326 // { int __getcwd(char *buf, size_t 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); } +@@ -226,14 +213,13 @@ const ( + SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } +- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } +- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } ++ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t 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, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } +@@ -251,10 +237,6 @@ const ( + 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, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } + SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } +- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } +- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } +- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } +- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } + SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } + SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } +@@ -267,14 +249,14 @@ const ( + SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } + SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } + SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } +- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } +- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } ++ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } + SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } + SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } +- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } ++ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } + SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } +- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } ++ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } + SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } + SYS_SWAPOFF = 424 // { int swapoff(const char *name); } + SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } +@@ -288,10 +270,10 @@ const ( + SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } + SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } + SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } +- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } +- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } ++ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } + 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, u_int length); } +@@ -300,17 +282,17 @@ const ( + 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( struct auditinfo_addr *auditinfo_addr, u_int length); } +- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_AUDITCTL = 453 // { int auditctl(char *path); } + SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } + SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } + SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } + SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } +- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } +- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } +- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} +- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } ++ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } ++ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } + 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); } +@@ -319,7 +301,7 @@ const ( + 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, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } + SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } +- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } ++ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } + SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } + SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } +@@ -338,14 +320,12 @@ const ( + SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } + SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } + SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } +- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } + SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } + 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, dev_t dev); } + SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } +- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } ++ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } + SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } + SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } +@@ -391,7 +371,24 @@ const ( + SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } + SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } + SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } +- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } +- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } + SYS_FDATASYNC = 550 // { int fdatasync(int fd); } ++ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } ++ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } ++ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } ++ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } ++ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } ++ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } ++ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } ++ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } ++ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } ++ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } ++ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } ++ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } ++ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } ++ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } ++ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } ++ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } ++ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } ++ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +new file mode 100644 +index 0000000..ee37aaa +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +@@ -0,0 +1,394 @@ ++// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build riscv64 && freebsd ++// +build riscv64,freebsd ++ ++package unix ++ ++const ( ++ // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int ++ SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void ++ 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, struct rusage *rusage); } ++ 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_CHMOD = 15 // { int chmod(char *path, int mode); } ++ SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } ++ SYS_BREAK = 17 // { caddr_t break(char *nsize); } ++ SYS_GETPID = 20 // { pid_t getpid(void); } ++ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } ++ 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, int data); } ++ SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); } ++ SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); } ++ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); } ++ SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); } ++ SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } ++ SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } ++ 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_GETEGID = 43 // { gid_t getegid(void); } ++ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } ++ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } ++ 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 // { ssize_t readlink(char *path, char *buf, size_t count); } ++ SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } ++ SYS_UMASK = 60 // { int umask(int newmask); } ++ SYS_CHROOT = 61 // { int chroot(char *path); } ++ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } ++ SYS_VFORK = 66 // { int 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, char *vec); } ++ 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, struct itimerval *oitv); } ++ 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, fd_set *ex, struct timeval *tv); } ++ 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, caddr_t val, int valsize); } ++ SYS_LISTEN = 106 // { int listen(int s, int backlog); } ++ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); } ++ SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); } ++ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); } ++ SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } ++ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); } ++ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); } ++ 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, int flags, caddr_t to, int tolen); } ++ SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); } ++ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); } ++ 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, struct timeval *olddelta); } ++ SYS_SETSID = 147 // { int setsid(void); } ++ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); } ++ SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); } ++ SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); } ++ SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); } ++ SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); } ++ SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); } ++ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); } ++ SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); } ++ SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); } ++ SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); } ++ 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_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, struct rlimit *rlp); } getrlimit __getrlimit_args int ++ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int ++ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int ++ 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, int timeout); } ++ SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); } ++ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } ++ SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } ++ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } ++ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } ++ SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } ++ 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, struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } ++ SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } ++ SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } ++ SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); } ++ SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); } ++ SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } ++ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } ++ SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } ++ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } ++ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } ++ SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } ++ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } ++ SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } ++ SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } ++ SYS_RFORK = 251 // { int rfork(int flags); } ++ SYS_ISSETUGID = 253 // { int issetugid(void); } ++ SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } ++ SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } ++ SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } ++ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } ++ SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } ++ SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } ++ SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } ++ SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } ++ 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 // { ssize_t 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_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, size_t 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, sigset_t *oset); } ++ 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, siginfo_t *info, const struct timespec *timeout); } ++ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); } ++ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); } ++ 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, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } ++ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } ++ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } ++ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t 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_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } ++ SYS___SETUGID = 374 // { int __setugid(int flag); } ++ SYS_EACCESS = 376 // { int eaccess(char *path, int amode); } ++ SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); } ++ 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, struct mac *mac_p); } ++ SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); } ++ SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); } ++ SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); } ++ SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); } ++ SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long 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, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } ++ SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } ++ SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } ++ SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } ++ SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } ++ SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); } ++ SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); } ++ SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); } ++ SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); } ++ SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); } ++ SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); } ++ SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } ++ SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } ++ SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } ++ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } ++ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } ++ SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } ++ SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } ++ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } ++ SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } ++ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } ++ SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } ++ SYS_SWAPOFF = 424 // { int swapoff(const char *name); } ++ SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); } ++ SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); } ++ SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); } ++ SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); } ++ SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); } ++ 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_JAIL_ATTACH = 436 // { int jail_attach(int jid); } ++ SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } ++ SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } ++ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } ++ 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, u_int length); } ++ SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); } ++ 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(struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } ++ SYS_AUDITCTL = 453 // { int auditctl(char *path); } ++ SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } ++ SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } ++ SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } ++ SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } ++ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } ++ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } ++ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } ++ SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } ++ 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_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); } ++ SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); } ++ 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, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } ++ SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } ++ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } ++ SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } ++ SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } ++ SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } ++ SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); } ++ 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, mode_t mode); } ++ 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, cpusetid_t setid); } ++ SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); } ++ SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); } ++ SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); } ++ SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); } ++ SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } ++ SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } ++ SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } ++ SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } ++ SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } ++ 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_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } ++ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } ++ SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } ++ SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } ++ SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } ++ SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); } ++ SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); } ++ SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); } ++ SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); } ++ SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); } ++ SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); } ++ SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); } ++ SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } ++ SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); } ++ SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); } ++ SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); } ++ 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, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); } ++ SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); } ++ SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); } ++ SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } ++ SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } ++ SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } ++ SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } ++ SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } ++ SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); } ++ SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); } ++ SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); } ++ SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); } ++ SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); } ++ SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); } ++ SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); } ++ SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); } ++ SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); } ++ SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); } ++ SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); } ++ SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); } ++ SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); } ++ SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); } ++ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); } ++ SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } ++ SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } ++ SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } ++ SYS_FDATASYNC = 550 // { int fdatasync(int fd); } ++ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } ++ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } ++ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } ++ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } ++ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } ++ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } ++ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } ++ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } ++ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } ++ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } ++ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } ++ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } ++ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } ++ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } ++ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } ++ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } ++ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } ++ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } ++) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +index fbc59b7..c9c4ad0 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/386/include -m32 /tmp/386/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build 386 && linux +@@ -439,4 +439,12 @@ const ( + SYS_PROCESS_MADVISE = 440 + SYS_EPOLL_PWAIT2 = 441 + SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_MEMFD_SECRET = 447 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +index 04d16d7..12ff341 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/amd64/include -m64 /tmp/amd64/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build amd64 && linux +@@ -7,358 +7,366 @@ + 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 +- SYS_KCMP = 312 +- SYS_FINIT_MODULE = 313 +- SYS_SCHED_SETATTR = 314 +- SYS_SCHED_GETATTR = 315 +- SYS_RENAMEAT2 = 316 +- SYS_SECCOMP = 317 +- SYS_GETRANDOM = 318 +- SYS_MEMFD_CREATE = 319 +- SYS_KEXEC_FILE_LOAD = 320 +- SYS_BPF = 321 +- SYS_EXECVEAT = 322 +- SYS_USERFAULTFD = 323 +- SYS_MEMBARRIER = 324 +- SYS_MLOCK2 = 325 +- SYS_COPY_FILE_RANGE = 326 +- SYS_PREADV2 = 327 +- SYS_PWRITEV2 = 328 +- SYS_PKEY_MPROTECT = 329 +- SYS_PKEY_ALLOC = 330 +- SYS_PKEY_FREE = 331 +- SYS_STATX = 332 +- SYS_IO_PGETEVENTS = 333 +- SYS_RSEQ = 334 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLONE3 = 435 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ 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 ++ SYS_KCMP = 312 ++ SYS_FINIT_MODULE = 313 ++ SYS_SCHED_SETATTR = 314 ++ SYS_SCHED_GETATTR = 315 ++ SYS_RENAMEAT2 = 316 ++ SYS_SECCOMP = 317 ++ SYS_GETRANDOM = 318 ++ SYS_MEMFD_CREATE = 319 ++ SYS_KEXEC_FILE_LOAD = 320 ++ SYS_BPF = 321 ++ SYS_EXECVEAT = 322 ++ SYS_USERFAULTFD = 323 ++ SYS_MEMBARRIER = 324 ++ SYS_MLOCK2 = 325 ++ SYS_COPY_FILE_RANGE = 326 ++ SYS_PREADV2 = 327 ++ SYS_PWRITEV2 = 328 ++ SYS_PKEY_MPROTECT = 329 ++ SYS_PKEY_ALLOC = 330 ++ SYS_PKEY_FREE = 331 ++ SYS_STATX = 332 ++ SYS_IO_PGETEVENTS = 333 ++ SYS_RSEQ = 334 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_MEMFD_SECRET = 447 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +index 3b1c105..c3fb5e7 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/arm/include /tmp/arm/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm && linux +@@ -7,6 +7,7 @@ + package unix + + const ( ++ SYS_SYSCALL_MASK = 0 + SYS_RESTART_SYSCALL = 0 + SYS_EXIT = 1 + SYS_FORK = 2 +@@ -403,4 +404,11 @@ const ( + SYS_PROCESS_MADVISE = 440 + SYS_EPOLL_PWAIT2 = 441 + SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +index 3198adc..358c847 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/arm64/include -fsigned-char /tmp/arm64/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm64 && linux +@@ -7,303 +7,311 @@ + 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 +- SYS_GETRANDOM = 278 +- SYS_MEMFD_CREATE = 279 +- SYS_BPF = 280 +- SYS_EXECVEAT = 281 +- SYS_USERFAULTFD = 282 +- SYS_MEMBARRIER = 283 +- SYS_MLOCK2 = 284 +- SYS_COPY_FILE_RANGE = 285 +- SYS_PREADV2 = 286 +- SYS_PWRITEV2 = 287 +- SYS_PKEY_MPROTECT = 288 +- SYS_PKEY_ALLOC = 289 +- SYS_PKEY_FREE = 290 +- SYS_STATX = 291 +- SYS_IO_PGETEVENTS = 292 +- SYS_RSEQ = 293 +- SYS_KEXEC_FILE_LOAD = 294 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLONE3 = 435 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ 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 ++ SYS_GETRANDOM = 278 ++ SYS_MEMFD_CREATE = 279 ++ SYS_BPF = 280 ++ SYS_EXECVEAT = 281 ++ SYS_USERFAULTFD = 282 ++ SYS_MEMBARRIER = 283 ++ SYS_MLOCK2 = 284 ++ SYS_COPY_FILE_RANGE = 285 ++ SYS_PREADV2 = 286 ++ SYS_PWRITEV2 = 287 ++ SYS_PKEY_MPROTECT = 288 ++ SYS_PKEY_ALLOC = 289 ++ SYS_PKEY_FREE = 290 ++ SYS_STATX = 291 ++ SYS_IO_PGETEVENTS = 292 ++ SYS_RSEQ = 293 ++ SYS_KEXEC_FILE_LOAD = 294 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_MEMFD_SECRET = 447 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +new file mode 100644 +index 0000000..81c4849 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +@@ -0,0 +1,311 @@ ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/loong64/include /tmp/loong64/include/asm/unistd.h ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build loong64 && linux ++// +build loong64,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_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_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_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 ++ SYS_GETRANDOM = 278 ++ SYS_MEMFD_CREATE = 279 ++ SYS_BPF = 280 ++ SYS_EXECVEAT = 281 ++ SYS_USERFAULTFD = 282 ++ SYS_MEMBARRIER = 283 ++ SYS_MLOCK2 = 284 ++ SYS_COPY_FILE_RANGE = 285 ++ SYS_PREADV2 = 286 ++ SYS_PWRITEV2 = 287 ++ SYS_PKEY_MPROTECT = 288 ++ SYS_PKEY_ALLOC = 289 ++ SYS_PKEY_FREE = 290 ++ SYS_STATX = 291 ++ SYS_IO_PGETEVENTS = 292 ++ SYS_RSEQ = 293 ++ SYS_KEXEC_FILE_LOAD = 294 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 ++) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +index c877ec6..202a57e 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips/include /tmp/mips/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips && linux +@@ -424,4 +424,11 @@ const ( + SYS_PROCESS_MADVISE = 4440 + SYS_EPOLL_PWAIT2 = 4441 + SYS_MOUNT_SETATTR = 4442 ++ SYS_QUOTACTL_FD = 4443 ++ SYS_LANDLOCK_CREATE_RULESET = 4444 ++ SYS_LANDLOCK_ADD_RULE = 4445 ++ SYS_LANDLOCK_RESTRICT_SELF = 4446 ++ SYS_PROCESS_MRELEASE = 4448 ++ SYS_FUTEX_WAITV = 4449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 4450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +index b5f2903..1fbceb5 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips64/include /tmp/mips64/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips64 && linux +@@ -7,351 +7,358 @@ + 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 +- SYS_MLOCK2 = 5319 +- SYS_COPY_FILE_RANGE = 5320 +- SYS_PREADV2 = 5321 +- SYS_PWRITEV2 = 5322 +- SYS_PKEY_MPROTECT = 5323 +- SYS_PKEY_ALLOC = 5324 +- SYS_PKEY_FREE = 5325 +- SYS_STATX = 5326 +- SYS_RSEQ = 5327 +- SYS_IO_PGETEVENTS = 5328 +- SYS_PIDFD_SEND_SIGNAL = 5424 +- SYS_IO_URING_SETUP = 5425 +- SYS_IO_URING_ENTER = 5426 +- SYS_IO_URING_REGISTER = 5427 +- SYS_OPEN_TREE = 5428 +- SYS_MOVE_MOUNT = 5429 +- SYS_FSOPEN = 5430 +- SYS_FSCONFIG = 5431 +- SYS_FSMOUNT = 5432 +- SYS_FSPICK = 5433 +- SYS_PIDFD_OPEN = 5434 +- SYS_CLONE3 = 5435 +- SYS_CLOSE_RANGE = 5436 +- SYS_OPENAT2 = 5437 +- SYS_PIDFD_GETFD = 5438 +- SYS_FACCESSAT2 = 5439 +- SYS_PROCESS_MADVISE = 5440 +- SYS_EPOLL_PWAIT2 = 5441 +- SYS_MOUNT_SETATTR = 5442 ++ 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 ++ SYS_MLOCK2 = 5319 ++ SYS_COPY_FILE_RANGE = 5320 ++ SYS_PREADV2 = 5321 ++ SYS_PWRITEV2 = 5322 ++ SYS_PKEY_MPROTECT = 5323 ++ SYS_PKEY_ALLOC = 5324 ++ SYS_PKEY_FREE = 5325 ++ SYS_STATX = 5326 ++ SYS_RSEQ = 5327 ++ SYS_IO_PGETEVENTS = 5328 ++ SYS_PIDFD_SEND_SIGNAL = 5424 ++ SYS_IO_URING_SETUP = 5425 ++ SYS_IO_URING_ENTER = 5426 ++ SYS_IO_URING_REGISTER = 5427 ++ SYS_OPEN_TREE = 5428 ++ SYS_MOVE_MOUNT = 5429 ++ SYS_FSOPEN = 5430 ++ SYS_FSCONFIG = 5431 ++ SYS_FSMOUNT = 5432 ++ SYS_FSPICK = 5433 ++ SYS_PIDFD_OPEN = 5434 ++ SYS_CLONE3 = 5435 ++ SYS_CLOSE_RANGE = 5436 ++ SYS_OPENAT2 = 5437 ++ SYS_PIDFD_GETFD = 5438 ++ SYS_FACCESSAT2 = 5439 ++ SYS_PROCESS_MADVISE = 5440 ++ SYS_EPOLL_PWAIT2 = 5441 ++ SYS_MOUNT_SETATTR = 5442 ++ SYS_QUOTACTL_FD = 5443 ++ SYS_LANDLOCK_CREATE_RULESET = 5444 ++ SYS_LANDLOCK_ADD_RULE = 5445 ++ SYS_LANDLOCK_RESTRICT_SELF = 5446 ++ SYS_PROCESS_MRELEASE = 5448 ++ SYS_FUTEX_WAITV = 5449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 5450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +index 4607768..b4ffb7a 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips64le/include /tmp/mips64le/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips64le && linux +@@ -7,351 +7,358 @@ + 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 +- SYS_MLOCK2 = 5319 +- SYS_COPY_FILE_RANGE = 5320 +- SYS_PREADV2 = 5321 +- SYS_PWRITEV2 = 5322 +- SYS_PKEY_MPROTECT = 5323 +- SYS_PKEY_ALLOC = 5324 +- SYS_PKEY_FREE = 5325 +- SYS_STATX = 5326 +- SYS_RSEQ = 5327 +- SYS_IO_PGETEVENTS = 5328 +- SYS_PIDFD_SEND_SIGNAL = 5424 +- SYS_IO_URING_SETUP = 5425 +- SYS_IO_URING_ENTER = 5426 +- SYS_IO_URING_REGISTER = 5427 +- SYS_OPEN_TREE = 5428 +- SYS_MOVE_MOUNT = 5429 +- SYS_FSOPEN = 5430 +- SYS_FSCONFIG = 5431 +- SYS_FSMOUNT = 5432 +- SYS_FSPICK = 5433 +- SYS_PIDFD_OPEN = 5434 +- SYS_CLONE3 = 5435 +- SYS_CLOSE_RANGE = 5436 +- SYS_OPENAT2 = 5437 +- SYS_PIDFD_GETFD = 5438 +- SYS_FACCESSAT2 = 5439 +- SYS_PROCESS_MADVISE = 5440 +- SYS_EPOLL_PWAIT2 = 5441 +- SYS_MOUNT_SETATTR = 5442 ++ 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 ++ SYS_MLOCK2 = 5319 ++ SYS_COPY_FILE_RANGE = 5320 ++ SYS_PREADV2 = 5321 ++ SYS_PWRITEV2 = 5322 ++ SYS_PKEY_MPROTECT = 5323 ++ SYS_PKEY_ALLOC = 5324 ++ SYS_PKEY_FREE = 5325 ++ SYS_STATX = 5326 ++ SYS_RSEQ = 5327 ++ SYS_IO_PGETEVENTS = 5328 ++ SYS_PIDFD_SEND_SIGNAL = 5424 ++ SYS_IO_URING_SETUP = 5425 ++ SYS_IO_URING_ENTER = 5426 ++ SYS_IO_URING_REGISTER = 5427 ++ SYS_OPEN_TREE = 5428 ++ SYS_MOVE_MOUNT = 5429 ++ SYS_FSOPEN = 5430 ++ SYS_FSCONFIG = 5431 ++ SYS_FSMOUNT = 5432 ++ SYS_FSPICK = 5433 ++ SYS_PIDFD_OPEN = 5434 ++ SYS_CLONE3 = 5435 ++ SYS_CLOSE_RANGE = 5436 ++ SYS_OPENAT2 = 5437 ++ SYS_PIDFD_GETFD = 5438 ++ SYS_FACCESSAT2 = 5439 ++ SYS_PROCESS_MADVISE = 5440 ++ SYS_EPOLL_PWAIT2 = 5441 ++ SYS_MOUNT_SETATTR = 5442 ++ SYS_QUOTACTL_FD = 5443 ++ SYS_LANDLOCK_CREATE_RULESET = 5444 ++ SYS_LANDLOCK_ADD_RULE = 5445 ++ SYS_LANDLOCK_RESTRICT_SELF = 5446 ++ SYS_PROCESS_MRELEASE = 5448 ++ SYS_FUTEX_WAITV = 5449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 5450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +index 80e6696..867985f 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mipsle/include /tmp/mipsle/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mipsle && linux +@@ -424,4 +424,11 @@ const ( + SYS_PROCESS_MADVISE = 4440 + SYS_EPOLL_PWAIT2 = 4441 + SYS_MOUNT_SETATTR = 4442 ++ SYS_QUOTACTL_FD = 4443 ++ SYS_LANDLOCK_CREATE_RULESET = 4444 ++ SYS_LANDLOCK_ADD_RULE = 4445 ++ SYS_LANDLOCK_RESTRICT_SELF = 4446 ++ SYS_PROCESS_MRELEASE = 4448 ++ SYS_FUTEX_WAITV = 4449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 4450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +index b9d697f..a8cce69 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc/include /tmp/ppc/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc && linux +@@ -431,4 +431,11 @@ const ( + SYS_PROCESS_MADVISE = 440 + SYS_EPOLL_PWAIT2 = 441 + SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +index 08edc54..d44c5b3 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc64/include /tmp/ppc64/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc64 && linux +@@ -7,400 +7,407 @@ + 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 +- SYS_EXECVEAT = 362 +- SYS_SWITCH_ENDIAN = 363 +- SYS_USERFAULTFD = 364 +- SYS_MEMBARRIER = 365 +- SYS_MLOCK2 = 378 +- SYS_COPY_FILE_RANGE = 379 +- SYS_PREADV2 = 380 +- SYS_PWRITEV2 = 381 +- SYS_KEXEC_FILE_LOAD = 382 +- SYS_STATX = 383 +- SYS_PKEY_ALLOC = 384 +- SYS_PKEY_FREE = 385 +- SYS_PKEY_MPROTECT = 386 +- SYS_RSEQ = 387 +- SYS_IO_PGETEVENTS = 388 +- SYS_SEMTIMEDOP = 392 +- SYS_SEMGET = 393 +- SYS_SEMCTL = 394 +- SYS_SHMGET = 395 +- SYS_SHMCTL = 396 +- SYS_SHMAT = 397 +- SYS_SHMDT = 398 +- SYS_MSGGET = 399 +- SYS_MSGSND = 400 +- SYS_MSGRCV = 401 +- SYS_MSGCTL = 402 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLONE3 = 435 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ 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 ++ SYS_EXECVEAT = 362 ++ SYS_SWITCH_ENDIAN = 363 ++ SYS_USERFAULTFD = 364 ++ SYS_MEMBARRIER = 365 ++ SYS_MLOCK2 = 378 ++ SYS_COPY_FILE_RANGE = 379 ++ SYS_PREADV2 = 380 ++ SYS_PWRITEV2 = 381 ++ SYS_KEXEC_FILE_LOAD = 382 ++ SYS_STATX = 383 ++ SYS_PKEY_ALLOC = 384 ++ SYS_PKEY_FREE = 385 ++ SYS_PKEY_MPROTECT = 386 ++ SYS_RSEQ = 387 ++ SYS_IO_PGETEVENTS = 388 ++ SYS_SEMTIMEDOP = 392 ++ SYS_SEMGET = 393 ++ SYS_SEMCTL = 394 ++ SYS_SHMGET = 395 ++ SYS_SHMCTL = 396 ++ SYS_SHMAT = 397 ++ SYS_SHMDT = 398 ++ SYS_MSGGET = 399 ++ SYS_MSGSND = 400 ++ SYS_MSGRCV = 401 ++ SYS_MSGCTL = 402 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +index 33b33b0..4214dd9 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc64le/include /tmp/ppc64le/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc64le && linux +@@ -7,400 +7,407 @@ + 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 +- SYS_EXECVEAT = 362 +- SYS_SWITCH_ENDIAN = 363 +- SYS_USERFAULTFD = 364 +- SYS_MEMBARRIER = 365 +- SYS_MLOCK2 = 378 +- SYS_COPY_FILE_RANGE = 379 +- SYS_PREADV2 = 380 +- SYS_PWRITEV2 = 381 +- SYS_KEXEC_FILE_LOAD = 382 +- SYS_STATX = 383 +- SYS_PKEY_ALLOC = 384 +- SYS_PKEY_FREE = 385 +- SYS_PKEY_MPROTECT = 386 +- SYS_RSEQ = 387 +- SYS_IO_PGETEVENTS = 388 +- SYS_SEMTIMEDOP = 392 +- SYS_SEMGET = 393 +- SYS_SEMCTL = 394 +- SYS_SHMGET = 395 +- SYS_SHMCTL = 396 +- SYS_SHMAT = 397 +- SYS_SHMDT = 398 +- SYS_MSGGET = 399 +- SYS_MSGSND = 400 +- SYS_MSGRCV = 401 +- SYS_MSGCTL = 402 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLONE3 = 435 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ 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 ++ SYS_EXECVEAT = 362 ++ SYS_SWITCH_ENDIAN = 363 ++ SYS_USERFAULTFD = 364 ++ SYS_MEMBARRIER = 365 ++ SYS_MLOCK2 = 378 ++ SYS_COPY_FILE_RANGE = 379 ++ SYS_PREADV2 = 380 ++ SYS_PWRITEV2 = 381 ++ SYS_KEXEC_FILE_LOAD = 382 ++ SYS_STATX = 383 ++ SYS_PKEY_ALLOC = 384 ++ SYS_PKEY_FREE = 385 ++ SYS_PKEY_MPROTECT = 386 ++ SYS_RSEQ = 387 ++ SYS_IO_PGETEVENTS = 388 ++ SYS_SEMTIMEDOP = 392 ++ SYS_SEMGET = 393 ++ SYS_SEMCTL = 394 ++ SYS_SHMGET = 395 ++ SYS_SHMCTL = 396 ++ SYS_SHMAT = 397 ++ SYS_SHMDT = 398 ++ SYS_MSGGET = 399 ++ SYS_MSGSND = 400 ++ SYS_MSGRCV = 401 ++ SYS_MSGCTL = 402 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +index 66c8a8e..3e594a8 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/riscv64/include /tmp/riscv64/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build riscv64 && linux +@@ -7,302 +7,310 @@ + 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_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 +- SYS_GETRANDOM = 278 +- SYS_MEMFD_CREATE = 279 +- SYS_BPF = 280 +- SYS_EXECVEAT = 281 +- SYS_USERFAULTFD = 282 +- SYS_MEMBARRIER = 283 +- SYS_MLOCK2 = 284 +- SYS_COPY_FILE_RANGE = 285 +- SYS_PREADV2 = 286 +- SYS_PWRITEV2 = 287 +- SYS_PKEY_MPROTECT = 288 +- SYS_PKEY_ALLOC = 289 +- SYS_PKEY_FREE = 290 +- SYS_STATX = 291 +- SYS_IO_PGETEVENTS = 292 +- SYS_RSEQ = 293 +- SYS_KEXEC_FILE_LOAD = 294 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLONE3 = 435 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ 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_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 ++ SYS_GETRANDOM = 278 ++ SYS_MEMFD_CREATE = 279 ++ SYS_BPF = 280 ++ SYS_EXECVEAT = 281 ++ SYS_USERFAULTFD = 282 ++ SYS_MEMBARRIER = 283 ++ SYS_MLOCK2 = 284 ++ SYS_COPY_FILE_RANGE = 285 ++ SYS_PREADV2 = 286 ++ SYS_PWRITEV2 = 287 ++ SYS_PKEY_MPROTECT = 288 ++ SYS_PKEY_ALLOC = 289 ++ SYS_PKEY_FREE = 290 ++ SYS_STATX = 291 ++ SYS_IO_PGETEVENTS = 292 ++ SYS_RSEQ = 293 ++ SYS_KEXEC_FILE_LOAD = 294 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_MEMFD_SECRET = 447 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +index aea5760..7ea4652 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/s390x/include -fsigned-char /tmp/s390x/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build s390x && linux +@@ -7,365 +7,372 @@ + 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_SELECT = 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_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_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_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_NEWFSTATAT = 293 +- 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_COPY_FILE_RANGE = 375 +- SYS_PREADV2 = 376 +- SYS_PWRITEV2 = 377 +- SYS_S390_GUARDED_STORAGE = 378 +- SYS_STATX = 379 +- SYS_S390_STHYI = 380 +- SYS_KEXEC_FILE_LOAD = 381 +- SYS_IO_PGETEVENTS = 382 +- SYS_RSEQ = 383 +- SYS_PKEY_MPROTECT = 384 +- SYS_PKEY_ALLOC = 385 +- SYS_PKEY_FREE = 386 +- SYS_SEMTIMEDOP = 392 +- SYS_SEMGET = 393 +- SYS_SEMCTL = 394 +- SYS_SHMGET = 395 +- SYS_SHMCTL = 396 +- SYS_SHMAT = 397 +- SYS_SHMDT = 398 +- SYS_MSGGET = 399 +- SYS_MSGSND = 400 +- SYS_MSGRCV = 401 +- SYS_MSGCTL = 402 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLONE3 = 435 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ 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_SELECT = 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_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_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_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_NEWFSTATAT = 293 ++ 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_COPY_FILE_RANGE = 375 ++ SYS_PREADV2 = 376 ++ SYS_PWRITEV2 = 377 ++ SYS_S390_GUARDED_STORAGE = 378 ++ SYS_STATX = 379 ++ SYS_S390_STHYI = 380 ++ SYS_KEXEC_FILE_LOAD = 381 ++ SYS_IO_PGETEVENTS = 382 ++ SYS_RSEQ = 383 ++ SYS_PKEY_MPROTECT = 384 ++ SYS_PKEY_ALLOC = 385 ++ SYS_PKEY_FREE = 386 ++ SYS_SEMTIMEDOP = 392 ++ SYS_SEMGET = 393 ++ SYS_SEMCTL = 394 ++ SYS_SHMGET = 395 ++ SYS_SHMCTL = 396 ++ SYS_SHMAT = 397 ++ SYS_SHMDT = 398 ++ SYS_MSGGET = 399 ++ SYS_MSGSND = 400 ++ SYS_MSGRCV = 401 ++ SYS_MSGCTL = 402 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLONE3 = 435 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +index 488ca84..92f628e 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +@@ -1,4 +1,4 @@ +-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h ++// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/sparc64/include /tmp/sparc64/include/asm/unistd.h + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build sparc64 && linux +@@ -7,379 +7,386 @@ + 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_WAIT4 = 7 +- SYS_CREAT = 8 +- SYS_LINK = 9 +- SYS_UNLINK = 10 +- SYS_EXECV = 11 +- SYS_CHDIR = 12 +- SYS_CHOWN = 13 +- SYS_MKNOD = 14 +- SYS_CHMOD = 15 +- SYS_LCHOWN = 16 +- SYS_BRK = 17 +- SYS_PERFCTR = 18 +- SYS_LSEEK = 19 +- SYS_GETPID = 20 +- SYS_CAPGET = 21 +- SYS_CAPSET = 22 +- SYS_SETUID = 23 +- SYS_GETUID = 24 +- SYS_VMSPLICE = 25 +- SYS_PTRACE = 26 +- SYS_ALARM = 27 +- SYS_SIGALTSTACK = 28 +- SYS_PAUSE = 29 +- SYS_UTIME = 30 +- SYS_ACCESS = 33 +- SYS_NICE = 34 +- SYS_SYNC = 36 +- SYS_KILL = 37 +- SYS_STAT = 38 +- SYS_SENDFILE = 39 +- SYS_LSTAT = 40 +- SYS_DUP = 41 +- SYS_PIPE = 42 +- SYS_TIMES = 43 +- SYS_UMOUNT2 = 45 +- SYS_SETGID = 46 +- SYS_GETGID = 47 +- SYS_SIGNAL = 48 +- SYS_GETEUID = 49 +- SYS_GETEGID = 50 +- SYS_ACCT = 51 +- SYS_MEMORY_ORDERING = 52 +- SYS_IOCTL = 54 +- SYS_REBOOT = 55 +- SYS_SYMLINK = 57 +- SYS_READLINK = 58 +- SYS_EXECVE = 59 +- SYS_UMASK = 60 +- SYS_CHROOT = 61 +- SYS_FSTAT = 62 +- SYS_FSTAT64 = 63 +- SYS_GETPAGESIZE = 64 +- SYS_MSYNC = 65 +- SYS_VFORK = 66 +- SYS_PREAD64 = 67 +- SYS_PWRITE64 = 68 +- SYS_MMAP = 71 +- SYS_MUNMAP = 73 +- SYS_MPROTECT = 74 +- SYS_MADVISE = 75 +- SYS_VHANGUP = 76 +- SYS_MINCORE = 78 +- SYS_GETGROUPS = 79 +- SYS_SETGROUPS = 80 +- SYS_GETPGRP = 81 +- SYS_SETITIMER = 83 +- SYS_SWAPON = 85 +- SYS_GETITIMER = 86 +- SYS_SETHOSTNAME = 88 +- SYS_DUP2 = 90 +- SYS_FCNTL = 92 +- SYS_SELECT = 93 +- SYS_FSYNC = 95 +- SYS_SETPRIORITY = 96 +- SYS_SOCKET = 97 +- SYS_CONNECT = 98 +- SYS_ACCEPT = 99 +- SYS_GETPRIORITY = 100 +- SYS_RT_SIGRETURN = 101 +- SYS_RT_SIGACTION = 102 +- SYS_RT_SIGPROCMASK = 103 +- SYS_RT_SIGPENDING = 104 +- SYS_RT_SIGTIMEDWAIT = 105 +- SYS_RT_SIGQUEUEINFO = 106 +- SYS_RT_SIGSUSPEND = 107 +- SYS_SETRESUID = 108 +- SYS_GETRESUID = 109 +- SYS_SETRESGID = 110 +- SYS_GETRESGID = 111 +- SYS_RECVMSG = 113 +- SYS_SENDMSG = 114 +- SYS_GETTIMEOFDAY = 116 +- SYS_GETRUSAGE = 117 +- SYS_GETSOCKOPT = 118 +- SYS_GETCWD = 119 +- SYS_READV = 120 +- SYS_WRITEV = 121 +- SYS_SETTIMEOFDAY = 122 +- SYS_FCHOWN = 123 +- SYS_FCHMOD = 124 +- SYS_RECVFROM = 125 +- SYS_SETREUID = 126 +- SYS_SETREGID = 127 +- SYS_RENAME = 128 +- SYS_TRUNCATE = 129 +- SYS_FTRUNCATE = 130 +- SYS_FLOCK = 131 +- SYS_LSTAT64 = 132 +- SYS_SENDTO = 133 +- SYS_SHUTDOWN = 134 +- SYS_SOCKETPAIR = 135 +- SYS_MKDIR = 136 +- SYS_RMDIR = 137 +- SYS_UTIMES = 138 +- SYS_STAT64 = 139 +- SYS_SENDFILE64 = 140 +- SYS_GETPEERNAME = 141 +- SYS_FUTEX = 142 +- SYS_GETTID = 143 +- SYS_GETRLIMIT = 144 +- SYS_SETRLIMIT = 145 +- SYS_PIVOT_ROOT = 146 +- SYS_PRCTL = 147 +- SYS_PCICONFIG_READ = 148 +- SYS_PCICONFIG_WRITE = 149 +- SYS_GETSOCKNAME = 150 +- SYS_INOTIFY_INIT = 151 +- SYS_INOTIFY_ADD_WATCH = 152 +- SYS_POLL = 153 +- SYS_GETDENTS64 = 154 +- SYS_INOTIFY_RM_WATCH = 156 +- SYS_STATFS = 157 +- SYS_FSTATFS = 158 +- SYS_UMOUNT = 159 +- SYS_SCHED_SET_AFFINITY = 160 +- SYS_SCHED_GET_AFFINITY = 161 +- SYS_GETDOMAINNAME = 162 +- SYS_SETDOMAINNAME = 163 +- SYS_UTRAP_INSTALL = 164 +- SYS_QUOTACTL = 165 +- SYS_SET_TID_ADDRESS = 166 +- SYS_MOUNT = 167 +- SYS_USTAT = 168 +- SYS_SETXATTR = 169 +- SYS_LSETXATTR = 170 +- SYS_FSETXATTR = 171 +- SYS_GETXATTR = 172 +- SYS_LGETXATTR = 173 +- SYS_GETDENTS = 174 +- SYS_SETSID = 175 +- SYS_FCHDIR = 176 +- SYS_FGETXATTR = 177 +- SYS_LISTXATTR = 178 +- SYS_LLISTXATTR = 179 +- SYS_FLISTXATTR = 180 +- SYS_REMOVEXATTR = 181 +- SYS_LREMOVEXATTR = 182 +- SYS_SIGPENDING = 183 +- SYS_QUERY_MODULE = 184 +- SYS_SETPGID = 185 +- SYS_FREMOVEXATTR = 186 +- SYS_TKILL = 187 +- SYS_EXIT_GROUP = 188 +- SYS_UNAME = 189 +- SYS_INIT_MODULE = 190 +- SYS_PERSONALITY = 191 +- SYS_REMAP_FILE_PAGES = 192 +- SYS_EPOLL_CREATE = 193 +- SYS_EPOLL_CTL = 194 +- SYS_EPOLL_WAIT = 195 +- SYS_IOPRIO_SET = 196 +- SYS_GETPPID = 197 +- SYS_SIGACTION = 198 +- SYS_SGETMASK = 199 +- SYS_SSETMASK = 200 +- SYS_SIGSUSPEND = 201 +- SYS_OLDLSTAT = 202 +- SYS_USELIB = 203 +- SYS_READDIR = 204 +- SYS_READAHEAD = 205 +- SYS_SOCKETCALL = 206 +- SYS_SYSLOG = 207 +- SYS_LOOKUP_DCOOKIE = 208 +- SYS_FADVISE64 = 209 +- SYS_FADVISE64_64 = 210 +- SYS_TGKILL = 211 +- SYS_WAITPID = 212 +- SYS_SWAPOFF = 213 +- SYS_SYSINFO = 214 +- SYS_IPC = 215 +- SYS_SIGRETURN = 216 +- SYS_CLONE = 217 +- SYS_IOPRIO_GET = 218 +- SYS_ADJTIMEX = 219 +- SYS_SIGPROCMASK = 220 +- SYS_CREATE_MODULE = 221 +- SYS_DELETE_MODULE = 222 +- SYS_GET_KERNEL_SYMS = 223 +- SYS_GETPGID = 224 +- SYS_BDFLUSH = 225 +- SYS_SYSFS = 226 +- SYS_AFS_SYSCALL = 227 +- SYS_SETFSUID = 228 +- SYS_SETFSGID = 229 +- SYS__NEWSELECT = 230 +- SYS_SPLICE = 232 +- SYS_STIME = 233 +- SYS_STATFS64 = 234 +- SYS_FSTATFS64 = 235 +- SYS__LLSEEK = 236 +- SYS_MLOCK = 237 +- SYS_MUNLOCK = 238 +- SYS_MLOCKALL = 239 +- SYS_MUNLOCKALL = 240 +- SYS_SCHED_SETPARAM = 241 +- SYS_SCHED_GETPARAM = 242 +- SYS_SCHED_SETSCHEDULER = 243 +- SYS_SCHED_GETSCHEDULER = 244 +- SYS_SCHED_YIELD = 245 +- SYS_SCHED_GET_PRIORITY_MAX = 246 +- SYS_SCHED_GET_PRIORITY_MIN = 247 +- SYS_SCHED_RR_GET_INTERVAL = 248 +- SYS_NANOSLEEP = 249 +- SYS_MREMAP = 250 +- SYS__SYSCTL = 251 +- SYS_GETSID = 252 +- SYS_FDATASYNC = 253 +- SYS_NFSSERVCTL = 254 +- SYS_SYNC_FILE_RANGE = 255 +- SYS_CLOCK_SETTIME = 256 +- SYS_CLOCK_GETTIME = 257 +- SYS_CLOCK_GETRES = 258 +- SYS_CLOCK_NANOSLEEP = 259 +- SYS_SCHED_GETAFFINITY = 260 +- SYS_SCHED_SETAFFINITY = 261 +- SYS_TIMER_SETTIME = 262 +- SYS_TIMER_GETTIME = 263 +- SYS_TIMER_GETOVERRUN = 264 +- SYS_TIMER_DELETE = 265 +- SYS_TIMER_CREATE = 266 +- SYS_VSERVER = 267 +- SYS_IO_SETUP = 268 +- SYS_IO_DESTROY = 269 +- SYS_IO_SUBMIT = 270 +- SYS_IO_CANCEL = 271 +- SYS_IO_GETEVENTS = 272 +- SYS_MQ_OPEN = 273 +- SYS_MQ_UNLINK = 274 +- SYS_MQ_TIMEDSEND = 275 +- SYS_MQ_TIMEDRECEIVE = 276 +- SYS_MQ_NOTIFY = 277 +- SYS_MQ_GETSETATTR = 278 +- SYS_WAITID = 279 +- SYS_TEE = 280 +- SYS_ADD_KEY = 281 +- SYS_REQUEST_KEY = 282 +- SYS_KEYCTL = 283 +- SYS_OPENAT = 284 +- SYS_MKDIRAT = 285 +- SYS_MKNODAT = 286 +- SYS_FCHOWNAT = 287 +- SYS_FUTIMESAT = 288 +- SYS_FSTATAT64 = 289 +- SYS_UNLINKAT = 290 +- SYS_RENAMEAT = 291 +- SYS_LINKAT = 292 +- SYS_SYMLINKAT = 293 +- SYS_READLINKAT = 294 +- SYS_FCHMODAT = 295 +- SYS_FACCESSAT = 296 +- SYS_PSELECT6 = 297 +- SYS_PPOLL = 298 +- SYS_UNSHARE = 299 +- SYS_SET_ROBUST_LIST = 300 +- SYS_GET_ROBUST_LIST = 301 +- SYS_MIGRATE_PAGES = 302 +- SYS_MBIND = 303 +- SYS_GET_MEMPOLICY = 304 +- SYS_SET_MEMPOLICY = 305 +- SYS_KEXEC_LOAD = 306 +- SYS_MOVE_PAGES = 307 +- SYS_GETCPU = 308 +- SYS_EPOLL_PWAIT = 309 +- SYS_UTIMENSAT = 310 +- SYS_SIGNALFD = 311 +- SYS_TIMERFD_CREATE = 312 +- SYS_EVENTFD = 313 +- SYS_FALLOCATE = 314 +- SYS_TIMERFD_SETTIME = 315 +- SYS_TIMERFD_GETTIME = 316 +- SYS_SIGNALFD4 = 317 +- SYS_EVENTFD2 = 318 +- SYS_EPOLL_CREATE1 = 319 +- SYS_DUP3 = 320 +- SYS_PIPE2 = 321 +- SYS_INOTIFY_INIT1 = 322 +- SYS_ACCEPT4 = 323 +- SYS_PREADV = 324 +- SYS_PWRITEV = 325 +- SYS_RT_TGSIGQUEUEINFO = 326 +- SYS_PERF_EVENT_OPEN = 327 +- SYS_RECVMMSG = 328 +- SYS_FANOTIFY_INIT = 329 +- SYS_FANOTIFY_MARK = 330 +- SYS_PRLIMIT64 = 331 +- SYS_NAME_TO_HANDLE_AT = 332 +- SYS_OPEN_BY_HANDLE_AT = 333 +- SYS_CLOCK_ADJTIME = 334 +- SYS_SYNCFS = 335 +- SYS_SENDMMSG = 336 +- SYS_SETNS = 337 +- SYS_PROCESS_VM_READV = 338 +- SYS_PROCESS_VM_WRITEV = 339 +- SYS_KERN_FEATURES = 340 +- SYS_KCMP = 341 +- SYS_FINIT_MODULE = 342 +- SYS_SCHED_SETATTR = 343 +- SYS_SCHED_GETATTR = 344 +- SYS_RENAMEAT2 = 345 +- SYS_SECCOMP = 346 +- SYS_GETRANDOM = 347 +- SYS_MEMFD_CREATE = 348 +- SYS_BPF = 349 +- SYS_EXECVEAT = 350 +- SYS_MEMBARRIER = 351 +- SYS_USERFAULTFD = 352 +- SYS_BIND = 353 +- SYS_LISTEN = 354 +- SYS_SETSOCKOPT = 355 +- SYS_MLOCK2 = 356 +- SYS_COPY_FILE_RANGE = 357 +- SYS_PREADV2 = 358 +- SYS_PWRITEV2 = 359 +- SYS_STATX = 360 +- SYS_IO_PGETEVENTS = 361 +- SYS_PKEY_MPROTECT = 362 +- SYS_PKEY_ALLOC = 363 +- SYS_PKEY_FREE = 364 +- SYS_RSEQ = 365 +- SYS_SEMTIMEDOP = 392 +- SYS_SEMGET = 393 +- SYS_SEMCTL = 394 +- SYS_SHMGET = 395 +- SYS_SHMCTL = 396 +- SYS_SHMAT = 397 +- SYS_SHMDT = 398 +- SYS_MSGGET = 399 +- SYS_MSGSND = 400 +- SYS_MSGRCV = 401 +- SYS_MSGCTL = 402 +- SYS_PIDFD_SEND_SIGNAL = 424 +- SYS_IO_URING_SETUP = 425 +- SYS_IO_URING_ENTER = 426 +- SYS_IO_URING_REGISTER = 427 +- SYS_OPEN_TREE = 428 +- SYS_MOVE_MOUNT = 429 +- SYS_FSOPEN = 430 +- SYS_FSCONFIG = 431 +- SYS_FSMOUNT = 432 +- SYS_FSPICK = 433 +- SYS_PIDFD_OPEN = 434 +- SYS_CLOSE_RANGE = 436 +- SYS_OPENAT2 = 437 +- SYS_PIDFD_GETFD = 438 +- SYS_FACCESSAT2 = 439 +- SYS_PROCESS_MADVISE = 440 +- SYS_EPOLL_PWAIT2 = 441 +- SYS_MOUNT_SETATTR = 442 ++ SYS_RESTART_SYSCALL = 0 ++ SYS_EXIT = 1 ++ SYS_FORK = 2 ++ SYS_READ = 3 ++ SYS_WRITE = 4 ++ SYS_OPEN = 5 ++ SYS_CLOSE = 6 ++ SYS_WAIT4 = 7 ++ SYS_CREAT = 8 ++ SYS_LINK = 9 ++ SYS_UNLINK = 10 ++ SYS_EXECV = 11 ++ SYS_CHDIR = 12 ++ SYS_CHOWN = 13 ++ SYS_MKNOD = 14 ++ SYS_CHMOD = 15 ++ SYS_LCHOWN = 16 ++ SYS_BRK = 17 ++ SYS_PERFCTR = 18 ++ SYS_LSEEK = 19 ++ SYS_GETPID = 20 ++ SYS_CAPGET = 21 ++ SYS_CAPSET = 22 ++ SYS_SETUID = 23 ++ SYS_GETUID = 24 ++ SYS_VMSPLICE = 25 ++ SYS_PTRACE = 26 ++ SYS_ALARM = 27 ++ SYS_SIGALTSTACK = 28 ++ SYS_PAUSE = 29 ++ SYS_UTIME = 30 ++ SYS_ACCESS = 33 ++ SYS_NICE = 34 ++ SYS_SYNC = 36 ++ SYS_KILL = 37 ++ SYS_STAT = 38 ++ SYS_SENDFILE = 39 ++ SYS_LSTAT = 40 ++ SYS_DUP = 41 ++ SYS_PIPE = 42 ++ SYS_TIMES = 43 ++ SYS_UMOUNT2 = 45 ++ SYS_SETGID = 46 ++ SYS_GETGID = 47 ++ SYS_SIGNAL = 48 ++ SYS_GETEUID = 49 ++ SYS_GETEGID = 50 ++ SYS_ACCT = 51 ++ SYS_MEMORY_ORDERING = 52 ++ SYS_IOCTL = 54 ++ SYS_REBOOT = 55 ++ SYS_SYMLINK = 57 ++ SYS_READLINK = 58 ++ SYS_EXECVE = 59 ++ SYS_UMASK = 60 ++ SYS_CHROOT = 61 ++ SYS_FSTAT = 62 ++ SYS_FSTAT64 = 63 ++ SYS_GETPAGESIZE = 64 ++ SYS_MSYNC = 65 ++ SYS_VFORK = 66 ++ SYS_PREAD64 = 67 ++ SYS_PWRITE64 = 68 ++ SYS_MMAP = 71 ++ SYS_MUNMAP = 73 ++ SYS_MPROTECT = 74 ++ SYS_MADVISE = 75 ++ SYS_VHANGUP = 76 ++ SYS_MINCORE = 78 ++ SYS_GETGROUPS = 79 ++ SYS_SETGROUPS = 80 ++ SYS_GETPGRP = 81 ++ SYS_SETITIMER = 83 ++ SYS_SWAPON = 85 ++ SYS_GETITIMER = 86 ++ SYS_SETHOSTNAME = 88 ++ SYS_DUP2 = 90 ++ SYS_FCNTL = 92 ++ SYS_SELECT = 93 ++ SYS_FSYNC = 95 ++ SYS_SETPRIORITY = 96 ++ SYS_SOCKET = 97 ++ SYS_CONNECT = 98 ++ SYS_ACCEPT = 99 ++ SYS_GETPRIORITY = 100 ++ SYS_RT_SIGRETURN = 101 ++ SYS_RT_SIGACTION = 102 ++ SYS_RT_SIGPROCMASK = 103 ++ SYS_RT_SIGPENDING = 104 ++ SYS_RT_SIGTIMEDWAIT = 105 ++ SYS_RT_SIGQUEUEINFO = 106 ++ SYS_RT_SIGSUSPEND = 107 ++ SYS_SETRESUID = 108 ++ SYS_GETRESUID = 109 ++ SYS_SETRESGID = 110 ++ SYS_GETRESGID = 111 ++ SYS_RECVMSG = 113 ++ SYS_SENDMSG = 114 ++ SYS_GETTIMEOFDAY = 116 ++ SYS_GETRUSAGE = 117 ++ SYS_GETSOCKOPT = 118 ++ SYS_GETCWD = 119 ++ SYS_READV = 120 ++ SYS_WRITEV = 121 ++ SYS_SETTIMEOFDAY = 122 ++ SYS_FCHOWN = 123 ++ SYS_FCHMOD = 124 ++ SYS_RECVFROM = 125 ++ SYS_SETREUID = 126 ++ SYS_SETREGID = 127 ++ SYS_RENAME = 128 ++ SYS_TRUNCATE = 129 ++ SYS_FTRUNCATE = 130 ++ SYS_FLOCK = 131 ++ SYS_LSTAT64 = 132 ++ SYS_SENDTO = 133 ++ SYS_SHUTDOWN = 134 ++ SYS_SOCKETPAIR = 135 ++ SYS_MKDIR = 136 ++ SYS_RMDIR = 137 ++ SYS_UTIMES = 138 ++ SYS_STAT64 = 139 ++ SYS_SENDFILE64 = 140 ++ SYS_GETPEERNAME = 141 ++ SYS_FUTEX = 142 ++ SYS_GETTID = 143 ++ SYS_GETRLIMIT = 144 ++ SYS_SETRLIMIT = 145 ++ SYS_PIVOT_ROOT = 146 ++ SYS_PRCTL = 147 ++ SYS_PCICONFIG_READ = 148 ++ SYS_PCICONFIG_WRITE = 149 ++ SYS_GETSOCKNAME = 150 ++ SYS_INOTIFY_INIT = 151 ++ SYS_INOTIFY_ADD_WATCH = 152 ++ SYS_POLL = 153 ++ SYS_GETDENTS64 = 154 ++ SYS_INOTIFY_RM_WATCH = 156 ++ SYS_STATFS = 157 ++ SYS_FSTATFS = 158 ++ SYS_UMOUNT = 159 ++ SYS_SCHED_SET_AFFINITY = 160 ++ SYS_SCHED_GET_AFFINITY = 161 ++ SYS_GETDOMAINNAME = 162 ++ SYS_SETDOMAINNAME = 163 ++ SYS_UTRAP_INSTALL = 164 ++ SYS_QUOTACTL = 165 ++ SYS_SET_TID_ADDRESS = 166 ++ SYS_MOUNT = 167 ++ SYS_USTAT = 168 ++ SYS_SETXATTR = 169 ++ SYS_LSETXATTR = 170 ++ SYS_FSETXATTR = 171 ++ SYS_GETXATTR = 172 ++ SYS_LGETXATTR = 173 ++ SYS_GETDENTS = 174 ++ SYS_SETSID = 175 ++ SYS_FCHDIR = 176 ++ SYS_FGETXATTR = 177 ++ SYS_LISTXATTR = 178 ++ SYS_LLISTXATTR = 179 ++ SYS_FLISTXATTR = 180 ++ SYS_REMOVEXATTR = 181 ++ SYS_LREMOVEXATTR = 182 ++ SYS_SIGPENDING = 183 ++ SYS_QUERY_MODULE = 184 ++ SYS_SETPGID = 185 ++ SYS_FREMOVEXATTR = 186 ++ SYS_TKILL = 187 ++ SYS_EXIT_GROUP = 188 ++ SYS_UNAME = 189 ++ SYS_INIT_MODULE = 190 ++ SYS_PERSONALITY = 191 ++ SYS_REMAP_FILE_PAGES = 192 ++ SYS_EPOLL_CREATE = 193 ++ SYS_EPOLL_CTL = 194 ++ SYS_EPOLL_WAIT = 195 ++ SYS_IOPRIO_SET = 196 ++ SYS_GETPPID = 197 ++ SYS_SIGACTION = 198 ++ SYS_SGETMASK = 199 ++ SYS_SSETMASK = 200 ++ SYS_SIGSUSPEND = 201 ++ SYS_OLDLSTAT = 202 ++ SYS_USELIB = 203 ++ SYS_READDIR = 204 ++ SYS_READAHEAD = 205 ++ SYS_SOCKETCALL = 206 ++ SYS_SYSLOG = 207 ++ SYS_LOOKUP_DCOOKIE = 208 ++ SYS_FADVISE64 = 209 ++ SYS_FADVISE64_64 = 210 ++ SYS_TGKILL = 211 ++ SYS_WAITPID = 212 ++ SYS_SWAPOFF = 213 ++ SYS_SYSINFO = 214 ++ SYS_IPC = 215 ++ SYS_SIGRETURN = 216 ++ SYS_CLONE = 217 ++ SYS_IOPRIO_GET = 218 ++ SYS_ADJTIMEX = 219 ++ SYS_SIGPROCMASK = 220 ++ SYS_CREATE_MODULE = 221 ++ SYS_DELETE_MODULE = 222 ++ SYS_GET_KERNEL_SYMS = 223 ++ SYS_GETPGID = 224 ++ SYS_BDFLUSH = 225 ++ SYS_SYSFS = 226 ++ SYS_AFS_SYSCALL = 227 ++ SYS_SETFSUID = 228 ++ SYS_SETFSGID = 229 ++ SYS__NEWSELECT = 230 ++ SYS_SPLICE = 232 ++ SYS_STIME = 233 ++ SYS_STATFS64 = 234 ++ SYS_FSTATFS64 = 235 ++ SYS__LLSEEK = 236 ++ SYS_MLOCK = 237 ++ SYS_MUNLOCK = 238 ++ SYS_MLOCKALL = 239 ++ SYS_MUNLOCKALL = 240 ++ SYS_SCHED_SETPARAM = 241 ++ SYS_SCHED_GETPARAM = 242 ++ SYS_SCHED_SETSCHEDULER = 243 ++ SYS_SCHED_GETSCHEDULER = 244 ++ SYS_SCHED_YIELD = 245 ++ SYS_SCHED_GET_PRIORITY_MAX = 246 ++ SYS_SCHED_GET_PRIORITY_MIN = 247 ++ SYS_SCHED_RR_GET_INTERVAL = 248 ++ SYS_NANOSLEEP = 249 ++ SYS_MREMAP = 250 ++ SYS__SYSCTL = 251 ++ SYS_GETSID = 252 ++ SYS_FDATASYNC = 253 ++ SYS_NFSSERVCTL = 254 ++ SYS_SYNC_FILE_RANGE = 255 ++ SYS_CLOCK_SETTIME = 256 ++ SYS_CLOCK_GETTIME = 257 ++ SYS_CLOCK_GETRES = 258 ++ SYS_CLOCK_NANOSLEEP = 259 ++ SYS_SCHED_GETAFFINITY = 260 ++ SYS_SCHED_SETAFFINITY = 261 ++ SYS_TIMER_SETTIME = 262 ++ SYS_TIMER_GETTIME = 263 ++ SYS_TIMER_GETOVERRUN = 264 ++ SYS_TIMER_DELETE = 265 ++ SYS_TIMER_CREATE = 266 ++ SYS_VSERVER = 267 ++ SYS_IO_SETUP = 268 ++ SYS_IO_DESTROY = 269 ++ SYS_IO_SUBMIT = 270 ++ SYS_IO_CANCEL = 271 ++ SYS_IO_GETEVENTS = 272 ++ SYS_MQ_OPEN = 273 ++ SYS_MQ_UNLINK = 274 ++ SYS_MQ_TIMEDSEND = 275 ++ SYS_MQ_TIMEDRECEIVE = 276 ++ SYS_MQ_NOTIFY = 277 ++ SYS_MQ_GETSETATTR = 278 ++ SYS_WAITID = 279 ++ SYS_TEE = 280 ++ SYS_ADD_KEY = 281 ++ SYS_REQUEST_KEY = 282 ++ SYS_KEYCTL = 283 ++ SYS_OPENAT = 284 ++ SYS_MKDIRAT = 285 ++ SYS_MKNODAT = 286 ++ SYS_FCHOWNAT = 287 ++ SYS_FUTIMESAT = 288 ++ SYS_FSTATAT64 = 289 ++ SYS_UNLINKAT = 290 ++ SYS_RENAMEAT = 291 ++ SYS_LINKAT = 292 ++ SYS_SYMLINKAT = 293 ++ SYS_READLINKAT = 294 ++ SYS_FCHMODAT = 295 ++ SYS_FACCESSAT = 296 ++ SYS_PSELECT6 = 297 ++ SYS_PPOLL = 298 ++ SYS_UNSHARE = 299 ++ SYS_SET_ROBUST_LIST = 300 ++ SYS_GET_ROBUST_LIST = 301 ++ SYS_MIGRATE_PAGES = 302 ++ SYS_MBIND = 303 ++ SYS_GET_MEMPOLICY = 304 ++ SYS_SET_MEMPOLICY = 305 ++ SYS_KEXEC_LOAD = 306 ++ SYS_MOVE_PAGES = 307 ++ SYS_GETCPU = 308 ++ SYS_EPOLL_PWAIT = 309 ++ SYS_UTIMENSAT = 310 ++ SYS_SIGNALFD = 311 ++ SYS_TIMERFD_CREATE = 312 ++ SYS_EVENTFD = 313 ++ SYS_FALLOCATE = 314 ++ SYS_TIMERFD_SETTIME = 315 ++ SYS_TIMERFD_GETTIME = 316 ++ SYS_SIGNALFD4 = 317 ++ SYS_EVENTFD2 = 318 ++ SYS_EPOLL_CREATE1 = 319 ++ SYS_DUP3 = 320 ++ SYS_PIPE2 = 321 ++ SYS_INOTIFY_INIT1 = 322 ++ SYS_ACCEPT4 = 323 ++ SYS_PREADV = 324 ++ SYS_PWRITEV = 325 ++ SYS_RT_TGSIGQUEUEINFO = 326 ++ SYS_PERF_EVENT_OPEN = 327 ++ SYS_RECVMMSG = 328 ++ SYS_FANOTIFY_INIT = 329 ++ SYS_FANOTIFY_MARK = 330 ++ SYS_PRLIMIT64 = 331 ++ SYS_NAME_TO_HANDLE_AT = 332 ++ SYS_OPEN_BY_HANDLE_AT = 333 ++ SYS_CLOCK_ADJTIME = 334 ++ SYS_SYNCFS = 335 ++ SYS_SENDMMSG = 336 ++ SYS_SETNS = 337 ++ SYS_PROCESS_VM_READV = 338 ++ SYS_PROCESS_VM_WRITEV = 339 ++ SYS_KERN_FEATURES = 340 ++ SYS_KCMP = 341 ++ SYS_FINIT_MODULE = 342 ++ SYS_SCHED_SETATTR = 343 ++ SYS_SCHED_GETATTR = 344 ++ SYS_RENAMEAT2 = 345 ++ SYS_SECCOMP = 346 ++ SYS_GETRANDOM = 347 ++ SYS_MEMFD_CREATE = 348 ++ SYS_BPF = 349 ++ SYS_EXECVEAT = 350 ++ SYS_MEMBARRIER = 351 ++ SYS_USERFAULTFD = 352 ++ SYS_BIND = 353 ++ SYS_LISTEN = 354 ++ SYS_SETSOCKOPT = 355 ++ SYS_MLOCK2 = 356 ++ SYS_COPY_FILE_RANGE = 357 ++ SYS_PREADV2 = 358 ++ SYS_PWRITEV2 = 359 ++ SYS_STATX = 360 ++ SYS_IO_PGETEVENTS = 361 ++ SYS_PKEY_MPROTECT = 362 ++ SYS_PKEY_ALLOC = 363 ++ SYS_PKEY_FREE = 364 ++ SYS_RSEQ = 365 ++ SYS_SEMTIMEDOP = 392 ++ SYS_SEMGET = 393 ++ SYS_SEMCTL = 394 ++ SYS_SHMGET = 395 ++ SYS_SHMCTL = 396 ++ SYS_SHMAT = 397 ++ SYS_SHMDT = 398 ++ SYS_MSGGET = 399 ++ SYS_MSGSND = 400 ++ SYS_MSGRCV = 401 ++ SYS_MSGCTL = 402 ++ SYS_PIDFD_SEND_SIGNAL = 424 ++ SYS_IO_URING_SETUP = 425 ++ SYS_IO_URING_ENTER = 426 ++ SYS_IO_URING_REGISTER = 427 ++ SYS_OPEN_TREE = 428 ++ SYS_MOVE_MOUNT = 429 ++ SYS_FSOPEN = 430 ++ SYS_FSCONFIG = 431 ++ SYS_FSMOUNT = 432 ++ SYS_FSPICK = 433 ++ SYS_PIDFD_OPEN = 434 ++ SYS_CLOSE_RANGE = 436 ++ SYS_OPENAT2 = 437 ++ SYS_PIDFD_GETFD = 438 ++ SYS_FACCESSAT2 = 439 ++ SYS_PROCESS_MADVISE = 440 ++ SYS_EPOLL_PWAIT2 = 441 ++ SYS_MOUNT_SETATTR = 442 ++ SYS_QUOTACTL_FD = 443 ++ SYS_LANDLOCK_CREATE_RULESET = 444 ++ SYS_LANDLOCK_ADD_RULE = 445 ++ SYS_LANDLOCK_RESTRICT_SELF = 446 ++ SYS_PROCESS_MRELEASE = 448 ++ SYS_FUTEX_WAITV = 449 ++ SYS_SET_MEMPOLICY_HOME_NODE = 450 + ) +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +index 817edbf..5977338 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +@@ -6,6 +6,7 @@ + + package unix + ++// Deprecated: Use libc wrappers instead of direct syscalls. + const ( + SYS_EXIT = 1 // { void sys_exit(int rval); } + SYS_FORK = 2 // { int sys_fork(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 +index ea45361..16af291 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +@@ -6,6 +6,7 @@ + + package unix + ++// Deprecated: Use libc wrappers instead of direct syscalls. + const ( + SYS_EXIT = 1 // { void sys_exit(int rval); } + SYS_FORK = 2 // { int sys_fork(void); } +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +index 467971e..f59b18a 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +@@ -6,6 +6,7 @@ + + package unix + ++// Deprecated: Use libc wrappers instead of direct syscalls. + const ( + SYS_EXIT = 1 // { void sys_exit(int rval); } + SYS_FORK = 2 // { int sys_fork(void); } +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +index 32eec5e..721ef59 100644 +--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +@@ -6,6 +6,7 @@ + + package unix + ++// Deprecated: Use libc wrappers instead of direct syscalls. + const ( + SYS_EXIT = 1 // { void sys_exit(int rval); } + SYS_FORK = 2 // { int sys_fork(void); } +diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +new file mode 100644 +index 0000000..f258cfa +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +@@ -0,0 +1,218 @@ ++// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build ppc64 && openbsd ++// +build ppc64,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, 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_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); } ++ SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); } ++ 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, int options, struct rusage *rusage); } ++ 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, dev_t dev); } ++ 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_OBREAK = 17 // { int sys_obreak(char *nsize); } break ++ SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); } ++ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); } ++ SYS_GETPID = 20 // { pid_t sys_getpid(void); } ++ SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); } ++ 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, 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 amode); } ++ 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_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, struct stat *buf, int flag); } ++ SYS_GETEGID = 43 // { gid_t sys_getegid(void); } ++ SYS_PROFIL = 44 // { int sys_profil(caddr_t 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_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); } ++ SYS_GETGID = 47 // { gid_t sys_getgid(void); } ++ SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); } ++ 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, u_long com, ... void *data); } ++ 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, 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_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); } ++ SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); } ++ SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); } ++ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); } ++ SYS_VFORK = 66 // { int sys_vfork(void); } ++ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); } ++ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); } ++ SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); } ++ SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); } ++ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } ++ SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ 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_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); } ++ SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); } ++ 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_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); } ++ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); } ++ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); } ++ SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); } ++ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); } ++ SYS_DUP2 = 90 // { int sys_dup2(int from, int to); } ++ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } ++ SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); } ++ SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); } ++ SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); } ++ 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, socklen_t namelen); } ++ 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_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); } ++ SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); } ++ SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); } ++ 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_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); } ++ SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); } ++ SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); } ++ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); } ++ SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); } ++ SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); } ++ SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); } ++ SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); } ++ SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); } ++ 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_KILL = 122 // { int sys_kill(int pid, int signum); } ++ 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_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); } ++ SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); } ++ SYS_SETSID = 147 // { int sys_setsid(void); } ++ SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); } ++ 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, 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_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, 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, 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_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); } ++ SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); } ++ 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, int msgflg); } ++ SYS_MSGRCV = 227 // { int 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_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); } ++ SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); } ++ 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, const struct iovec *iovp, int iovcnt, int pad, off_t offset); } ++ SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); } ++ 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, uid_t *suid); } ++ SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); } ++ SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } ++ SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); } ++ SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); } ++ SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); } ++ SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); } ++ 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, size_t nsops); } ++ SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); } ++ SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); } ++ SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); } ++ SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); } ++ 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, int n); } ++ SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); } ++ SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); } ++ SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); } ++ SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); } ++ 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, int amode, int flag); } ++ SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); } ++ SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); } ++ SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); } ++ SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); } ++ SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); } ++ SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); } ++ SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); } ++ SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); } ++ SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); } ++ SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); } ++ SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); } ++ 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_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +new file mode 100644 +index 0000000..07919e0 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +@@ -0,0 +1,219 @@ ++// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build riscv64 && openbsd ++// +build riscv64,openbsd ++ ++package unix ++ ++// Deprecated: Use libc wrappers instead of direct syscalls. ++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_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); } ++ SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); } ++ 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, int options, struct rusage *rusage); } ++ 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, dev_t dev); } ++ 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_OBREAK = 17 // { int sys_obreak(char *nsize); } break ++ SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); } ++ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); } ++ SYS_GETPID = 20 // { pid_t sys_getpid(void); } ++ SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); } ++ 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, 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 amode); } ++ 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_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, struct stat *buf, int flag); } ++ SYS_GETEGID = 43 // { gid_t sys_getegid(void); } ++ SYS_PROFIL = 44 // { int sys_profil(caddr_t 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_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); } ++ SYS_GETGID = 47 // { gid_t sys_getgid(void); } ++ SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); } ++ 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, u_long com, ... void *data); } ++ 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, 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_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); } ++ SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); } ++ SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); } ++ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); } ++ SYS_VFORK = 66 // { int sys_vfork(void); } ++ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); } ++ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); } ++ SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); } ++ SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); } ++ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } ++ SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } ++ 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_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); } ++ SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); } ++ 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_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); } ++ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); } ++ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); } ++ SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); } ++ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); } ++ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); } ++ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); } ++ SYS_DUP2 = 90 // { int sys_dup2(int from, int to); } ++ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } ++ SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); } ++ SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); } ++ SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); } ++ 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, socklen_t namelen); } ++ 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_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); } ++ SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); } ++ SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); } ++ 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_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); } ++ SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); } ++ SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); } ++ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); } ++ SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); } ++ SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); } ++ SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); } ++ SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); } ++ SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); } ++ 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_KILL = 122 // { int sys_kill(int pid, int signum); } ++ 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_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); } ++ SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); } ++ SYS_SETSID = 147 // { int sys_setsid(void); } ++ SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); } ++ 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, 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_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, 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, 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_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); } ++ SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); } ++ 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, int msgflg); } ++ SYS_MSGRCV = 227 // { int 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_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); } ++ SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); } ++ 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, const struct iovec *iovp, int iovcnt, int pad, off_t offset); } ++ SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); } ++ 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, uid_t *suid); } ++ SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); } ++ SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } ++ SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); } ++ SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); } ++ SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); } ++ SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); } ++ 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, size_t nsops); } ++ SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); } ++ SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); } ++ SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); } ++ SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); } ++ 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, int n); } ++ SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); } ++ SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); } ++ SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); } ++ SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); } ++ 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, int amode, int flag); } ++ SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); } ++ SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); } ++ SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); } ++ SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); } ++ SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); } ++ SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); } ++ SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); } ++ SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); } ++ SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); } ++ SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); } ++ SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); } ++ 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/ztypes_darwin_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +index 4c8dc0b..e2a64f0 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +@@ -209,6 +209,92 @@ type RawSockaddrCtl struct { + Sc_reserved [5]uint32 + } + ++type RawSockaddrVM struct { ++ Len uint8 ++ Family uint8 ++ Reserved1 uint16 ++ Port uint32 ++ Cid uint32 ++} ++ ++type XVSockPCB struct { ++ Xv_len uint32 ++ Xv_vsockpp uint64 ++ Xvp_local_cid uint32 ++ Xvp_local_port uint32 ++ Xvp_remote_cid uint32 ++ Xvp_remote_port uint32 ++ Xvp_rxcnt uint32 ++ Xvp_txcnt uint32 ++ Xvp_peer_rxhiwat uint32 ++ Xvp_peer_rxcnt uint32 ++ Xvp_last_pid int32 ++ Xvp_gencnt uint64 ++ Xv_socket XSocket ++ _ [4]byte ++} ++ ++type XSocket struct { ++ Xso_len uint32 ++ Xso_so uint32 ++ So_type int16 ++ So_options int16 ++ So_linger int16 ++ So_state int16 ++ So_pcb uint32 ++ Xso_protocol int32 ++ Xso_family int32 ++ So_qlen int16 ++ So_incqlen int16 ++ So_qlimit int16 ++ So_timeo int16 ++ So_error uint16 ++ So_pgid int32 ++ So_oobmark uint32 ++ So_rcv XSockbuf ++ So_snd XSockbuf ++ So_uid uint32 ++} ++ ++type XSocket64 struct { ++ Xso_len uint32 ++ _ [8]byte ++ So_type int16 ++ So_options int16 ++ So_linger int16 ++ So_state int16 ++ _ [8]byte ++ Xso_protocol int32 ++ Xso_family int32 ++ So_qlen int16 ++ So_incqlen int16 ++ So_qlimit int16 ++ So_timeo int16 ++ So_error uint16 ++ So_pgid int32 ++ So_oobmark uint32 ++ So_rcv XSockbuf ++ So_snd XSockbuf ++ So_uid uint32 ++} ++ ++type XSockbuf struct { ++ Cc uint32 ++ Hiwat uint32 ++ Mbcnt uint32 ++ Mbmax uint32 ++ Lowat int32 ++ Flags int16 ++ Timeo int16 ++} ++ ++type XVSockPgen struct { ++ Len uint32 ++ Count uint64 ++ Gen uint64 ++ Sogen uint64 ++} ++ + type _Socklen uint32 + + type Xucred struct { +@@ -280,25 +366,57 @@ type ICMPv6Filter struct { + Filt [8]uint32 + } + ++type TCPConnectionInfo struct { ++ State uint8 ++ Snd_wscale uint8 ++ Rcv_wscale uint8 ++ _ uint8 ++ Options uint32 ++ Flags uint32 ++ Rto uint32 ++ Maxseg uint32 ++ Snd_ssthresh uint32 ++ Snd_cwnd uint32 ++ Snd_wnd uint32 ++ Snd_sbbytes uint32 ++ Rcv_wnd uint32 ++ Rttcur uint32 ++ Srtt uint32 ++ Rttvar uint32 ++ Txpackets uint64 ++ Txbytes uint64 ++ Txretransmitbytes uint64 ++ Rxpackets uint64 ++ Rxbytes uint64 ++ Rxoutoforderbytes uint64 ++ Txretransmitpackets uint64 ++} ++ + const ( +- SizeofSockaddrInet4 = 0x10 +- SizeofSockaddrInet6 = 0x1c +- SizeofSockaddrAny = 0x6c +- SizeofSockaddrUnix = 0x6a +- SizeofSockaddrDatalink = 0x14 +- SizeofSockaddrCtl = 0x20 +- SizeofXucred = 0x4c +- SizeofLinger = 0x8 +- SizeofIovec = 0x10 +- SizeofIPMreq = 0x8 +- SizeofIPMreqn = 0xc +- SizeofIPv6Mreq = 0x14 +- SizeofMsghdr = 0x30 +- SizeofCmsghdr = 0xc +- SizeofInet4Pktinfo = 0xc +- SizeofInet6Pktinfo = 0x14 +- SizeofIPv6MTUInfo = 0x20 +- SizeofICMPv6Filter = 0x20 ++ SizeofSockaddrInet4 = 0x10 ++ SizeofSockaddrInet6 = 0x1c ++ SizeofSockaddrAny = 0x6c ++ SizeofSockaddrUnix = 0x6a ++ SizeofSockaddrDatalink = 0x14 ++ SizeofSockaddrCtl = 0x20 ++ SizeofSockaddrVM = 0xc ++ SizeofXvsockpcb = 0xa8 ++ SizeofXSocket = 0x64 ++ SizeofXSockbuf = 0x18 ++ SizeofXVSockPgen = 0x20 ++ SizeofXucred = 0x4c ++ SizeofLinger = 0x8 ++ SizeofIovec = 0x10 ++ SizeofIPMreq = 0x8 ++ SizeofIPMreqn = 0xc ++ SizeofIPv6Mreq = 0x14 ++ SizeofMsghdr = 0x30 ++ SizeofCmsghdr = 0xc ++ SizeofInet4Pktinfo = 0xc ++ SizeofInet6Pktinfo = 0x14 ++ SizeofIPv6MTUInfo = 0x20 ++ SizeofICMPv6Filter = 0x20 ++ SizeofTCPConnectionInfo = 0x70 + ) + + const ( +@@ -550,13 +668,13 @@ type Eproc struct { + Tdev int32 + Tpgid int32 + Tsess uintptr +- Wmesg [8]int8 ++ Wmesg [8]byte + Xsize int32 + Xrssize int16 + Xccount int16 + Xswrss int16 + Flag int32 +- Login [12]int8 ++ Login [12]byte + Spare [4]int32 + _ [4]byte + } +@@ -597,7 +715,7 @@ type ExternProc struct { + P_priority uint8 + P_usrpri uint8 + P_nice int8 +- P_comm [17]int8 ++ P_comm [17]byte + P_pgrp uintptr + P_addr uintptr + P_xstat uint16 +@@ -639,3 +757,39 @@ type Ucred struct { + Ngroups int16 + Groups [16]uint32 + } ++ ++type SysvIpcPerm struct { ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint16 ++ _ uint16 ++ _ int32 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Lpid int32 ++ Cpid int32 ++ Nattch uint16 ++ _ [34]byte ++} ++ ++const ( ++ IPC_CREAT = 0x200 ++ IPC_EXCL = 0x400 ++ IPC_NOWAIT = 0x800 ++ IPC_PRIVATE = 0x0 ++) ++ ++const ( ++ IPC_RMID = 0x0 ++ IPC_SET = 0x1 ++ IPC_STAT = 0x2 ++) ++ ++const ( ++ SHM_RDONLY = 0x1000 ++ SHM_RND = 0x2000 ++) +diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +index 96f0e6a..34aa775 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +@@ -209,6 +209,92 @@ type RawSockaddrCtl struct { + Sc_reserved [5]uint32 + } + ++type RawSockaddrVM struct { ++ Len uint8 ++ Family uint8 ++ Reserved1 uint16 ++ Port uint32 ++ Cid uint32 ++} ++ ++type XVSockPCB struct { ++ Xv_len uint32 ++ Xv_vsockpp uint64 ++ Xvp_local_cid uint32 ++ Xvp_local_port uint32 ++ Xvp_remote_cid uint32 ++ Xvp_remote_port uint32 ++ Xvp_rxcnt uint32 ++ Xvp_txcnt uint32 ++ Xvp_peer_rxhiwat uint32 ++ Xvp_peer_rxcnt uint32 ++ Xvp_last_pid int32 ++ Xvp_gencnt uint64 ++ Xv_socket XSocket ++ _ [4]byte ++} ++ ++type XSocket struct { ++ Xso_len uint32 ++ Xso_so uint32 ++ So_type int16 ++ So_options int16 ++ So_linger int16 ++ So_state int16 ++ So_pcb uint32 ++ Xso_protocol int32 ++ Xso_family int32 ++ So_qlen int16 ++ So_incqlen int16 ++ So_qlimit int16 ++ So_timeo int16 ++ So_error uint16 ++ So_pgid int32 ++ So_oobmark uint32 ++ So_rcv XSockbuf ++ So_snd XSockbuf ++ So_uid uint32 ++} ++ ++type XSocket64 struct { ++ Xso_len uint32 ++ _ [8]byte ++ So_type int16 ++ So_options int16 ++ So_linger int16 ++ So_state int16 ++ _ [8]byte ++ Xso_protocol int32 ++ Xso_family int32 ++ So_qlen int16 ++ So_incqlen int16 ++ So_qlimit int16 ++ So_timeo int16 ++ So_error uint16 ++ So_pgid int32 ++ So_oobmark uint32 ++ So_rcv XSockbuf ++ So_snd XSockbuf ++ So_uid uint32 ++} ++ ++type XSockbuf struct { ++ Cc uint32 ++ Hiwat uint32 ++ Mbcnt uint32 ++ Mbmax uint32 ++ Lowat int32 ++ Flags int16 ++ Timeo int16 ++} ++ ++type XVSockPgen struct { ++ Len uint32 ++ Count uint64 ++ Gen uint64 ++ Sogen uint64 ++} ++ + type _Socklen uint32 + + type Xucred struct { +@@ -280,25 +366,57 @@ type ICMPv6Filter struct { + Filt [8]uint32 + } + ++type TCPConnectionInfo struct { ++ State uint8 ++ Snd_wscale uint8 ++ Rcv_wscale uint8 ++ _ uint8 ++ Options uint32 ++ Flags uint32 ++ Rto uint32 ++ Maxseg uint32 ++ Snd_ssthresh uint32 ++ Snd_cwnd uint32 ++ Snd_wnd uint32 ++ Snd_sbbytes uint32 ++ Rcv_wnd uint32 ++ Rttcur uint32 ++ Srtt uint32 ++ Rttvar uint32 ++ Txpackets uint64 ++ Txbytes uint64 ++ Txretransmitbytes uint64 ++ Rxpackets uint64 ++ Rxbytes uint64 ++ Rxoutoforderbytes uint64 ++ Txretransmitpackets uint64 ++} ++ + const ( +- SizeofSockaddrInet4 = 0x10 +- SizeofSockaddrInet6 = 0x1c +- SizeofSockaddrAny = 0x6c +- SizeofSockaddrUnix = 0x6a +- SizeofSockaddrDatalink = 0x14 +- SizeofSockaddrCtl = 0x20 +- SizeofXucred = 0x4c +- SizeofLinger = 0x8 +- SizeofIovec = 0x10 +- SizeofIPMreq = 0x8 +- SizeofIPMreqn = 0xc +- SizeofIPv6Mreq = 0x14 +- SizeofMsghdr = 0x30 +- SizeofCmsghdr = 0xc +- SizeofInet4Pktinfo = 0xc +- SizeofInet6Pktinfo = 0x14 +- SizeofIPv6MTUInfo = 0x20 +- SizeofICMPv6Filter = 0x20 ++ SizeofSockaddrInet4 = 0x10 ++ SizeofSockaddrInet6 = 0x1c ++ SizeofSockaddrAny = 0x6c ++ SizeofSockaddrUnix = 0x6a ++ SizeofSockaddrDatalink = 0x14 ++ SizeofSockaddrCtl = 0x20 ++ SizeofSockaddrVM = 0xc ++ SizeofXvsockpcb = 0xa8 ++ SizeofXSocket = 0x64 ++ SizeofXSockbuf = 0x18 ++ SizeofXVSockPgen = 0x20 ++ SizeofXucred = 0x4c ++ SizeofLinger = 0x8 ++ SizeofIovec = 0x10 ++ SizeofIPMreq = 0x8 ++ SizeofIPMreqn = 0xc ++ SizeofIPv6Mreq = 0x14 ++ SizeofMsghdr = 0x30 ++ SizeofCmsghdr = 0xc ++ SizeofInet4Pktinfo = 0xc ++ SizeofInet6Pktinfo = 0x14 ++ SizeofIPv6MTUInfo = 0x20 ++ SizeofICMPv6Filter = 0x20 ++ SizeofTCPConnectionInfo = 0x70 + ) + + const ( +@@ -550,13 +668,13 @@ type Eproc struct { + Tdev int32 + Tpgid int32 + Tsess uintptr +- Wmesg [8]int8 ++ Wmesg [8]byte + Xsize int32 + Xrssize int16 + Xccount int16 + Xswrss int16 + Flag int32 +- Login [12]int8 ++ Login [12]byte + Spare [4]int32 + _ [4]byte + } +@@ -597,7 +715,7 @@ type ExternProc struct { + P_priority uint8 + P_usrpri uint8 + P_nice int8 +- P_comm [17]int8 ++ P_comm [17]byte + P_pgrp uintptr + P_addr uintptr + P_xstat uint16 +@@ -639,3 +757,39 @@ type Ucred struct { + Ngroups int16 + Groups [16]uint32 + } ++ ++type SysvIpcPerm struct { ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint16 ++ _ uint16 ++ _ int32 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Lpid int32 ++ Cpid int32 ++ Nattch uint16 ++ _ [34]byte ++} ++ ++const ( ++ IPC_CREAT = 0x200 ++ IPC_EXCL = 0x400 ++ IPC_NOWAIT = 0x800 ++ IPC_PRIVATE = 0x0 ++) ++ ++const ( ++ IPC_RMID = 0x0 ++ IPC_SET = 0x1 ++ IPC_STAT = 0x2 ++) ++ ++const ( ++ SHM_RDONLY = 0x1000 ++ SHM_RND = 0x2000 ++) +diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +index 1f99c02..d9c78cd 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +@@ -31,6 +31,8 @@ type Timeval struct { + Usec int32 + } + ++type Time_t int32 ++ + type Rusage struct { + Utime Timeval + Stime Timeval +@@ -88,27 +90,6 @@ type Stat_t struct { + Spare [10]uint64 + } + +-type stat_freebsd11_t struct { +- Dev uint32 +- Ino uint32 +- Mode uint16 +- Nlink uint16 +- Uid uint32 +- Gid uint32 +- Rdev uint32 +- Atim Timespec +- Mtim Timespec +- Ctim Timespec +- Size int64 +- Blocks int64 +- Blksize int32 +- Flags uint32 +- Gen uint32 +- Lspare int32 +- Btim Timespec +- _ [8]byte +-} +- + type Statfs_t struct { + Version uint32 + Type uint32 +@@ -134,31 +115,6 @@ type Statfs_t struct { + Mntonname [1024]byte + } + +-type statfs_freebsd11_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]byte +- Mntfromname [88]byte +- Mntonname [88]byte +-} +- + type Flock_t struct { + Start int64 + Len int64 +@@ -179,14 +135,6 @@ type Dirent struct { + Name [256]int8 + } + +-type dirent_freebsd11 struct { +- Fileno uint32 +- Reclen uint16 +- Type uint8 +- Namlen uint8 +- Name [256]int8 +-} +- + type Fsid struct { + Val [2]int32 + } +@@ -335,41 +283,9 @@ const ( + ) + + const ( +- PTRACE_ATTACH = 0xa +- PTRACE_CONT = 0x7 +- PTRACE_DETACH = 0xb +- PTRACE_GETFPREGS = 0x23 +- PTRACE_GETFSBASE = 0x47 +- PTRACE_GETLWPLIST = 0xf +- PTRACE_GETNUMLWPS = 0xe +- PTRACE_GETREGS = 0x21 +- PTRACE_GETXSTATE = 0x45 +- PTRACE_IO = 0xc +- PTRACE_KILL = 0x8 +- PTRACE_LWPEVENTS = 0x18 +- PTRACE_LWPINFO = 0xd +- PTRACE_SETFPREGS = 0x24 +- PTRACE_SETREGS = 0x22 +- PTRACE_SINGLESTEP = 0x9 +- PTRACE_TRACEME = 0x0 +-) +- +-const ( +- PIOD_READ_D = 0x1 +- PIOD_WRITE_D = 0x2 +- PIOD_READ_I = 0x3 +- PIOD_WRITE_I = 0x4 +-) +- +-const ( +- PL_FLAG_BORN = 0x100 +- PL_FLAG_EXITED = 0x200 +- PL_FLAG_SI = 0x20 +-) +- +-const ( +- TRAP_BRKPT = 0x1 +- TRAP_TRACE = 0x2 ++ PTRACE_TRACEME = 0x0 ++ PTRACE_CONT = 0x7 ++ PTRACE_KILL = 0x8 + ) + + type PtraceLwpInfoStruct struct { +@@ -378,7 +294,7 @@ type PtraceLwpInfoStruct struct { + Flags int32 + Sigmask Sigset_t + Siglist Sigset_t +- Siginfo __Siginfo ++ Siginfo __PtraceSiginfo + Tdname [20]int8 + Child_pid int32 + Syscall_code uint32 +@@ -396,6 +312,17 @@ type __Siginfo struct { + Value [4]byte + _ [32]byte + } ++type __PtraceSiginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr uintptr ++ Value [4]byte ++ _ [32]byte ++} + + type Sigset_t struct { + Val [4]uint32 +@@ -430,10 +357,12 @@ type FpReg struct { + Pad [64]uint8 + } + ++type FpExtendedPrecision struct{} ++ + type PtraceIoDesc struct { + Op int32 +- Offs *byte +- Addr *byte ++ Offs uintptr ++ Addr uintptr + Len uint32 + } + +@@ -442,8 +371,9 @@ type Kevent_t struct { + Filter int16 + Flags uint16 + Fflags uint32 +- Data int32 ++ Data int64 + Udata *byte ++ Ext [4]uint64 + } + + type FdSet struct { +diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +index ddf0305..26991b1 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +@@ -31,6 +31,8 @@ type Timeval struct { + Usec int64 + } + ++type Time_t int64 ++ + type Rusage struct { + Utime Timeval + Stime Timeval +@@ -84,26 +86,6 @@ type Stat_t struct { + Spare [10]uint64 + } + +-type stat_freebsd11_t struct { +- Dev uint32 +- Ino uint32 +- Mode uint16 +- Nlink uint16 +- Uid uint32 +- Gid uint32 +- Rdev uint32 +- Atim Timespec +- Mtim Timespec +- Ctim Timespec +- Size int64 +- Blocks int64 +- Blksize int32 +- Flags uint32 +- Gen uint32 +- Lspare int32 +- Btim Timespec +-} +- + type Statfs_t struct { + Version uint32 + Type uint32 +@@ -129,31 +111,6 @@ type Statfs_t struct { + Mntonname [1024]byte + } + +-type statfs_freebsd11_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]byte +- Mntfromname [88]byte +- Mntonname [88]byte +-} +- + type Flock_t struct { + Start int64 + Len int64 +@@ -175,14 +132,6 @@ type Dirent struct { + Name [256]int8 + } + +-type dirent_freebsd11 struct { +- Fileno uint32 +- Reclen uint16 +- Type uint8 +- Namlen uint8 +- Name [256]int8 +-} +- + type Fsid struct { + Val [2]int32 + } +@@ -331,41 +280,9 @@ const ( + ) + + const ( +- PTRACE_ATTACH = 0xa +- PTRACE_CONT = 0x7 +- PTRACE_DETACH = 0xb +- PTRACE_GETFPREGS = 0x23 +- PTRACE_GETFSBASE = 0x47 +- PTRACE_GETLWPLIST = 0xf +- PTRACE_GETNUMLWPS = 0xe +- PTRACE_GETREGS = 0x21 +- PTRACE_GETXSTATE = 0x45 +- PTRACE_IO = 0xc +- PTRACE_KILL = 0x8 +- PTRACE_LWPEVENTS = 0x18 +- PTRACE_LWPINFO = 0xd +- PTRACE_SETFPREGS = 0x24 +- PTRACE_SETREGS = 0x22 +- PTRACE_SINGLESTEP = 0x9 +- PTRACE_TRACEME = 0x0 +-) +- +-const ( +- PIOD_READ_D = 0x1 +- PIOD_WRITE_D = 0x2 +- PIOD_READ_I = 0x3 +- PIOD_WRITE_I = 0x4 +-) +- +-const ( +- PL_FLAG_BORN = 0x100 +- PL_FLAG_EXITED = 0x200 +- PL_FLAG_SI = 0x20 +-) +- +-const ( +- TRAP_BRKPT = 0x1 +- TRAP_TRACE = 0x2 ++ PTRACE_TRACEME = 0x0 ++ PTRACE_CONT = 0x7 ++ PTRACE_KILL = 0x8 + ) + + type PtraceLwpInfoStruct struct { +@@ -374,7 +291,7 @@ type PtraceLwpInfoStruct struct { + Flags int32 + Sigmask Sigset_t + Siglist Sigset_t +- Siginfo __Siginfo ++ Siginfo __PtraceSiginfo + Tdname [20]int8 + Child_pid int32 + Syscall_code uint32 +@@ -393,6 +310,18 @@ type __Siginfo struct { + _ [40]byte + } + ++type __PtraceSiginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr uintptr ++ Value [8]byte ++ _ [40]byte ++} ++ + type Sigset_t struct { + Val [4]uint32 + } +@@ -433,10 +362,12 @@ type FpReg struct { + Spare [12]uint64 + } + ++type FpExtendedPrecision struct{} ++ + type PtraceIoDesc struct { + Op int32 +- Offs *byte +- Addr *byte ++ Offs uintptr ++ Addr uintptr + Len uint64 + } + +@@ -447,6 +378,7 @@ type Kevent_t struct { + Fflags uint32 + Data int64 + Udata *byte ++ Ext [4]uint64 + } + + type FdSet struct { +diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +index dce0a5c..f8324e7 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +@@ -33,6 +33,8 @@ type Timeval struct { + _ [4]byte + } + ++type Time_t int64 ++ + type Rusage struct { + Utime Timeval + Stime Timeval +@@ -86,26 +88,6 @@ type Stat_t struct { + Spare [10]uint64 + } + +-type stat_freebsd11_t struct { +- Dev uint32 +- Ino uint32 +- Mode uint16 +- Nlink uint16 +- Uid uint32 +- Gid uint32 +- Rdev uint32 +- Atim Timespec +- Mtim Timespec +- Ctim Timespec +- Size int64 +- Blocks int64 +- Blksize int32 +- Flags uint32 +- Gen uint32 +- Lspare int32 +- Btim Timespec +-} +- + type Statfs_t struct { + Version uint32 + Type uint32 +@@ -131,31 +113,6 @@ type Statfs_t struct { + Mntonname [1024]byte + } + +-type statfs_freebsd11_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]byte +- Mntfromname [88]byte +- Mntonname [88]byte +-} +- + type Flock_t struct { + Start int64 + Len int64 +@@ -177,14 +134,6 @@ type Dirent struct { + Name [256]int8 + } + +-type dirent_freebsd11 struct { +- Fileno uint32 +- Reclen uint16 +- Type uint8 +- Namlen uint8 +- Name [256]int8 +-} +- + type Fsid struct { + Val [2]int32 + } +@@ -333,41 +282,9 @@ const ( + ) + + const ( +- PTRACE_ATTACH = 0xa +- PTRACE_CONT = 0x7 +- PTRACE_DETACH = 0xb +- PTRACE_GETFPREGS = 0x23 +- PTRACE_GETFSBASE = 0x47 +- PTRACE_GETLWPLIST = 0xf +- PTRACE_GETNUMLWPS = 0xe +- PTRACE_GETREGS = 0x21 +- PTRACE_GETXSTATE = 0x45 +- PTRACE_IO = 0xc +- PTRACE_KILL = 0x8 +- PTRACE_LWPEVENTS = 0x18 +- PTRACE_LWPINFO = 0xd +- PTRACE_SETFPREGS = 0x24 +- PTRACE_SETREGS = 0x22 +- PTRACE_SINGLESTEP = 0x9 +- PTRACE_TRACEME = 0x0 +-) +- +-const ( +- PIOD_READ_D = 0x1 +- PIOD_WRITE_D = 0x2 +- PIOD_READ_I = 0x3 +- PIOD_WRITE_I = 0x4 +-) +- +-const ( +- PL_FLAG_BORN = 0x100 +- PL_FLAG_EXITED = 0x200 +- PL_FLAG_SI = 0x20 +-) +- +-const ( +- TRAP_BRKPT = 0x1 +- TRAP_TRACE = 0x2 ++ PTRACE_TRACEME = 0x0 ++ PTRACE_CONT = 0x7 ++ PTRACE_KILL = 0x8 + ) + + type PtraceLwpInfoStruct struct { +@@ -376,7 +293,7 @@ type PtraceLwpInfoStruct struct { + Flags int32 + Sigmask Sigset_t + Siglist Sigset_t +- Siginfo __Siginfo ++ Siginfo __PtraceSiginfo + Tdname [20]int8 + Child_pid int32 + Syscall_code uint32 +@@ -384,15 +301,27 @@ type PtraceLwpInfoStruct struct { + } + + type __Siginfo struct { +- Signo int32 +- Errno int32 +- Code int32 +- Pid int32 +- Uid uint32 +- Status int32 +- Addr *byte +- Value [4]byte +- X_reason [32]byte ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr *byte ++ Value [4]byte ++ _ [32]byte ++} ++ ++type __PtraceSiginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr uintptr ++ Value [4]byte ++ _ [32]byte + } + + type Sigset_t struct { +@@ -400,22 +329,28 @@ type Sigset_t struct { + } + + type Reg struct { +- R [13]uint32 +- R_sp uint32 +- R_lr uint32 +- R_pc uint32 +- R_cpsr uint32 ++ R [13]uint32 ++ Sp uint32 ++ Lr uint32 ++ Pc uint32 ++ Cpsr uint32 + } + + type FpReg struct { +- Fpr_fpsr uint32 +- Fpr [8][3]uint32 ++ Fpsr uint32 ++ Fpr [8]FpExtendedPrecision ++} ++ ++type FpExtendedPrecision struct { ++ Exponent uint32 ++ Mantissa_hi uint32 ++ Mantissa_lo uint32 + } + + type PtraceIoDesc struct { + Op int32 +- Offs *byte +- Addr *byte ++ Offs uintptr ++ Addr uintptr + Len uint32 + } + +@@ -424,8 +359,11 @@ type Kevent_t struct { + Filter int16 + Flags uint16 + Fflags uint32 +- Data int32 ++ _ [4]byte ++ Data int64 + Udata *byte ++ _ [4]byte ++ Ext [4]uint64 + } + + type FdSet struct { +@@ -451,7 +389,7 @@ type ifMsghdr struct { + Addrs int32 + Flags int32 + Index uint16 +- _ [2]byte ++ _ uint16 + Data ifData + } + +@@ -462,7 +400,6 @@ type IfMsghdr struct { + Addrs int32 + Flags int32 + Index uint16 +- _ [2]byte + Data IfData + } + +@@ -530,7 +467,7 @@ type IfaMsghdr struct { + Addrs int32 + Flags int32 + Index uint16 +- _ [2]byte ++ _ uint16 + Metric int32 + } + +@@ -541,7 +478,7 @@ type IfmaMsghdr struct { + Addrs int32 + Flags int32 + Index uint16 +- _ [2]byte ++ _ uint16 + } + + type IfAnnounceMsghdr struct { +@@ -558,7 +495,7 @@ type RtMsghdr struct { + Version uint8 + Type uint8 + Index uint16 +- _ [2]byte ++ _ uint16 + Flags int32 + Addrs int32 + Pid int32 +diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +index e232447..4220411 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +@@ -31,6 +31,8 @@ type Timeval struct { + Usec int64 + } + ++type Time_t int64 ++ + type Rusage struct { + Utime Timeval + Stime Timeval +@@ -84,26 +86,6 @@ type Stat_t struct { + Spare [10]uint64 + } + +-type stat_freebsd11_t struct { +- Dev uint32 +- Ino uint32 +- Mode uint16 +- Nlink uint16 +- Uid uint32 +- Gid uint32 +- Rdev uint32 +- Atim Timespec +- Mtim Timespec +- Ctim Timespec +- Size int64 +- Blocks int64 +- Blksize int32 +- Flags uint32 +- Gen uint32 +- Lspare int32 +- Btim Timespec +-} +- + type Statfs_t struct { + Version uint32 + Type uint32 +@@ -129,31 +111,6 @@ type Statfs_t struct { + Mntonname [1024]byte + } + +-type statfs_freebsd11_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]byte +- Mntfromname [88]byte +- Mntonname [88]byte +-} +- + type Flock_t struct { + Start int64 + Len int64 +@@ -175,14 +132,6 @@ type Dirent struct { + Name [256]int8 + } + +-type dirent_freebsd11 struct { +- Fileno uint32 +- Reclen uint16 +- Type uint8 +- Namlen uint8 +- Name [256]int8 +-} +- + type Fsid struct { + Val [2]int32 + } +@@ -331,39 +280,9 @@ const ( + ) + + const ( +- PTRACE_ATTACH = 0xa +- PTRACE_CONT = 0x7 +- PTRACE_DETACH = 0xb +- PTRACE_GETFPREGS = 0x23 +- PTRACE_GETLWPLIST = 0xf +- PTRACE_GETNUMLWPS = 0xe +- PTRACE_GETREGS = 0x21 +- PTRACE_IO = 0xc +- PTRACE_KILL = 0x8 +- PTRACE_LWPEVENTS = 0x18 +- PTRACE_LWPINFO = 0xd +- PTRACE_SETFPREGS = 0x24 +- PTRACE_SETREGS = 0x22 +- PTRACE_SINGLESTEP = 0x9 +- PTRACE_TRACEME = 0x0 +-) +- +-const ( +- PIOD_READ_D = 0x1 +- PIOD_WRITE_D = 0x2 +- PIOD_READ_I = 0x3 +- PIOD_WRITE_I = 0x4 +-) +- +-const ( +- PL_FLAG_BORN = 0x100 +- PL_FLAG_EXITED = 0x200 +- PL_FLAG_SI = 0x20 +-) +- +-const ( +- TRAP_BRKPT = 0x1 +- TRAP_TRACE = 0x2 ++ PTRACE_TRACEME = 0x0 ++ PTRACE_CONT = 0x7 ++ PTRACE_KILL = 0x8 + ) + + type PtraceLwpInfoStruct struct { +@@ -372,7 +291,7 @@ type PtraceLwpInfoStruct struct { + Flags int32 + Sigmask Sigset_t + Siglist Sigset_t +- Siginfo __Siginfo ++ Siginfo __PtraceSiginfo + Tdname [20]int8 + Child_pid int32 + Syscall_code uint32 +@@ -391,6 +310,18 @@ type __Siginfo struct { + _ [40]byte + } + ++type __PtraceSiginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr uintptr ++ Value [8]byte ++ _ [40]byte ++} ++ + type Sigset_t struct { + Val [4]uint32 + } +@@ -411,10 +342,12 @@ type FpReg struct { + _ [8]byte + } + ++type FpExtendedPrecision struct{} ++ + type PtraceIoDesc struct { + Op int32 +- Offs *byte +- Addr *byte ++ Offs uintptr ++ Addr uintptr + Len uint64 + } + +@@ -425,6 +358,7 @@ type Kevent_t struct { + Fflags uint32 + Data int64 + Udata *byte ++ Ext [4]uint64 + } + + type FdSet struct { +diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +new file mode 100644 +index 0000000..0660fd4 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +@@ -0,0 +1,638 @@ ++// cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build riscv64 && freebsd ++// +build riscv64,freebsd ++ ++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 Time_t 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 ( ++ _statfsVersion = 0x20140518 ++ _dirblksiz = 0x400 ++) ++ ++type Stat_t struct { ++ Dev uint64 ++ Ino uint64 ++ Nlink uint64 ++ Mode uint16 ++ _0 int16 ++ Uid uint32 ++ Gid uint32 ++ _1 int32 ++ Rdev uint64 ++ Atim Timespec ++ Mtim Timespec ++ Ctim Timespec ++ Btim Timespec ++ Size int64 ++ Blocks int64 ++ Blksize int32 ++ Flags uint32 ++ Gen uint64 ++ Spare [10]uint64 ++} ++ ++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]byte ++ Mntfromname [1024]byte ++ Mntonname [1024]byte ++} ++ ++type Flock_t struct { ++ Start int64 ++ Len int64 ++ Pid int32 ++ Type int16 ++ Whence int16 ++ Sysid int32 ++ _ [4]byte ++} ++ ++type Dirent struct { ++ Fileno uint64 ++ Off int64 ++ Reclen uint16 ++ Type uint8 ++ Pad0 uint8 ++ Namlen uint16 ++ Pad1 uint16 ++ Name [256]int8 ++} ++ ++type Fsid struct { ++ Val [2]int32 ++} ++ ++const ( ++ PathMax = 0x400 ++) ++ ++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 Xucred struct { ++ Version uint32 ++ Uid uint32 ++ Ngroups int16 ++ Groups [16]uint32 ++ _ *byte ++} ++ ++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 ++ 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 ++ SizeofXucred = 0x58 ++ SizeofLinger = 0x8 ++ SizeofIovec = 0x10 ++ 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 PtraceLwpInfoStruct struct { ++ Lwpid int32 ++ Event int32 ++ Flags int32 ++ Sigmask Sigset_t ++ Siglist Sigset_t ++ Siginfo __PtraceSiginfo ++ Tdname [20]int8 ++ Child_pid int32 ++ Syscall_code uint32 ++ Syscall_narg uint32 ++} ++ ++type __Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr *byte ++ Value [8]byte ++ _ [40]byte ++} ++ ++type __PtraceSiginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ Pid int32 ++ Uid uint32 ++ Status int32 ++ Addr uintptr ++ Value [8]byte ++ _ [40]byte ++} ++ ++type Sigset_t struct { ++ Val [4]uint32 ++} ++ ++type Reg struct { ++ Ra uint64 ++ Sp uint64 ++ Gp uint64 ++ Tp uint64 ++ T [7]uint64 ++ S [12]uint64 ++ A [8]uint64 ++ Sepc uint64 ++ Sstatus uint64 ++} ++ ++type FpReg struct { ++ X [32][2]uint64 ++ Fcsr uint64 ++} ++ ++type FpExtendedPrecision struct{} ++ ++type PtraceIoDesc struct { ++ Op int32 ++ Offs uintptr ++ Addr uintptr ++ Len uint64 ++} ++ ++type Kevent_t struct { ++ Ident uint64 ++ Filter int16 ++ Flags uint16 ++ Fflags uint32 ++ Data int64 ++ Udata *byte ++ Ext [4]uint64 ++} ++ ++type FdSet struct { ++ 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 ++ _ uint16 ++ Data ifData ++} ++ ++type IfMsghdr struct { ++ Msglen uint16 ++ Version uint8 ++ Type uint8 ++ Addrs int32 ++ Flags int32 ++ Index uint16 ++ Data IfData ++} ++ ++type ifData struct { ++ Type uint8 ++ Physical uint8 ++ Addrlen uint8 ++ Hdrlen uint8 ++ Link_state uint8 ++ Vhid uint8 ++ Datalen uint16 ++ Mtu uint32 ++ Metric uint32 ++ Baudrate uint64 ++ Ipackets uint64 ++ Ierrors uint64 ++ Opackets uint64 ++ Oerrors uint64 ++ Collisions uint64 ++ Ibytes uint64 ++ Obytes uint64 ++ Imcasts uint64 ++ Omcasts uint64 ++ Iqdrops uint64 ++ Oqdrops uint64 ++ Noproto uint64 ++ Hwassist uint64 ++ _ [8]byte ++ _ [16]byte ++} ++ ++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 ++ _ uint16 ++ Metric int32 ++} ++ ++type IfmaMsghdr struct { ++ Msglen uint16 ++ Version uint8 ++ Type uint8 ++ Addrs int32 ++ Flags int32 ++ Index uint16 ++ _ uint16 ++} ++ ++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 ++ _ uint16 ++ 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 ++ Nhidx uint64 ++ Filler [2]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 ++ Insns *BpfInsn ++} ++ ++type BpfInsn struct { ++ Code uint16 ++ Jt uint8 ++ Jf uint8 ++ K uint32 ++} ++ ++type BpfHdr struct { ++ Tstamp Timeval ++ Caplen uint32 ++ Datalen uint32 ++ Hdrlen uint16 ++ _ [6]byte ++} ++ ++type BpfZbufHeader struct { ++ Kernel_gen uint32 ++ Kernel_len uint32 ++ User_gen uint32 ++ _ [5]uint32 ++} ++ ++type Termios struct { ++ Iflag uint32 ++ Oflag uint32 ++ Cflag uint32 ++ Lflag uint32 ++ Cc [20]uint8 ++ Ispeed uint32 ++ Ospeed uint32 ++} ++ ++type Winsize struct { ++ Row uint16 ++ Col uint16 ++ Xpixel uint16 ++ Ypixel uint16 ++} ++ ++const ( ++ AT_FDCWD = -0x64 ++ AT_EACCESS = 0x100 ++ AT_SYMLINK_NOFOLLOW = 0x200 ++ AT_SYMLINK_FOLLOW = 0x400 ++ AT_REMOVEDIR = 0x800 ++) ++ ++type PollFd struct { ++ Fd int32 ++ Events int16 ++ Revents int16 ++} ++ ++const ( ++ POLLERR = 0x8 ++ POLLHUP = 0x10 ++ POLLIN = 0x1 ++ POLLINIGNEOF = 0x2000 ++ POLLNVAL = 0x20 ++ POLLOUT = 0x4 ++ POLLPRI = 0x2 ++ POLLRDBAND = 0x80 ++ POLLRDNORM = 0x40 ++ POLLWRBAND = 0x100 ++ POLLWRNORM = 0x4 ++) ++ ++type CapRights struct { ++ Rights [2]uint64 ++} ++ ++type Utsname struct { ++ Sysname [256]byte ++ Nodename [256]byte ++ Release [256]byte ++ Version [256]byte ++ Machine [256]byte ++} ++ ++const SizeofClockinfo = 0x14 ++ ++type Clockinfo struct { ++ Hz int32 ++ Tick int32 ++ Spare int32 ++ Stathz int32 ++ Profhz int32 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_illumos_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_illumos_amd64.go +deleted file mode 100644 +index 236f37e..0000000 +--- a/vendor/golang.org/x/sys/unix/ztypes_illumos_amd64.go ++++ /dev/null +@@ -1,40 +0,0 @@ +-// cgo -godefs types_illumos.go | go run mkpost.go +-// Code generated by the command above; see README.md. DO NOT EDIT. +- +-//go:build amd64 && illumos +-// +build amd64,illumos +- +-package unix +- +-const ( +- TUNNEWPPA = 0x540001 +- TUNSETPPA = 0x540002 +- +- I_STR = 0x5308 +- I_POP = 0x5303 +- I_PUSH = 0x5302 +- I_PLINK = 0x5316 +- I_PUNLINK = 0x5317 +- +- IF_UNITSEL = -0x7ffb8cca +-) +- +-type strbuf struct { +- Maxlen int32 +- Len int32 +- Buf *int8 +-} +- +-type Strioctl struct { +- Cmd int32 +- Timout int32 +- Len int32 +- Dp *int8 +-} +- +-type Lifreq struct { +- Name [32]int8 +- Lifru1 [4]byte +- Type uint32 +- Lifru [336]byte +-} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go +index c9d7eb4..ff68811 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go +@@ -1,4 +1,4 @@ +-// Code generated by mkmerge.go; DO NOT EDIT. ++// Code generated by mkmerge; DO NOT EDIT. + + //go:build linux + // +build linux +@@ -24,6 +24,11 @@ type ItimerSpec struct { + Value Timespec + } + ++type Itimerval struct { ++ Interval Timeval ++ Value Timeval ++} ++ + const ( + TIME_OK = 0x0 + TIME_INS = 0x1 +@@ -452,6 +457,11 @@ type CanFilter struct { + Mask uint32 + } + ++type TCPRepairOpt struct { ++ Code uint32 ++ Val uint32 ++} ++ + const ( + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c +@@ -484,6 +494,7 @@ const ( + SizeofUcred = 0xc + SizeofTCPInfo = 0x68 + SizeofCanFilter = 0x8 ++ SizeofTCPRepairOpt = 0x8 + ) + + const ( +@@ -681,6 +692,16 @@ type NdMsg struct { + Type uint8 + } + ++const ( ++ ICMP_FILTER = 0x1 ++ ++ ICMPV6_FILTER = 0x1 ++ ICMPV6_FILTER_BLOCK = 0x1 ++ ICMPV6_FILTER_BLOCKOTHERS = 0x3 ++ ICMPV6_FILTER_PASS = 0x2 ++ ICMPV6_FILTER_PASSONLY = 0x4 ++) ++ + const ( + SizeofSockFilter = 0x8 + ) +@@ -727,10 +748,31 @@ const ( + AT_STATX_FORCE_SYNC = 0x2000 + AT_STATX_DONT_SYNC = 0x4000 + ++ AT_RECURSIVE = 0x8000 ++ + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 + + AT_EACCESS = 0x200 ++ ++ OPEN_TREE_CLONE = 0x1 ++ ++ MOVE_MOUNT_F_SYMLINKS = 0x1 ++ MOVE_MOUNT_F_AUTOMOUNTS = 0x2 ++ MOVE_MOUNT_F_EMPTY_PATH = 0x4 ++ MOVE_MOUNT_T_SYMLINKS = 0x10 ++ MOVE_MOUNT_T_AUTOMOUNTS = 0x20 ++ MOVE_MOUNT_T_EMPTY_PATH = 0x40 ++ MOVE_MOUNT_SET_GROUP = 0x100 ++ ++ FSOPEN_CLOEXEC = 0x1 ++ ++ FSPICK_CLOEXEC = 0x1 ++ FSPICK_SYMLINK_NOFOLLOW = 0x2 ++ FSPICK_NO_AUTOMOUNT = 0x4 ++ FSPICK_EMPTY_PATH = 0x8 ++ ++ FSMOUNT_CLOEXEC = 0x1 + ) + + type OpenHow struct { +@@ -849,6 +891,7 @@ const ( + CTRL_CMD_NEWMCAST_GRP = 0x7 + CTRL_CMD_DELMCAST_GRP = 0x8 + CTRL_CMD_GETMCAST_GRP = 0x9 ++ CTRL_CMD_GETPOLICY = 0xa + CTRL_ATTR_UNSPEC = 0x0 + CTRL_ATTR_FAMILY_ID = 0x1 + CTRL_ATTR_FAMILY_NAME = 0x2 +@@ -857,12 +900,19 @@ const ( + CTRL_ATTR_MAXATTR = 0x5 + CTRL_ATTR_OPS = 0x6 + CTRL_ATTR_MCAST_GROUPS = 0x7 ++ CTRL_ATTR_POLICY = 0x8 ++ CTRL_ATTR_OP_POLICY = 0x9 ++ CTRL_ATTR_OP = 0xa + CTRL_ATTR_OP_UNSPEC = 0x0 + CTRL_ATTR_OP_ID = 0x1 + CTRL_ATTR_OP_FLAGS = 0x2 + CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0 + CTRL_ATTR_MCAST_GRP_NAME = 0x1 + CTRL_ATTR_MCAST_GRP_ID = 0x2 ++ CTRL_ATTR_POLICY_UNSPEC = 0x0 ++ CTRL_ATTR_POLICY_DO = 0x1 ++ CTRL_ATTR_POLICY_DUMP = 0x2 ++ CTRL_ATTR_POLICY_DUMP_MAX = 0x2 + ) + + const ( +@@ -895,6 +945,9 @@ type PerfEventAttr struct { + Aux_watermark uint32 + Sample_max_stack uint16 + _ uint16 ++ Aux_sample_size uint32 ++ _ uint32 ++ Sig_data uint64 + } + + type PerfEventMmapPage struct { +@@ -1001,7 +1054,7 @@ const ( + PERF_COUNT_SW_EMULATION_FAULTS = 0x8 + PERF_COUNT_SW_DUMMY = 0x9 + PERF_COUNT_SW_BPF_OUTPUT = 0xa +- PERF_COUNT_SW_MAX = 0xb ++ PERF_COUNT_SW_MAX = 0xc + PERF_SAMPLE_IP = 0x1 + PERF_SAMPLE_TID = 0x2 + PERF_SAMPLE_TIME = 0x4 +@@ -1077,7 +1130,9 @@ const ( + PERF_BR_SYSRET = 0x8 + PERF_BR_COND_CALL = 0x9 + PERF_BR_COND_RET = 0xa +- PERF_BR_MAX = 0xb ++ PERF_BR_ERET = 0xb ++ PERF_BR_IRQ = 0xc ++ PERF_BR_MAX = 0xd + PERF_SAMPLE_REGS_ABI_NONE = 0x0 + PERF_SAMPLE_REGS_ABI_32 = 0x1 + PERF_SAMPLE_REGS_ABI_64 = 0x2 +@@ -1118,7 +1173,8 @@ const ( + PERF_RECORD_BPF_EVENT = 0x12 + PERF_RECORD_CGROUP = 0x13 + PERF_RECORD_TEXT_POKE = 0x14 +- PERF_RECORD_MAX = 0x15 ++ PERF_RECORD_AUX_OUTPUT_HW_ID = 0x15 ++ PERF_RECORD_MAX = 0x16 + PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0x0 + PERF_RECORD_KSYMBOL_TYPE_BPF = 0x1 + PERF_RECORD_KSYMBOL_TYPE_OOL = 0x2 +@@ -1410,6 +1466,11 @@ const ( + IFLA_ALT_IFNAME = 0x35 + IFLA_PERM_ADDRESS = 0x36 + IFLA_PROTO_DOWN_REASON = 0x37 ++ IFLA_PARENT_DEV_NAME = 0x38 ++ IFLA_PARENT_DEV_BUS_NAME = 0x39 ++ IFLA_GRO_MAX_SIZE = 0x3a ++ IFLA_TSO_MAX_SIZE = 0x3b ++ IFLA_TSO_MAX_SEGS = 0x3c + IFLA_PROTO_DOWN_REASON_UNSPEC = 0x0 + IFLA_PROTO_DOWN_REASON_MASK = 0x1 + IFLA_PROTO_DOWN_REASON_VALUE = 0x2 +@@ -1758,7 +1819,8 @@ const ( + + const ( + NF_NETDEV_INGRESS = 0x0 +- NF_NETDEV_NUMHOOKS = 0x1 ++ NF_NETDEV_EGRESS = 0x1 ++ NF_NETDEV_NUMHOOKS = 0x2 + ) + + const ( +@@ -2340,8 +2402,8 @@ const ( + SOF_TIMESTAMPING_OPT_PKTINFO = 0x2000 + SOF_TIMESTAMPING_OPT_TX_SWHW = 0x4000 + +- SOF_TIMESTAMPING_LAST = 0x4000 +- SOF_TIMESTAMPING_MASK = 0x7fff ++ SOF_TIMESTAMPING_LAST = 0x8000 ++ SOF_TIMESTAMPING_MASK = 0xffff + + SCM_TSTAMP_SND = 0x0 + SCM_TSTAMP_SCHED = 0x1 +@@ -2917,7 +2979,7 @@ const ( + DEVLINK_CMD_TRAP_POLICER_NEW = 0x47 + DEVLINK_CMD_TRAP_POLICER_DEL = 0x48 + DEVLINK_CMD_HEALTH_REPORTER_TEST = 0x49 +- DEVLINK_CMD_MAX = 0x49 ++ DEVLINK_CMD_MAX = 0x51 + DEVLINK_PORT_TYPE_NOTSET = 0x0 + DEVLINK_PORT_TYPE_AUTO = 0x1 + DEVLINK_PORT_TYPE_ETH = 0x2 +@@ -3140,7 +3202,13 @@ const ( + DEVLINK_ATTR_RELOAD_ACTION_INFO = 0xa2 + DEVLINK_ATTR_RELOAD_ACTION_STATS = 0xa3 + DEVLINK_ATTR_PORT_PCI_SF_NUMBER = 0xa4 +- DEVLINK_ATTR_MAX = 0xa4 ++ DEVLINK_ATTR_RATE_TYPE = 0xa5 ++ DEVLINK_ATTR_RATE_TX_SHARE = 0xa6 ++ DEVLINK_ATTR_RATE_TX_MAX = 0xa7 ++ DEVLINK_ATTR_RATE_NODE_NAME = 0xa8 ++ DEVLINK_ATTR_RATE_PARENT_NODE_NAME = 0xa9 ++ DEVLINK_ATTR_REGION_MAX_SNAPSHOTS = 0xaa ++ DEVLINK_ATTR_MAX = 0xae + DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0 + DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1 + DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0 +@@ -3248,7 +3316,8 @@ const ( + LWTUNNEL_ENCAP_BPF = 0x6 + LWTUNNEL_ENCAP_SEG6_LOCAL = 0x7 + LWTUNNEL_ENCAP_RPL = 0x8 +- LWTUNNEL_ENCAP_MAX = 0x8 ++ LWTUNNEL_ENCAP_IOAM6 = 0x9 ++ LWTUNNEL_ENCAP_MAX = 0x9 + + MPLS_IPTUNNEL_UNSPEC = 0x0 + MPLS_IPTUNNEL_DST = 0x1 +@@ -3436,7 +3505,14 @@ const ( + ETHTOOL_MSG_CABLE_TEST_ACT = 0x1a + ETHTOOL_MSG_CABLE_TEST_TDR_ACT = 0x1b + ETHTOOL_MSG_TUNNEL_INFO_GET = 0x1c +- ETHTOOL_MSG_USER_MAX = 0x1c ++ ETHTOOL_MSG_FEC_GET = 0x1d ++ ETHTOOL_MSG_FEC_SET = 0x1e ++ ETHTOOL_MSG_MODULE_EEPROM_GET = 0x1f ++ ETHTOOL_MSG_STATS_GET = 0x20 ++ ETHTOOL_MSG_PHC_VCLOCKS_GET = 0x21 ++ ETHTOOL_MSG_MODULE_GET = 0x22 ++ ETHTOOL_MSG_MODULE_SET = 0x23 ++ ETHTOOL_MSG_USER_MAX = 0x23 + ETHTOOL_MSG_KERNEL_NONE = 0x0 + ETHTOOL_MSG_STRSET_GET_REPLY = 0x1 + ETHTOOL_MSG_LINKINFO_GET_REPLY = 0x2 +@@ -3467,7 +3543,14 @@ const ( + ETHTOOL_MSG_CABLE_TEST_NTF = 0x1b + ETHTOOL_MSG_CABLE_TEST_TDR_NTF = 0x1c + ETHTOOL_MSG_TUNNEL_INFO_GET_REPLY = 0x1d +- ETHTOOL_MSG_KERNEL_MAX = 0x1d ++ ETHTOOL_MSG_FEC_GET_REPLY = 0x1e ++ ETHTOOL_MSG_FEC_NTF = 0x1f ++ ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY = 0x20 ++ ETHTOOL_MSG_STATS_GET_REPLY = 0x21 ++ ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY = 0x22 ++ ETHTOOL_MSG_MODULE_GET_REPLY = 0x23 ++ ETHTOOL_MSG_MODULE_NTF = 0x24 ++ ETHTOOL_MSG_KERNEL_MAX = 0x24 + ETHTOOL_A_HEADER_UNSPEC = 0x0 + ETHTOOL_A_HEADER_DEV_INDEX = 0x1 + ETHTOOL_A_HEADER_DEV_NAME = 0x2 +@@ -3565,7 +3648,11 @@ const ( + ETHTOOL_A_RINGS_RX_MINI = 0x7 + ETHTOOL_A_RINGS_RX_JUMBO = 0x8 + ETHTOOL_A_RINGS_TX = 0x9 +- ETHTOOL_A_RINGS_MAX = 0x9 ++ ETHTOOL_A_RINGS_RX_BUF_LEN = 0xa ++ ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 0xb ++ ETHTOOL_A_RINGS_CQE_SIZE = 0xc ++ ETHTOOL_A_RINGS_TX_PUSH = 0xd ++ ETHTOOL_A_RINGS_MAX = 0xd + ETHTOOL_A_CHANNELS_UNSPEC = 0x0 + ETHTOOL_A_CHANNELS_HEADER = 0x1 + ETHTOOL_A_CHANNELS_RX_MAX = 0x2 +@@ -3601,7 +3688,9 @@ const ( + ETHTOOL_A_COALESCE_TX_USECS_HIGH = 0x15 + ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH = 0x16 + ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL = 0x17 +- ETHTOOL_A_COALESCE_MAX = 0x17 ++ ETHTOOL_A_COALESCE_USE_CQE_MODE_TX = 0x18 ++ ETHTOOL_A_COALESCE_USE_CQE_MODE_RX = 0x19 ++ ETHTOOL_A_COALESCE_MAX = 0x19 + ETHTOOL_A_PAUSE_UNSPEC = 0x0 + ETHTOOL_A_PAUSE_HEADER = 0x1 + ETHTOOL_A_PAUSE_AUTONEG = 0x2 +@@ -3715,6 +3804,8 @@ const ( + ETHTOOL_A_TUNNEL_INFO_MAX = 0x2 + ) + ++const SPEED_UNKNOWN = -0x1 ++ + type EthtoolDrvinfo struct { + Cmd uint32 + Driver [32]byte +@@ -3907,3 +3998,1612 @@ const ( + NFC_SDP_ATTR_URI = 0x1 + NFC_SDP_ATTR_SAP = 0x2 + ) ++ ++type LandlockRulesetAttr struct { ++ Access_fs uint64 ++} ++ ++type LandlockPathBeneathAttr struct { ++ Allowed_access uint64 ++ Parent_fd int32 ++} ++ ++const ( ++ LANDLOCK_RULE_PATH_BENEATH = 0x1 ++) ++ ++const ( ++ IPC_CREAT = 0x200 ++ IPC_EXCL = 0x400 ++ IPC_NOWAIT = 0x800 ++ IPC_PRIVATE = 0x0 ++ ++ ipc_64 = 0x100 ++) ++ ++const ( ++ IPC_RMID = 0x0 ++ IPC_SET = 0x1 ++ IPC_STAT = 0x2 ++) ++ ++const ( ++ SHM_RDONLY = 0x1000 ++ SHM_RND = 0x2000 ++) ++ ++type MountAttr struct { ++ Attr_set uint64 ++ Attr_clr uint64 ++ Propagation uint64 ++ Userns_fd uint64 ++} ++ ++const ( ++ WG_CMD_GET_DEVICE = 0x0 ++ WG_CMD_SET_DEVICE = 0x1 ++ WGDEVICE_F_REPLACE_PEERS = 0x1 ++ WGDEVICE_A_UNSPEC = 0x0 ++ WGDEVICE_A_IFINDEX = 0x1 ++ WGDEVICE_A_IFNAME = 0x2 ++ WGDEVICE_A_PRIVATE_KEY = 0x3 ++ WGDEVICE_A_PUBLIC_KEY = 0x4 ++ WGDEVICE_A_FLAGS = 0x5 ++ WGDEVICE_A_LISTEN_PORT = 0x6 ++ WGDEVICE_A_FWMARK = 0x7 ++ WGDEVICE_A_PEERS = 0x8 ++ WGPEER_F_REMOVE_ME = 0x1 ++ WGPEER_F_REPLACE_ALLOWEDIPS = 0x2 ++ WGPEER_F_UPDATE_ONLY = 0x4 ++ WGPEER_A_UNSPEC = 0x0 ++ WGPEER_A_PUBLIC_KEY = 0x1 ++ WGPEER_A_PRESHARED_KEY = 0x2 ++ WGPEER_A_FLAGS = 0x3 ++ WGPEER_A_ENDPOINT = 0x4 ++ WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL = 0x5 ++ WGPEER_A_LAST_HANDSHAKE_TIME = 0x6 ++ WGPEER_A_RX_BYTES = 0x7 ++ WGPEER_A_TX_BYTES = 0x8 ++ WGPEER_A_ALLOWEDIPS = 0x9 ++ WGPEER_A_PROTOCOL_VERSION = 0xa ++ WGALLOWEDIP_A_UNSPEC = 0x0 ++ WGALLOWEDIP_A_FAMILY = 0x1 ++ WGALLOWEDIP_A_IPADDR = 0x2 ++ WGALLOWEDIP_A_CIDR_MASK = 0x3 ++) ++ ++const ( ++ NL_ATTR_TYPE_INVALID = 0x0 ++ NL_ATTR_TYPE_FLAG = 0x1 ++ NL_ATTR_TYPE_U8 = 0x2 ++ NL_ATTR_TYPE_U16 = 0x3 ++ NL_ATTR_TYPE_U32 = 0x4 ++ NL_ATTR_TYPE_U64 = 0x5 ++ NL_ATTR_TYPE_S8 = 0x6 ++ NL_ATTR_TYPE_S16 = 0x7 ++ NL_ATTR_TYPE_S32 = 0x8 ++ NL_ATTR_TYPE_S64 = 0x9 ++ NL_ATTR_TYPE_BINARY = 0xa ++ NL_ATTR_TYPE_STRING = 0xb ++ NL_ATTR_TYPE_NUL_STRING = 0xc ++ NL_ATTR_TYPE_NESTED = 0xd ++ NL_ATTR_TYPE_NESTED_ARRAY = 0xe ++ NL_ATTR_TYPE_BITFIELD32 = 0xf ++ ++ NL_POLICY_TYPE_ATTR_UNSPEC = 0x0 ++ NL_POLICY_TYPE_ATTR_TYPE = 0x1 ++ NL_POLICY_TYPE_ATTR_MIN_VALUE_S = 0x2 ++ NL_POLICY_TYPE_ATTR_MAX_VALUE_S = 0x3 ++ NL_POLICY_TYPE_ATTR_MIN_VALUE_U = 0x4 ++ NL_POLICY_TYPE_ATTR_MAX_VALUE_U = 0x5 ++ NL_POLICY_TYPE_ATTR_MIN_LENGTH = 0x6 ++ NL_POLICY_TYPE_ATTR_MAX_LENGTH = 0x7 ++ NL_POLICY_TYPE_ATTR_POLICY_IDX = 0x8 ++ NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE = 0x9 ++ NL_POLICY_TYPE_ATTR_BITFIELD32_MASK = 0xa ++ NL_POLICY_TYPE_ATTR_PAD = 0xb ++ NL_POLICY_TYPE_ATTR_MASK = 0xc ++ NL_POLICY_TYPE_ATTR_MAX = 0xc ++) ++ ++type CANBitTiming struct { ++ Bitrate uint32 ++ Sample_point uint32 ++ Tq uint32 ++ Prop_seg uint32 ++ Phase_seg1 uint32 ++ Phase_seg2 uint32 ++ Sjw uint32 ++ Brp uint32 ++} ++ ++type CANBitTimingConst struct { ++ Name [16]uint8 ++ Tseg1_min uint32 ++ Tseg1_max uint32 ++ Tseg2_min uint32 ++ Tseg2_max uint32 ++ Sjw_max uint32 ++ Brp_min uint32 ++ Brp_max uint32 ++ Brp_inc uint32 ++} ++ ++type CANClock struct { ++ Freq uint32 ++} ++ ++type CANBusErrorCounters struct { ++ Txerr uint16 ++ Rxerr uint16 ++} ++ ++type CANCtrlMode struct { ++ Mask uint32 ++ Flags uint32 ++} ++ ++type CANDeviceStats struct { ++ Bus_error uint32 ++ Error_warning uint32 ++ Error_passive uint32 ++ Bus_off uint32 ++ Arbitration_lost uint32 ++ Restarts uint32 ++} ++ ++const ( ++ CAN_STATE_ERROR_ACTIVE = 0x0 ++ CAN_STATE_ERROR_WARNING = 0x1 ++ CAN_STATE_ERROR_PASSIVE = 0x2 ++ CAN_STATE_BUS_OFF = 0x3 ++ CAN_STATE_STOPPED = 0x4 ++ CAN_STATE_SLEEPING = 0x5 ++ CAN_STATE_MAX = 0x6 ++) ++ ++const ( ++ IFLA_CAN_UNSPEC = 0x0 ++ IFLA_CAN_BITTIMING = 0x1 ++ IFLA_CAN_BITTIMING_CONST = 0x2 ++ IFLA_CAN_CLOCK = 0x3 ++ IFLA_CAN_STATE = 0x4 ++ IFLA_CAN_CTRLMODE = 0x5 ++ IFLA_CAN_RESTART_MS = 0x6 ++ IFLA_CAN_RESTART = 0x7 ++ IFLA_CAN_BERR_COUNTER = 0x8 ++ IFLA_CAN_DATA_BITTIMING = 0x9 ++ IFLA_CAN_DATA_BITTIMING_CONST = 0xa ++ IFLA_CAN_TERMINATION = 0xb ++ IFLA_CAN_TERMINATION_CONST = 0xc ++ IFLA_CAN_BITRATE_CONST = 0xd ++ IFLA_CAN_DATA_BITRATE_CONST = 0xe ++ IFLA_CAN_BITRATE_MAX = 0xf ++) ++ ++type KCMAttach struct { ++ Fd int32 ++ Bpf_fd int32 ++} ++ ++type KCMUnattach struct { ++ Fd int32 ++} ++ ++type KCMClone struct { ++ Fd int32 ++} ++ ++const ( ++ NL80211_AC_BE = 0x2 ++ NL80211_AC_BK = 0x3 ++ NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0x0 ++ NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 0x1 ++ NL80211_AC_VI = 0x1 ++ NL80211_AC_VO = 0x0 ++ NL80211_ATTR_4ADDR = 0x53 ++ NL80211_ATTR_ACK = 0x5c ++ NL80211_ATTR_ACK_SIGNAL = 0x107 ++ NL80211_ATTR_ACL_POLICY = 0xa5 ++ NL80211_ATTR_ADMITTED_TIME = 0xd4 ++ NL80211_ATTR_AIRTIME_WEIGHT = 0x112 ++ NL80211_ATTR_AKM_SUITES = 0x4c ++ NL80211_ATTR_AP_ISOLATE = 0x60 ++ NL80211_ATTR_AUTH_DATA = 0x9c ++ NL80211_ATTR_AUTH_TYPE = 0x35 ++ NL80211_ATTR_BANDS = 0xef ++ NL80211_ATTR_BEACON_HEAD = 0xe ++ NL80211_ATTR_BEACON_INTERVAL = 0xc ++ NL80211_ATTR_BEACON_TAIL = 0xf ++ NL80211_ATTR_BG_SCAN_PERIOD = 0x98 ++ NL80211_ATTR_BSS_BASIC_RATES = 0x24 ++ NL80211_ATTR_BSS = 0x2f ++ NL80211_ATTR_BSS_CTS_PROT = 0x1c ++ NL80211_ATTR_BSS_HT_OPMODE = 0x6d ++ NL80211_ATTR_BSSID = 0xf5 ++ NL80211_ATTR_BSS_SELECT = 0xe3 ++ NL80211_ATTR_BSS_SHORT_PREAMBLE = 0x1d ++ NL80211_ATTR_BSS_SHORT_SLOT_TIME = 0x1e ++ NL80211_ATTR_CENTER_FREQ1 = 0xa0 ++ NL80211_ATTR_CENTER_FREQ1_OFFSET = 0x123 ++ NL80211_ATTR_CENTER_FREQ2 = 0xa1 ++ NL80211_ATTR_CHANNEL_WIDTH = 0x9f ++ NL80211_ATTR_CH_SWITCH_BLOCK_TX = 0xb8 ++ NL80211_ATTR_CH_SWITCH_COUNT = 0xb7 ++ NL80211_ATTR_CIPHER_SUITE_GROUP = 0x4a ++ NL80211_ATTR_CIPHER_SUITES = 0x39 ++ NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 0x49 ++ NL80211_ATTR_CNTDWN_OFFS_BEACON = 0xba ++ NL80211_ATTR_CNTDWN_OFFS_PRESP = 0xbb ++ NL80211_ATTR_COALESCE_RULE = 0xb6 ++ NL80211_ATTR_COALESCE_RULE_CONDITION = 0x2 ++ NL80211_ATTR_COALESCE_RULE_DELAY = 0x1 ++ NL80211_ATTR_COALESCE_RULE_MAX = 0x3 ++ NL80211_ATTR_COALESCE_RULE_PKT_PATTERN = 0x3 ++ NL80211_ATTR_CONN_FAILED_REASON = 0x9b ++ NL80211_ATTR_CONTROL_PORT = 0x44 ++ NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 0x66 ++ NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 0x67 ++ NL80211_ATTR_CONTROL_PORT_NO_PREAUTH = 0x11e ++ NL80211_ATTR_CONTROL_PORT_OVER_NL80211 = 0x108 ++ NL80211_ATTR_COOKIE = 0x58 ++ NL80211_ATTR_CQM_BEACON_LOSS_EVENT = 0x8 ++ NL80211_ATTR_CQM = 0x5e ++ NL80211_ATTR_CQM_MAX = 0x9 ++ NL80211_ATTR_CQM_PKT_LOSS_EVENT = 0x4 ++ NL80211_ATTR_CQM_RSSI_HYST = 0x2 ++ NL80211_ATTR_CQM_RSSI_LEVEL = 0x9 ++ NL80211_ATTR_CQM_RSSI_THOLD = 0x1 ++ NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 0x3 ++ NL80211_ATTR_CQM_TXE_INTVL = 0x7 ++ NL80211_ATTR_CQM_TXE_PKTS = 0x6 ++ NL80211_ATTR_CQM_TXE_RATE = 0x5 ++ NL80211_ATTR_CRIT_PROT_ID = 0xb3 ++ NL80211_ATTR_CSA_C_OFF_BEACON = 0xba ++ NL80211_ATTR_CSA_C_OFF_PRESP = 0xbb ++ NL80211_ATTR_CSA_C_OFFSETS_TX = 0xcd ++ NL80211_ATTR_CSA_IES = 0xb9 ++ NL80211_ATTR_DEVICE_AP_SME = 0x8d ++ NL80211_ATTR_DFS_CAC_TIME = 0x7 ++ NL80211_ATTR_DFS_REGION = 0x92 ++ NL80211_ATTR_DISABLE_HE = 0x12d ++ NL80211_ATTR_DISABLE_HT = 0x93 ++ NL80211_ATTR_DISABLE_VHT = 0xaf ++ NL80211_ATTR_DISCONNECTED_BY_AP = 0x47 ++ NL80211_ATTR_DONT_WAIT_FOR_ACK = 0x8e ++ NL80211_ATTR_DTIM_PERIOD = 0xd ++ NL80211_ATTR_DURATION = 0x57 ++ NL80211_ATTR_EXT_CAPA = 0xa9 ++ NL80211_ATTR_EXT_CAPA_MASK = 0xaa ++ NL80211_ATTR_EXTERNAL_AUTH_ACTION = 0x104 ++ NL80211_ATTR_EXTERNAL_AUTH_SUPPORT = 0x105 ++ NL80211_ATTR_EXT_FEATURES = 0xd9 ++ NL80211_ATTR_FEATURE_FLAGS = 0x8f ++ NL80211_ATTR_FILS_CACHE_ID = 0xfd ++ NL80211_ATTR_FILS_DISCOVERY = 0x126 ++ NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM = 0xfb ++ NL80211_ATTR_FILS_ERP_REALM = 0xfa ++ NL80211_ATTR_FILS_ERP_RRK = 0xfc ++ NL80211_ATTR_FILS_ERP_USERNAME = 0xf9 ++ NL80211_ATTR_FILS_KEK = 0xf2 ++ NL80211_ATTR_FILS_NONCES = 0xf3 ++ NL80211_ATTR_FRAME = 0x33 ++ NL80211_ATTR_FRAME_MATCH = 0x5b ++ NL80211_ATTR_FRAME_TYPE = 0x65 ++ NL80211_ATTR_FREQ_AFTER = 0x3b ++ NL80211_ATTR_FREQ_BEFORE = 0x3a ++ NL80211_ATTR_FREQ_FIXED = 0x3c ++ NL80211_ATTR_FREQ_RANGE_END = 0x3 ++ NL80211_ATTR_FREQ_RANGE_MAX_BW = 0x4 ++ NL80211_ATTR_FREQ_RANGE_START = 0x2 ++ NL80211_ATTR_FTM_RESPONDER = 0x10e ++ NL80211_ATTR_FTM_RESPONDER_STATS = 0x10f ++ NL80211_ATTR_GENERATION = 0x2e ++ NL80211_ATTR_HANDLE_DFS = 0xbf ++ NL80211_ATTR_HE_6GHZ_CAPABILITY = 0x125 ++ NL80211_ATTR_HE_BSS_COLOR = 0x11b ++ NL80211_ATTR_HE_CAPABILITY = 0x10d ++ NL80211_ATTR_HE_OBSS_PD = 0x117 ++ NL80211_ATTR_HIDDEN_SSID = 0x7e ++ NL80211_ATTR_HT_CAPABILITY = 0x1f ++ NL80211_ATTR_HT_CAPABILITY_MASK = 0x94 ++ NL80211_ATTR_IE_ASSOC_RESP = 0x80 ++ NL80211_ATTR_IE = 0x2a ++ NL80211_ATTR_IE_PROBE_RESP = 0x7f ++ NL80211_ATTR_IE_RIC = 0xb2 ++ NL80211_ATTR_IFACE_SOCKET_OWNER = 0xcc ++ NL80211_ATTR_IFINDEX = 0x3 ++ NL80211_ATTR_IFNAME = 0x4 ++ NL80211_ATTR_IFTYPE_AKM_SUITES = 0x11c ++ NL80211_ATTR_IFTYPE = 0x5 ++ NL80211_ATTR_IFTYPE_EXT_CAPA = 0xe6 ++ NL80211_ATTR_INACTIVITY_TIMEOUT = 0x96 ++ NL80211_ATTR_INTERFACE_COMBINATIONS = 0x78 ++ NL80211_ATTR_KEY_CIPHER = 0x9 ++ NL80211_ATTR_KEY = 0x50 ++ NL80211_ATTR_KEY_DATA = 0x7 ++ NL80211_ATTR_KEY_DEFAULT = 0xb ++ NL80211_ATTR_KEY_DEFAULT_MGMT = 0x28 ++ NL80211_ATTR_KEY_DEFAULT_TYPES = 0x6e ++ NL80211_ATTR_KEY_IDX = 0x8 ++ NL80211_ATTR_KEYS = 0x51 ++ NL80211_ATTR_KEY_SEQ = 0xa ++ NL80211_ATTR_KEY_TYPE = 0x37 ++ NL80211_ATTR_LOCAL_MESH_POWER_MODE = 0xa4 ++ NL80211_ATTR_LOCAL_STATE_CHANGE = 0x5f ++ NL80211_ATTR_MAC_ACL_MAX = 0xa7 ++ NL80211_ATTR_MAC_ADDRS = 0xa6 ++ NL80211_ATTR_MAC = 0x6 ++ NL80211_ATTR_MAC_HINT = 0xc8 ++ NL80211_ATTR_MAC_MASK = 0xd7 ++ NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca ++ NL80211_ATTR_MAX = 0x137 ++ NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4 ++ NL80211_ATTR_MAX_CSA_COUNTERS = 0xce ++ NL80211_ATTR_MAX_MATCH_SETS = 0x85 ++ NL80211_ATTR_MAX_NUM_PMKIDS = 0x56 ++ NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 0x2b ++ NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS = 0xde ++ NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 0x7b ++ NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 0x6f ++ NL80211_ATTR_MAX_SCAN_IE_LEN = 0x38 ++ NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL = 0xdf ++ NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS = 0xe0 ++ NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 0x7c ++ NL80211_ATTR_MCAST_RATE = 0x6b ++ NL80211_ATTR_MDID = 0xb1 ++ NL80211_ATTR_MEASUREMENT_DURATION = 0xeb ++ NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY = 0xec ++ NL80211_ATTR_MESH_CONFIG = 0x23 ++ NL80211_ATTR_MESH_ID = 0x18 ++ NL80211_ATTR_MESH_PEER_AID = 0xed ++ NL80211_ATTR_MESH_SETUP = 0x70 ++ NL80211_ATTR_MGMT_SUBTYPE = 0x29 ++ NL80211_ATTR_MNTR_FLAGS = 0x17 ++ NL80211_ATTR_MPATH_INFO = 0x1b ++ NL80211_ATTR_MPATH_NEXT_HOP = 0x1a ++ NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED = 0xf4 ++ NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR = 0xe8 ++ NL80211_ATTR_MU_MIMO_GROUP_DATA = 0xe7 ++ NL80211_ATTR_NAN_FUNC = 0xf0 ++ NL80211_ATTR_NAN_MASTER_PREF = 0xee ++ NL80211_ATTR_NAN_MATCH = 0xf1 ++ NL80211_ATTR_NETNS_FD = 0xdb ++ NL80211_ATTR_NOACK_MAP = 0x95 ++ NL80211_ATTR_NSS = 0x106 ++ NL80211_ATTR_OFFCHANNEL_TX_OK = 0x6c ++ NL80211_ATTR_OPER_CLASS = 0xd6 ++ NL80211_ATTR_OPMODE_NOTIF = 0xc2 ++ NL80211_ATTR_P2P_CTWINDOW = 0xa2 ++ NL80211_ATTR_P2P_OPPPS = 0xa3 ++ NL80211_ATTR_PAD = 0xe5 ++ NL80211_ATTR_PBSS = 0xe2 ++ NL80211_ATTR_PEER_AID = 0xb5 ++ NL80211_ATTR_PEER_MEASUREMENTS = 0x111 ++ NL80211_ATTR_PID = 0x52 ++ NL80211_ATTR_PMK = 0xfe ++ NL80211_ATTR_PMKID = 0x55 ++ NL80211_ATTR_PMK_LIFETIME = 0x11f ++ NL80211_ATTR_PMKR0_NAME = 0x102 ++ NL80211_ATTR_PMK_REAUTH_THRESHOLD = 0x120 ++ NL80211_ATTR_PMKSA_CANDIDATE = 0x86 ++ NL80211_ATTR_PORT_AUTHORIZED = 0x103 ++ NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 0x5 ++ NL80211_ATTR_POWER_RULE_MAX_EIRP = 0x6 ++ NL80211_ATTR_PREV_BSSID = 0x4f ++ NL80211_ATTR_PRIVACY = 0x46 ++ NL80211_ATTR_PROBE_RESP = 0x91 ++ NL80211_ATTR_PROBE_RESP_OFFLOAD = 0x90 ++ NL80211_ATTR_PROTOCOL_FEATURES = 0xad ++ NL80211_ATTR_PS_STATE = 0x5d ++ NL80211_ATTR_QOS_MAP = 0xc7 ++ NL80211_ATTR_RADAR_EVENT = 0xa8 ++ NL80211_ATTR_REASON_CODE = 0x36 ++ NL80211_ATTR_RECEIVE_MULTICAST = 0x121 ++ NL80211_ATTR_RECONNECT_REQUESTED = 0x12b ++ NL80211_ATTR_REG_ALPHA2 = 0x21 ++ NL80211_ATTR_REG_INDOOR = 0xdd ++ NL80211_ATTR_REG_INITIATOR = 0x30 ++ NL80211_ATTR_REG_RULE_FLAGS = 0x1 ++ NL80211_ATTR_REG_RULES = 0x22 ++ NL80211_ATTR_REG_TYPE = 0x31 ++ NL80211_ATTR_REKEY_DATA = 0x7a ++ NL80211_ATTR_REQ_IE = 0x4d ++ NL80211_ATTR_RESP_IE = 0x4e ++ NL80211_ATTR_ROAM_SUPPORT = 0x83 ++ NL80211_ATTR_RX_FRAME_TYPES = 0x64 ++ NL80211_ATTR_RXMGMT_FLAGS = 0xbc ++ NL80211_ATTR_RX_SIGNAL_DBM = 0x97 ++ NL80211_ATTR_S1G_CAPABILITY = 0x128 ++ NL80211_ATTR_S1G_CAPABILITY_MASK = 0x129 ++ NL80211_ATTR_SAE_DATA = 0x9c ++ NL80211_ATTR_SAE_PASSWORD = 0x115 ++ NL80211_ATTR_SAE_PWE = 0x12a ++ NL80211_ATTR_SAR_SPEC = 0x12c ++ NL80211_ATTR_SCAN_FLAGS = 0x9e ++ NL80211_ATTR_SCAN_FREQ_KHZ = 0x124 ++ NL80211_ATTR_SCAN_FREQUENCIES = 0x2c ++ NL80211_ATTR_SCAN_GENERATION = 0x2e ++ NL80211_ATTR_SCAN_SSIDS = 0x2d ++ NL80211_ATTR_SCAN_START_TIME_TSF_BSSID = 0xea ++ NL80211_ATTR_SCAN_START_TIME_TSF = 0xe9 ++ NL80211_ATTR_SCAN_SUPP_RATES = 0x7d ++ NL80211_ATTR_SCHED_SCAN_DELAY = 0xdc ++ NL80211_ATTR_SCHED_SCAN_INTERVAL = 0x77 ++ NL80211_ATTR_SCHED_SCAN_MATCH = 0x84 ++ NL80211_ATTR_SCHED_SCAN_MATCH_SSID = 0x1 ++ NL80211_ATTR_SCHED_SCAN_MAX_REQS = 0x100 ++ NL80211_ATTR_SCHED_SCAN_MULTI = 0xff ++ NL80211_ATTR_SCHED_SCAN_PLANS = 0xe1 ++ NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI = 0xf6 ++ NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST = 0xf7 ++ NL80211_ATTR_SMPS_MODE = 0xd5 ++ NL80211_ATTR_SOCKET_OWNER = 0xcc ++ NL80211_ATTR_SOFTWARE_IFTYPES = 0x79 ++ NL80211_ATTR_SPLIT_WIPHY_DUMP = 0xae ++ NL80211_ATTR_SSID = 0x34 ++ NL80211_ATTR_STA_AID = 0x10 ++ NL80211_ATTR_STA_CAPABILITY = 0xab ++ NL80211_ATTR_STA_EXT_CAPABILITY = 0xac ++ NL80211_ATTR_STA_FLAGS2 = 0x43 ++ NL80211_ATTR_STA_FLAGS = 0x11 ++ NL80211_ATTR_STA_INFO = 0x15 ++ NL80211_ATTR_STA_LISTEN_INTERVAL = 0x12 ++ NL80211_ATTR_STA_PLINK_ACTION = 0x19 ++ NL80211_ATTR_STA_PLINK_STATE = 0x74 ++ NL80211_ATTR_STA_SUPPORTED_CHANNELS = 0xbd ++ NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES = 0xbe ++ NL80211_ATTR_STA_SUPPORTED_RATES = 0x13 ++ NL80211_ATTR_STA_SUPPORT_P2P_PS = 0xe4 ++ NL80211_ATTR_STATUS_CODE = 0x48 ++ NL80211_ATTR_STA_TX_POWER = 0x114 ++ NL80211_ATTR_STA_TX_POWER_SETTING = 0x113 ++ NL80211_ATTR_STA_VLAN = 0x14 ++ NL80211_ATTR_STA_WME = 0x81 ++ NL80211_ATTR_SUPPORT_10_MHZ = 0xc1 ++ NL80211_ATTR_SUPPORT_5_MHZ = 0xc0 ++ NL80211_ATTR_SUPPORT_AP_UAPSD = 0x82 ++ NL80211_ATTR_SUPPORTED_COMMANDS = 0x32 ++ NL80211_ATTR_SUPPORTED_IFTYPES = 0x20 ++ NL80211_ATTR_SUPPORT_IBSS_RSN = 0x68 ++ NL80211_ATTR_SUPPORT_MESH_AUTH = 0x73 ++ NL80211_ATTR_SURVEY_INFO = 0x54 ++ NL80211_ATTR_SURVEY_RADIO_STATS = 0xda ++ NL80211_ATTR_TDLS_ACTION = 0x88 ++ NL80211_ATTR_TDLS_DIALOG_TOKEN = 0x89 ++ NL80211_ATTR_TDLS_EXTERNAL_SETUP = 0x8c ++ NL80211_ATTR_TDLS_INITIATOR = 0xcf ++ NL80211_ATTR_TDLS_OPERATION = 0x8a ++ NL80211_ATTR_TDLS_PEER_CAPABILITY = 0xcb ++ NL80211_ATTR_TDLS_SUPPORT = 0x8b ++ NL80211_ATTR_TESTDATA = 0x45 ++ NL80211_ATTR_TID_CONFIG = 0x11d ++ NL80211_ATTR_TIMED_OUT = 0x41 ++ NL80211_ATTR_TIMEOUT = 0x110 ++ NL80211_ATTR_TIMEOUT_REASON = 0xf8 ++ NL80211_ATTR_TSID = 0xd2 ++ NL80211_ATTR_TWT_RESPONDER = 0x116 ++ NL80211_ATTR_TX_FRAME_TYPES = 0x63 ++ NL80211_ATTR_TX_NO_CCK_RATE = 0x87 ++ NL80211_ATTR_TXQ_LIMIT = 0x10a ++ NL80211_ATTR_TXQ_MEMORY_LIMIT = 0x10b ++ NL80211_ATTR_TXQ_QUANTUM = 0x10c ++ NL80211_ATTR_TXQ_STATS = 0x109 ++ NL80211_ATTR_TX_RATES = 0x5a ++ NL80211_ATTR_UNSOL_BCAST_PROBE_RESP = 0x127 ++ NL80211_ATTR_UNSPEC = 0x0 ++ NL80211_ATTR_USE_MFP = 0x42 ++ NL80211_ATTR_USER_PRIO = 0xd3 ++ NL80211_ATTR_USER_REG_HINT_TYPE = 0x9a ++ NL80211_ATTR_USE_RRM = 0xd0 ++ NL80211_ATTR_VENDOR_DATA = 0xc5 ++ NL80211_ATTR_VENDOR_EVENTS = 0xc6 ++ NL80211_ATTR_VENDOR_ID = 0xc3 ++ NL80211_ATTR_VENDOR_SUBCMD = 0xc4 ++ NL80211_ATTR_VHT_CAPABILITY = 0x9d ++ NL80211_ATTR_VHT_CAPABILITY_MASK = 0xb0 ++ NL80211_ATTR_VLAN_ID = 0x11a ++ NL80211_ATTR_WANT_1X_4WAY_HS = 0x101 ++ NL80211_ATTR_WDEV = 0x99 ++ NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 0x72 ++ NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 0x71 ++ NL80211_ATTR_WIPHY_ANTENNA_RX = 0x6a ++ NL80211_ATTR_WIPHY_ANTENNA_TX = 0x69 ++ NL80211_ATTR_WIPHY_BANDS = 0x16 ++ NL80211_ATTR_WIPHY_CHANNEL_TYPE = 0x27 ++ NL80211_ATTR_WIPHY = 0x1 ++ NL80211_ATTR_WIPHY_COVERAGE_CLASS = 0x59 ++ NL80211_ATTR_WIPHY_DYN_ACK = 0xd1 ++ NL80211_ATTR_WIPHY_EDMG_BW_CONFIG = 0x119 ++ NL80211_ATTR_WIPHY_EDMG_CHANNELS = 0x118 ++ NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 0x3f ++ NL80211_ATTR_WIPHY_FREQ = 0x26 ++ NL80211_ATTR_WIPHY_FREQ_HINT = 0xc9 ++ NL80211_ATTR_WIPHY_FREQ_OFFSET = 0x122 ++ NL80211_ATTR_WIPHY_NAME = 0x2 ++ NL80211_ATTR_WIPHY_RETRY_LONG = 0x3e ++ NL80211_ATTR_WIPHY_RETRY_SHORT = 0x3d ++ NL80211_ATTR_WIPHY_RTS_THRESHOLD = 0x40 ++ NL80211_ATTR_WIPHY_SELF_MANAGED_REG = 0xd8 ++ NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 0x62 ++ NL80211_ATTR_WIPHY_TX_POWER_SETTING = 0x61 ++ NL80211_ATTR_WIPHY_TXQ_PARAMS = 0x25 ++ NL80211_ATTR_WOWLAN_TRIGGERS = 0x75 ++ NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 0x76 ++ NL80211_ATTR_WPA_VERSIONS = 0x4b ++ NL80211_AUTHTYPE_AUTOMATIC = 0x8 ++ NL80211_AUTHTYPE_FILS_PK = 0x7 ++ NL80211_AUTHTYPE_FILS_SK = 0x5 ++ NL80211_AUTHTYPE_FILS_SK_PFS = 0x6 ++ NL80211_AUTHTYPE_FT = 0x2 ++ NL80211_AUTHTYPE_MAX = 0x7 ++ NL80211_AUTHTYPE_NETWORK_EAP = 0x3 ++ NL80211_AUTHTYPE_OPEN_SYSTEM = 0x0 ++ NL80211_AUTHTYPE_SAE = 0x4 ++ NL80211_AUTHTYPE_SHARED_KEY = 0x1 ++ NL80211_BAND_2GHZ = 0x0 ++ NL80211_BAND_5GHZ = 0x1 ++ NL80211_BAND_60GHZ = 0x2 ++ NL80211_BAND_6GHZ = 0x3 ++ NL80211_BAND_ATTR_EDMG_BW_CONFIG = 0xb ++ NL80211_BAND_ATTR_EDMG_CHANNELS = 0xa ++ NL80211_BAND_ATTR_FREQS = 0x1 ++ NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 0x6 ++ NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 0x5 ++ NL80211_BAND_ATTR_HT_CAPA = 0x4 ++ NL80211_BAND_ATTR_HT_MCS_SET = 0x3 ++ NL80211_BAND_ATTR_IFTYPE_DATA = 0x9 ++ NL80211_BAND_ATTR_MAX = 0xb ++ NL80211_BAND_ATTR_RATES = 0x2 ++ NL80211_BAND_ATTR_VHT_CAPA = 0x8 ++ NL80211_BAND_ATTR_VHT_MCS_SET = 0x7 ++ NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA = 0x6 ++ NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC = 0x2 ++ NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET = 0x4 ++ NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 0x3 ++ NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 0x5 ++ NL80211_BAND_IFTYPE_ATTR_IFTYPES = 0x1 ++ NL80211_BAND_IFTYPE_ATTR_MAX = 0xb ++ NL80211_BAND_S1GHZ = 0x4 ++ NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 0x2 ++ NL80211_BITRATE_ATTR_MAX = 0x2 ++ NL80211_BITRATE_ATTR_RATE = 0x1 ++ NL80211_BSS_BEACON_IES = 0xb ++ NL80211_BSS_BEACON_INTERVAL = 0x4 ++ NL80211_BSS_BEACON_TSF = 0xd ++ NL80211_BSS_BSSID = 0x1 ++ NL80211_BSS_CAPABILITY = 0x5 ++ NL80211_BSS_CHAIN_SIGNAL = 0x13 ++ NL80211_BSS_CHAN_WIDTH_10 = 0x1 ++ NL80211_BSS_CHAN_WIDTH_1 = 0x3 ++ NL80211_BSS_CHAN_WIDTH_20 = 0x0 ++ NL80211_BSS_CHAN_WIDTH_2 = 0x4 ++ NL80211_BSS_CHAN_WIDTH_5 = 0x2 ++ NL80211_BSS_CHAN_WIDTH = 0xc ++ NL80211_BSS_FREQUENCY = 0x2 ++ NL80211_BSS_FREQUENCY_OFFSET = 0x14 ++ NL80211_BSS_INFORMATION_ELEMENTS = 0x6 ++ NL80211_BSS_LAST_SEEN_BOOTTIME = 0xf ++ NL80211_BSS_MAX = 0x14 ++ NL80211_BSS_PAD = 0x10 ++ NL80211_BSS_PARENT_BSSID = 0x12 ++ NL80211_BSS_PARENT_TSF = 0x11 ++ NL80211_BSS_PRESP_DATA = 0xe ++ NL80211_BSS_SEEN_MS_AGO = 0xa ++ NL80211_BSS_SELECT_ATTR_BAND_PREF = 0x2 ++ NL80211_BSS_SELECT_ATTR_MAX = 0x3 ++ NL80211_BSS_SELECT_ATTR_RSSI_ADJUST = 0x3 ++ NL80211_BSS_SELECT_ATTR_RSSI = 0x1 ++ NL80211_BSS_SIGNAL_MBM = 0x7 ++ NL80211_BSS_SIGNAL_UNSPEC = 0x8 ++ NL80211_BSS_STATUS_ASSOCIATED = 0x1 ++ NL80211_BSS_STATUS_AUTHENTICATED = 0x0 ++ NL80211_BSS_STATUS = 0x9 ++ NL80211_BSS_STATUS_IBSS_JOINED = 0x2 ++ NL80211_BSS_TSF = 0x3 ++ NL80211_CHAN_HT20 = 0x1 ++ NL80211_CHAN_HT40MINUS = 0x2 ++ NL80211_CHAN_HT40PLUS = 0x3 ++ NL80211_CHAN_NO_HT = 0x0 ++ NL80211_CHAN_WIDTH_10 = 0x7 ++ NL80211_CHAN_WIDTH_160 = 0x5 ++ NL80211_CHAN_WIDTH_16 = 0xc ++ NL80211_CHAN_WIDTH_1 = 0x8 ++ NL80211_CHAN_WIDTH_20 = 0x1 ++ NL80211_CHAN_WIDTH_20_NOHT = 0x0 ++ NL80211_CHAN_WIDTH_2 = 0x9 ++ NL80211_CHAN_WIDTH_40 = 0x2 ++ NL80211_CHAN_WIDTH_4 = 0xa ++ NL80211_CHAN_WIDTH_5 = 0x6 ++ NL80211_CHAN_WIDTH_80 = 0x3 ++ NL80211_CHAN_WIDTH_80P80 = 0x4 ++ NL80211_CHAN_WIDTH_8 = 0xb ++ NL80211_CMD_ABORT_SCAN = 0x72 ++ NL80211_CMD_ACTION = 0x3b ++ NL80211_CMD_ACTION_TX_STATUS = 0x3c ++ NL80211_CMD_ADD_NAN_FUNCTION = 0x75 ++ NL80211_CMD_ADD_TX_TS = 0x69 ++ NL80211_CMD_ASSOCIATE = 0x26 ++ NL80211_CMD_AUTHENTICATE = 0x25 ++ NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 0x38 ++ NL80211_CMD_CHANGE_NAN_CONFIG = 0x77 ++ NL80211_CMD_CHANNEL_SWITCH = 0x66 ++ NL80211_CMD_CH_SWITCH_NOTIFY = 0x58 ++ NL80211_CMD_CH_SWITCH_STARTED_NOTIFY = 0x6e ++ NL80211_CMD_CONNECT = 0x2e ++ NL80211_CMD_CONN_FAILED = 0x5b ++ NL80211_CMD_CONTROL_PORT_FRAME = 0x81 ++ NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS = 0x8b ++ NL80211_CMD_CRIT_PROTOCOL_START = 0x62 ++ NL80211_CMD_CRIT_PROTOCOL_STOP = 0x63 ++ NL80211_CMD_DEAUTHENTICATE = 0x27 ++ NL80211_CMD_DEL_BEACON = 0x10 ++ NL80211_CMD_DEL_INTERFACE = 0x8 ++ NL80211_CMD_DEL_KEY = 0xc ++ NL80211_CMD_DEL_MPATH = 0x18 ++ NL80211_CMD_DEL_NAN_FUNCTION = 0x76 ++ NL80211_CMD_DEL_PMK = 0x7c ++ NL80211_CMD_DEL_PMKSA = 0x35 ++ NL80211_CMD_DEL_STATION = 0x14 ++ NL80211_CMD_DEL_TX_TS = 0x6a ++ NL80211_CMD_DEL_WIPHY = 0x4 ++ NL80211_CMD_DISASSOCIATE = 0x28 ++ NL80211_CMD_DISCONNECT = 0x30 ++ NL80211_CMD_EXTERNAL_AUTH = 0x7f ++ NL80211_CMD_FLUSH_PMKSA = 0x36 ++ NL80211_CMD_FRAME = 0x3b ++ NL80211_CMD_FRAME_TX_STATUS = 0x3c ++ NL80211_CMD_FRAME_WAIT_CANCEL = 0x43 ++ NL80211_CMD_FT_EVENT = 0x61 ++ NL80211_CMD_GET_BEACON = 0xd ++ NL80211_CMD_GET_COALESCE = 0x64 ++ NL80211_CMD_GET_FTM_RESPONDER_STATS = 0x82 ++ NL80211_CMD_GET_INTERFACE = 0x5 ++ NL80211_CMD_GET_KEY = 0x9 ++ NL80211_CMD_GET_MESH_CONFIG = 0x1c ++ NL80211_CMD_GET_MESH_PARAMS = 0x1c ++ NL80211_CMD_GET_MPATH = 0x15 ++ NL80211_CMD_GET_MPP = 0x6b ++ NL80211_CMD_GET_POWER_SAVE = 0x3e ++ NL80211_CMD_GET_PROTOCOL_FEATURES = 0x5f ++ NL80211_CMD_GET_REG = 0x1f ++ NL80211_CMD_GET_SCAN = 0x20 ++ NL80211_CMD_GET_STATION = 0x11 ++ NL80211_CMD_GET_SURVEY = 0x32 ++ NL80211_CMD_GET_WIPHY = 0x1 ++ NL80211_CMD_GET_WOWLAN = 0x49 ++ NL80211_CMD_JOIN_IBSS = 0x2b ++ NL80211_CMD_JOIN_MESH = 0x44 ++ NL80211_CMD_JOIN_OCB = 0x6c ++ NL80211_CMD_LEAVE_IBSS = 0x2c ++ NL80211_CMD_LEAVE_MESH = 0x45 ++ NL80211_CMD_LEAVE_OCB = 0x6d ++ NL80211_CMD_MAX = 0x93 ++ NL80211_CMD_MICHAEL_MIC_FAILURE = 0x29 ++ NL80211_CMD_NAN_MATCH = 0x78 ++ NL80211_CMD_NEW_BEACON = 0xf ++ NL80211_CMD_NEW_INTERFACE = 0x7 ++ NL80211_CMD_NEW_KEY = 0xb ++ NL80211_CMD_NEW_MPATH = 0x17 ++ NL80211_CMD_NEW_PEER_CANDIDATE = 0x48 ++ NL80211_CMD_NEW_SCAN_RESULTS = 0x22 ++ NL80211_CMD_NEW_STATION = 0x13 ++ NL80211_CMD_NEW_SURVEY_RESULTS = 0x33 ++ NL80211_CMD_NEW_WIPHY = 0x3 ++ NL80211_CMD_NOTIFY_CQM = 0x40 ++ NL80211_CMD_NOTIFY_RADAR = 0x86 ++ NL80211_CMD_PEER_MEASUREMENT_COMPLETE = 0x85 ++ NL80211_CMD_PEER_MEASUREMENT_RESULT = 0x84 ++ NL80211_CMD_PEER_MEASUREMENT_START = 0x83 ++ NL80211_CMD_PMKSA_CANDIDATE = 0x50 ++ NL80211_CMD_PORT_AUTHORIZED = 0x7d ++ NL80211_CMD_PROBE_CLIENT = 0x54 ++ NL80211_CMD_PROBE_MESH_LINK = 0x88 ++ NL80211_CMD_RADAR_DETECT = 0x5e ++ NL80211_CMD_REG_BEACON_HINT = 0x2a ++ NL80211_CMD_REG_CHANGE = 0x24 ++ NL80211_CMD_REGISTER_ACTION = 0x3a ++ NL80211_CMD_REGISTER_BEACONS = 0x55 ++ NL80211_CMD_REGISTER_FRAME = 0x3a ++ NL80211_CMD_RELOAD_REGDB = 0x7e ++ NL80211_CMD_REMAIN_ON_CHANNEL = 0x37 ++ NL80211_CMD_REQ_SET_REG = 0x1b ++ NL80211_CMD_ROAM = 0x2f ++ NL80211_CMD_SCAN_ABORTED = 0x23 ++ NL80211_CMD_SCHED_SCAN_RESULTS = 0x4d ++ NL80211_CMD_SCHED_SCAN_STOPPED = 0x4e ++ NL80211_CMD_SET_BEACON = 0xe ++ NL80211_CMD_SET_BSS = 0x19 ++ NL80211_CMD_SET_CHANNEL = 0x41 ++ NL80211_CMD_SET_COALESCE = 0x65 ++ NL80211_CMD_SET_CQM = 0x3f ++ NL80211_CMD_SET_INTERFACE = 0x6 ++ NL80211_CMD_SET_KEY = 0xa ++ NL80211_CMD_SET_MAC_ACL = 0x5d ++ NL80211_CMD_SET_MCAST_RATE = 0x5c ++ NL80211_CMD_SET_MESH_CONFIG = 0x1d ++ NL80211_CMD_SET_MESH_PARAMS = 0x1d ++ NL80211_CMD_SET_MGMT_EXTRA_IE = 0x1e ++ NL80211_CMD_SET_MPATH = 0x16 ++ NL80211_CMD_SET_MULTICAST_TO_UNICAST = 0x79 ++ NL80211_CMD_SET_NOACK_MAP = 0x57 ++ NL80211_CMD_SET_PMK = 0x7b ++ NL80211_CMD_SET_PMKSA = 0x34 ++ NL80211_CMD_SET_POWER_SAVE = 0x3d ++ NL80211_CMD_SET_QOS_MAP = 0x68 ++ NL80211_CMD_SET_REG = 0x1a ++ NL80211_CMD_SET_REKEY_OFFLOAD = 0x4f ++ NL80211_CMD_SET_SAR_SPECS = 0x8c ++ NL80211_CMD_SET_STATION = 0x12 ++ NL80211_CMD_SET_TID_CONFIG = 0x89 ++ NL80211_CMD_SET_TX_BITRATE_MASK = 0x39 ++ NL80211_CMD_SET_WDS_PEER = 0x42 ++ NL80211_CMD_SET_WIPHY = 0x2 ++ NL80211_CMD_SET_WIPHY_NETNS = 0x31 ++ NL80211_CMD_SET_WOWLAN = 0x4a ++ NL80211_CMD_STA_OPMODE_CHANGED = 0x80 ++ NL80211_CMD_START_AP = 0xf ++ NL80211_CMD_START_NAN = 0x73 ++ NL80211_CMD_START_P2P_DEVICE = 0x59 ++ NL80211_CMD_START_SCHED_SCAN = 0x4b ++ NL80211_CMD_STOP_AP = 0x10 ++ NL80211_CMD_STOP_NAN = 0x74 ++ NL80211_CMD_STOP_P2P_DEVICE = 0x5a ++ NL80211_CMD_STOP_SCHED_SCAN = 0x4c ++ NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH = 0x70 ++ NL80211_CMD_TDLS_CHANNEL_SWITCH = 0x6f ++ NL80211_CMD_TDLS_MGMT = 0x52 ++ NL80211_CMD_TDLS_OPER = 0x51 ++ NL80211_CMD_TESTMODE = 0x2d ++ NL80211_CMD_TRIGGER_SCAN = 0x21 ++ NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 0x56 ++ NL80211_CMD_UNEXPECTED_FRAME = 0x53 ++ NL80211_CMD_UNPROT_BEACON = 0x8a ++ NL80211_CMD_UNPROT_DEAUTHENTICATE = 0x46 ++ NL80211_CMD_UNPROT_DISASSOCIATE = 0x47 ++ NL80211_CMD_UNSPEC = 0x0 ++ NL80211_CMD_UPDATE_CONNECT_PARAMS = 0x7a ++ NL80211_CMD_UPDATE_FT_IES = 0x60 ++ NL80211_CMD_UPDATE_OWE_INFO = 0x87 ++ NL80211_CMD_VENDOR = 0x67 ++ NL80211_CMD_WIPHY_REG_CHANGE = 0x71 ++ NL80211_COALESCE_CONDITION_MATCH = 0x0 ++ NL80211_COALESCE_CONDITION_NO_MATCH = 0x1 ++ NL80211_CONN_FAIL_BLOCKED_CLIENT = 0x1 ++ NL80211_CONN_FAIL_MAX_CLIENTS = 0x0 ++ NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 0x2 ++ NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 0x1 ++ NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0x0 ++ NL80211_CQM_TXE_MAX_INTVL = 0x708 ++ NL80211_CRIT_PROTO_APIPA = 0x3 ++ NL80211_CRIT_PROTO_DHCP = 0x1 ++ NL80211_CRIT_PROTO_EAPOL = 0x2 ++ NL80211_CRIT_PROTO_MAX_DURATION = 0x1388 ++ NL80211_CRIT_PROTO_UNSPEC = 0x0 ++ NL80211_DFS_AVAILABLE = 0x2 ++ NL80211_DFS_ETSI = 0x2 ++ NL80211_DFS_FCC = 0x1 ++ NL80211_DFS_JP = 0x3 ++ NL80211_DFS_UNAVAILABLE = 0x1 ++ NL80211_DFS_UNSET = 0x0 ++ NL80211_DFS_USABLE = 0x0 ++ NL80211_EDMG_BW_CONFIG_MAX = 0xf ++ NL80211_EDMG_BW_CONFIG_MIN = 0x4 ++ NL80211_EDMG_CHANNELS_MAX = 0x3c ++ NL80211_EDMG_CHANNELS_MIN = 0x1 ++ NL80211_EXTERNAL_AUTH_ABORT = 0x1 ++ NL80211_EXTERNAL_AUTH_START = 0x0 ++ NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK = 0x32 ++ NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X = 0x10 ++ NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK = 0xf ++ NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP = 0x12 ++ NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT = 0x1b ++ NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 0x21 ++ NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 0x22 ++ NL80211_EXT_FEATURE_AQL = 0x28 ++ NL80211_EXT_FEATURE_BEACON_PROTECTION_CLIENT = 0x2e ++ NL80211_EXT_FEATURE_BEACON_PROTECTION = 0x29 ++ NL80211_EXT_FEATURE_BEACON_RATE_HE = 0x36 ++ NL80211_EXT_FEATURE_BEACON_RATE_HT = 0x7 ++ NL80211_EXT_FEATURE_BEACON_RATE_LEGACY = 0x6 ++ NL80211_EXT_FEATURE_BEACON_RATE_VHT = 0x8 ++ NL80211_EXT_FEATURE_BSS_PARENT_TSF = 0x4 ++ NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 = 0x1f ++ NL80211_EXT_FEATURE_CONTROL_PORT_NO_PREAUTH = 0x2a ++ NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211 = 0x1a ++ NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_TX_STATUS = 0x30 ++ NL80211_EXT_FEATURE_CQM_RSSI_LIST = 0xd ++ NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 0x1b ++ NL80211_EXT_FEATURE_DEL_IBSS_STA = 0x2c ++ NL80211_EXT_FEATURE_DFS_OFFLOAD = 0x19 ++ NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 0x20 ++ NL80211_EXT_FEATURE_EXT_KEY_ID = 0x24 ++ NL80211_EXT_FEATURE_FILS_DISCOVERY = 0x34 ++ NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME = 0x11 ++ NL80211_EXT_FEATURE_FILS_SK_OFFLOAD = 0xe ++ NL80211_EXT_FEATURE_FILS_STA = 0x9 ++ NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN = 0x18 ++ NL80211_EXT_FEATURE_LOW_POWER_SCAN = 0x17 ++ NL80211_EXT_FEATURE_LOW_SPAN_SCAN = 0x16 ++ NL80211_EXT_FEATURE_MFP_OPTIONAL = 0x15 ++ NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA = 0xa ++ NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED = 0xb ++ NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS = 0x2d ++ NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER = 0x2 ++ NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x14 ++ NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 0x13 ++ NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION = 0x31 ++ NL80211_EXT_FEATURE_PROTECTED_TWT = 0x2b ++ NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE = 0x39 ++ NL80211_EXT_FEATURE_RRM = 0x1 ++ NL80211_EXT_FEATURE_SAE_OFFLOAD_AP = 0x33 ++ NL80211_EXT_FEATURE_SAE_OFFLOAD = 0x26 ++ NL80211_EXT_FEATURE_SCAN_FREQ_KHZ = 0x2f ++ NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT = 0x1e ++ NL80211_EXT_FEATURE_SCAN_RANDOM_SN = 0x1d ++ NL80211_EXT_FEATURE_SCAN_START_TIME = 0x3 ++ NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 0x23 ++ NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 0xc ++ NL80211_EXT_FEATURE_SECURE_LTF = 0x37 ++ NL80211_EXT_FEATURE_SECURE_RTT = 0x38 ++ NL80211_EXT_FEATURE_SET_SCAN_DWELL = 0x5 ++ NL80211_EXT_FEATURE_STA_TX_PWR = 0x25 ++ NL80211_EXT_FEATURE_TXQS = 0x1c ++ NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP = 0x35 ++ NL80211_EXT_FEATURE_VHT_IBSS = 0x0 ++ NL80211_EXT_FEATURE_VLAN_OFFLOAD = 0x27 ++ NL80211_FEATURE_ACKTO_ESTIMATION = 0x800000 ++ NL80211_FEATURE_ACTIVE_MONITOR = 0x20000 ++ NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 0x4000 ++ NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 0x40000 ++ NL80211_FEATURE_AP_SCAN = 0x100 ++ NL80211_FEATURE_CELL_BASE_REG_HINTS = 0x8 ++ NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 0x80000 ++ NL80211_FEATURE_DYNAMIC_SMPS = 0x2000000 ++ NL80211_FEATURE_FULL_AP_CLIENT_STATE = 0x8000 ++ NL80211_FEATURE_HT_IBSS = 0x2 ++ NL80211_FEATURE_INACTIVITY_TIMER = 0x4 ++ NL80211_FEATURE_LOW_PRIORITY_SCAN = 0x40 ++ NL80211_FEATURE_MAC_ON_CREATE = 0x8000000 ++ NL80211_FEATURE_ND_RANDOM_MAC_ADDR = 0x80000000 ++ NL80211_FEATURE_NEED_OBSS_SCAN = 0x400 ++ NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 0x10 ++ NL80211_FEATURE_P2P_GO_CTWIN = 0x800 ++ NL80211_FEATURE_P2P_GO_OPPPS = 0x1000 ++ NL80211_FEATURE_QUIET = 0x200000 ++ NL80211_FEATURE_SAE = 0x20 ++ NL80211_FEATURE_SCAN_FLUSH = 0x80 ++ NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 0x20000000 ++ NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 0x40000000 ++ NL80211_FEATURE_SK_TX_STATUS = 0x1 ++ NL80211_FEATURE_STATIC_SMPS = 0x1000000 ++ NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 0x4000000 ++ NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 0x10000000 ++ NL80211_FEATURE_TX_POWER_INSERTION = 0x400000 ++ NL80211_FEATURE_USERSPACE_MPM = 0x10000 ++ NL80211_FEATURE_VIF_TXPOWER = 0x200 ++ NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 0x100000 ++ NL80211_FILS_DISCOVERY_ATTR_INT_MAX = 0x2 ++ NL80211_FILS_DISCOVERY_ATTR_INT_MIN = 0x1 ++ NL80211_FILS_DISCOVERY_ATTR_MAX = 0x3 ++ NL80211_FILS_DISCOVERY_ATTR_TMPL = 0x3 ++ NL80211_FILS_DISCOVERY_TMPL_MIN_LEN = 0x2a ++ NL80211_FREQUENCY_ATTR_16MHZ = 0x19 ++ NL80211_FREQUENCY_ATTR_1MHZ = 0x15 ++ NL80211_FREQUENCY_ATTR_2MHZ = 0x16 ++ NL80211_FREQUENCY_ATTR_4MHZ = 0x17 ++ NL80211_FREQUENCY_ATTR_8MHZ = 0x18 ++ NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 0xd ++ NL80211_FREQUENCY_ATTR_DFS_STATE = 0x7 ++ NL80211_FREQUENCY_ATTR_DFS_TIME = 0x8 ++ NL80211_FREQUENCY_ATTR_DISABLED = 0x2 ++ NL80211_FREQUENCY_ATTR_FREQ = 0x1 ++ NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf ++ NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe ++ NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf ++ NL80211_FREQUENCY_ATTR_MAX = 0x1b ++ NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6 ++ NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11 ++ NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc ++ NL80211_FREQUENCY_ATTR_NO_20MHZ = 0x10 ++ NL80211_FREQUENCY_ATTR_NO_80MHZ = 0xb ++ NL80211_FREQUENCY_ATTR_NO_HE = 0x13 ++ NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 0x9 ++ NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 0xa ++ NL80211_FREQUENCY_ATTR_NO_IBSS = 0x3 ++ NL80211_FREQUENCY_ATTR_NO_IR = 0x3 ++ NL80211_FREQUENCY_ATTR_OFFSET = 0x14 ++ NL80211_FREQUENCY_ATTR_PASSIVE_SCAN = 0x3 ++ NL80211_FREQUENCY_ATTR_RADAR = 0x5 ++ NL80211_FREQUENCY_ATTR_WMM = 0x12 ++ NL80211_FTM_RESP_ATTR_CIVICLOC = 0x3 ++ NL80211_FTM_RESP_ATTR_ENABLED = 0x1 ++ NL80211_FTM_RESP_ATTR_LCI = 0x2 ++ NL80211_FTM_RESP_ATTR_MAX = 0x3 ++ NL80211_FTM_STATS_ASAP_NUM = 0x4 ++ NL80211_FTM_STATS_FAILED_NUM = 0x3 ++ NL80211_FTM_STATS_MAX = 0xa ++ NL80211_FTM_STATS_NON_ASAP_NUM = 0x5 ++ NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM = 0x9 ++ NL80211_FTM_STATS_PAD = 0xa ++ NL80211_FTM_STATS_PARTIAL_NUM = 0x2 ++ NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM = 0x8 ++ NL80211_FTM_STATS_SUCCESS_NUM = 0x1 ++ NL80211_FTM_STATS_TOTAL_DURATION_MSEC = 0x6 ++ NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM = 0x7 ++ NL80211_GENL_NAME = "nl80211" ++ NL80211_HE_BSS_COLOR_ATTR_COLOR = 0x1 ++ NL80211_HE_BSS_COLOR_ATTR_DISABLED = 0x2 ++ NL80211_HE_BSS_COLOR_ATTR_MAX = 0x3 ++ NL80211_HE_BSS_COLOR_ATTR_PARTIAL = 0x3 ++ NL80211_HE_MAX_CAPABILITY_LEN = 0x36 ++ NL80211_HE_MIN_CAPABILITY_LEN = 0x10 ++ NL80211_HE_NSS_MAX = 0x8 ++ NL80211_HE_OBSS_PD_ATTR_BSS_COLOR_BITMAP = 0x4 ++ NL80211_HE_OBSS_PD_ATTR_MAX = 0x6 ++ NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET = 0x2 ++ NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET = 0x1 ++ NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET = 0x3 ++ NL80211_HE_OBSS_PD_ATTR_PARTIAL_BSSID_BITMAP = 0x5 ++ NL80211_HE_OBSS_PD_ATTR_SR_CTRL = 0x6 ++ NL80211_HIDDEN_SSID_NOT_IN_USE = 0x0 ++ NL80211_HIDDEN_SSID_ZERO_CONTENTS = 0x2 ++ NL80211_HIDDEN_SSID_ZERO_LEN = 0x1 ++ NL80211_HT_CAPABILITY_LEN = 0x1a ++ NL80211_IFACE_COMB_BI_MIN_GCD = 0x7 ++ NL80211_IFACE_COMB_LIMITS = 0x1 ++ NL80211_IFACE_COMB_MAXNUM = 0x2 ++ NL80211_IFACE_COMB_NUM_CHANNELS = 0x4 ++ NL80211_IFACE_COMB_RADAR_DETECT_REGIONS = 0x6 ++ NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 0x5 ++ NL80211_IFACE_COMB_STA_AP_BI_MATCH = 0x3 ++ NL80211_IFACE_COMB_UNSPEC = 0x0 ++ NL80211_IFACE_LIMIT_MAX = 0x1 ++ NL80211_IFACE_LIMIT_TYPES = 0x2 ++ NL80211_IFACE_LIMIT_UNSPEC = 0x0 ++ NL80211_IFTYPE_ADHOC = 0x1 ++ NL80211_IFTYPE_AKM_ATTR_IFTYPES = 0x1 ++ NL80211_IFTYPE_AKM_ATTR_MAX = 0x2 ++ NL80211_IFTYPE_AKM_ATTR_SUITES = 0x2 ++ NL80211_IFTYPE_AP = 0x3 ++ NL80211_IFTYPE_AP_VLAN = 0x4 ++ NL80211_IFTYPE_MAX = 0xc ++ NL80211_IFTYPE_MESH_POINT = 0x7 ++ NL80211_IFTYPE_MONITOR = 0x6 ++ NL80211_IFTYPE_NAN = 0xc ++ NL80211_IFTYPE_OCB = 0xb ++ NL80211_IFTYPE_P2P_CLIENT = 0x8 ++ NL80211_IFTYPE_P2P_DEVICE = 0xa ++ NL80211_IFTYPE_P2P_GO = 0x9 ++ NL80211_IFTYPE_STATION = 0x2 ++ NL80211_IFTYPE_UNSPECIFIED = 0x0 ++ NL80211_IFTYPE_WDS = 0x5 ++ NL80211_KCK_EXT_LEN = 0x18 ++ NL80211_KCK_LEN = 0x10 ++ NL80211_KEK_EXT_LEN = 0x20 ++ NL80211_KEK_LEN = 0x10 ++ NL80211_KEY_CIPHER = 0x3 ++ NL80211_KEY_DATA = 0x1 ++ NL80211_KEY_DEFAULT_BEACON = 0xa ++ NL80211_KEY_DEFAULT = 0x5 ++ NL80211_KEY_DEFAULT_MGMT = 0x6 ++ NL80211_KEY_DEFAULT_TYPE_MULTICAST = 0x2 ++ NL80211_KEY_DEFAULT_TYPES = 0x8 ++ NL80211_KEY_DEFAULT_TYPE_UNICAST = 0x1 ++ NL80211_KEY_IDX = 0x2 ++ NL80211_KEY_MAX = 0xa ++ NL80211_KEY_MODE = 0x9 ++ NL80211_KEY_NO_TX = 0x1 ++ NL80211_KEY_RX_TX = 0x0 ++ NL80211_KEY_SEQ = 0x4 ++ NL80211_KEY_SET_TX = 0x2 ++ NL80211_KEY_TYPE = 0x7 ++ NL80211_KEYTYPE_GROUP = 0x0 ++ NL80211_KEYTYPE_PAIRWISE = 0x1 ++ NL80211_KEYTYPE_PEERKEY = 0x2 ++ NL80211_MAX_NR_AKM_SUITES = 0x2 ++ NL80211_MAX_NR_CIPHER_SUITES = 0x5 ++ NL80211_MAX_SUPP_HT_RATES = 0x4d ++ NL80211_MAX_SUPP_RATES = 0x20 ++ NL80211_MAX_SUPP_REG_RULES = 0x80 ++ NL80211_MESHCONF_ATTR_MAX = 0x1f ++ NL80211_MESHCONF_AUTO_OPEN_PLINKS = 0x7 ++ NL80211_MESHCONF_AWAKE_WINDOW = 0x1b ++ NL80211_MESHCONF_CONFIRM_TIMEOUT = 0x2 ++ NL80211_MESHCONF_CONNECTED_TO_AS = 0x1f ++ NL80211_MESHCONF_CONNECTED_TO_GATE = 0x1d ++ NL80211_MESHCONF_ELEMENT_TTL = 0xf ++ NL80211_MESHCONF_FORWARDING = 0x13 ++ NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 0x11 ++ NL80211_MESHCONF_HOLDING_TIMEOUT = 0x3 ++ NL80211_MESHCONF_HT_OPMODE = 0x16 ++ NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 0xb ++ NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 0x19 ++ NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 0x8 ++ NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 0xd ++ NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 0x17 ++ NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 0x12 ++ NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 0xc ++ NL80211_MESHCONF_HWMP_RANN_INTERVAL = 0x10 ++ NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 0x18 ++ NL80211_MESHCONF_HWMP_ROOTMODE = 0xe ++ NL80211_MESHCONF_MAX_PEER_LINKS = 0x4 ++ NL80211_MESHCONF_MAX_RETRIES = 0x5 ++ NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 0xa ++ NL80211_MESHCONF_NOLEARN = 0x1e ++ NL80211_MESHCONF_PATH_REFRESH_TIME = 0x9 ++ NL80211_MESHCONF_PLINK_TIMEOUT = 0x1c ++ NL80211_MESHCONF_POWER_MODE = 0x1a ++ NL80211_MESHCONF_RETRY_TIMEOUT = 0x1 ++ NL80211_MESHCONF_RSSI_THRESHOLD = 0x14 ++ NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 0x15 ++ NL80211_MESHCONF_TTL = 0x6 ++ NL80211_MESH_POWER_ACTIVE = 0x1 ++ NL80211_MESH_POWER_DEEP_SLEEP = 0x3 ++ NL80211_MESH_POWER_LIGHT_SLEEP = 0x2 ++ NL80211_MESH_POWER_MAX = 0x3 ++ NL80211_MESH_POWER_UNKNOWN = 0x0 ++ NL80211_MESH_SETUP_ATTR_MAX = 0x8 ++ NL80211_MESH_SETUP_AUTH_PROTOCOL = 0x8 ++ NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 0x2 ++ NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 0x1 ++ NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 0x6 ++ NL80211_MESH_SETUP_IE = 0x3 ++ NL80211_MESH_SETUP_USERSPACE_AMPE = 0x5 ++ NL80211_MESH_SETUP_USERSPACE_AUTH = 0x4 ++ NL80211_MESH_SETUP_USERSPACE_MPM = 0x7 ++ NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE = 0x3 ++ NL80211_MFP_NO = 0x0 ++ NL80211_MFP_OPTIONAL = 0x2 ++ NL80211_MFP_REQUIRED = 0x1 ++ NL80211_MIN_REMAIN_ON_CHANNEL_TIME = 0xa ++ NL80211_MNTR_FLAG_ACTIVE = 0x6 ++ NL80211_MNTR_FLAG_CONTROL = 0x3 ++ NL80211_MNTR_FLAG_COOK_FRAMES = 0x5 ++ NL80211_MNTR_FLAG_FCSFAIL = 0x1 ++ NL80211_MNTR_FLAG_MAX = 0x6 ++ NL80211_MNTR_FLAG_OTHER_BSS = 0x4 ++ NL80211_MNTR_FLAG_PLCPFAIL = 0x2 ++ NL80211_MPATH_FLAG_ACTIVE = 0x1 ++ NL80211_MPATH_FLAG_FIXED = 0x8 ++ NL80211_MPATH_FLAG_RESOLVED = 0x10 ++ NL80211_MPATH_FLAG_RESOLVING = 0x2 ++ NL80211_MPATH_FLAG_SN_VALID = 0x4 ++ NL80211_MPATH_INFO_DISCOVERY_RETRIES = 0x7 ++ NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 0x6 ++ NL80211_MPATH_INFO_EXPTIME = 0x4 ++ NL80211_MPATH_INFO_FLAGS = 0x5 ++ NL80211_MPATH_INFO_FRAME_QLEN = 0x1 ++ NL80211_MPATH_INFO_HOP_COUNT = 0x8 ++ NL80211_MPATH_INFO_MAX = 0x9 ++ NL80211_MPATH_INFO_METRIC = 0x3 ++ NL80211_MPATH_INFO_PATH_CHANGE = 0x9 ++ NL80211_MPATH_INFO_SN = 0x2 ++ NL80211_MULTICAST_GROUP_CONFIG = "config" ++ NL80211_MULTICAST_GROUP_MLME = "mlme" ++ NL80211_MULTICAST_GROUP_NAN = "nan" ++ NL80211_MULTICAST_GROUP_REG = "regulatory" ++ NL80211_MULTICAST_GROUP_SCAN = "scan" ++ NL80211_MULTICAST_GROUP_TESTMODE = "testmode" ++ NL80211_MULTICAST_GROUP_VENDOR = "vendor" ++ NL80211_NAN_FUNC_ATTR_MAX = 0x10 ++ NL80211_NAN_FUNC_CLOSE_RANGE = 0x9 ++ NL80211_NAN_FUNC_FOLLOW_UP = 0x2 ++ NL80211_NAN_FUNC_FOLLOW_UP_DEST = 0x8 ++ NL80211_NAN_FUNC_FOLLOW_UP_ID = 0x6 ++ NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 0x7 ++ NL80211_NAN_FUNC_INSTANCE_ID = 0xf ++ NL80211_NAN_FUNC_MAX_TYPE = 0x2 ++ NL80211_NAN_FUNC_PUBLISH_BCAST = 0x4 ++ NL80211_NAN_FUNC_PUBLISH = 0x0 ++ NL80211_NAN_FUNC_PUBLISH_TYPE = 0x3 ++ NL80211_NAN_FUNC_RX_MATCH_FILTER = 0xd ++ NL80211_NAN_FUNC_SERVICE_ID = 0x2 ++ NL80211_NAN_FUNC_SERVICE_ID_LEN = 0x6 ++ NL80211_NAN_FUNC_SERVICE_INFO = 0xb ++ NL80211_NAN_FUNC_SERVICE_SPEC_INFO_MAX_LEN = 0xff ++ NL80211_NAN_FUNC_SRF = 0xc ++ NL80211_NAN_FUNC_SRF_MAX_LEN = 0xff ++ NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 0x5 ++ NL80211_NAN_FUNC_SUBSCRIBE = 0x1 ++ NL80211_NAN_FUNC_TERM_REASON = 0x10 ++ NL80211_NAN_FUNC_TERM_REASON_ERROR = 0x2 ++ NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 0x1 ++ NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0x0 ++ NL80211_NAN_FUNC_TTL = 0xa ++ NL80211_NAN_FUNC_TX_MATCH_FILTER = 0xe ++ NL80211_NAN_FUNC_TYPE = 0x1 ++ NL80211_NAN_MATCH_ATTR_MAX = 0x2 ++ NL80211_NAN_MATCH_FUNC_LOCAL = 0x1 ++ NL80211_NAN_MATCH_FUNC_PEER = 0x2 ++ NL80211_NAN_SOLICITED_PUBLISH = 0x1 ++ NL80211_NAN_SRF_ATTR_MAX = 0x4 ++ NL80211_NAN_SRF_BF = 0x2 ++ NL80211_NAN_SRF_BF_IDX = 0x3 ++ NL80211_NAN_SRF_INCLUDE = 0x1 ++ NL80211_NAN_SRF_MAC_ADDRS = 0x4 ++ NL80211_NAN_UNSOLICITED_PUBLISH = 0x2 ++ NL80211_NUM_ACS = 0x4 ++ NL80211_P2P_PS_SUPPORTED = 0x1 ++ NL80211_P2P_PS_UNSUPPORTED = 0x0 ++ NL80211_PKTPAT_MASK = 0x1 ++ NL80211_PKTPAT_OFFSET = 0x3 ++ NL80211_PKTPAT_PATTERN = 0x2 ++ NL80211_PLINK_ACTION_BLOCK = 0x2 ++ NL80211_PLINK_ACTION_NO_ACTION = 0x0 ++ NL80211_PLINK_ACTION_OPEN = 0x1 ++ NL80211_PLINK_BLOCKED = 0x6 ++ NL80211_PLINK_CNF_RCVD = 0x3 ++ NL80211_PLINK_ESTAB = 0x4 ++ NL80211_PLINK_HOLDING = 0x5 ++ NL80211_PLINK_LISTEN = 0x0 ++ NL80211_PLINK_OPN_RCVD = 0x2 ++ NL80211_PLINK_OPN_SNT = 0x1 ++ NL80211_PMKSA_CANDIDATE_BSSID = 0x2 ++ NL80211_PMKSA_CANDIDATE_INDEX = 0x1 ++ NL80211_PMKSA_CANDIDATE_PREAUTH = 0x3 ++ NL80211_PMSR_ATTR_MAX = 0x5 ++ NL80211_PMSR_ATTR_MAX_PEERS = 0x1 ++ NL80211_PMSR_ATTR_PEERS = 0x5 ++ NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR = 0x3 ++ NL80211_PMSR_ATTR_REPORT_AP_TSF = 0x2 ++ NL80211_PMSR_ATTR_TYPE_CAPA = 0x4 ++ NL80211_PMSR_FTM_CAPA_ATTR_ASAP = 0x1 ++ NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS = 0x6 ++ NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT = 0x7 ++ NL80211_PMSR_FTM_CAPA_ATTR_MAX = 0xa ++ NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST = 0x8 ++ NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP = 0x2 ++ NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED = 0xa ++ NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES = 0x5 ++ NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC = 0x4 ++ NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI = 0x3 ++ NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED = 0x9 ++ NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 0x7 ++ NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 0x5 ++ NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 0x1 ++ NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 0x6 ++ NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 0x4 ++ NL80211_PMSR_FTM_FAILURE_REJECTED = 0x2 ++ NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0x0 ++ NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 0x3 ++ NL80211_PMSR_FTM_REQ_ATTR_ASAP = 0x1 ++ NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION = 0x5 ++ NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD = 0x4 ++ NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST = 0x6 ++ NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK = 0xc ++ NL80211_PMSR_FTM_REQ_ATTR_MAX = 0xd ++ NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED = 0xb ++ NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP = 0x3 ++ NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES = 0x7 ++ NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE = 0x2 ++ NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC = 0x9 ++ NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI = 0x8 ++ NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED = 0xa ++ NL80211_PMSR_FTM_RESP_ATTR_BURST_DURATION = 0x7 ++ NL80211_PMSR_FTM_RESP_ATTR_BURST_INDEX = 0x2 ++ NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME = 0x5 ++ NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC = 0x14 ++ NL80211_PMSR_FTM_RESP_ATTR_DIST_AVG = 0x10 ++ NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD = 0x12 ++ NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE = 0x11 ++ NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON = 0x1 ++ NL80211_PMSR_FTM_RESP_ATTR_FTMS_PER_BURST = 0x8 ++ NL80211_PMSR_FTM_RESP_ATTR_LCI = 0x13 ++ NL80211_PMSR_FTM_RESP_ATTR_MAX = 0x15 ++ NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP = 0x6 ++ NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS = 0x3 ++ NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES = 0x4 ++ NL80211_PMSR_FTM_RESP_ATTR_PAD = 0x15 ++ NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG = 0x9 ++ NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD = 0xa ++ NL80211_PMSR_FTM_RESP_ATTR_RTT_AVG = 0xd ++ NL80211_PMSR_FTM_RESP_ATTR_RTT_SPREAD = 0xf ++ NL80211_PMSR_FTM_RESP_ATTR_RTT_VARIANCE = 0xe ++ NL80211_PMSR_FTM_RESP_ATTR_RX_RATE = 0xc ++ NL80211_PMSR_FTM_RESP_ATTR_TX_RATE = 0xb ++ NL80211_PMSR_PEER_ATTR_ADDR = 0x1 ++ NL80211_PMSR_PEER_ATTR_CHAN = 0x2 ++ NL80211_PMSR_PEER_ATTR_MAX = 0x4 ++ NL80211_PMSR_PEER_ATTR_REQ = 0x3 ++ NL80211_PMSR_PEER_ATTR_RESP = 0x4 ++ NL80211_PMSR_REQ_ATTR_DATA = 0x1 ++ NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 0x2 ++ NL80211_PMSR_REQ_ATTR_MAX = 0x2 ++ NL80211_PMSR_RESP_ATTR_AP_TSF = 0x4 ++ NL80211_PMSR_RESP_ATTR_DATA = 0x1 ++ NL80211_PMSR_RESP_ATTR_FINAL = 0x5 ++ NL80211_PMSR_RESP_ATTR_HOST_TIME = 0x3 ++ NL80211_PMSR_RESP_ATTR_MAX = 0x6 ++ NL80211_PMSR_RESP_ATTR_PAD = 0x6 ++ NL80211_PMSR_RESP_ATTR_STATUS = 0x2 ++ NL80211_PMSR_STATUS_FAILURE = 0x3 ++ NL80211_PMSR_STATUS_REFUSED = 0x1 ++ NL80211_PMSR_STATUS_SUCCESS = 0x0 ++ NL80211_PMSR_STATUS_TIMEOUT = 0x2 ++ NL80211_PMSR_TYPE_FTM = 0x1 ++ NL80211_PMSR_TYPE_INVALID = 0x0 ++ NL80211_PMSR_TYPE_MAX = 0x1 ++ NL80211_PREAMBLE_DMG = 0x3 ++ NL80211_PREAMBLE_HE = 0x4 ++ NL80211_PREAMBLE_HT = 0x1 ++ NL80211_PREAMBLE_LEGACY = 0x0 ++ NL80211_PREAMBLE_VHT = 0x2 ++ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U = 0x8 ++ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P = 0x4 ++ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 = 0x2 ++ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS = 0x1 ++ NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 0x1 ++ NL80211_PS_DISABLED = 0x0 ++ NL80211_PS_ENABLED = 0x1 ++ NL80211_RADAR_CAC_ABORTED = 0x2 ++ NL80211_RADAR_CAC_FINISHED = 0x1 ++ NL80211_RADAR_CAC_STARTED = 0x5 ++ NL80211_RADAR_DETECTED = 0x0 ++ NL80211_RADAR_NOP_FINISHED = 0x3 ++ NL80211_RADAR_PRE_CAC_EXPIRED = 0x4 ++ NL80211_RATE_INFO_10_MHZ_WIDTH = 0xb ++ NL80211_RATE_INFO_160_MHZ_WIDTH = 0xa ++ NL80211_RATE_INFO_40_MHZ_WIDTH = 0x3 ++ NL80211_RATE_INFO_5_MHZ_WIDTH = 0xc ++ NL80211_RATE_INFO_80_MHZ_WIDTH = 0x8 ++ NL80211_RATE_INFO_80P80_MHZ_WIDTH = 0x9 ++ NL80211_RATE_INFO_BITRATE32 = 0x5 ++ NL80211_RATE_INFO_BITRATE = 0x1 ++ NL80211_RATE_INFO_HE_1XLTF = 0x0 ++ NL80211_RATE_INFO_HE_2XLTF = 0x1 ++ NL80211_RATE_INFO_HE_4XLTF = 0x2 ++ NL80211_RATE_INFO_HE_DCM = 0x10 ++ NL80211_RATE_INFO_HE_GI_0_8 = 0x0 ++ NL80211_RATE_INFO_HE_GI_1_6 = 0x1 ++ NL80211_RATE_INFO_HE_GI_3_2 = 0x2 ++ NL80211_RATE_INFO_HE_GI = 0xf ++ NL80211_RATE_INFO_HE_MCS = 0xd ++ NL80211_RATE_INFO_HE_NSS = 0xe ++ NL80211_RATE_INFO_HE_RU_ALLOC_106 = 0x2 ++ NL80211_RATE_INFO_HE_RU_ALLOC_242 = 0x3 ++ NL80211_RATE_INFO_HE_RU_ALLOC_26 = 0x0 ++ NL80211_RATE_INFO_HE_RU_ALLOC_2x996 = 0x6 ++ NL80211_RATE_INFO_HE_RU_ALLOC_484 = 0x4 ++ NL80211_RATE_INFO_HE_RU_ALLOC_52 = 0x1 ++ NL80211_RATE_INFO_HE_RU_ALLOC_996 = 0x5 ++ NL80211_RATE_INFO_HE_RU_ALLOC = 0x11 ++ NL80211_RATE_INFO_MAX = 0x16 ++ NL80211_RATE_INFO_MCS = 0x2 ++ NL80211_RATE_INFO_SHORT_GI = 0x4 ++ NL80211_RATE_INFO_VHT_MCS = 0x6 ++ NL80211_RATE_INFO_VHT_NSS = 0x7 ++ NL80211_REGDOM_SET_BY_CORE = 0x0 ++ NL80211_REGDOM_SET_BY_COUNTRY_IE = 0x3 ++ NL80211_REGDOM_SET_BY_DRIVER = 0x2 ++ NL80211_REGDOM_SET_BY_USER = 0x1 ++ NL80211_REGDOM_TYPE_COUNTRY = 0x0 ++ NL80211_REGDOM_TYPE_CUSTOM_WORLD = 0x2 ++ NL80211_REGDOM_TYPE_INTERSECTION = 0x3 ++ NL80211_REGDOM_TYPE_WORLD = 0x1 ++ NL80211_REG_RULE_ATTR_MAX = 0x7 ++ NL80211_REKEY_DATA_AKM = 0x4 ++ NL80211_REKEY_DATA_KCK = 0x2 ++ NL80211_REKEY_DATA_KEK = 0x1 ++ NL80211_REKEY_DATA_REPLAY_CTR = 0x3 ++ NL80211_REPLAY_CTR_LEN = 0x8 ++ NL80211_RRF_AUTO_BW = 0x800 ++ NL80211_RRF_DFS = 0x10 ++ NL80211_RRF_GO_CONCURRENT = 0x1000 ++ NL80211_RRF_IR_CONCURRENT = 0x1000 ++ NL80211_RRF_NO_160MHZ = 0x10000 ++ NL80211_RRF_NO_80MHZ = 0x8000 ++ NL80211_RRF_NO_CCK = 0x2 ++ NL80211_RRF_NO_HE = 0x20000 ++ NL80211_RRF_NO_HT40 = 0x6000 ++ NL80211_RRF_NO_HT40MINUS = 0x2000 ++ NL80211_RRF_NO_HT40PLUS = 0x4000 ++ NL80211_RRF_NO_IBSS = 0x80 ++ NL80211_RRF_NO_INDOOR = 0x4 ++ NL80211_RRF_NO_IR_ALL = 0x180 ++ NL80211_RRF_NO_IR = 0x80 ++ NL80211_RRF_NO_OFDM = 0x1 ++ NL80211_RRF_NO_OUTDOOR = 0x8 ++ NL80211_RRF_PASSIVE_SCAN = 0x80 ++ NL80211_RRF_PTMP_ONLY = 0x40 ++ NL80211_RRF_PTP_ONLY = 0x20 ++ NL80211_RXMGMT_FLAG_ANSWERED = 0x1 ++ NL80211_RXMGMT_FLAG_EXTERNAL_AUTH = 0x2 ++ NL80211_SAE_PWE_BOTH = 0x3 ++ NL80211_SAE_PWE_HASH_TO_ELEMENT = 0x2 ++ NL80211_SAE_PWE_HUNT_AND_PECK = 0x1 ++ NL80211_SAE_PWE_UNSPECIFIED = 0x0 ++ NL80211_SAR_ATTR_MAX = 0x2 ++ NL80211_SAR_ATTR_SPECS = 0x2 ++ NL80211_SAR_ATTR_SPECS_END_FREQ = 0x4 ++ NL80211_SAR_ATTR_SPECS_MAX = 0x4 ++ NL80211_SAR_ATTR_SPECS_POWER = 0x1 ++ NL80211_SAR_ATTR_SPECS_RANGE_INDEX = 0x2 ++ NL80211_SAR_ATTR_SPECS_START_FREQ = 0x3 ++ NL80211_SAR_ATTR_TYPE = 0x1 ++ NL80211_SAR_TYPE_POWER = 0x0 ++ NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 0x20 ++ NL80211_SCAN_FLAG_AP = 0x4 ++ NL80211_SCAN_FLAG_COLOCATED_6GHZ = 0x4000 ++ NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 0x10 ++ NL80211_SCAN_FLAG_FLUSH = 0x2 ++ NL80211_SCAN_FLAG_FREQ_KHZ = 0x2000 ++ NL80211_SCAN_FLAG_HIGH_ACCURACY = 0x400 ++ NL80211_SCAN_FLAG_LOW_POWER = 0x200 ++ NL80211_SCAN_FLAG_LOW_PRIORITY = 0x1 ++ NL80211_SCAN_FLAG_LOW_SPAN = 0x100 ++ NL80211_SCAN_FLAG_MIN_PREQ_CONTENT = 0x1000 ++ NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x80 ++ NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 0x40 ++ NL80211_SCAN_FLAG_RANDOM_ADDR = 0x8 ++ NL80211_SCAN_FLAG_RANDOM_SN = 0x800 ++ NL80211_SCAN_RSSI_THOLD_OFF = -0x12c ++ NL80211_SCHED_SCAN_MATCH_ATTR_BSSID = 0x5 ++ NL80211_SCHED_SCAN_MATCH_ATTR_MAX = 0x6 ++ NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI = 0x3 ++ NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST = 0x4 ++ NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 0x2 ++ NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 0x1 ++ NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI = 0x6 ++ NL80211_SCHED_SCAN_PLAN_INTERVAL = 0x1 ++ NL80211_SCHED_SCAN_PLAN_ITERATIONS = 0x2 ++ NL80211_SCHED_SCAN_PLAN_MAX = 0x2 ++ NL80211_SMPS_DYNAMIC = 0x2 ++ NL80211_SMPS_MAX = 0x2 ++ NL80211_SMPS_OFF = 0x0 ++ NL80211_SMPS_STATIC = 0x1 ++ NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 0x5 ++ NL80211_STA_BSS_PARAM_CTS_PROT = 0x1 ++ NL80211_STA_BSS_PARAM_DTIM_PERIOD = 0x4 ++ NL80211_STA_BSS_PARAM_MAX = 0x5 ++ NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 0x2 ++ NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 0x3 ++ NL80211_STA_FLAG_ASSOCIATED = 0x7 ++ NL80211_STA_FLAG_AUTHENTICATED = 0x5 ++ NL80211_STA_FLAG_AUTHORIZED = 0x1 ++ NL80211_STA_FLAG_MAX = 0x7 ++ NL80211_STA_FLAG_MAX_OLD_API = 0x6 ++ NL80211_STA_FLAG_MFP = 0x4 ++ NL80211_STA_FLAG_SHORT_PREAMBLE = 0x2 ++ NL80211_STA_FLAG_TDLS_PEER = 0x6 ++ NL80211_STA_FLAG_WME = 0x3 ++ NL80211_STA_INFO_ACK_SIGNAL_AVG = 0x23 ++ NL80211_STA_INFO_ACK_SIGNAL = 0x22 ++ NL80211_STA_INFO_AIRTIME_LINK_METRIC = 0x29 ++ NL80211_STA_INFO_AIRTIME_WEIGHT = 0x28 ++ NL80211_STA_INFO_ASSOC_AT_BOOTTIME = 0x2a ++ NL80211_STA_INFO_BEACON_LOSS = 0x12 ++ NL80211_STA_INFO_BEACON_RX = 0x1d ++ NL80211_STA_INFO_BEACON_SIGNAL_AVG = 0x1e ++ NL80211_STA_INFO_BSS_PARAM = 0xf ++ NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 0x1a ++ NL80211_STA_INFO_CHAIN_SIGNAL = 0x19 ++ NL80211_STA_INFO_CONNECTED_TIME = 0x10 ++ NL80211_STA_INFO_CONNECTED_TO_AS = 0x2b ++ NL80211_STA_INFO_CONNECTED_TO_GATE = 0x26 ++ NL80211_STA_INFO_DATA_ACK_SIGNAL_AVG = 0x23 ++ NL80211_STA_INFO_EXPECTED_THROUGHPUT = 0x1b ++ NL80211_STA_INFO_FCS_ERROR_COUNT = 0x25 ++ NL80211_STA_INFO_INACTIVE_TIME = 0x1 ++ NL80211_STA_INFO_LLID = 0x4 ++ NL80211_STA_INFO_LOCAL_PM = 0x14 ++ NL80211_STA_INFO_MAX = 0x2b ++ NL80211_STA_INFO_NONPEER_PM = 0x16 ++ NL80211_STA_INFO_PAD = 0x21 ++ NL80211_STA_INFO_PEER_PM = 0x15 ++ NL80211_STA_INFO_PLID = 0x5 ++ NL80211_STA_INFO_PLINK_STATE = 0x6 ++ NL80211_STA_INFO_RX_BITRATE = 0xe ++ NL80211_STA_INFO_RX_BYTES64 = 0x17 ++ NL80211_STA_INFO_RX_BYTES = 0x2 ++ NL80211_STA_INFO_RX_DROP_MISC = 0x1c ++ NL80211_STA_INFO_RX_DURATION = 0x20 ++ NL80211_STA_INFO_RX_MPDUS = 0x24 ++ NL80211_STA_INFO_RX_PACKETS = 0x9 ++ NL80211_STA_INFO_SIGNAL_AVG = 0xd ++ NL80211_STA_INFO_SIGNAL = 0x7 ++ NL80211_STA_INFO_STA_FLAGS = 0x11 ++ NL80211_STA_INFO_TID_STATS = 0x1f ++ NL80211_STA_INFO_T_OFFSET = 0x13 ++ NL80211_STA_INFO_TX_BITRATE = 0x8 ++ NL80211_STA_INFO_TX_BYTES64 = 0x18 ++ NL80211_STA_INFO_TX_BYTES = 0x3 ++ NL80211_STA_INFO_TX_DURATION = 0x27 ++ NL80211_STA_INFO_TX_FAILED = 0xc ++ NL80211_STA_INFO_TX_PACKETS = 0xa ++ NL80211_STA_INFO_TX_RETRIES = 0xb ++ NL80211_STA_WME_MAX = 0x2 ++ NL80211_STA_WME_MAX_SP = 0x2 ++ NL80211_STA_WME_UAPSD_QUEUES = 0x1 ++ NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY = 0x5 ++ NL80211_SURVEY_INFO_CHANNEL_TIME = 0x4 ++ NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY = 0x6 ++ NL80211_SURVEY_INFO_CHANNEL_TIME_RX = 0x7 ++ NL80211_SURVEY_INFO_CHANNEL_TIME_TX = 0x8 ++ NL80211_SURVEY_INFO_FREQUENCY = 0x1 ++ NL80211_SURVEY_INFO_FREQUENCY_OFFSET = 0xc ++ NL80211_SURVEY_INFO_IN_USE = 0x3 ++ NL80211_SURVEY_INFO_MAX = 0xc ++ NL80211_SURVEY_INFO_NOISE = 0x2 ++ NL80211_SURVEY_INFO_PAD = 0xa ++ NL80211_SURVEY_INFO_TIME_BSS_RX = 0xb ++ NL80211_SURVEY_INFO_TIME_BUSY = 0x5 ++ NL80211_SURVEY_INFO_TIME = 0x4 ++ NL80211_SURVEY_INFO_TIME_EXT_BUSY = 0x6 ++ NL80211_SURVEY_INFO_TIME_RX = 0x7 ++ NL80211_SURVEY_INFO_TIME_SCAN = 0x9 ++ NL80211_SURVEY_INFO_TIME_TX = 0x8 ++ NL80211_TDLS_DISABLE_LINK = 0x4 ++ NL80211_TDLS_DISCOVERY_REQ = 0x0 ++ NL80211_TDLS_ENABLE_LINK = 0x3 ++ NL80211_TDLS_PEER_HE = 0x8 ++ NL80211_TDLS_PEER_HT = 0x1 ++ NL80211_TDLS_PEER_VHT = 0x2 ++ NL80211_TDLS_PEER_WMM = 0x4 ++ NL80211_TDLS_SETUP = 0x1 ++ NL80211_TDLS_TEARDOWN = 0x2 ++ NL80211_TID_CONFIG_ATTR_AMPDU_CTRL = 0x9 ++ NL80211_TID_CONFIG_ATTR_AMSDU_CTRL = 0xb ++ NL80211_TID_CONFIG_ATTR_MAX = 0xd ++ NL80211_TID_CONFIG_ATTR_NOACK = 0x6 ++ NL80211_TID_CONFIG_ATTR_OVERRIDE = 0x4 ++ NL80211_TID_CONFIG_ATTR_PAD = 0x1 ++ NL80211_TID_CONFIG_ATTR_PEER_SUPP = 0x3 ++ NL80211_TID_CONFIG_ATTR_RETRY_LONG = 0x8 ++ NL80211_TID_CONFIG_ATTR_RETRY_SHORT = 0x7 ++ NL80211_TID_CONFIG_ATTR_RTSCTS_CTRL = 0xa ++ NL80211_TID_CONFIG_ATTR_TIDS = 0x5 ++ NL80211_TID_CONFIG_ATTR_TX_RATE = 0xd ++ NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE = 0xc ++ NL80211_TID_CONFIG_ATTR_VIF_SUPP = 0x2 ++ NL80211_TID_CONFIG_DISABLE = 0x1 ++ NL80211_TID_CONFIG_ENABLE = 0x0 ++ NL80211_TID_STATS_MAX = 0x6 ++ NL80211_TID_STATS_PAD = 0x5 ++ NL80211_TID_STATS_RX_MSDU = 0x1 ++ NL80211_TID_STATS_TX_MSDU = 0x2 ++ NL80211_TID_STATS_TX_MSDU_FAILED = 0x4 ++ NL80211_TID_STATS_TX_MSDU_RETRIES = 0x3 ++ NL80211_TID_STATS_TXQ_STATS = 0x6 ++ NL80211_TIMEOUT_ASSOC = 0x3 ++ NL80211_TIMEOUT_AUTH = 0x2 ++ NL80211_TIMEOUT_SCAN = 0x1 ++ NL80211_TIMEOUT_UNSPECIFIED = 0x0 ++ NL80211_TKIP_DATA_OFFSET_ENCR_KEY = 0x0 ++ NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY = 0x18 ++ NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY = 0x10 ++ NL80211_TX_POWER_AUTOMATIC = 0x0 ++ NL80211_TX_POWER_FIXED = 0x2 ++ NL80211_TX_POWER_LIMITED = 0x1 ++ NL80211_TXQ_ATTR_AC = 0x1 ++ NL80211_TXQ_ATTR_AIFS = 0x5 ++ NL80211_TXQ_ATTR_CWMAX = 0x4 ++ NL80211_TXQ_ATTR_CWMIN = 0x3 ++ NL80211_TXQ_ATTR_MAX = 0x5 ++ NL80211_TXQ_ATTR_QUEUE = 0x1 ++ NL80211_TXQ_ATTR_TXOP = 0x2 ++ NL80211_TXQ_Q_BE = 0x2 ++ NL80211_TXQ_Q_BK = 0x3 ++ NL80211_TXQ_Q_VI = 0x1 ++ NL80211_TXQ_Q_VO = 0x0 ++ NL80211_TXQ_STATS_BACKLOG_BYTES = 0x1 ++ NL80211_TXQ_STATS_BACKLOG_PACKETS = 0x2 ++ NL80211_TXQ_STATS_COLLISIONS = 0x8 ++ NL80211_TXQ_STATS_DROPS = 0x4 ++ NL80211_TXQ_STATS_ECN_MARKS = 0x5 ++ NL80211_TXQ_STATS_FLOWS = 0x3 ++ NL80211_TXQ_STATS_MAX = 0xb ++ NL80211_TXQ_STATS_MAX_FLOWS = 0xb ++ NL80211_TXQ_STATS_OVERLIMIT = 0x6 ++ NL80211_TXQ_STATS_OVERMEMORY = 0x7 ++ NL80211_TXQ_STATS_TX_BYTES = 0x9 ++ NL80211_TXQ_STATS_TX_PACKETS = 0xa ++ NL80211_TX_RATE_AUTOMATIC = 0x0 ++ NL80211_TXRATE_DEFAULT_GI = 0x0 ++ NL80211_TX_RATE_FIXED = 0x2 ++ NL80211_TXRATE_FORCE_LGI = 0x2 ++ NL80211_TXRATE_FORCE_SGI = 0x1 ++ NL80211_TXRATE_GI = 0x4 ++ NL80211_TXRATE_HE = 0x5 ++ NL80211_TXRATE_HE_GI = 0x6 ++ NL80211_TXRATE_HE_LTF = 0x7 ++ NL80211_TXRATE_HT = 0x2 ++ NL80211_TXRATE_LEGACY = 0x1 ++ NL80211_TX_RATE_LIMITED = 0x1 ++ NL80211_TXRATE_MAX = 0x7 ++ NL80211_TXRATE_MCS = 0x2 ++ NL80211_TXRATE_VHT = 0x3 ++ NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT = 0x1 ++ NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX = 0x2 ++ NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL = 0x2 ++ NL80211_USER_REG_HINT_CELL_BASE = 0x1 ++ NL80211_USER_REG_HINT_INDOOR = 0x2 ++ NL80211_USER_REG_HINT_USER = 0x0 ++ NL80211_VENDOR_ID_IS_LINUX = 0x80000000 ++ NL80211_VHT_CAPABILITY_LEN = 0xc ++ NL80211_VHT_NSS_MAX = 0x8 ++ NL80211_WIPHY_NAME_MAXLEN = 0x40 ++ NL80211_WMMR_AIFSN = 0x3 ++ NL80211_WMMR_CW_MAX = 0x2 ++ NL80211_WMMR_CW_MIN = 0x1 ++ NL80211_WMMR_MAX = 0x4 ++ NL80211_WMMR_TXOP = 0x4 ++ NL80211_WOWLAN_PKTPAT_MASK = 0x1 ++ NL80211_WOWLAN_PKTPAT_OFFSET = 0x3 ++ NL80211_WOWLAN_PKTPAT_PATTERN = 0x2 ++ NL80211_WOWLAN_TCP_DATA_INTERVAL = 0x9 ++ NL80211_WOWLAN_TCP_DATA_PAYLOAD = 0x6 ++ NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 0x7 ++ NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 0x8 ++ NL80211_WOWLAN_TCP_DST_IPV4 = 0x2 ++ NL80211_WOWLAN_TCP_DST_MAC = 0x3 ++ NL80211_WOWLAN_TCP_DST_PORT = 0x5 ++ NL80211_WOWLAN_TCP_SRC_IPV4 = 0x1 ++ NL80211_WOWLAN_TCP_SRC_PORT = 0x4 ++ NL80211_WOWLAN_TCP_WAKE_MASK = 0xb ++ NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 0xa ++ NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 0x8 ++ NL80211_WOWLAN_TRIG_ANY = 0x1 ++ NL80211_WOWLAN_TRIG_DISCONNECT = 0x2 ++ NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 0x7 ++ NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 0x6 ++ NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 0x5 ++ NL80211_WOWLAN_TRIG_MAGIC_PKT = 0x3 ++ NL80211_WOWLAN_TRIG_NET_DETECT = 0x12 ++ NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS = 0x13 ++ NL80211_WOWLAN_TRIG_PKT_PATTERN = 0x4 ++ NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 0x9 ++ NL80211_WOWLAN_TRIG_TCP_CONNECTION = 0xe ++ NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 0xa ++ NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 0xb ++ NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 0xc ++ NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 0xd ++ NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 0x10 ++ NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 0xf ++ NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 0x11 ++ NL80211_WPA_VERSION_1 = 0x1 ++ NL80211_WPA_VERSION_2 = 0x2 ++ NL80211_WPA_VERSION_3 = 0x4 ++) ++ ++const ( ++ FRA_UNSPEC = 0x0 ++ FRA_DST = 0x1 ++ FRA_SRC = 0x2 ++ FRA_IIFNAME = 0x3 ++ FRA_GOTO = 0x4 ++ FRA_UNUSED2 = 0x5 ++ FRA_PRIORITY = 0x6 ++ FRA_UNUSED3 = 0x7 ++ FRA_UNUSED4 = 0x8 ++ FRA_UNUSED5 = 0x9 ++ FRA_FWMARK = 0xa ++ FRA_FLOW = 0xb ++ FRA_TUN_ID = 0xc ++ FRA_SUPPRESS_IFGROUP = 0xd ++ FRA_SUPPRESS_PREFIXLEN = 0xe ++ FRA_TABLE = 0xf ++ FRA_FWMASK = 0x10 ++ FRA_OIFNAME = 0x11 ++ FRA_PAD = 0x12 ++ FRA_L3MDEV = 0x13 ++ FRA_UID_RANGE = 0x14 ++ FRA_PROTOCOL = 0x15 ++ FRA_IP_PROTO = 0x16 ++ FRA_SPORT_RANGE = 0x17 ++ FRA_DPORT_RANGE = 0x18 ++ FR_ACT_UNSPEC = 0x0 ++ FR_ACT_TO_TBL = 0x1 ++ FR_ACT_GOTO = 0x2 ++ FR_ACT_NOP = 0x3 ++ FR_ACT_RES3 = 0x4 ++ FR_ACT_RES4 = 0x5 ++ FR_ACT_BLACKHOLE = 0x6 ++ FR_ACT_UNREACHABLE = 0x7 ++ FR_ACT_PROHIBIT = 0x8 ++) ++ ++const ( ++ AUDIT_NLGRP_NONE = 0x0 ++ AUDIT_NLGRP_READLOG = 0x1 ++) +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +index 72f2e96..89c516a 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/386/cgo -- -Wall -Werror -static -I/tmp/386/include -m32 linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build 386 && linux +@@ -240,6 +240,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -250,6 +254,19 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ [116]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -311,6 +328,15 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ _ [4]byte ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint32 +@@ -635,3 +661,36 @@ const ( + PPS_GETCAP = 0x800470a3 + PPS_FETCH = 0xc00470a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint16 ++ _ [2]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint32 ++ _ uint32 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint32 ++ Atime uint32 ++ Atime_high uint32 ++ Dtime uint32 ++ Dtime_high uint32 ++ Ctime uint32 ++ Ctime_high uint32 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint32 ++ _ uint32 ++ _ 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 +index d5f018d..62b4fb2 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/amd64/cgo -- -Wall -Werror -static -I/tmp/amd64/include -m64 linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build amd64 && linux +@@ -255,6 +255,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -265,6 +269,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -324,6 +342,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -653,3 +679,33 @@ const ( + PPS_GETCAP = 0x800870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +index 675446d..e86b358 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/arm/cgo -- -Wall -Werror -static -I/tmp/arm/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm && linux +@@ -231,6 +231,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -241,6 +245,19 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ [116]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -302,6 +319,15 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ _ [4]byte ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint32 +@@ -630,3 +656,36 @@ const ( + PPS_GETCAP = 0x800470a3 + PPS_FETCH = 0xc00470a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint16 ++ _ [2]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint32 ++ _ uint32 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint32 ++ Atime uint32 ++ Atime_high uint32 ++ Dtime uint32 ++ Dtime_high uint32 ++ Ctime uint32 ++ Ctime_high uint32 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint32 ++ _ uint32 ++ _ 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 +index 711d071..6c6be4c 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/arm64/cgo -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build arm64 && linux +@@ -234,6 +234,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -244,6 +248,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -303,6 +321,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -632,3 +658,33 @@ const ( + PPS_GETCAP = 0x800870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +new file mode 100644 +index 0000000..4982ea3 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +@@ -0,0 +1,691 @@ ++// cgo -godefs -objdir=/tmp/loong64/cgo -- -Wall -Werror -static -I/tmp/loong64/include linux/types.go | go run mkpost.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build loong64 && linux ++// +build loong64,linux ++ ++package unix ++ ++const ( ++ SizeofPtr = 0x8 ++ SizeofLong = 0x8 ++) ++ ++type ( ++ _C_long int64 ++) ++ ++type Timespec struct { ++ Sec int64 ++ Nsec int64 ++} ++ ++type Timeval struct { ++ Sec int64 ++ Usec int64 ++} ++ ++type Timex struct { ++ Modes uint32 ++ Offset int64 ++ Freq int64 ++ Maxerror int64 ++ Esterror int64 ++ Status int32 ++ Constant int64 ++ Precision int64 ++ Tolerance int64 ++ Time Timeval ++ Tick int64 ++ Ppsfreq int64 ++ Jitter int64 ++ Shift int32 ++ 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 Stat_t struct { ++ Dev uint64 ++ Ino uint64 ++ Mode uint32 ++ Nlink uint32 ++ Uid uint32 ++ Gid uint32 ++ Rdev uint64 ++ _ uint64 ++ Size int64 ++ Blksize int32 ++ _ int32 ++ Blocks int64 ++ Atim Timespec ++ Mtim Timespec ++ Ctim Timespec ++ _ [2]int32 ++} ++ ++type Dirent struct { ++ Ino uint64 ++ Off int64 ++ Reclen uint16 ++ Type uint8 ++ Name [256]int8 ++ _ [5]byte ++} ++ ++type Flock_t struct { ++ Type int16 ++ Whence int16 ++ Start int64 ++ Len int64 ++ Pid int32 ++ _ [4]byte ++} ++ ++type DmNameList struct { ++ Dev uint64 ++ Next uint32 ++ Name [0]byte ++ _ [4]byte ++} ++ ++const ( ++ FADV_DONTNEED = 0x4 ++ FADV_NOREUSE = 0x5 ++) ++ ++type RawSockaddrNFCLLCP struct { ++ Sa_family uint16 ++ Dev_idx uint32 ++ Target_idx uint32 ++ Nfc_protocol uint32 ++ Dsap uint8 ++ Ssap uint8 ++ Service_name [63]uint8 ++ Service_name_len uint64 ++} ++ ++type RawSockaddr struct { ++ Family uint16 ++ Data [14]int8 ++} ++ ++type RawSockaddrAny struct { ++ Addr RawSockaddr ++ Pad [96]int8 ++} ++ ++type Iovec struct { ++ Base *byte ++ Len uint64 ++} ++ ++type Msghdr struct { ++ Name *byte ++ Namelen uint32 ++ Iov *Iovec ++ Iovlen uint64 ++ Control *byte ++ Controllen uint64 ++ Flags int32 ++ _ [4]byte ++} ++ ++type Cmsghdr struct { ++ Len uint64 ++ Level int32 ++ Type int32 ++} ++ ++type ifreq struct { ++ Ifrn [16]byte ++ Ifru [24]byte ++} ++ ++const ( ++ SizeofSockaddrNFCLLCP = 0x60 ++ SizeofIovec = 0x10 ++ SizeofMsghdr = 0x38 ++ SizeofCmsghdr = 0x10 ++) ++ ++const ( ++ SizeofSockFprog = 0x10 ++) ++ ++type PtraceRegs struct { ++ Regs [32]uint64 ++ Orig_a0 uint64 ++ Era uint64 ++ Badv uint64 ++ Reserved [10]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 ++ Totalhigh uint64 ++ Freehigh uint64 ++ Unit uint32 ++ _ [0]int8 ++ _ [4]byte ++} ++ ++type Ustat_t struct { ++ Tfree int32 ++ Tinode uint64 ++ Fname [6]int8 ++ Fpack [6]int8 ++ _ [4]byte ++} ++ ++type EpollEvent struct { ++ Events uint32 ++ _ int32 ++ Fd int32 ++ Pad int32 ++} ++ ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ ++const ( ++ POLLRDHUP = 0x2000 ++) ++ ++type Sigset_t struct { ++ Val [16]uint64 ++} ++ ++const _C__NSIG = 0x41 ++ ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ ++type Termios struct { ++ Iflag uint32 ++ Oflag uint32 ++ Cflag uint32 ++ Lflag uint32 ++ Line uint8 ++ Cc [19]uint8 ++ Ispeed uint32 ++ Ospeed uint32 ++} ++ ++type Taskstats struct { ++ Version uint16 ++ Ac_exitcode uint32 ++ Ac_flag uint8 ++ Ac_nice uint8 ++ Cpu_count uint64 ++ Cpu_delay_total uint64 ++ Blkio_count uint64 ++ Blkio_delay_total uint64 ++ Swapin_count uint64 ++ Swapin_delay_total uint64 ++ Cpu_run_real_total uint64 ++ Cpu_run_virtual_total uint64 ++ Ac_comm [32]int8 ++ Ac_sched uint8 ++ Ac_pad [3]uint8 ++ _ [4]byte ++ Ac_uid uint32 ++ Ac_gid uint32 ++ Ac_pid uint32 ++ Ac_ppid uint32 ++ Ac_btime uint32 ++ Ac_etime uint64 ++ Ac_utime uint64 ++ Ac_stime uint64 ++ Ac_minflt uint64 ++ Ac_majflt uint64 ++ Coremem uint64 ++ Virtmem uint64 ++ Hiwater_rss uint64 ++ Hiwater_vm uint64 ++ Read_char uint64 ++ Write_char uint64 ++ Read_syscalls uint64 ++ Write_syscalls uint64 ++ Read_bytes uint64 ++ Write_bytes uint64 ++ Cancelled_write_bytes uint64 ++ Nvcsw uint64 ++ Nivcsw uint64 ++ Ac_utimescaled uint64 ++ Ac_stimescaled uint64 ++ Cpu_scaled_run_real_total uint64 ++ Freepages_count uint64 ++ Freepages_delay_total uint64 ++ Thrashing_count uint64 ++ Thrashing_delay_total uint64 ++ Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 ++} ++ ++type cpuMask uint64 ++ ++const ( ++ _NCPUBITS = 0x40 ++) ++ ++const ( ++ CBitFieldMaskBit0 = 0x1 ++ CBitFieldMaskBit1 = 0x2 ++ CBitFieldMaskBit2 = 0x4 ++ CBitFieldMaskBit3 = 0x8 ++ CBitFieldMaskBit4 = 0x10 ++ CBitFieldMaskBit5 = 0x20 ++ CBitFieldMaskBit6 = 0x40 ++ CBitFieldMaskBit7 = 0x80 ++ CBitFieldMaskBit8 = 0x100 ++ CBitFieldMaskBit9 = 0x200 ++ CBitFieldMaskBit10 = 0x400 ++ CBitFieldMaskBit11 = 0x800 ++ CBitFieldMaskBit12 = 0x1000 ++ CBitFieldMaskBit13 = 0x2000 ++ CBitFieldMaskBit14 = 0x4000 ++ CBitFieldMaskBit15 = 0x8000 ++ CBitFieldMaskBit16 = 0x10000 ++ CBitFieldMaskBit17 = 0x20000 ++ CBitFieldMaskBit18 = 0x40000 ++ CBitFieldMaskBit19 = 0x80000 ++ CBitFieldMaskBit20 = 0x100000 ++ CBitFieldMaskBit21 = 0x200000 ++ CBitFieldMaskBit22 = 0x400000 ++ CBitFieldMaskBit23 = 0x800000 ++ CBitFieldMaskBit24 = 0x1000000 ++ CBitFieldMaskBit25 = 0x2000000 ++ CBitFieldMaskBit26 = 0x4000000 ++ CBitFieldMaskBit27 = 0x8000000 ++ CBitFieldMaskBit28 = 0x10000000 ++ CBitFieldMaskBit29 = 0x20000000 ++ CBitFieldMaskBit30 = 0x40000000 ++ CBitFieldMaskBit31 = 0x80000000 ++ CBitFieldMaskBit32 = 0x100000000 ++ CBitFieldMaskBit33 = 0x200000000 ++ CBitFieldMaskBit34 = 0x400000000 ++ CBitFieldMaskBit35 = 0x800000000 ++ CBitFieldMaskBit36 = 0x1000000000 ++ CBitFieldMaskBit37 = 0x2000000000 ++ CBitFieldMaskBit38 = 0x4000000000 ++ CBitFieldMaskBit39 = 0x8000000000 ++ CBitFieldMaskBit40 = 0x10000000000 ++ CBitFieldMaskBit41 = 0x20000000000 ++ CBitFieldMaskBit42 = 0x40000000000 ++ CBitFieldMaskBit43 = 0x80000000000 ++ CBitFieldMaskBit44 = 0x100000000000 ++ CBitFieldMaskBit45 = 0x200000000000 ++ CBitFieldMaskBit46 = 0x400000000000 ++ CBitFieldMaskBit47 = 0x800000000000 ++ CBitFieldMaskBit48 = 0x1000000000000 ++ CBitFieldMaskBit49 = 0x2000000000000 ++ CBitFieldMaskBit50 = 0x4000000000000 ++ CBitFieldMaskBit51 = 0x8000000000000 ++ CBitFieldMaskBit52 = 0x10000000000000 ++ CBitFieldMaskBit53 = 0x20000000000000 ++ CBitFieldMaskBit54 = 0x40000000000000 ++ CBitFieldMaskBit55 = 0x80000000000000 ++ CBitFieldMaskBit56 = 0x100000000000000 ++ CBitFieldMaskBit57 = 0x200000000000000 ++ CBitFieldMaskBit58 = 0x400000000000000 ++ CBitFieldMaskBit59 = 0x800000000000000 ++ CBitFieldMaskBit60 = 0x1000000000000000 ++ CBitFieldMaskBit61 = 0x2000000000000000 ++ CBitFieldMaskBit62 = 0x4000000000000000 ++ CBitFieldMaskBit63 = 0x8000000000000000 ++) ++ ++type SockaddrStorage struct { ++ Family uint16 ++ _ [118]int8 ++ _ uint64 ++} ++ ++type HDGeometry struct { ++ Heads uint8 ++ Sectors uint8 ++ Cylinders uint16 ++ Start 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 TpacketHdr struct { ++ Status uint64 ++ Len uint32 ++ Snaplen uint32 ++ Mac uint16 ++ Net uint16 ++ Sec uint32 ++ Usec uint32 ++ _ [4]byte ++} ++ ++const ( ++ SizeofTpacketHdr = 0x20 ++) ++ ++type RTCPLLInfo struct { ++ Ctrl int32 ++ Value int32 ++ Max int32 ++ Min int32 ++ Posmult int32 ++ Negmult int32 ++ Clock int64 ++} ++ ++type BlkpgPartition struct { ++ Start int64 ++ Length int64 ++ Pno int32 ++ Devname [64]uint8 ++ Volname [64]uint8 ++ _ [4]byte ++} ++ ++const ( ++ BLKPG = 0x1269 ++) ++ ++type XDPUmemReg struct { ++ Addr uint64 ++ Len uint64 ++ Size uint32 ++ Headroom uint32 ++ Flags uint32 ++ _ [4]byte ++} ++ ++type CryptoUserAlg struct { ++ Name [64]int8 ++ Driver_name [64]int8 ++ Module_name [64]int8 ++ Type uint32 ++ Mask uint32 ++ Refcnt uint32 ++ Flags uint32 ++} ++ ++type CryptoStatAEAD struct { ++ Type [64]int8 ++ Encrypt_cnt uint64 ++ Encrypt_tlen uint64 ++ Decrypt_cnt uint64 ++ Decrypt_tlen uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatAKCipher struct { ++ Type [64]int8 ++ Encrypt_cnt uint64 ++ Encrypt_tlen uint64 ++ Decrypt_cnt uint64 ++ Decrypt_tlen uint64 ++ Verify_cnt uint64 ++ Sign_cnt uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatCipher struct { ++ Type [64]int8 ++ Encrypt_cnt uint64 ++ Encrypt_tlen uint64 ++ Decrypt_cnt uint64 ++ Decrypt_tlen uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatCompress struct { ++ Type [64]int8 ++ Compress_cnt uint64 ++ Compress_tlen uint64 ++ Decompress_cnt uint64 ++ Decompress_tlen uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatHash struct { ++ Type [64]int8 ++ Hash_cnt uint64 ++ Hash_tlen uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatKPP struct { ++ Type [64]int8 ++ Setsecret_cnt uint64 ++ Generate_public_key_cnt uint64 ++ Compute_shared_secret_cnt uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatRNG struct { ++ Type [64]int8 ++ Generate_cnt uint64 ++ Generate_tlen uint64 ++ Seed_cnt uint64 ++ Err_cnt uint64 ++} ++ ++type CryptoStatLarval struct { ++ Type [64]int8 ++} ++ ++type CryptoReportLarval struct { ++ Type [64]int8 ++} ++ ++type CryptoReportHash struct { ++ Type [64]int8 ++ Blocksize uint32 ++ Digestsize uint32 ++} ++ ++type CryptoReportCipher struct { ++ Type [64]int8 ++ Blocksize uint32 ++ Min_keysize uint32 ++ Max_keysize uint32 ++} ++ ++type CryptoReportBlkCipher struct { ++ Type [64]int8 ++ Geniv [64]int8 ++ Blocksize uint32 ++ Min_keysize uint32 ++ Max_keysize uint32 ++ Ivsize uint32 ++} ++ ++type CryptoReportAEAD struct { ++ Type [64]int8 ++ Geniv [64]int8 ++ Blocksize uint32 ++ Maxauthsize uint32 ++ Ivsize uint32 ++} ++ ++type CryptoReportComp struct { ++ Type [64]int8 ++} ++ ++type CryptoReportRNG struct { ++ Type [64]int8 ++ Seedsize uint32 ++} ++ ++type CryptoReportAKCipher struct { ++ Type [64]int8 ++} ++ ++type CryptoReportKPP struct { ++ Type [64]int8 ++} ++ ++type CryptoReportAcomp struct { ++ Type [64]int8 ++} ++ ++type LoopInfo struct { ++ Number int32 ++ Device uint32 ++ Inode uint64 ++ Rdevice uint32 ++ Offset int32 ++ Encrypt_type int32 ++ Encrypt_key_size int32 ++ Flags int32 ++ Name [64]int8 ++ Encrypt_key [32]uint8 ++ Init [2]uint64 ++ Reserved [4]int8 ++ _ [4]byte ++} ++ ++type TIPCSubscr struct { ++ Seq TIPCServiceRange ++ Timeout uint32 ++ Filter uint32 ++ Handle [8]int8 ++} ++ ++type TIPCSIOCLNReq struct { ++ Peer uint32 ++ Id uint32 ++ Linkname [68]int8 ++} ++ ++type TIPCSIOCNodeIDReq struct { ++ Peer uint32 ++ Id [16]int8 ++} ++ ++type PPSKInfo struct { ++ Assert_sequence uint32 ++ Clear_sequence uint32 ++ Assert_tu PPSKTime ++ Clear_tu PPSKTime ++ Current_mode int32 ++ _ [4]byte ++} ++ ++const ( ++ PPS_GETPARAMS = 0x800870a1 ++ PPS_SETPARAMS = 0x400870a2 ++ PPS_GETCAP = 0x800870a3 ++ PPS_FETCH = 0xc00870a4 ++) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +index c1131c7..173141a 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/mips/cgo -- -Wall -Werror -static -I/tmp/mips/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips && linux +@@ -236,6 +236,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -246,6 +250,19 @@ type Sigset_t struct { + + const _C__NSIG = 0x80 + ++const ( ++ SIG_BLOCK = 0x1 ++ SIG_UNBLOCK = 0x2 ++ SIG_SETMASK = 0x3 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Code int32 ++ Errno int32 ++ _ [116]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -307,6 +324,15 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ _ [4]byte ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint32 +@@ -636,3 +662,35 @@ const ( + PPS_GETCAP = 0x400470a3 + PPS_FETCH = 0xc00470a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x80 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint32 ++ _ uint32 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint32 ++ Atime uint32 ++ Dtime uint32 ++ Ctime uint32 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint32 ++ Atime_high uint16 ++ Dtime_high uint16 ++ Ctime_high uint16 ++ _ uint16 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +index 91d5574..93ae4c5 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/mips64/cgo -- -Wall -Werror -static -I/tmp/mips64/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips64 && linux +@@ -237,6 +237,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -247,6 +251,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x80 + ++const ( ++ SIG_BLOCK = 0x1 ++ SIG_UNBLOCK = 0x2 ++ SIG_SETMASK = 0x3 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Code int32 ++ Errno int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -306,6 +324,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -635,3 +661,33 @@ const ( + PPS_GETCAP = 0x400870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x80 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +index 5d72149..4e4e510 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/mips64le/cgo -- -Wall -Werror -static -I/tmp/mips64le/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mips64le && linux +@@ -237,6 +237,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -247,6 +251,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x80 + ++const ( ++ SIG_BLOCK = 0x1 ++ SIG_UNBLOCK = 0x2 ++ SIG_SETMASK = 0x3 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Code int32 ++ Errno int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -306,6 +324,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -635,3 +661,33 @@ const ( + PPS_GETCAP = 0x400870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x80 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +index a5addd0..3f5ba01 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/mipsle/cgo -- -Wall -Werror -static -I/tmp/mipsle/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build mipsle && linux +@@ -236,6 +236,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -246,6 +250,19 @@ type Sigset_t struct { + + const _C__NSIG = 0x80 + ++const ( ++ SIG_BLOCK = 0x1 ++ SIG_UNBLOCK = 0x2 ++ SIG_SETMASK = 0x3 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Code int32 ++ Errno int32 ++ _ [116]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -307,6 +324,15 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ _ [4]byte ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint32 +@@ -636,3 +662,35 @@ const ( + PPS_GETCAP = 0x400470a3 + PPS_FETCH = 0xc00470a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x80 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint32 ++ _ uint32 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint32 ++ Atime uint32 ++ Dtime uint32 ++ Ctime uint32 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint32 ++ Atime_high uint16 ++ Dtime_high uint16 ++ Ctime_high uint16 ++ _ uint16 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +index bb6b03d..71dfe7c 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/ppc/cgo -- -Wall -Werror -static -I/tmp/ppc/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc && linux +@@ -243,6 +243,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -253,6 +257,19 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ [116]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -314,6 +331,15 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ _ [4]byte ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint32 +@@ -642,3 +668,37 @@ const ( + PPS_GETCAP = 0x400470a3 + PPS_FETCH = 0xc00470a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ Seq uint32 ++ _ uint32 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Atime_high uint32 ++ Atime uint32 ++ Dtime_high uint32 ++ Dtime uint32 ++ Ctime_high uint32 ++ Ctime uint32 ++ _ uint32 ++ Segsz uint32 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint32 ++ _ uint32 ++ _ uint32 ++ _ [4]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 +index 7637243..3a2b7f0 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/ppc64/cgo -- -Wall -Werror -static -I/tmp/ppc64/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc64 && linux +@@ -244,6 +244,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -254,6 +258,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -313,6 +331,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -642,3 +668,32 @@ const ( + PPS_GETCAP = 0x400870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ Seq uint32 ++ _ uint32 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Segsz uint64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +index a1a28e5..a52d627 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/ppc64le/cgo -- -Wall -Werror -static -I/tmp/ppc64le/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build ppc64le && linux +@@ -244,6 +244,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -254,6 +258,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -313,6 +331,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -642,3 +668,32 @@ const ( + PPS_GETCAP = 0x400870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ Seq uint32 ++ _ uint32 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Segsz uint64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +index e0a8a13..dfc007d 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/riscv64/cgo -- -Wall -Werror -static -I/tmp/riscv64/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build riscv64 && linux +@@ -262,6 +262,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -272,6 +276,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -331,6 +349,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -660,3 +686,33 @@ const ( + PPS_GETCAP = 0x800870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ [0]uint8 ++ Seq uint16 ++ _ uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +index 21d6e56..b53cb91 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/s390x/cgo -- -Wall -Werror -static -I/tmp/s390x/include -fsigned-char linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build s390x && linux +@@ -210,8 +210,8 @@ type PtraceFpregs struct { + } + + type PtracePer struct { +- _ [0]uint64 +- _ [32]byte ++ Control_regs [3]uint64 ++ _ [8]byte + Starting_addr uint64 + Ending_addr uint64 + Perc_atmid uint16 +@@ -257,6 +257,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x80000 ++) ++ + const ( + POLLRDHUP = 0x2000 + ) +@@ -267,6 +271,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x0 ++ SIG_UNBLOCK = 0x1 ++ SIG_SETMASK = 0x2 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -326,6 +344,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -656,3 +682,32 @@ const ( + PPS_GETCAP = 0x800870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x800 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ uint16 ++ Seq uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Segsz uint64 ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +index 0531e98..fe0aa35 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +@@ -1,4 +1,4 @@ +-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go ++// cgo -godefs -objdir=/tmp/sparc64/cgo -- -Wall -Werror -static -I/tmp/sparc64/include linux/types.go | go run mkpost.go + // Code generated by the command above; see README.md. DO NOT EDIT. + + //go:build sparc64 && linux +@@ -239,6 +239,10 @@ type EpollEvent struct { + Pad int32 + } + ++const ( ++ OPEN_TREE_CLOEXEC = 0x400000 ++) ++ + const ( + POLLRDHUP = 0x800 + ) +@@ -249,6 +253,20 @@ type Sigset_t struct { + + const _C__NSIG = 0x41 + ++const ( ++ SIG_BLOCK = 0x1 ++ SIG_UNBLOCK = 0x2 ++ SIG_SETMASK = 0x4 ++) ++ ++type Siginfo struct { ++ Signo int32 ++ Errno int32 ++ Code int32 ++ _ int32 ++ _ [112]byte ++} ++ + type Termios struct { + Iflag uint32 + Oflag uint32 +@@ -308,6 +326,14 @@ type Taskstats struct { + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 ++ Compact_count uint64 ++ Compact_delay_total uint64 ++ Ac_tgid uint32 ++ Ac_tgetime uint64 ++ Ac_exe_dev uint64 ++ Ac_exe_inode uint64 ++ Wpcopy_count uint64 ++ Wpcopy_delay_total uint64 + } + + type cpuMask uint64 +@@ -637,3 +663,32 @@ const ( + PPS_GETCAP = 0x400870a3 + PPS_FETCH = 0xc00870a4 + ) ++ ++const ( ++ PIDFD_NONBLOCK = 0x4000 ++) ++ ++type SysvIpcPerm struct { ++ Key int32 ++ Uid uint32 ++ Gid uint32 ++ Cuid uint32 ++ Cgid uint32 ++ Mode uint32 ++ _ uint16 ++ Seq uint16 ++ _ uint64 ++ _ uint64 ++} ++type SysvShmDesc struct { ++ Perm SysvIpcPerm ++ Atime int64 ++ Dtime int64 ++ Ctime int64 ++ Segsz uint64 ++ Cpid int32 ++ Lpid int32 ++ Nattch uint64 ++ _ uint64 ++ _ uint64 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +index 2a8b1e6..2ed718c 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +@@ -94,10 +94,10 @@ type Statfs_t struct { + 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 ++ F_fstypename [16]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte + Pad_cgo_0 [2]byte + Mount_info [160]byte + } +@@ -564,12 +564,11 @@ type Uvmexp struct { + Kmapent int32 + } + +-const SizeofClockinfo = 0x14 ++const SizeofClockinfo = 0x10 + + type Clockinfo struct { +- Hz int32 +- Tick int32 +- Tickadj int32 +- Stathz int32 +- Profhz int32 ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz 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 +index b1759cf..b4fb97e 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +@@ -96,10 +96,10 @@ type Statfs_t struct { + 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 ++ F_fstypename [16]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte + _ [2]byte + Mount_info [160]byte + } +@@ -564,12 +564,11 @@ type Uvmexp struct { + Kmapent int32 + } + +-const SizeofClockinfo = 0x14 ++const SizeofClockinfo = 0x10 + + type Clockinfo struct { +- Hz int32 +- Tick int32 +- Tickadj int32 +- Stathz int32 +- Profhz int32 ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz int32 + } +diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +index e807de2..2c46750 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +@@ -98,10 +98,10 @@ type Statfs_t struct { + 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 ++ F_fstypename [16]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte + _ [2]byte + Mount_info [160]byte + } +@@ -565,12 +565,11 @@ type Uvmexp struct { + Kmapent int32 + } + +-const SizeofClockinfo = 0x14 ++const SizeofClockinfo = 0x10 + + type Clockinfo struct { +- Hz int32 +- Tick int32 +- Tickadj int32 +- Stathz int32 +- Profhz int32 ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz int32 + } +diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +index ff3aeca..ddee045 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +@@ -94,10 +94,10 @@ type Statfs_t struct { + 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 ++ F_fstypename [16]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte + _ [2]byte + Mount_info [160]byte + } +@@ -558,12 +558,11 @@ type Uvmexp struct { + Kmapent int32 + } + +-const SizeofClockinfo = 0x14 ++const SizeofClockinfo = 0x10 + + type Clockinfo struct { +- Hz int32 +- Tick int32 +- Tickadj int32 +- Stathz int32 +- Profhz int32 ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz int32 + } +diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +index 9ecda69..eb13d4e 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +@@ -94,10 +94,10 @@ type Statfs_t struct { + 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 ++ F_fstypename [16]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte + _ [2]byte + Mount_info [160]byte + } +@@ -558,12 +558,11 @@ type Uvmexp struct { + Kmapent int32 + } + +-const SizeofClockinfo = 0x14 ++const SizeofClockinfo = 0x10 + + type Clockinfo struct { +- Hz int32 +- Tick int32 +- Tickadj int32 +- Stathz int32 +- Profhz int32 ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz int32 + } +diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +new file mode 100644 +index 0000000..d6724c0 +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +@@ -0,0 +1,571 @@ ++// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build ppc64 && openbsd ++// +build ppc64,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 ++ ++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 int32 ++ Flags uint32 ++ Gen uint32 ++ _ 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]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte ++ _ [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 ++ _ [4]uint8 ++ Name [256]int8 ++} ++ ++type Fsid struct { ++ Val [2]int32 ++} ++ ++const ( ++ PathMax = 0x400 ++) ++ ++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 ++ 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 ++ SizeofIovec = 0x10 ++ 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 = 0xa8 ++ SizeofIfData = 0x90 ++ 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 ++ Rdomain uint32 ++ Baudrate uint64 ++ Ipackets uint64 ++ Ierrors uint64 ++ Opackets uint64 ++ Oerrors uint64 ++ Collisions uint64 ++ Ibytes uint64 ++ Obytes uint64 ++ Imcasts uint64 ++ Omcasts uint64 ++ Iqdrops uint64 ++ Oqdrops uint64 ++ Noproto uint64 ++ Capabilities uint32 ++ Lastchange Timeval ++} ++ ++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{} ++ ++const ( ++ SizeofBpfVersion = 0x4 ++ SizeofBpfStat = 0x8 ++ SizeofBpfProgram = 0x10 ++ SizeofBpfInsn = 0x8 ++ SizeofBpfHdr = 0x18 ++) ++ ++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 ++ Ifidx uint16 ++ Flowid uint16 ++ Flags uint8 ++ Drops uint8 ++} ++ ++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 ++} ++ ++type Winsize struct { ++ Row uint16 ++ Col uint16 ++ Xpixel uint16 ++ Ypixel uint16 ++} ++ ++const ( ++ AT_FDCWD = -0x64 ++ AT_EACCESS = 0x1 ++ AT_SYMLINK_NOFOLLOW = 0x2 ++ AT_SYMLINK_FOLLOW = 0x4 ++ AT_REMOVEDIR = 0x8 ++) ++ ++type PollFd struct { ++ Fd int32 ++ Events int16 ++ Revents int16 ++} ++ ++const ( ++ POLLERR = 0x8 ++ POLLHUP = 0x10 ++ POLLIN = 0x1 ++ POLLNVAL = 0x20 ++ POLLOUT = 0x4 ++ POLLPRI = 0x2 ++ POLLRDBAND = 0x80 ++ POLLRDNORM = 0x40 ++ POLLWRBAND = 0x100 ++ POLLWRNORM = 0x4 ++) ++ ++type Sigset_t uint32 ++ ++type Utsname struct { ++ Sysname [256]byte ++ Nodename [256]byte ++ Release [256]byte ++ Version [256]byte ++ Machine [256]byte ++} ++ ++const SizeofUvmexp = 0x158 ++ ++type Uvmexp struct { ++ Pagesize int32 ++ Pagemask int32 ++ Pageshift int32 ++ Npages int32 ++ Free int32 ++ Active int32 ++ Inactive int32 ++ Paging int32 ++ Wired int32 ++ Zeropages int32 ++ Reserve_pagedaemon int32 ++ Reserve_kernel int32 ++ Unused01 int32 ++ Vnodepages int32 ++ Vtextpages int32 ++ Freemin int32 ++ Freetarg int32 ++ Inactarg int32 ++ Wiredmax int32 ++ Anonmin int32 ++ Vtextmin int32 ++ Vnodemin int32 ++ Anonminpct int32 ++ Vtextminpct int32 ++ Vnodeminpct int32 ++ Nswapdev int32 ++ Swpages int32 ++ Swpginuse int32 ++ Swpgonly int32 ++ Nswget int32 ++ Nanon int32 ++ Unused05 int32 ++ Unused06 int32 ++ Faults int32 ++ Traps int32 ++ Intrs int32 ++ Swtch int32 ++ Softs int32 ++ Syscalls int32 ++ Pageins int32 ++ Unused07 int32 ++ Unused08 int32 ++ Pgswapin int32 ++ Pgswapout int32 ++ Forks int32 ++ Forks_ppwait int32 ++ Forks_sharevm int32 ++ Pga_zerohit int32 ++ Pga_zeromiss int32 ++ Unused09 int32 ++ Fltnoram int32 ++ Fltnoanon int32 ++ Fltnoamap int32 ++ Fltpgwait int32 ++ Fltpgrele int32 ++ Fltrelck int32 ++ Fltrelckok int32 ++ Fltanget int32 ++ Fltanretry int32 ++ Fltamcopy int32 ++ Fltnamap int32 ++ Fltnomap int32 ++ Fltlget int32 ++ Fltget int32 ++ Flt_anon int32 ++ Flt_acow int32 ++ Flt_obj int32 ++ Flt_prcopy int32 ++ Flt_przero int32 ++ Pdwoke int32 ++ Pdrevs int32 ++ Pdswout int32 ++ Pdfreed int32 ++ Pdscans int32 ++ Pdanscan int32 ++ Pdobscan int32 ++ Pdreact int32 ++ Pdbusy int32 ++ Pdpageouts int32 ++ Pdpending int32 ++ Pddeact int32 ++ Unused11 int32 ++ Unused12 int32 ++ Unused13 int32 ++ Fpswtch int32 ++ Kmapent int32 ++} ++ ++const SizeofClockinfo = 0x10 ++ ++type Clockinfo struct { ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz int32 ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +new file mode 100644 +index 0000000..ddfd27a +--- /dev/null ++++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +@@ -0,0 +1,571 @@ ++// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go ++// Code generated by the command above; see README.md. DO NOT EDIT. ++ ++//go:build riscv64 && openbsd ++// +build riscv64,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 ++ ++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 int32 ++ Flags uint32 ++ Gen uint32 ++ _ 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]byte ++ F_mntonname [90]byte ++ F_mntfromname [90]byte ++ F_mntfromspec [90]byte ++ _ [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 ++ _ [4]uint8 ++ Name [256]int8 ++} ++ ++type Fsid struct { ++ Val [2]int32 ++} ++ ++const ( ++ PathMax = 0x400 ++) ++ ++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 ++ 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 ++ SizeofIovec = 0x10 ++ 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 = 0xa8 ++ SizeofIfData = 0x90 ++ 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 ++ Rdomain uint32 ++ Baudrate uint64 ++ Ipackets uint64 ++ Ierrors uint64 ++ Opackets uint64 ++ Oerrors uint64 ++ Collisions uint64 ++ Ibytes uint64 ++ Obytes uint64 ++ Imcasts uint64 ++ Omcasts uint64 ++ Iqdrops uint64 ++ Oqdrops uint64 ++ Noproto uint64 ++ Capabilities uint32 ++ Lastchange Timeval ++} ++ ++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{} ++ ++const ( ++ SizeofBpfVersion = 0x4 ++ SizeofBpfStat = 0x8 ++ SizeofBpfProgram = 0x10 ++ SizeofBpfInsn = 0x8 ++ SizeofBpfHdr = 0x18 ++) ++ ++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 ++ Ifidx uint16 ++ Flowid uint16 ++ Flags uint8 ++ Drops uint8 ++} ++ ++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 ++} ++ ++type Winsize struct { ++ Row uint16 ++ Col uint16 ++ Xpixel uint16 ++ Ypixel uint16 ++} ++ ++const ( ++ AT_FDCWD = -0x64 ++ AT_EACCESS = 0x1 ++ AT_SYMLINK_NOFOLLOW = 0x2 ++ AT_SYMLINK_FOLLOW = 0x4 ++ AT_REMOVEDIR = 0x8 ++) ++ ++type PollFd struct { ++ Fd int32 ++ Events int16 ++ Revents int16 ++} ++ ++const ( ++ POLLERR = 0x8 ++ POLLHUP = 0x10 ++ POLLIN = 0x1 ++ POLLNVAL = 0x20 ++ POLLOUT = 0x4 ++ POLLPRI = 0x2 ++ POLLRDBAND = 0x80 ++ POLLRDNORM = 0x40 ++ POLLWRBAND = 0x100 ++ POLLWRNORM = 0x4 ++) ++ ++type Sigset_t uint32 ++ ++type Utsname struct { ++ Sysname [256]byte ++ Nodename [256]byte ++ Release [256]byte ++ Version [256]byte ++ Machine [256]byte ++} ++ ++const SizeofUvmexp = 0x158 ++ ++type Uvmexp struct { ++ Pagesize int32 ++ Pagemask int32 ++ Pageshift int32 ++ Npages int32 ++ Free int32 ++ Active int32 ++ Inactive int32 ++ Paging int32 ++ Wired int32 ++ Zeropages int32 ++ Reserve_pagedaemon int32 ++ Reserve_kernel int32 ++ Unused01 int32 ++ Vnodepages int32 ++ Vtextpages int32 ++ Freemin int32 ++ Freetarg int32 ++ Inactarg int32 ++ Wiredmax int32 ++ Anonmin int32 ++ Vtextmin int32 ++ Vnodemin int32 ++ Anonminpct int32 ++ Vtextminpct int32 ++ Vnodeminpct int32 ++ Nswapdev int32 ++ Swpages int32 ++ Swpginuse int32 ++ Swpgonly int32 ++ Nswget int32 ++ Nanon int32 ++ Unused05 int32 ++ Unused06 int32 ++ Faults int32 ++ Traps int32 ++ Intrs int32 ++ Swtch int32 ++ Softs int32 ++ Syscalls int32 ++ Pageins int32 ++ Unused07 int32 ++ Unused08 int32 ++ Pgswapin int32 ++ Pgswapout int32 ++ Forks int32 ++ Forks_ppwait int32 ++ Forks_sharevm int32 ++ Pga_zerohit int32 ++ Pga_zeromiss int32 ++ Unused09 int32 ++ Fltnoram int32 ++ Fltnoanon int32 ++ Fltnoamap int32 ++ Fltpgwait int32 ++ Fltpgrele int32 ++ Fltrelck int32 ++ Fltrelckok int32 ++ Fltanget int32 ++ Fltanretry int32 ++ Fltamcopy int32 ++ Fltnamap int32 ++ Fltnomap int32 ++ Fltlget int32 ++ Fltget int32 ++ Flt_anon int32 ++ Flt_acow int32 ++ Flt_obj int32 ++ Flt_prcopy int32 ++ Flt_przero int32 ++ Pdwoke int32 ++ Pdrevs int32 ++ Pdswout int32 ++ Pdfreed int32 ++ Pdscans int32 ++ Pdanscan int32 ++ Pdobscan int32 ++ Pdreact int32 ++ Pdbusy int32 ++ Pdpageouts int32 ++ Pdpending int32 ++ Pddeact int32 ++ Unused11 int32 ++ Unused12 int32 ++ Unused13 int32 ++ Fpswtch int32 ++ Kmapent int32 ++} ++ ++const SizeofClockinfo = 0x10 ++ ++type Clockinfo struct { ++ Hz int32 ++ Tick int32 ++ Stathz int32 ++ Profhz 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 +index 85effef..0400747 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +@@ -178,7 +178,7 @@ type Linger struct { + } + + type Iovec struct { +- Base *int8 ++ Base *byte + Len uint64 + } + +@@ -440,3 +440,78 @@ const ( + POLLWRBAND = 0x100 + POLLWRNORM = 0x4 + ) ++ ++type fileObj struct { ++ Atim Timespec ++ Mtim Timespec ++ Ctim Timespec ++ Pad [3]uint64 ++ Name *int8 ++} ++ ++type portEvent struct { ++ Events int32 ++ Source uint16 ++ Pad uint16 ++ Object uint64 ++ User *byte ++} ++ ++const ( ++ PORT_SOURCE_AIO = 0x1 ++ PORT_SOURCE_TIMER = 0x2 ++ PORT_SOURCE_USER = 0x3 ++ PORT_SOURCE_FD = 0x4 ++ PORT_SOURCE_ALERT = 0x5 ++ PORT_SOURCE_MQ = 0x6 ++ PORT_SOURCE_FILE = 0x7 ++ PORT_ALERT_SET = 0x1 ++ PORT_ALERT_UPDATE = 0x2 ++ PORT_ALERT_INVALID = 0x3 ++ FILE_ACCESS = 0x1 ++ FILE_MODIFIED = 0x2 ++ FILE_ATTRIB = 0x4 ++ FILE_TRUNC = 0x100000 ++ FILE_NOFOLLOW = 0x10000000 ++ FILE_DELETE = 0x10 ++ FILE_RENAME_TO = 0x20 ++ FILE_RENAME_FROM = 0x40 ++ UNMOUNTED = 0x20000000 ++ MOUNTEDOVER = 0x40000000 ++ FILE_EXCEPTION = 0x60000070 ++) ++ ++const ( ++ TUNNEWPPA = 0x540001 ++ TUNSETPPA = 0x540002 ++ ++ I_STR = 0x5308 ++ I_POP = 0x5303 ++ I_PUSH = 0x5302 ++ I_LINK = 0x530c ++ I_UNLINK = 0x530d ++ I_PLINK = 0x5316 ++ I_PUNLINK = 0x5317 ++ ++ IF_UNITSEL = -0x7ffb8cca ++) ++ ++type strbuf struct { ++ Maxlen int32 ++ Len int32 ++ Buf *int8 ++} ++ ++type Strioctl struct { ++ Cmd int32 ++ Timout int32 ++ Len int32 ++ Dp *int8 ++} ++ ++type Lifreq struct { ++ Name [32]int8 ++ Lifru1 [4]byte ++ Type uint32 ++ Lifru [336]byte ++} +diff --git a/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +index 4ab638c..aec1efc 100644 +--- a/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go ++++ b/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +@@ -339,7 +339,7 @@ type Statfs_t struct { + Flags uint64 + } + +-type Dirent struct { ++type direntLE struct { + Reclen uint16 + Namlen uint16 + Ino uint32 +@@ -347,6 +347,15 @@ type Dirent struct { + Name [256]byte + } + ++type Dirent struct { ++ Ino uint64 ++ Off int64 ++ Reclen uint16 ++ Type uint8 ++ Name [256]uint8 ++ _ [5]byte ++} ++ + type FdSet struct { + Bits [64]int32 + } +diff --git a/vendor/golang.org/x/sys/windows/aliases.go b/vendor/golang.org/x/sys/windows/aliases.go +index af3af60..a20ebea 100644 +--- a/vendor/golang.org/x/sys/windows/aliases.go ++++ b/vendor/golang.org/x/sys/windows/aliases.go +@@ -2,8 +2,8 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + +-// +build windows +-// +build go1.9 ++//go:build windows && go1.9 ++// +build windows,go1.9 + + package windows + +diff --git a/vendor/golang.org/x/sys/windows/eventlog.go b/vendor/golang.org/x/sys/windows/eventlog.go +index 40af946..2cd6064 100644 +--- a/vendor/golang.org/x/sys/windows/eventlog.go ++++ b/vendor/golang.org/x/sys/windows/eventlog.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + package windows +diff --git a/vendor/golang.org/x/sys/windows/exec_windows.go b/vendor/golang.org/x/sys/windows/exec_windows.go +index 7a11e83..75980fd 100644 +--- a/vendor/golang.org/x/sys/windows/exec_windows.go ++++ b/vendor/golang.org/x/sys/windows/exec_windows.go +@@ -9,19 +9,17 @@ package windows + import ( + errorspkg "errors" + "unsafe" +- +- "golang.org/x/sys/internal/unsafeheader" + ) + + // EscapeArg rewrites command line argument s as prescribed + // in http://msdn.microsoft.com/en-us/library/ms880421. + // This function returns "" (2 double quotes) if s is empty. + // Alternatively, these transformations are done: +-// - every back slash (\) is doubled, but only if immediately +-// followed by double quote ("); +-// - every double quote (") is escaped by back slash (\); +-// - finally, s is wrapped with double quotes (arg -> "arg"), +-// but only if there is space or tab inside s. ++// - every back slash (\) is doubled, but only if immediately ++// followed by double quote ("); ++// - every double quote (") is escaped by back slash (\); ++// - finally, s is wrapped with double quotes (arg -> "arg"), ++// but only if there is space or tab inside s. + func EscapeArg(s string) string { + if len(s) == 0 { + return "\"\"" +@@ -147,8 +145,12 @@ func NewProcThreadAttributeList(maxAttrCount uint32) (*ProcThreadAttributeListCo + } + return nil, err + } ++ alloc, err := LocalAlloc(LMEM_FIXED, uint32(size)) ++ if err != nil { ++ return nil, err ++ } + // size is guaranteed to be ≥1 by InitializeProcThreadAttributeList. +- al := &ProcThreadAttributeListContainer{data: (*ProcThreadAttributeList)(unsafe.Pointer(&make([]byte, size)[0]))} ++ al := &ProcThreadAttributeListContainer{data: (*ProcThreadAttributeList)(unsafe.Pointer(alloc))} + err = initializeProcThreadAttributeList(al.data, maxAttrCount, 0, &size) + if err != nil { + return nil, err +@@ -157,36 +159,17 @@ func NewProcThreadAttributeList(maxAttrCount uint32) (*ProcThreadAttributeListCo + } + + // Update modifies the ProcThreadAttributeList using UpdateProcThreadAttribute. +-// Note that the value passed to this function will be copied into memory +-// allocated by LocalAlloc, the contents of which should not contain any +-// Go-managed pointers, even if the passed value itself is a Go-managed +-// pointer. + func (al *ProcThreadAttributeListContainer) Update(attribute uintptr, value unsafe.Pointer, size uintptr) error { +- alloc, err := LocalAlloc(LMEM_FIXED, uint32(size)) +- if err != nil { +- return err +- } +- var src, dst []byte +- hdr := (*unsafeheader.Slice)(unsafe.Pointer(&src)) +- hdr.Data = value +- hdr.Cap = int(size) +- hdr.Len = int(size) +- hdr = (*unsafeheader.Slice)(unsafe.Pointer(&dst)) +- hdr.Data = unsafe.Pointer(alloc) +- hdr.Cap = int(size) +- hdr.Len = int(size) +- copy(dst, src) +- al.heapAllocations = append(al.heapAllocations, alloc) +- return updateProcThreadAttribute(al.data, 0, attribute, unsafe.Pointer(alloc), size, nil, nil) ++ al.pointers = append(al.pointers, value) ++ return updateProcThreadAttribute(al.data, 0, attribute, value, size, nil, nil) + } + + // Delete frees ProcThreadAttributeList's resources. + func (al *ProcThreadAttributeListContainer) Delete() { + deleteProcThreadAttributeList(al.data) +- for i := range al.heapAllocations { +- LocalFree(Handle(al.heapAllocations[i])) +- } +- al.heapAllocations = nil ++ LocalFree(Handle(unsafe.Pointer(al.data))) ++ al.data = nil ++ al.pointers = nil + } + + // List returns the actual ProcThreadAttributeList to be passed to StartupInfoEx. +diff --git a/vendor/golang.org/x/sys/windows/memory_windows.go b/vendor/golang.org/x/sys/windows/memory_windows.go +index 1adb607..6dc0920 100644 +--- a/vendor/golang.org/x/sys/windows/memory_windows.go ++++ b/vendor/golang.org/x/sys/windows/memory_windows.go +@@ -35,3 +35,14 @@ const ( + QUOTA_LIMITS_HARDWS_MAX_DISABLE = 0x00000008 + QUOTA_LIMITS_HARDWS_MAX_ENABLE = 0x00000004 + ) ++ ++type MemoryBasicInformation struct { ++ BaseAddress uintptr ++ AllocationBase uintptr ++ AllocationProtect uint32 ++ PartitionId uint16 ++ RegionSize uintptr ++ State uint32 ++ Protect uint32 ++ Type uint32 ++} +diff --git a/vendor/golang.org/x/sys/windows/mksyscall.go b/vendor/golang.org/x/sys/windows/mksyscall.go +index 328e3b2..8563f79 100644 +--- a/vendor/golang.org/x/sys/windows/mksyscall.go ++++ b/vendor/golang.org/x/sys/windows/mksyscall.go +@@ -2,8 +2,9 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build generate + // +build generate + + package windows + +-//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go ++//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go +diff --git a/vendor/golang.org/x/sys/windows/race.go b/vendor/golang.org/x/sys/windows/race.go +index a74e3e2..9196b08 100644 +--- a/vendor/golang.org/x/sys/windows/race.go ++++ b/vendor/golang.org/x/sys/windows/race.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows && race + // +build windows,race + + package windows +diff --git a/vendor/golang.org/x/sys/windows/race0.go b/vendor/golang.org/x/sys/windows/race0.go +index e44a3cb..7bae481 100644 +--- a/vendor/golang.org/x/sys/windows/race0.go ++++ b/vendor/golang.org/x/sys/windows/race0.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows && !race + // +build windows,!race + + package windows +diff --git a/vendor/golang.org/x/sys/windows/registry/key.go b/vendor/golang.org/x/sys/windows/registry/key.go +index c256483..6c8d97b 100644 +--- a/vendor/golang.org/x/sys/windows/registry/key.go ++++ b/vendor/golang.org/x/sys/windows/registry/key.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + // Package registry provides access to the Windows registry. +@@ -19,11 +20,11 @@ + // log.Fatal(err) + // } + // fmt.Printf("Windows system root is %q\n", s) +-// + package registry + + import ( + "io" ++ "runtime" + "syscall" + "time" + ) +@@ -113,6 +114,13 @@ func OpenRemoteKey(pcname string, k Key) (Key, error) { + // The parameter n controls the number of returned names, + // analogous to the way os.File.Readdirnames works. + func (k Key) ReadSubKeyNames(n int) ([]string, error) { ++ // RegEnumKeyEx must be called repeatedly and to completion. ++ // During this time, this goroutine cannot migrate away from ++ // its current thread. See https://golang.org/issue/49320 and ++ // https://golang.org/issue/49466. ++ runtime.LockOSThread() ++ defer runtime.UnlockOSThread() ++ + names := make([]string, 0) + // Registry key size limit is 255 bytes and described there: + // https://msdn.microsoft.com/library/windows/desktop/ms724872.aspx +diff --git a/vendor/golang.org/x/sys/windows/registry/mksyscall.go b/vendor/golang.org/x/sys/windows/registry/mksyscall.go +index 50c32a3..ee74927 100644 +--- a/vendor/golang.org/x/sys/windows/registry/mksyscall.go ++++ b/vendor/golang.org/x/sys/windows/registry/mksyscall.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build generate + // +build generate + + package registry +diff --git a/vendor/golang.org/x/sys/windows/registry/syscall.go b/vendor/golang.org/x/sys/windows/registry/syscall.go +index e66643c..4173351 100644 +--- a/vendor/golang.org/x/sys/windows/registry/syscall.go ++++ b/vendor/golang.org/x/sys/windows/registry/syscall.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + package registry +diff --git a/vendor/golang.org/x/sys/windows/registry/value.go b/vendor/golang.org/x/sys/windows/registry/value.go +index f25e7e9..2789f6f 100644 +--- a/vendor/golang.org/x/sys/windows/registry/value.go ++++ b/vendor/golang.org/x/sys/windows/registry/value.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + package registry +diff --git a/vendor/golang.org/x/sys/windows/security_windows.go b/vendor/golang.org/x/sys/windows/security_windows.go +index 111c10d..d414ef1 100644 +--- a/vendor/golang.org/x/sys/windows/security_windows.go ++++ b/vendor/golang.org/x/sys/windows/security_windows.go +@@ -889,6 +889,7 @@ type WTS_SESSION_INFO struct { + //sys WTSQueryUserToken(session uint32, token *Token) (err error) = wtsapi32.WTSQueryUserToken + //sys WTSEnumerateSessions(handle Handle, reserved uint32, version uint32, sessions **WTS_SESSION_INFO, count *uint32) (err error) = wtsapi32.WTSEnumerateSessionsW + //sys WTSFreeMemory(ptr uintptr) = wtsapi32.WTSFreeMemory ++//sys WTSGetActiveConsoleSessionId() (sessionID uint32) + + type ACL struct { + aclRevision byte +diff --git a/vendor/golang.org/x/sys/windows/service.go b/vendor/golang.org/x/sys/windows/service.go +index b269850..f8deca8 100644 +--- a/vendor/golang.org/x/sys/windows/service.go ++++ b/vendor/golang.org/x/sys/windows/service.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + package windows +@@ -16,8 +17,6 @@ const ( + SC_MANAGER_ALL_ACCESS = 0xf003f + ) + +-//sys OpenSCManager(machineName *uint16, databaseName *uint16, access uint32) (handle Handle, err error) [failretval==0] = advapi32.OpenSCManagerW +- + const ( + SERVICE_KERNEL_DRIVER = 1 + SERVICE_FILE_SYSTEM_DRIVER = 2 +@@ -132,6 +131,14 @@ const ( + SC_EVENT_DATABASE_CHANGE = 0 + SC_EVENT_PROPERTY_CHANGE = 1 + SC_EVENT_STATUS_CHANGE = 2 ++ ++ SERVICE_START_REASON_DEMAND = 0x00000001 ++ SERVICE_START_REASON_AUTO = 0x00000002 ++ SERVICE_START_REASON_TRIGGER = 0x00000004 ++ SERVICE_START_REASON_RESTART_ON_FAILURE = 0x00000008 ++ SERVICE_START_REASON_DELAYEDAUTO = 0x00000010 ++ ++ SERVICE_DYNAMIC_INFORMATION_LEVEL_START_REASON = 1 + ) + + type SERVICE_STATUS struct { +@@ -216,6 +223,7 @@ type QUERY_SERVICE_LOCK_STATUS struct { + LockDuration uint32 + } + ++//sys OpenSCManager(machineName *uint16, databaseName *uint16, access uint32) (handle Handle, err error) [failretval==0] = advapi32.OpenSCManagerW + //sys CloseServiceHandle(handle Handle) (err error) = advapi32.CloseServiceHandle + //sys CreateService(mgr Handle, serviceName *uint16, displayName *uint16, access uint32, srvType uint32, startType uint32, errCtl uint32, pathName *uint16, loadOrderGroup *uint16, tagId *uint32, dependencies *uint16, serviceStartName *uint16, password *uint16) (handle Handle, err error) [failretval==0] = advapi32.CreateServiceW + //sys OpenService(mgr Handle, serviceName *uint16, access uint32) (handle Handle, err error) [failretval==0] = advapi32.OpenServiceW +@@ -235,3 +243,5 @@ type QUERY_SERVICE_LOCK_STATUS struct { + //sys NotifyServiceStatusChange(service Handle, notifyMask uint32, notifier *SERVICE_NOTIFY) (ret error) = advapi32.NotifyServiceStatusChangeW + //sys SubscribeServiceChangeNotifications(service Handle, eventType uint32, callback uintptr, callbackCtx uintptr, subscription *uintptr) (ret error) = sechost.SubscribeServiceChangeNotifications? + //sys UnsubscribeServiceChangeNotifications(subscription uintptr) = sechost.UnsubscribeServiceChangeNotifications? ++//sys RegisterServiceCtrlHandlerEx(serviceName *uint16, handlerProc uintptr, context uintptr) (handle Handle, err error) = advapi32.RegisterServiceCtrlHandlerExW ++//sys QueryServiceDynamicInformation(service Handle, infoLevel uint32, dynamicInfo unsafe.Pointer) (err error) = advapi32.QueryServiceDynamicInformation? +diff --git a/vendor/golang.org/x/sys/windows/setupapi_windows.go b/vendor/golang.org/x/sys/windows/setupapi_windows.go +new file mode 100644 +index 0000000..f812648 +--- /dev/null ++++ b/vendor/golang.org/x/sys/windows/setupapi_windows.go +@@ -0,0 +1,1425 @@ ++// Copyright 2021 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 windows ++ ++import ( ++ "encoding/binary" ++ "errors" ++ "fmt" ++ "runtime" ++ "strings" ++ "syscall" ++ "unsafe" ++) ++ ++// This file contains functions that wrap SetupAPI.dll and CfgMgr32.dll, ++// core system functions for managing hardware devices, drivers, and the PnP tree. ++// Information about these APIs can be found at: ++// https://docs.microsoft.com/en-us/windows-hardware/drivers/install/setupapi ++// https://docs.microsoft.com/en-us/windows/win32/devinst/cfgmgr32- ++ ++const ( ++ ERROR_EXPECTED_SECTION_NAME Errno = 0x20000000 | 0xC0000000 | 0 ++ ERROR_BAD_SECTION_NAME_LINE Errno = 0x20000000 | 0xC0000000 | 1 ++ ERROR_SECTION_NAME_TOO_LONG Errno = 0x20000000 | 0xC0000000 | 2 ++ ERROR_GENERAL_SYNTAX Errno = 0x20000000 | 0xC0000000 | 3 ++ ERROR_WRONG_INF_STYLE Errno = 0x20000000 | 0xC0000000 | 0x100 ++ ERROR_SECTION_NOT_FOUND Errno = 0x20000000 | 0xC0000000 | 0x101 ++ ERROR_LINE_NOT_FOUND Errno = 0x20000000 | 0xC0000000 | 0x102 ++ ERROR_NO_BACKUP Errno = 0x20000000 | 0xC0000000 | 0x103 ++ ERROR_NO_ASSOCIATED_CLASS Errno = 0x20000000 | 0xC0000000 | 0x200 ++ ERROR_CLASS_MISMATCH Errno = 0x20000000 | 0xC0000000 | 0x201 ++ ERROR_DUPLICATE_FOUND Errno = 0x20000000 | 0xC0000000 | 0x202 ++ ERROR_NO_DRIVER_SELECTED Errno = 0x20000000 | 0xC0000000 | 0x203 ++ ERROR_KEY_DOES_NOT_EXIST Errno = 0x20000000 | 0xC0000000 | 0x204 ++ ERROR_INVALID_DEVINST_NAME Errno = 0x20000000 | 0xC0000000 | 0x205 ++ ERROR_INVALID_CLASS Errno = 0x20000000 | 0xC0000000 | 0x206 ++ ERROR_DEVINST_ALREADY_EXISTS Errno = 0x20000000 | 0xC0000000 | 0x207 ++ ERROR_DEVINFO_NOT_REGISTERED Errno = 0x20000000 | 0xC0000000 | 0x208 ++ ERROR_INVALID_REG_PROPERTY Errno = 0x20000000 | 0xC0000000 | 0x209 ++ ERROR_NO_INF Errno = 0x20000000 | 0xC0000000 | 0x20A ++ ERROR_NO_SUCH_DEVINST Errno = 0x20000000 | 0xC0000000 | 0x20B ++ ERROR_CANT_LOAD_CLASS_ICON Errno = 0x20000000 | 0xC0000000 | 0x20C ++ ERROR_INVALID_CLASS_INSTALLER Errno = 0x20000000 | 0xC0000000 | 0x20D ++ ERROR_DI_DO_DEFAULT Errno = 0x20000000 | 0xC0000000 | 0x20E ++ ERROR_DI_NOFILECOPY Errno = 0x20000000 | 0xC0000000 | 0x20F ++ ERROR_INVALID_HWPROFILE Errno = 0x20000000 | 0xC0000000 | 0x210 ++ ERROR_NO_DEVICE_SELECTED Errno = 0x20000000 | 0xC0000000 | 0x211 ++ ERROR_DEVINFO_LIST_LOCKED Errno = 0x20000000 | 0xC0000000 | 0x212 ++ ERROR_DEVINFO_DATA_LOCKED Errno = 0x20000000 | 0xC0000000 | 0x213 ++ ERROR_DI_BAD_PATH Errno = 0x20000000 | 0xC0000000 | 0x214 ++ ERROR_NO_CLASSINSTALL_PARAMS Errno = 0x20000000 | 0xC0000000 | 0x215 ++ ERROR_FILEQUEUE_LOCKED Errno = 0x20000000 | 0xC0000000 | 0x216 ++ ERROR_BAD_SERVICE_INSTALLSECT Errno = 0x20000000 | 0xC0000000 | 0x217 ++ ERROR_NO_CLASS_DRIVER_LIST Errno = 0x20000000 | 0xC0000000 | 0x218 ++ ERROR_NO_ASSOCIATED_SERVICE Errno = 0x20000000 | 0xC0000000 | 0x219 ++ ERROR_NO_DEFAULT_DEVICE_INTERFACE Errno = 0x20000000 | 0xC0000000 | 0x21A ++ ERROR_DEVICE_INTERFACE_ACTIVE Errno = 0x20000000 | 0xC0000000 | 0x21B ++ ERROR_DEVICE_INTERFACE_REMOVED Errno = 0x20000000 | 0xC0000000 | 0x21C ++ ERROR_BAD_INTERFACE_INSTALLSECT Errno = 0x20000000 | 0xC0000000 | 0x21D ++ ERROR_NO_SUCH_INTERFACE_CLASS Errno = 0x20000000 | 0xC0000000 | 0x21E ++ ERROR_INVALID_REFERENCE_STRING Errno = 0x20000000 | 0xC0000000 | 0x21F ++ ERROR_INVALID_MACHINENAME Errno = 0x20000000 | 0xC0000000 | 0x220 ++ ERROR_REMOTE_COMM_FAILURE Errno = 0x20000000 | 0xC0000000 | 0x221 ++ ERROR_MACHINE_UNAVAILABLE Errno = 0x20000000 | 0xC0000000 | 0x222 ++ ERROR_NO_CONFIGMGR_SERVICES Errno = 0x20000000 | 0xC0000000 | 0x223 ++ ERROR_INVALID_PROPPAGE_PROVIDER Errno = 0x20000000 | 0xC0000000 | 0x224 ++ ERROR_NO_SUCH_DEVICE_INTERFACE Errno = 0x20000000 | 0xC0000000 | 0x225 ++ ERROR_DI_POSTPROCESSING_REQUIRED Errno = 0x20000000 | 0xC0000000 | 0x226 ++ ERROR_INVALID_COINSTALLER Errno = 0x20000000 | 0xC0000000 | 0x227 ++ ERROR_NO_COMPAT_DRIVERS Errno = 0x20000000 | 0xC0000000 | 0x228 ++ ERROR_NO_DEVICE_ICON Errno = 0x20000000 | 0xC0000000 | 0x229 ++ ERROR_INVALID_INF_LOGCONFIG Errno = 0x20000000 | 0xC0000000 | 0x22A ++ ERROR_DI_DONT_INSTALL Errno = 0x20000000 | 0xC0000000 | 0x22B ++ ERROR_INVALID_FILTER_DRIVER Errno = 0x20000000 | 0xC0000000 | 0x22C ++ ERROR_NON_WINDOWS_NT_DRIVER Errno = 0x20000000 | 0xC0000000 | 0x22D ++ ERROR_NON_WINDOWS_DRIVER Errno = 0x20000000 | 0xC0000000 | 0x22E ++ ERROR_NO_CATALOG_FOR_OEM_INF Errno = 0x20000000 | 0xC0000000 | 0x22F ++ ERROR_DEVINSTALL_QUEUE_NONNATIVE Errno = 0x20000000 | 0xC0000000 | 0x230 ++ ERROR_NOT_DISABLEABLE Errno = 0x20000000 | 0xC0000000 | 0x231 ++ ERROR_CANT_REMOVE_DEVINST Errno = 0x20000000 | 0xC0000000 | 0x232 ++ ERROR_INVALID_TARGET Errno = 0x20000000 | 0xC0000000 | 0x233 ++ ERROR_DRIVER_NONNATIVE Errno = 0x20000000 | 0xC0000000 | 0x234 ++ ERROR_IN_WOW64 Errno = 0x20000000 | 0xC0000000 | 0x235 ++ ERROR_SET_SYSTEM_RESTORE_POINT Errno = 0x20000000 | 0xC0000000 | 0x236 ++ ERROR_SCE_DISABLED Errno = 0x20000000 | 0xC0000000 | 0x238 ++ ERROR_UNKNOWN_EXCEPTION Errno = 0x20000000 | 0xC0000000 | 0x239 ++ ERROR_PNP_REGISTRY_ERROR Errno = 0x20000000 | 0xC0000000 | 0x23A ++ ERROR_REMOTE_REQUEST_UNSUPPORTED Errno = 0x20000000 | 0xC0000000 | 0x23B ++ ERROR_NOT_AN_INSTALLED_OEM_INF Errno = 0x20000000 | 0xC0000000 | 0x23C ++ ERROR_INF_IN_USE_BY_DEVICES Errno = 0x20000000 | 0xC0000000 | 0x23D ++ ERROR_DI_FUNCTION_OBSOLETE Errno = 0x20000000 | 0xC0000000 | 0x23E ++ ERROR_NO_AUTHENTICODE_CATALOG Errno = 0x20000000 | 0xC0000000 | 0x23F ++ ERROR_AUTHENTICODE_DISALLOWED Errno = 0x20000000 | 0xC0000000 | 0x240 ++ ERROR_AUTHENTICODE_TRUSTED_PUBLISHER Errno = 0x20000000 | 0xC0000000 | 0x241 ++ ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED Errno = 0x20000000 | 0xC0000000 | 0x242 ++ ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED Errno = 0x20000000 | 0xC0000000 | 0x243 ++ ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH Errno = 0x20000000 | 0xC0000000 | 0x244 ++ ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE Errno = 0x20000000 | 0xC0000000 | 0x245 ++ ERROR_DEVICE_INSTALLER_NOT_READY Errno = 0x20000000 | 0xC0000000 | 0x246 ++ ERROR_DRIVER_STORE_ADD_FAILED Errno = 0x20000000 | 0xC0000000 | 0x247 ++ ERROR_DEVICE_INSTALL_BLOCKED Errno = 0x20000000 | 0xC0000000 | 0x248 ++ ERROR_DRIVER_INSTALL_BLOCKED Errno = 0x20000000 | 0xC0000000 | 0x249 ++ ERROR_WRONG_INF_TYPE Errno = 0x20000000 | 0xC0000000 | 0x24A ++ ERROR_FILE_HASH_NOT_IN_CATALOG Errno = 0x20000000 | 0xC0000000 | 0x24B ++ ERROR_DRIVER_STORE_DELETE_FAILED Errno = 0x20000000 | 0xC0000000 | 0x24C ++ ERROR_UNRECOVERABLE_STACK_OVERFLOW Errno = 0x20000000 | 0xC0000000 | 0x300 ++ EXCEPTION_SPAPI_UNRECOVERABLE_STACK_OVERFLOW Errno = ERROR_UNRECOVERABLE_STACK_OVERFLOW ++ ERROR_NO_DEFAULT_INTERFACE_DEVICE Errno = ERROR_NO_DEFAULT_DEVICE_INTERFACE ++ ERROR_INTERFACE_DEVICE_ACTIVE Errno = ERROR_DEVICE_INTERFACE_ACTIVE ++ ERROR_INTERFACE_DEVICE_REMOVED Errno = ERROR_DEVICE_INTERFACE_REMOVED ++ ERROR_NO_SUCH_INTERFACE_DEVICE Errno = ERROR_NO_SUCH_DEVICE_INTERFACE ++) ++ ++const ( ++ MAX_DEVICE_ID_LEN = 200 ++ MAX_DEVNODE_ID_LEN = MAX_DEVICE_ID_LEN ++ MAX_GUID_STRING_LEN = 39 // 38 chars + terminator null ++ MAX_CLASS_NAME_LEN = 32 ++ MAX_PROFILE_LEN = 80 ++ MAX_CONFIG_VALUE = 9999 ++ MAX_INSTANCE_VALUE = 9999 ++ CONFIGMG_VERSION = 0x0400 ++) ++ ++// Maximum string length constants ++const ( ++ LINE_LEN = 256 // Windows 9x-compatible maximum for displayable strings coming from a device INF. ++ MAX_INF_STRING_LENGTH = 4096 // Actual maximum size of an INF string (including string substitutions). ++ MAX_INF_SECTION_NAME_LENGTH = 255 // For Windows 9x compatibility, INF section names should be constrained to 32 characters. ++ MAX_TITLE_LEN = 60 ++ MAX_INSTRUCTION_LEN = 256 ++ MAX_LABEL_LEN = 30 ++ MAX_SERVICE_NAME_LEN = 256 ++ MAX_SUBTITLE_LEN = 256 ++) ++ ++const ( ++ // SP_MAX_MACHINENAME_LENGTH defines maximum length of a machine name in the format expected by ConfigMgr32 CM_Connect_Machine (i.e., "\\\\MachineName\0"). ++ SP_MAX_MACHINENAME_LENGTH = MAX_PATH + 3 ++) ++ ++// HSPFILEQ is type for setup file queue ++type HSPFILEQ uintptr ++ ++// DevInfo holds reference to device information set ++type DevInfo Handle ++ ++// DEVINST is a handle usually recognized by cfgmgr32 APIs ++type DEVINST uint32 ++ ++// DevInfoData is a device information structure (references a device instance that is a member of a device information set) ++type DevInfoData struct { ++ size uint32 ++ ClassGUID GUID ++ DevInst DEVINST ++ _ uintptr ++} ++ ++// DevInfoListDetailData is a structure for detailed information on a device information set (used for SetupDiGetDeviceInfoListDetail which supersedes the functionality of SetupDiGetDeviceInfoListClass). ++type DevInfoListDetailData struct { ++ size uint32 // Use unsafeSizeOf method ++ ClassGUID GUID ++ RemoteMachineHandle Handle ++ remoteMachineName [SP_MAX_MACHINENAME_LENGTH]uint16 ++} ++ ++func (*DevInfoListDetailData) unsafeSizeOf() uint32 { ++ if unsafe.Sizeof(uintptr(0)) == 4 { ++ // Windows declares this with pshpack1.h ++ return uint32(unsafe.Offsetof(DevInfoListDetailData{}.remoteMachineName) + unsafe.Sizeof(DevInfoListDetailData{}.remoteMachineName)) ++ } ++ return uint32(unsafe.Sizeof(DevInfoListDetailData{})) ++} ++ ++func (data *DevInfoListDetailData) RemoteMachineName() string { ++ return UTF16ToString(data.remoteMachineName[:]) ++} ++ ++func (data *DevInfoListDetailData) SetRemoteMachineName(remoteMachineName string) error { ++ str, err := UTF16FromString(remoteMachineName) ++ if err != nil { ++ return err ++ } ++ copy(data.remoteMachineName[:], str) ++ return nil ++} ++ ++// DI_FUNCTION is function type for device installer ++type DI_FUNCTION uint32 ++ ++const ( ++ DIF_SELECTDEVICE DI_FUNCTION = 0x00000001 ++ DIF_INSTALLDEVICE DI_FUNCTION = 0x00000002 ++ DIF_ASSIGNRESOURCES DI_FUNCTION = 0x00000003 ++ DIF_PROPERTIES DI_FUNCTION = 0x00000004 ++ DIF_REMOVE DI_FUNCTION = 0x00000005 ++ DIF_FIRSTTIMESETUP DI_FUNCTION = 0x00000006 ++ DIF_FOUNDDEVICE DI_FUNCTION = 0x00000007 ++ DIF_SELECTCLASSDRIVERS DI_FUNCTION = 0x00000008 ++ DIF_VALIDATECLASSDRIVERS DI_FUNCTION = 0x00000009 ++ DIF_INSTALLCLASSDRIVERS DI_FUNCTION = 0x0000000A ++ DIF_CALCDISKSPACE DI_FUNCTION = 0x0000000B ++ DIF_DESTROYPRIVATEDATA DI_FUNCTION = 0x0000000C ++ DIF_VALIDATEDRIVER DI_FUNCTION = 0x0000000D ++ DIF_DETECT DI_FUNCTION = 0x0000000F ++ DIF_INSTALLWIZARD DI_FUNCTION = 0x00000010 ++ DIF_DESTROYWIZARDDATA DI_FUNCTION = 0x00000011 ++ DIF_PROPERTYCHANGE DI_FUNCTION = 0x00000012 ++ DIF_ENABLECLASS DI_FUNCTION = 0x00000013 ++ DIF_DETECTVERIFY DI_FUNCTION = 0x00000014 ++ DIF_INSTALLDEVICEFILES DI_FUNCTION = 0x00000015 ++ DIF_UNREMOVE DI_FUNCTION = 0x00000016 ++ DIF_SELECTBESTCOMPATDRV DI_FUNCTION = 0x00000017 ++ DIF_ALLOW_INSTALL DI_FUNCTION = 0x00000018 ++ DIF_REGISTERDEVICE DI_FUNCTION = 0x00000019 ++ DIF_NEWDEVICEWIZARD_PRESELECT DI_FUNCTION = 0x0000001A ++ DIF_NEWDEVICEWIZARD_SELECT DI_FUNCTION = 0x0000001B ++ DIF_NEWDEVICEWIZARD_PREANALYZE DI_FUNCTION = 0x0000001C ++ DIF_NEWDEVICEWIZARD_POSTANALYZE DI_FUNCTION = 0x0000001D ++ DIF_NEWDEVICEWIZARD_FINISHINSTALL DI_FUNCTION = 0x0000001E ++ DIF_INSTALLINTERFACES DI_FUNCTION = 0x00000020 ++ DIF_DETECTCANCEL DI_FUNCTION = 0x00000021 ++ DIF_REGISTER_COINSTALLERS DI_FUNCTION = 0x00000022 ++ DIF_ADDPROPERTYPAGE_ADVANCED DI_FUNCTION = 0x00000023 ++ DIF_ADDPROPERTYPAGE_BASIC DI_FUNCTION = 0x00000024 ++ DIF_TROUBLESHOOTER DI_FUNCTION = 0x00000026 ++ DIF_POWERMESSAGEWAKE DI_FUNCTION = 0x00000027 ++ DIF_ADDREMOTEPROPERTYPAGE_ADVANCED DI_FUNCTION = 0x00000028 ++ DIF_UPDATEDRIVER_UI DI_FUNCTION = 0x00000029 ++ DIF_FINISHINSTALL_ACTION DI_FUNCTION = 0x0000002A ++) ++ ++// DevInstallParams is device installation parameters structure (associated with a particular device information element, or globally with a device information set) ++type DevInstallParams struct { ++ size uint32 ++ Flags DI_FLAGS ++ FlagsEx DI_FLAGSEX ++ hwndParent uintptr ++ InstallMsgHandler uintptr ++ InstallMsgHandlerContext uintptr ++ FileQueue HSPFILEQ ++ _ uintptr ++ _ uint32 ++ driverPath [MAX_PATH]uint16 ++} ++ ++func (params *DevInstallParams) DriverPath() string { ++ return UTF16ToString(params.driverPath[:]) ++} ++ ++func (params *DevInstallParams) SetDriverPath(driverPath string) error { ++ str, err := UTF16FromString(driverPath) ++ if err != nil { ++ return err ++ } ++ copy(params.driverPath[:], str) ++ return nil ++} ++ ++// DI_FLAGS is SP_DEVINSTALL_PARAMS.Flags values ++type DI_FLAGS uint32 ++ ++const ( ++ // Flags for choosing a device ++ DI_SHOWOEM DI_FLAGS = 0x00000001 // support Other... button ++ DI_SHOWCOMPAT DI_FLAGS = 0x00000002 // show compatibility list ++ DI_SHOWCLASS DI_FLAGS = 0x00000004 // show class list ++ DI_SHOWALL DI_FLAGS = 0x00000007 // both class & compat list shown ++ DI_NOVCP DI_FLAGS = 0x00000008 // don't create a new copy queue--use caller-supplied FileQueue ++ DI_DIDCOMPAT DI_FLAGS = 0x00000010 // Searched for compatible devices ++ DI_DIDCLASS DI_FLAGS = 0x00000020 // Searched for class devices ++ DI_AUTOASSIGNRES DI_FLAGS = 0x00000040 // No UI for resources if possible ++ ++ // Flags returned by DiInstallDevice to indicate need to reboot/restart ++ DI_NEEDRESTART DI_FLAGS = 0x00000080 // Reboot required to take effect ++ DI_NEEDREBOOT DI_FLAGS = 0x00000100 // "" ++ ++ // Flags for device installation ++ DI_NOBROWSE DI_FLAGS = 0x00000200 // no Browse... in InsertDisk ++ ++ // Flags set by DiBuildDriverInfoList ++ DI_MULTMFGS DI_FLAGS = 0x00000400 // Set if multiple manufacturers in class driver list ++ ++ // Flag indicates that device is disabled ++ DI_DISABLED DI_FLAGS = 0x00000800 // Set if device disabled ++ ++ // Flags for Device/Class Properties ++ DI_GENERALPAGE_ADDED DI_FLAGS = 0x00001000 ++ DI_RESOURCEPAGE_ADDED DI_FLAGS = 0x00002000 ++ ++ // Flag to indicate the setting properties for this Device (or class) caused a change so the Dev Mgr UI probably needs to be updated. ++ DI_PROPERTIES_CHANGE DI_FLAGS = 0x00004000 ++ ++ // Flag to indicate that the sorting from the INF file should be used. ++ DI_INF_IS_SORTED DI_FLAGS = 0x00008000 ++ ++ // Flag to indicate that only the INF specified by SP_DEVINSTALL_PARAMS.DriverPath should be searched. ++ DI_ENUMSINGLEINF DI_FLAGS = 0x00010000 ++ ++ // Flag that prevents ConfigMgr from removing/re-enumerating devices during device ++ // registration, installation, and deletion. ++ DI_DONOTCALLCONFIGMG DI_FLAGS = 0x00020000 ++ ++ // The following flag can be used to install a device disabled ++ DI_INSTALLDISABLED DI_FLAGS = 0x00040000 ++ ++ // Flag that causes SetupDiBuildDriverInfoList to build a device's compatible driver ++ // list from its existing class driver list, instead of the normal INF search. ++ DI_COMPAT_FROM_CLASS DI_FLAGS = 0x00080000 ++ ++ // This flag is set if the Class Install params should be used. ++ DI_CLASSINSTALLPARAMS DI_FLAGS = 0x00100000 ++ ++ // This flag is set if the caller of DiCallClassInstaller does NOT want the internal default action performed if the Class installer returns ERROR_DI_DO_DEFAULT. ++ DI_NODI_DEFAULTACTION DI_FLAGS = 0x00200000 ++ ++ // Flags for device installation ++ DI_QUIETINSTALL DI_FLAGS = 0x00800000 // don't confuse the user with questions or excess info ++ DI_NOFILECOPY DI_FLAGS = 0x01000000 // No file Copy necessary ++ DI_FORCECOPY DI_FLAGS = 0x02000000 // Force files to be copied from install path ++ DI_DRIVERPAGE_ADDED DI_FLAGS = 0x04000000 // Prop provider added Driver page. ++ DI_USECI_SELECTSTRINGS DI_FLAGS = 0x08000000 // Use Class Installer Provided strings in the Select Device Dlg ++ DI_OVERRIDE_INFFLAGS DI_FLAGS = 0x10000000 // Override INF flags ++ DI_PROPS_NOCHANGEUSAGE DI_FLAGS = 0x20000000 // No Enable/Disable in General Props ++ ++ DI_NOSELECTICONS DI_FLAGS = 0x40000000 // No small icons in select device dialogs ++ ++ DI_NOWRITE_IDS DI_FLAGS = 0x80000000 // Don't write HW & Compat IDs on install ++) ++ ++// DI_FLAGSEX is SP_DEVINSTALL_PARAMS.FlagsEx values ++type DI_FLAGSEX uint32 ++ ++const ( ++ DI_FLAGSEX_CI_FAILED DI_FLAGSEX = 0x00000004 // Failed to Load/Call class installer ++ DI_FLAGSEX_FINISHINSTALL_ACTION DI_FLAGSEX = 0x00000008 // Class/co-installer wants to get a DIF_FINISH_INSTALL action in client context. ++ DI_FLAGSEX_DIDINFOLIST DI_FLAGSEX = 0x00000010 // Did the Class Info List ++ DI_FLAGSEX_DIDCOMPATINFO DI_FLAGSEX = 0x00000020 // Did the Compat Info List ++ DI_FLAGSEX_FILTERCLASSES DI_FLAGSEX = 0x00000040 ++ DI_FLAGSEX_SETFAILEDINSTALL DI_FLAGSEX = 0x00000080 ++ DI_FLAGSEX_DEVICECHANGE DI_FLAGSEX = 0x00000100 ++ DI_FLAGSEX_ALWAYSWRITEIDS DI_FLAGSEX = 0x00000200 ++ DI_FLAGSEX_PROPCHANGE_PENDING DI_FLAGSEX = 0x00000400 // One or more device property sheets have had changes made to them, and need to have a DIF_PROPERTYCHANGE occur. ++ DI_FLAGSEX_ALLOWEXCLUDEDDRVS DI_FLAGSEX = 0x00000800 ++ DI_FLAGSEX_NOUIONQUERYREMOVE DI_FLAGSEX = 0x00001000 ++ DI_FLAGSEX_USECLASSFORCOMPAT DI_FLAGSEX = 0x00002000 // Use the device's class when building compat drv list. (Ignored if DI_COMPAT_FROM_CLASS flag is specified.) ++ DI_FLAGSEX_NO_DRVREG_MODIFY DI_FLAGSEX = 0x00008000 // Don't run AddReg and DelReg for device's software (driver) key. ++ DI_FLAGSEX_IN_SYSTEM_SETUP DI_FLAGSEX = 0x00010000 // Installation is occurring during initial system setup. ++ DI_FLAGSEX_INET_DRIVER DI_FLAGSEX = 0x00020000 // Driver came from Windows Update ++ DI_FLAGSEX_APPENDDRIVERLIST DI_FLAGSEX = 0x00040000 // Cause SetupDiBuildDriverInfoList to append a new driver list to an existing list. ++ DI_FLAGSEX_PREINSTALLBACKUP DI_FLAGSEX = 0x00080000 // not used ++ DI_FLAGSEX_BACKUPONREPLACE DI_FLAGSEX = 0x00100000 // not used ++ DI_FLAGSEX_DRIVERLIST_FROM_URL DI_FLAGSEX = 0x00200000 // build driver list from INF(s) retrieved from URL specified in SP_DEVINSTALL_PARAMS.DriverPath (empty string means Windows Update website) ++ DI_FLAGSEX_EXCLUDE_OLD_INET_DRIVERS DI_FLAGSEX = 0x00800000 // Don't include old Internet drivers when building a driver list. Ignored on Windows Vista and later. ++ DI_FLAGSEX_POWERPAGE_ADDED DI_FLAGSEX = 0x01000000 // class installer added their own power page ++ DI_FLAGSEX_FILTERSIMILARDRIVERS DI_FLAGSEX = 0x02000000 // only include similar drivers in class list ++ DI_FLAGSEX_INSTALLEDDRIVER DI_FLAGSEX = 0x04000000 // only add the installed driver to the class or compat driver list. Used in calls to SetupDiBuildDriverInfoList ++ DI_FLAGSEX_NO_CLASSLIST_NODE_MERGE DI_FLAGSEX = 0x08000000 // Don't remove identical driver nodes from the class list ++ DI_FLAGSEX_ALTPLATFORM_DRVSEARCH DI_FLAGSEX = 0x10000000 // Build driver list based on alternate platform information specified in associated file queue ++ DI_FLAGSEX_RESTART_DEVICE_ONLY DI_FLAGSEX = 0x20000000 // only restart the device drivers are being installed on as opposed to restarting all devices using those drivers. ++ DI_FLAGSEX_RECURSIVESEARCH DI_FLAGSEX = 0x40000000 // Tell SetupDiBuildDriverInfoList to do a recursive search ++ DI_FLAGSEX_SEARCH_PUBLISHED_INFS DI_FLAGSEX = 0x80000000 // Tell SetupDiBuildDriverInfoList to do a "published INF" search ++) ++ ++// ClassInstallHeader is the first member of any class install parameters structure. It contains the device installation request code that defines the format of the rest of the install parameters structure. ++type ClassInstallHeader struct { ++ size uint32 ++ InstallFunction DI_FUNCTION ++} ++ ++func MakeClassInstallHeader(installFunction DI_FUNCTION) *ClassInstallHeader { ++ hdr := &ClassInstallHeader{InstallFunction: installFunction} ++ hdr.size = uint32(unsafe.Sizeof(*hdr)) ++ return hdr ++} ++ ++// DICS_STATE specifies values indicating a change in a device's state ++type DICS_STATE uint32 ++ ++const ( ++ DICS_ENABLE DICS_STATE = 0x00000001 // The device is being enabled. ++ DICS_DISABLE DICS_STATE = 0x00000002 // The device is being disabled. ++ DICS_PROPCHANGE DICS_STATE = 0x00000003 // The properties of the device have changed. ++ DICS_START DICS_STATE = 0x00000004 // The device is being started (if the request is for the currently active hardware profile). ++ DICS_STOP DICS_STATE = 0x00000005 // The device is being stopped. The driver stack will be unloaded and the CSCONFIGFLAG_DO_NOT_START flag will be set for the device. ++) ++ ++// DICS_FLAG specifies the scope of a device property change ++type DICS_FLAG uint32 ++ ++const ( ++ DICS_FLAG_GLOBAL DICS_FLAG = 0x00000001 // make change in all hardware profiles ++ DICS_FLAG_CONFIGSPECIFIC DICS_FLAG = 0x00000002 // make change in specified profile only ++ DICS_FLAG_CONFIGGENERAL DICS_FLAG = 0x00000004 // 1 or more hardware profile-specific changes to follow (obsolete) ++) ++ ++// PropChangeParams is a structure corresponding to a DIF_PROPERTYCHANGE install function. ++type PropChangeParams struct { ++ ClassInstallHeader ClassInstallHeader ++ StateChange DICS_STATE ++ Scope DICS_FLAG ++ HwProfile uint32 ++} ++ ++// DI_REMOVEDEVICE specifies the scope of the device removal ++type DI_REMOVEDEVICE uint32 ++ ++const ( ++ DI_REMOVEDEVICE_GLOBAL DI_REMOVEDEVICE = 0x00000001 // Make this change in all hardware profiles. Remove information about the device from the registry. ++ DI_REMOVEDEVICE_CONFIGSPECIFIC DI_REMOVEDEVICE = 0x00000002 // Make this change to only the hardware profile specified by HwProfile. this flag only applies to root-enumerated devices. When Windows removes the device from the last hardware profile in which it was configured, Windows performs a global removal. ++) ++ ++// RemoveDeviceParams is a structure corresponding to a DIF_REMOVE install function. ++type RemoveDeviceParams struct { ++ ClassInstallHeader ClassInstallHeader ++ Scope DI_REMOVEDEVICE ++ HwProfile uint32 ++} ++ ++// DrvInfoData is driver information structure (member of a driver info list that may be associated with a particular device instance, or (globally) with a device information set) ++type DrvInfoData struct { ++ size uint32 ++ DriverType uint32 ++ _ uintptr ++ description [LINE_LEN]uint16 ++ mfgName [LINE_LEN]uint16 ++ providerName [LINE_LEN]uint16 ++ DriverDate Filetime ++ DriverVersion uint64 ++} ++ ++func (data *DrvInfoData) Description() string { ++ return UTF16ToString(data.description[:]) ++} ++ ++func (data *DrvInfoData) SetDescription(description string) error { ++ str, err := UTF16FromString(description) ++ if err != nil { ++ return err ++ } ++ copy(data.description[:], str) ++ return nil ++} ++ ++func (data *DrvInfoData) MfgName() string { ++ return UTF16ToString(data.mfgName[:]) ++} ++ ++func (data *DrvInfoData) SetMfgName(mfgName string) error { ++ str, err := UTF16FromString(mfgName) ++ if err != nil { ++ return err ++ } ++ copy(data.mfgName[:], str) ++ return nil ++} ++ ++func (data *DrvInfoData) ProviderName() string { ++ return UTF16ToString(data.providerName[:]) ++} ++ ++func (data *DrvInfoData) SetProviderName(providerName string) error { ++ str, err := UTF16FromString(providerName) ++ if err != nil { ++ return err ++ } ++ copy(data.providerName[:], str) ++ return nil ++} ++ ++// IsNewer method returns true if DrvInfoData date and version is newer than supplied parameters. ++func (data *DrvInfoData) IsNewer(driverDate Filetime, driverVersion uint64) bool { ++ if data.DriverDate.HighDateTime > driverDate.HighDateTime { ++ return true ++ } ++ if data.DriverDate.HighDateTime < driverDate.HighDateTime { ++ return false ++ } ++ ++ if data.DriverDate.LowDateTime > driverDate.LowDateTime { ++ return true ++ } ++ if data.DriverDate.LowDateTime < driverDate.LowDateTime { ++ return false ++ } ++ ++ if data.DriverVersion > driverVersion { ++ return true ++ } ++ if data.DriverVersion < driverVersion { ++ return false ++ } ++ ++ return false ++} ++ ++// DrvInfoDetailData is driver information details structure (provides detailed information about a particular driver information structure) ++type DrvInfoDetailData struct { ++ size uint32 // Use unsafeSizeOf method ++ InfDate Filetime ++ compatIDsOffset uint32 ++ compatIDsLength uint32 ++ _ uintptr ++ sectionName [LINE_LEN]uint16 ++ infFileName [MAX_PATH]uint16 ++ drvDescription [LINE_LEN]uint16 ++ hardwareID [1]uint16 ++} ++ ++func (*DrvInfoDetailData) unsafeSizeOf() uint32 { ++ if unsafe.Sizeof(uintptr(0)) == 4 { ++ // Windows declares this with pshpack1.h ++ return uint32(unsafe.Offsetof(DrvInfoDetailData{}.hardwareID) + unsafe.Sizeof(DrvInfoDetailData{}.hardwareID)) ++ } ++ return uint32(unsafe.Sizeof(DrvInfoDetailData{})) ++} ++ ++func (data *DrvInfoDetailData) SectionName() string { ++ return UTF16ToString(data.sectionName[:]) ++} ++ ++func (data *DrvInfoDetailData) InfFileName() string { ++ return UTF16ToString(data.infFileName[:]) ++} ++ ++func (data *DrvInfoDetailData) DrvDescription() string { ++ return UTF16ToString(data.drvDescription[:]) ++} ++ ++func (data *DrvInfoDetailData) HardwareID() string { ++ if data.compatIDsOffset > 1 { ++ bufW := data.getBuf() ++ return UTF16ToString(bufW[:wcslen(bufW)]) ++ } ++ ++ return "" ++} ++ ++func (data *DrvInfoDetailData) CompatIDs() []string { ++ a := make([]string, 0) ++ ++ if data.compatIDsLength > 0 { ++ bufW := data.getBuf() ++ bufW = bufW[data.compatIDsOffset : data.compatIDsOffset+data.compatIDsLength] ++ for i := 0; i < len(bufW); { ++ j := i + wcslen(bufW[i:]) ++ if i < j { ++ a = append(a, UTF16ToString(bufW[i:j])) ++ } ++ i = j + 1 ++ } ++ } ++ ++ return a ++} ++ ++func (data *DrvInfoDetailData) getBuf() []uint16 { ++ len := (data.size - uint32(unsafe.Offsetof(data.hardwareID))) / 2 ++ sl := struct { ++ addr *uint16 ++ len int ++ cap int ++ }{&data.hardwareID[0], int(len), int(len)} ++ return *(*[]uint16)(unsafe.Pointer(&sl)) ++} ++ ++// IsCompatible method tests if given hardware ID matches the driver or is listed on the compatible ID list. ++func (data *DrvInfoDetailData) IsCompatible(hwid string) bool { ++ hwidLC := strings.ToLower(hwid) ++ if strings.ToLower(data.HardwareID()) == hwidLC { ++ return true ++ } ++ a := data.CompatIDs() ++ for i := range a { ++ if strings.ToLower(a[i]) == hwidLC { ++ return true ++ } ++ } ++ ++ return false ++} ++ ++// DICD flags control SetupDiCreateDeviceInfo ++type DICD uint32 ++ ++const ( ++ DICD_GENERATE_ID DICD = 0x00000001 ++ DICD_INHERIT_CLASSDRVS DICD = 0x00000002 ++) ++ ++// SUOI flags control SetupUninstallOEMInf ++type SUOI uint32 ++ ++const ( ++ SUOI_FORCEDELETE SUOI = 0x0001 ++) ++ ++// SPDIT flags to distinguish between class drivers and ++// device drivers. (Passed in 'DriverType' parameter of ++// driver information list APIs) ++type SPDIT uint32 ++ ++const ( ++ SPDIT_NODRIVER SPDIT = 0x00000000 ++ SPDIT_CLASSDRIVER SPDIT = 0x00000001 ++ SPDIT_COMPATDRIVER SPDIT = 0x00000002 ++) ++ ++// DIGCF flags control what is included in the device information set built by SetupDiGetClassDevs ++type DIGCF uint32 ++ ++const ( ++ DIGCF_DEFAULT DIGCF = 0x00000001 // only valid with DIGCF_DEVICEINTERFACE ++ DIGCF_PRESENT DIGCF = 0x00000002 ++ DIGCF_ALLCLASSES DIGCF = 0x00000004 ++ DIGCF_PROFILE DIGCF = 0x00000008 ++ DIGCF_DEVICEINTERFACE DIGCF = 0x00000010 ++) ++ ++// DIREG specifies values for SetupDiCreateDevRegKey, SetupDiOpenDevRegKey, and SetupDiDeleteDevRegKey. ++type DIREG uint32 ++ ++const ( ++ DIREG_DEV DIREG = 0x00000001 // Open/Create/Delete device key ++ DIREG_DRV DIREG = 0x00000002 // Open/Create/Delete driver key ++ DIREG_BOTH DIREG = 0x00000004 // Delete both driver and Device key ++) ++ ++// SPDRP specifies device registry property codes ++// (Codes marked as read-only (R) may only be used for ++// SetupDiGetDeviceRegistryProperty) ++// ++// These values should cover the same set of registry properties ++// as defined by the CM_DRP codes in cfgmgr32.h. ++// ++// Note that SPDRP codes are zero based while CM_DRP codes are one based! ++type SPDRP uint32 ++ ++const ( ++ SPDRP_DEVICEDESC SPDRP = 0x00000000 // DeviceDesc (R/W) ++ SPDRP_HARDWAREID SPDRP = 0x00000001 // HardwareID (R/W) ++ SPDRP_COMPATIBLEIDS SPDRP = 0x00000002 // CompatibleIDs (R/W) ++ SPDRP_SERVICE SPDRP = 0x00000004 // Service (R/W) ++ SPDRP_CLASS SPDRP = 0x00000007 // Class (R--tied to ClassGUID) ++ SPDRP_CLASSGUID SPDRP = 0x00000008 // ClassGUID (R/W) ++ SPDRP_DRIVER SPDRP = 0x00000009 // Driver (R/W) ++ SPDRP_CONFIGFLAGS SPDRP = 0x0000000A // ConfigFlags (R/W) ++ SPDRP_MFG SPDRP = 0x0000000B // Mfg (R/W) ++ SPDRP_FRIENDLYNAME SPDRP = 0x0000000C // FriendlyName (R/W) ++ SPDRP_LOCATION_INFORMATION SPDRP = 0x0000000D // LocationInformation (R/W) ++ SPDRP_PHYSICAL_DEVICE_OBJECT_NAME SPDRP = 0x0000000E // PhysicalDeviceObjectName (R) ++ SPDRP_CAPABILITIES SPDRP = 0x0000000F // Capabilities (R) ++ SPDRP_UI_NUMBER SPDRP = 0x00000010 // UiNumber (R) ++ SPDRP_UPPERFILTERS SPDRP = 0x00000011 // UpperFilters (R/W) ++ SPDRP_LOWERFILTERS SPDRP = 0x00000012 // LowerFilters (R/W) ++ SPDRP_BUSTYPEGUID SPDRP = 0x00000013 // BusTypeGUID (R) ++ SPDRP_LEGACYBUSTYPE SPDRP = 0x00000014 // LegacyBusType (R) ++ SPDRP_BUSNUMBER SPDRP = 0x00000015 // BusNumber (R) ++ SPDRP_ENUMERATOR_NAME SPDRP = 0x00000016 // Enumerator Name (R) ++ SPDRP_SECURITY SPDRP = 0x00000017 // Security (R/W, binary form) ++ SPDRP_SECURITY_SDS SPDRP = 0x00000018 // Security (W, SDS form) ++ SPDRP_DEVTYPE SPDRP = 0x00000019 // Device Type (R/W) ++ SPDRP_EXCLUSIVE SPDRP = 0x0000001A // Device is exclusive-access (R/W) ++ SPDRP_CHARACTERISTICS SPDRP = 0x0000001B // Device Characteristics (R/W) ++ SPDRP_ADDRESS SPDRP = 0x0000001C // Device Address (R) ++ SPDRP_UI_NUMBER_DESC_FORMAT SPDRP = 0x0000001D // UiNumberDescFormat (R/W) ++ SPDRP_DEVICE_POWER_DATA SPDRP = 0x0000001E // Device Power Data (R) ++ SPDRP_REMOVAL_POLICY SPDRP = 0x0000001F // Removal Policy (R) ++ SPDRP_REMOVAL_POLICY_HW_DEFAULT SPDRP = 0x00000020 // Hardware Removal Policy (R) ++ SPDRP_REMOVAL_POLICY_OVERRIDE SPDRP = 0x00000021 // Removal Policy Override (RW) ++ SPDRP_INSTALL_STATE SPDRP = 0x00000022 // Device Install State (R) ++ SPDRP_LOCATION_PATHS SPDRP = 0x00000023 // Device Location Paths (R) ++ SPDRP_BASE_CONTAINERID SPDRP = 0x00000024 // Base ContainerID (R) ++ ++ SPDRP_MAXIMUM_PROPERTY SPDRP = 0x00000025 // Upper bound on ordinals ++) ++ ++// DEVPROPTYPE represents the property-data-type identifier that specifies the ++// data type of a device property value in the unified device property model. ++type DEVPROPTYPE uint32 ++ ++const ( ++ DEVPROP_TYPEMOD_ARRAY DEVPROPTYPE = 0x00001000 ++ DEVPROP_TYPEMOD_LIST DEVPROPTYPE = 0x00002000 ++ ++ DEVPROP_TYPE_EMPTY DEVPROPTYPE = 0x00000000 ++ DEVPROP_TYPE_NULL DEVPROPTYPE = 0x00000001 ++ DEVPROP_TYPE_SBYTE DEVPROPTYPE = 0x00000002 ++ DEVPROP_TYPE_BYTE DEVPROPTYPE = 0x00000003 ++ DEVPROP_TYPE_INT16 DEVPROPTYPE = 0x00000004 ++ DEVPROP_TYPE_UINT16 DEVPROPTYPE = 0x00000005 ++ DEVPROP_TYPE_INT32 DEVPROPTYPE = 0x00000006 ++ DEVPROP_TYPE_UINT32 DEVPROPTYPE = 0x00000007 ++ DEVPROP_TYPE_INT64 DEVPROPTYPE = 0x00000008 ++ DEVPROP_TYPE_UINT64 DEVPROPTYPE = 0x00000009 ++ DEVPROP_TYPE_FLOAT DEVPROPTYPE = 0x0000000A ++ DEVPROP_TYPE_DOUBLE DEVPROPTYPE = 0x0000000B ++ DEVPROP_TYPE_DECIMAL DEVPROPTYPE = 0x0000000C ++ DEVPROP_TYPE_GUID DEVPROPTYPE = 0x0000000D ++ DEVPROP_TYPE_CURRENCY DEVPROPTYPE = 0x0000000E ++ DEVPROP_TYPE_DATE DEVPROPTYPE = 0x0000000F ++ DEVPROP_TYPE_FILETIME DEVPROPTYPE = 0x00000010 ++ DEVPROP_TYPE_BOOLEAN DEVPROPTYPE = 0x00000011 ++ DEVPROP_TYPE_STRING DEVPROPTYPE = 0x00000012 ++ DEVPROP_TYPE_STRING_LIST DEVPROPTYPE = DEVPROP_TYPE_STRING | DEVPROP_TYPEMOD_LIST ++ DEVPROP_TYPE_SECURITY_DESCRIPTOR DEVPROPTYPE = 0x00000013 ++ DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING DEVPROPTYPE = 0x00000014 ++ DEVPROP_TYPE_DEVPROPKEY DEVPROPTYPE = 0x00000015 ++ DEVPROP_TYPE_DEVPROPTYPE DEVPROPTYPE = 0x00000016 ++ DEVPROP_TYPE_BINARY DEVPROPTYPE = DEVPROP_TYPE_BYTE | DEVPROP_TYPEMOD_ARRAY ++ DEVPROP_TYPE_ERROR DEVPROPTYPE = 0x00000017 ++ DEVPROP_TYPE_NTSTATUS DEVPROPTYPE = 0x00000018 ++ DEVPROP_TYPE_STRING_INDIRECT DEVPROPTYPE = 0x00000019 ++ ++ MAX_DEVPROP_TYPE DEVPROPTYPE = 0x00000019 ++ MAX_DEVPROP_TYPEMOD DEVPROPTYPE = 0x00002000 ++ ++ DEVPROP_MASK_TYPE DEVPROPTYPE = 0x00000FFF ++ DEVPROP_MASK_TYPEMOD DEVPROPTYPE = 0x0000F000 ++) ++ ++// DEVPROPGUID specifies a property category. ++type DEVPROPGUID GUID ++ ++// DEVPROPID uniquely identifies the property within the property category. ++type DEVPROPID uint32 ++ ++const DEVPROPID_FIRST_USABLE DEVPROPID = 2 ++ ++// DEVPROPKEY represents a device property key for a device property in the ++// unified device property model. ++type DEVPROPKEY struct { ++ FmtID DEVPROPGUID ++ PID DEVPROPID ++} ++ ++// CONFIGRET is a return value or error code from cfgmgr32 APIs ++type CONFIGRET uint32 ++ ++func (ret CONFIGRET) Error() string { ++ if win32Error, ok := ret.Unwrap().(Errno); ok { ++ return fmt.Sprintf("%s (CfgMgr error: 0x%08x)", win32Error.Error(), uint32(ret)) ++ } ++ return fmt.Sprintf("CfgMgr error: 0x%08x", uint32(ret)) ++} ++ ++func (ret CONFIGRET) Win32Error(defaultError Errno) Errno { ++ return cm_MapCrToWin32Err(ret, defaultError) ++} ++ ++func (ret CONFIGRET) Unwrap() error { ++ const noMatch = Errno(^uintptr(0)) ++ win32Error := ret.Win32Error(noMatch) ++ if win32Error == noMatch { ++ return nil ++ } ++ return win32Error ++} ++ ++const ( ++ CR_SUCCESS CONFIGRET = 0x00000000 ++ CR_DEFAULT CONFIGRET = 0x00000001 ++ CR_OUT_OF_MEMORY CONFIGRET = 0x00000002 ++ CR_INVALID_POINTER CONFIGRET = 0x00000003 ++ CR_INVALID_FLAG CONFIGRET = 0x00000004 ++ CR_INVALID_DEVNODE CONFIGRET = 0x00000005 ++ CR_INVALID_DEVINST = CR_INVALID_DEVNODE ++ CR_INVALID_RES_DES CONFIGRET = 0x00000006 ++ CR_INVALID_LOG_CONF CONFIGRET = 0x00000007 ++ CR_INVALID_ARBITRATOR CONFIGRET = 0x00000008 ++ CR_INVALID_NODELIST CONFIGRET = 0x00000009 ++ CR_DEVNODE_HAS_REQS CONFIGRET = 0x0000000A ++ CR_DEVINST_HAS_REQS = CR_DEVNODE_HAS_REQS ++ CR_INVALID_RESOURCEID CONFIGRET = 0x0000000B ++ CR_DLVXD_NOT_FOUND CONFIGRET = 0x0000000C ++ CR_NO_SUCH_DEVNODE CONFIGRET = 0x0000000D ++ CR_NO_SUCH_DEVINST = CR_NO_SUCH_DEVNODE ++ CR_NO_MORE_LOG_CONF CONFIGRET = 0x0000000E ++ CR_NO_MORE_RES_DES CONFIGRET = 0x0000000F ++ CR_ALREADY_SUCH_DEVNODE CONFIGRET = 0x00000010 ++ CR_ALREADY_SUCH_DEVINST = CR_ALREADY_SUCH_DEVNODE ++ CR_INVALID_RANGE_LIST CONFIGRET = 0x00000011 ++ CR_INVALID_RANGE CONFIGRET = 0x00000012 ++ CR_FAILURE CONFIGRET = 0x00000013 ++ CR_NO_SUCH_LOGICAL_DEV CONFIGRET = 0x00000014 ++ CR_CREATE_BLOCKED CONFIGRET = 0x00000015 ++ CR_NOT_SYSTEM_VM CONFIGRET = 0x00000016 ++ CR_REMOVE_VETOED CONFIGRET = 0x00000017 ++ CR_APM_VETOED CONFIGRET = 0x00000018 ++ CR_INVALID_LOAD_TYPE CONFIGRET = 0x00000019 ++ CR_BUFFER_SMALL CONFIGRET = 0x0000001A ++ CR_NO_ARBITRATOR CONFIGRET = 0x0000001B ++ CR_NO_REGISTRY_HANDLE CONFIGRET = 0x0000001C ++ CR_REGISTRY_ERROR CONFIGRET = 0x0000001D ++ CR_INVALID_DEVICE_ID CONFIGRET = 0x0000001E ++ CR_INVALID_DATA CONFIGRET = 0x0000001F ++ CR_INVALID_API CONFIGRET = 0x00000020 ++ CR_DEVLOADER_NOT_READY CONFIGRET = 0x00000021 ++ CR_NEED_RESTART CONFIGRET = 0x00000022 ++ CR_NO_MORE_HW_PROFILES CONFIGRET = 0x00000023 ++ CR_DEVICE_NOT_THERE CONFIGRET = 0x00000024 ++ CR_NO_SUCH_VALUE CONFIGRET = 0x00000025 ++ CR_WRONG_TYPE CONFIGRET = 0x00000026 ++ CR_INVALID_PRIORITY CONFIGRET = 0x00000027 ++ CR_NOT_DISABLEABLE CONFIGRET = 0x00000028 ++ CR_FREE_RESOURCES CONFIGRET = 0x00000029 ++ CR_QUERY_VETOED CONFIGRET = 0x0000002A ++ CR_CANT_SHARE_IRQ CONFIGRET = 0x0000002B ++ CR_NO_DEPENDENT CONFIGRET = 0x0000002C ++ CR_SAME_RESOURCES CONFIGRET = 0x0000002D ++ CR_NO_SUCH_REGISTRY_KEY CONFIGRET = 0x0000002E ++ CR_INVALID_MACHINENAME CONFIGRET = 0x0000002F ++ CR_REMOTE_COMM_FAILURE CONFIGRET = 0x00000030 ++ CR_MACHINE_UNAVAILABLE CONFIGRET = 0x00000031 ++ CR_NO_CM_SERVICES CONFIGRET = 0x00000032 ++ CR_ACCESS_DENIED CONFIGRET = 0x00000033 ++ CR_CALL_NOT_IMPLEMENTED CONFIGRET = 0x00000034 ++ CR_INVALID_PROPERTY CONFIGRET = 0x00000035 ++ CR_DEVICE_INTERFACE_ACTIVE CONFIGRET = 0x00000036 ++ CR_NO_SUCH_DEVICE_INTERFACE CONFIGRET = 0x00000037 ++ CR_INVALID_REFERENCE_STRING CONFIGRET = 0x00000038 ++ CR_INVALID_CONFLICT_LIST CONFIGRET = 0x00000039 ++ CR_INVALID_INDEX CONFIGRET = 0x0000003A ++ CR_INVALID_STRUCTURE_SIZE CONFIGRET = 0x0000003B ++ NUM_CR_RESULTS CONFIGRET = 0x0000003C ++) ++ ++const ( ++ CM_GET_DEVICE_INTERFACE_LIST_PRESENT = 0 // only currently 'live' device interfaces ++ CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES = 1 // all registered device interfaces, live or not ++) ++ ++const ( ++ DN_ROOT_ENUMERATED = 0x00000001 // Was enumerated by ROOT ++ DN_DRIVER_LOADED = 0x00000002 // Has Register_Device_Driver ++ DN_ENUM_LOADED = 0x00000004 // Has Register_Enumerator ++ DN_STARTED = 0x00000008 // Is currently configured ++ DN_MANUAL = 0x00000010 // Manually installed ++ DN_NEED_TO_ENUM = 0x00000020 // May need reenumeration ++ DN_NOT_FIRST_TIME = 0x00000040 // Has received a config ++ DN_HARDWARE_ENUM = 0x00000080 // Enum generates hardware ID ++ DN_LIAR = 0x00000100 // Lied about can reconfig once ++ DN_HAS_MARK = 0x00000200 // Not CM_Create_DevInst lately ++ DN_HAS_PROBLEM = 0x00000400 // Need device installer ++ DN_FILTERED = 0x00000800 // Is filtered ++ DN_MOVED = 0x00001000 // Has been moved ++ DN_DISABLEABLE = 0x00002000 // Can be disabled ++ DN_REMOVABLE = 0x00004000 // Can be removed ++ DN_PRIVATE_PROBLEM = 0x00008000 // Has a private problem ++ DN_MF_PARENT = 0x00010000 // Multi function parent ++ DN_MF_CHILD = 0x00020000 // Multi function child ++ DN_WILL_BE_REMOVED = 0x00040000 // DevInst is being removed ++ DN_NOT_FIRST_TIMEE = 0x00080000 // Has received a config enumerate ++ DN_STOP_FREE_RES = 0x00100000 // When child is stopped, free resources ++ DN_REBAL_CANDIDATE = 0x00200000 // Don't skip during rebalance ++ DN_BAD_PARTIAL = 0x00400000 // This devnode's log_confs do not have same resources ++ DN_NT_ENUMERATOR = 0x00800000 // This devnode's is an NT enumerator ++ DN_NT_DRIVER = 0x01000000 // This devnode's is an NT driver ++ DN_NEEDS_LOCKING = 0x02000000 // Devnode need lock resume processing ++ DN_ARM_WAKEUP = 0x04000000 // Devnode can be the wakeup device ++ DN_APM_ENUMERATOR = 0x08000000 // APM aware enumerator ++ DN_APM_DRIVER = 0x10000000 // APM aware driver ++ DN_SILENT_INSTALL = 0x20000000 // Silent install ++ DN_NO_SHOW_IN_DM = 0x40000000 // No show in device manager ++ DN_BOOT_LOG_PROB = 0x80000000 // Had a problem during preassignment of boot log conf ++ DN_NEED_RESTART = DN_LIAR // System needs to be restarted for this Devnode to work properly ++ DN_DRIVER_BLOCKED = DN_NOT_FIRST_TIME // One or more drivers are blocked from loading for this Devnode ++ DN_LEGACY_DRIVER = DN_MOVED // This device is using a legacy driver ++ DN_CHILD_WITH_INVALID_ID = DN_HAS_MARK // One or more children have invalid IDs ++ DN_DEVICE_DISCONNECTED = DN_NEEDS_LOCKING // The function driver for a device reported that the device is not connected. Typically this means a wireless device is out of range. ++ DN_QUERY_REMOVE_PENDING = DN_MF_PARENT // Device is part of a set of related devices collectively pending query-removal ++ DN_QUERY_REMOVE_ACTIVE = DN_MF_CHILD // Device is actively engaged in a query-remove IRP ++ DN_CHANGEABLE_FLAGS = DN_NOT_FIRST_TIME | DN_HARDWARE_ENUM | DN_HAS_MARK | DN_DISABLEABLE | DN_REMOVABLE | DN_MF_CHILD | DN_MF_PARENT | DN_NOT_FIRST_TIMEE | DN_STOP_FREE_RES | DN_REBAL_CANDIDATE | DN_NT_ENUMERATOR | DN_NT_DRIVER | DN_SILENT_INSTALL | DN_NO_SHOW_IN_DM ++) ++ ++//sys setupDiCreateDeviceInfoListEx(classGUID *GUID, hwndParent uintptr, machineName *uint16, reserved uintptr) (handle DevInfo, err error) [failretval==DevInfo(InvalidHandle)] = setupapi.SetupDiCreateDeviceInfoListExW ++ ++// SetupDiCreateDeviceInfoListEx function creates an empty device information set on a remote or a local computer and optionally associates the set with a device setup class. ++func SetupDiCreateDeviceInfoListEx(classGUID *GUID, hwndParent uintptr, machineName string) (deviceInfoSet DevInfo, err error) { ++ var machineNameUTF16 *uint16 ++ if machineName != "" { ++ machineNameUTF16, err = UTF16PtrFromString(machineName) ++ if err != nil { ++ return ++ } ++ } ++ return setupDiCreateDeviceInfoListEx(classGUID, hwndParent, machineNameUTF16, 0) ++} ++ ++//sys setupDiGetDeviceInfoListDetail(deviceInfoSet DevInfo, deviceInfoSetDetailData *DevInfoListDetailData) (err error) = setupapi.SetupDiGetDeviceInfoListDetailW ++ ++// SetupDiGetDeviceInfoListDetail function retrieves information associated with a device information set including the class GUID, remote computer handle, and remote computer name. ++func SetupDiGetDeviceInfoListDetail(deviceInfoSet DevInfo) (deviceInfoSetDetailData *DevInfoListDetailData, err error) { ++ data := &DevInfoListDetailData{} ++ data.size = data.unsafeSizeOf() ++ ++ return data, setupDiGetDeviceInfoListDetail(deviceInfoSet, data) ++} ++ ++// DeviceInfoListDetail method retrieves information associated with a device information set including the class GUID, remote computer handle, and remote computer name. ++func (deviceInfoSet DevInfo) DeviceInfoListDetail() (*DevInfoListDetailData, error) { ++ return SetupDiGetDeviceInfoListDetail(deviceInfoSet) ++} ++ ++//sys setupDiCreateDeviceInfo(deviceInfoSet DevInfo, DeviceName *uint16, classGUID *GUID, DeviceDescription *uint16, hwndParent uintptr, CreationFlags DICD, deviceInfoData *DevInfoData) (err error) = setupapi.SetupDiCreateDeviceInfoW ++ ++// SetupDiCreateDeviceInfo function creates a new device information element and adds it as a new member to the specified device information set. ++func SetupDiCreateDeviceInfo(deviceInfoSet DevInfo, deviceName string, classGUID *GUID, deviceDescription string, hwndParent uintptr, creationFlags DICD) (deviceInfoData *DevInfoData, err error) { ++ deviceNameUTF16, err := UTF16PtrFromString(deviceName) ++ if err != nil { ++ return ++ } ++ ++ var deviceDescriptionUTF16 *uint16 ++ if deviceDescription != "" { ++ deviceDescriptionUTF16, err = UTF16PtrFromString(deviceDescription) ++ if err != nil { ++ return ++ } ++ } ++ ++ data := &DevInfoData{} ++ data.size = uint32(unsafe.Sizeof(*data)) ++ ++ return data, setupDiCreateDeviceInfo(deviceInfoSet, deviceNameUTF16, classGUID, deviceDescriptionUTF16, hwndParent, creationFlags, data) ++} ++ ++// CreateDeviceInfo method creates a new device information element and adds it as a new member to the specified device information set. ++func (deviceInfoSet DevInfo) CreateDeviceInfo(deviceName string, classGUID *GUID, deviceDescription string, hwndParent uintptr, creationFlags DICD) (*DevInfoData, error) { ++ return SetupDiCreateDeviceInfo(deviceInfoSet, deviceName, classGUID, deviceDescription, hwndParent, creationFlags) ++} ++ ++//sys setupDiEnumDeviceInfo(deviceInfoSet DevInfo, memberIndex uint32, deviceInfoData *DevInfoData) (err error) = setupapi.SetupDiEnumDeviceInfo ++ ++// SetupDiEnumDeviceInfo function returns a DevInfoData structure that specifies a device information element in a device information set. ++func SetupDiEnumDeviceInfo(deviceInfoSet DevInfo, memberIndex int) (*DevInfoData, error) { ++ data := &DevInfoData{} ++ data.size = uint32(unsafe.Sizeof(*data)) ++ ++ return data, setupDiEnumDeviceInfo(deviceInfoSet, uint32(memberIndex), data) ++} ++ ++// EnumDeviceInfo method returns a DevInfoData structure that specifies a device information element in a device information set. ++func (deviceInfoSet DevInfo) EnumDeviceInfo(memberIndex int) (*DevInfoData, error) { ++ return SetupDiEnumDeviceInfo(deviceInfoSet, memberIndex) ++} ++ ++// SetupDiDestroyDeviceInfoList function deletes a device information set and frees all associated memory. ++//sys SetupDiDestroyDeviceInfoList(deviceInfoSet DevInfo) (err error) = setupapi.SetupDiDestroyDeviceInfoList ++ ++// Close method deletes a device information set and frees all associated memory. ++func (deviceInfoSet DevInfo) Close() error { ++ return SetupDiDestroyDeviceInfoList(deviceInfoSet) ++} ++ ++//sys SetupDiBuildDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT) (err error) = setupapi.SetupDiBuildDriverInfoList ++ ++// BuildDriverInfoList method builds a list of drivers that is associated with a specific device or with the global class driver list for a device information set. ++func (deviceInfoSet DevInfo) BuildDriverInfoList(deviceInfoData *DevInfoData, driverType SPDIT) error { ++ return SetupDiBuildDriverInfoList(deviceInfoSet, deviceInfoData, driverType) ++} ++ ++//sys SetupDiCancelDriverInfoSearch(deviceInfoSet DevInfo) (err error) = setupapi.SetupDiCancelDriverInfoSearch ++ ++// CancelDriverInfoSearch method cancels a driver list search that is currently in progress in a different thread. ++func (deviceInfoSet DevInfo) CancelDriverInfoSearch() error { ++ return SetupDiCancelDriverInfoSearch(deviceInfoSet) ++} ++ ++//sys setupDiEnumDriverInfo(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT, memberIndex uint32, driverInfoData *DrvInfoData) (err error) = setupapi.SetupDiEnumDriverInfoW ++ ++// SetupDiEnumDriverInfo function enumerates the members of a driver list. ++func SetupDiEnumDriverInfo(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT, memberIndex int) (*DrvInfoData, error) { ++ data := &DrvInfoData{} ++ data.size = uint32(unsafe.Sizeof(*data)) ++ ++ return data, setupDiEnumDriverInfo(deviceInfoSet, deviceInfoData, driverType, uint32(memberIndex), data) ++} ++ ++// EnumDriverInfo method enumerates the members of a driver list. ++func (deviceInfoSet DevInfo) EnumDriverInfo(deviceInfoData *DevInfoData, driverType SPDIT, memberIndex int) (*DrvInfoData, error) { ++ return SetupDiEnumDriverInfo(deviceInfoSet, deviceInfoData, driverType, memberIndex) ++} ++ ++//sys setupDiGetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (err error) = setupapi.SetupDiGetSelectedDriverW ++ ++// SetupDiGetSelectedDriver function retrieves the selected driver for a device information set or a particular device information element. ++func SetupDiGetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (*DrvInfoData, error) { ++ data := &DrvInfoData{} ++ data.size = uint32(unsafe.Sizeof(*data)) ++ ++ return data, setupDiGetSelectedDriver(deviceInfoSet, deviceInfoData, data) ++} ++ ++// SelectedDriver method retrieves the selected driver for a device information set or a particular device information element. ++func (deviceInfoSet DevInfo) SelectedDriver(deviceInfoData *DevInfoData) (*DrvInfoData, error) { ++ return SetupDiGetSelectedDriver(deviceInfoSet, deviceInfoData) ++} ++ ++//sys SetupDiSetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (err error) = setupapi.SetupDiSetSelectedDriverW ++ ++// SetSelectedDriver method sets, or resets, the selected driver for a device information element or the selected class driver for a device information set. ++func (deviceInfoSet DevInfo) SetSelectedDriver(deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) error { ++ return SetupDiSetSelectedDriver(deviceInfoSet, deviceInfoData, driverInfoData) ++} ++ ++//sys setupDiGetDriverInfoDetail(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData, driverInfoDetailData *DrvInfoDetailData, driverInfoDetailDataSize uint32, requiredSize *uint32) (err error) = setupapi.SetupDiGetDriverInfoDetailW ++ ++// SetupDiGetDriverInfoDetail function retrieves driver information detail for a device information set or a particular device information element in the device information set. ++func SetupDiGetDriverInfoDetail(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (*DrvInfoDetailData, error) { ++ reqSize := uint32(2048) ++ for { ++ buf := make([]byte, reqSize) ++ data := (*DrvInfoDetailData)(unsafe.Pointer(&buf[0])) ++ data.size = data.unsafeSizeOf() ++ err := setupDiGetDriverInfoDetail(deviceInfoSet, deviceInfoData, driverInfoData, data, uint32(len(buf)), &reqSize) ++ if err == ERROR_INSUFFICIENT_BUFFER { ++ continue ++ } ++ if err != nil { ++ return nil, err ++ } ++ data.size = reqSize ++ return data, nil ++ } ++} ++ ++// DriverInfoDetail method retrieves driver information detail for a device information set or a particular device information element in the device information set. ++func (deviceInfoSet DevInfo) DriverInfoDetail(deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (*DrvInfoDetailData, error) { ++ return SetupDiGetDriverInfoDetail(deviceInfoSet, deviceInfoData, driverInfoData) ++} ++ ++//sys SetupDiDestroyDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT) (err error) = setupapi.SetupDiDestroyDriverInfoList ++ ++// DestroyDriverInfoList method deletes a driver list. ++func (deviceInfoSet DevInfo) DestroyDriverInfoList(deviceInfoData *DevInfoData, driverType SPDIT) error { ++ return SetupDiDestroyDriverInfoList(deviceInfoSet, deviceInfoData, driverType) ++} ++ ++//sys setupDiGetClassDevsEx(classGUID *GUID, Enumerator *uint16, hwndParent uintptr, Flags DIGCF, deviceInfoSet DevInfo, machineName *uint16, reserved uintptr) (handle DevInfo, err error) [failretval==DevInfo(InvalidHandle)] = setupapi.SetupDiGetClassDevsExW ++ ++// SetupDiGetClassDevsEx function returns a handle to a device information set that contains requested device information elements for a local or a remote computer. ++func SetupDiGetClassDevsEx(classGUID *GUID, enumerator string, hwndParent uintptr, flags DIGCF, deviceInfoSet DevInfo, machineName string) (handle DevInfo, err error) { ++ var enumeratorUTF16 *uint16 ++ if enumerator != "" { ++ enumeratorUTF16, err = UTF16PtrFromString(enumerator) ++ if err != nil { ++ return ++ } ++ } ++ var machineNameUTF16 *uint16 ++ if machineName != "" { ++ machineNameUTF16, err = UTF16PtrFromString(machineName) ++ if err != nil { ++ return ++ } ++ } ++ return setupDiGetClassDevsEx(classGUID, enumeratorUTF16, hwndParent, flags, deviceInfoSet, machineNameUTF16, 0) ++} ++ ++// SetupDiCallClassInstaller function calls the appropriate class installer, and any registered co-installers, with the specified installation request (DIF code). ++//sys SetupDiCallClassInstaller(installFunction DI_FUNCTION, deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) = setupapi.SetupDiCallClassInstaller ++ ++// CallClassInstaller member calls the appropriate class installer, and any registered co-installers, with the specified installation request (DIF code). ++func (deviceInfoSet DevInfo) CallClassInstaller(installFunction DI_FUNCTION, deviceInfoData *DevInfoData) error { ++ return SetupDiCallClassInstaller(installFunction, deviceInfoSet, deviceInfoData) ++} ++ ++// SetupDiOpenDevRegKey function opens a registry key for device-specific configuration information. ++//sys SetupDiOpenDevRegKey(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, Scope DICS_FLAG, HwProfile uint32, KeyType DIREG, samDesired uint32) (key Handle, err error) [failretval==InvalidHandle] = setupapi.SetupDiOpenDevRegKey ++ ++// OpenDevRegKey method opens a registry key for device-specific configuration information. ++func (deviceInfoSet DevInfo) OpenDevRegKey(DeviceInfoData *DevInfoData, Scope DICS_FLAG, HwProfile uint32, KeyType DIREG, samDesired uint32) (Handle, error) { ++ return SetupDiOpenDevRegKey(deviceInfoSet, DeviceInfoData, Scope, HwProfile, KeyType, samDesired) ++} ++ ++//sys setupDiGetDeviceProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, propertyKey *DEVPROPKEY, propertyType *DEVPROPTYPE, propertyBuffer *byte, propertyBufferSize uint32, requiredSize *uint32, flags uint32) (err error) = setupapi.SetupDiGetDevicePropertyW ++ ++// SetupDiGetDeviceProperty function retrieves a specified device instance property. ++func SetupDiGetDeviceProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, propertyKey *DEVPROPKEY) (value interface{}, err error) { ++ reqSize := uint32(256) ++ for { ++ var dataType DEVPROPTYPE ++ buf := make([]byte, reqSize) ++ err = setupDiGetDeviceProperty(deviceInfoSet, deviceInfoData, propertyKey, &dataType, &buf[0], uint32(len(buf)), &reqSize, 0) ++ if err == ERROR_INSUFFICIENT_BUFFER { ++ continue ++ } ++ if err != nil { ++ return ++ } ++ switch dataType { ++ case DEVPROP_TYPE_STRING: ++ ret := UTF16ToString(bufToUTF16(buf)) ++ runtime.KeepAlive(buf) ++ return ret, nil ++ } ++ return nil, errors.New("unimplemented property type") ++ } ++} ++ ++//sys setupDiGetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyRegDataType *uint32, propertyBuffer *byte, propertyBufferSize uint32, requiredSize *uint32) (err error) = setupapi.SetupDiGetDeviceRegistryPropertyW ++ ++// SetupDiGetDeviceRegistryProperty function retrieves a specified Plug and Play device property. ++func SetupDiGetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP) (value interface{}, err error) { ++ reqSize := uint32(256) ++ for { ++ var dataType uint32 ++ buf := make([]byte, reqSize) ++ err = setupDiGetDeviceRegistryProperty(deviceInfoSet, deviceInfoData, property, &dataType, &buf[0], uint32(len(buf)), &reqSize) ++ if err == ERROR_INSUFFICIENT_BUFFER { ++ continue ++ } ++ if err != nil { ++ return ++ } ++ return getRegistryValue(buf[:reqSize], dataType) ++ } ++} ++ ++func getRegistryValue(buf []byte, dataType uint32) (interface{}, error) { ++ switch dataType { ++ case REG_SZ: ++ ret := UTF16ToString(bufToUTF16(buf)) ++ runtime.KeepAlive(buf) ++ return ret, nil ++ case REG_EXPAND_SZ: ++ value := UTF16ToString(bufToUTF16(buf)) ++ if value == "" { ++ return "", nil ++ } ++ p, err := syscall.UTF16PtrFromString(value) ++ if err != nil { ++ return "", err ++ } ++ ret := make([]uint16, 100) ++ for { ++ n, err := ExpandEnvironmentStrings(p, &ret[0], uint32(len(ret))) ++ if err != nil { ++ return "", err ++ } ++ if n <= uint32(len(ret)) { ++ return UTF16ToString(ret[:n]), nil ++ } ++ ret = make([]uint16, n) ++ } ++ case REG_BINARY: ++ return buf, nil ++ case REG_DWORD_LITTLE_ENDIAN: ++ return binary.LittleEndian.Uint32(buf), nil ++ case REG_DWORD_BIG_ENDIAN: ++ return binary.BigEndian.Uint32(buf), nil ++ case REG_MULTI_SZ: ++ bufW := bufToUTF16(buf) ++ a := []string{} ++ for i := 0; i < len(bufW); { ++ j := i + wcslen(bufW[i:]) ++ if i < j { ++ a = append(a, UTF16ToString(bufW[i:j])) ++ } ++ i = j + 1 ++ } ++ runtime.KeepAlive(buf) ++ return a, nil ++ case REG_QWORD_LITTLE_ENDIAN: ++ return binary.LittleEndian.Uint64(buf), nil ++ default: ++ return nil, fmt.Errorf("Unsupported registry value type: %v", dataType) ++ } ++} ++ ++// bufToUTF16 function reinterprets []byte buffer as []uint16 ++func bufToUTF16(buf []byte) []uint16 { ++ sl := struct { ++ addr *uint16 ++ len int ++ cap int ++ }{(*uint16)(unsafe.Pointer(&buf[0])), len(buf) / 2, cap(buf) / 2} ++ return *(*[]uint16)(unsafe.Pointer(&sl)) ++} ++ ++// utf16ToBuf function reinterprets []uint16 as []byte ++func utf16ToBuf(buf []uint16) []byte { ++ sl := struct { ++ addr *byte ++ len int ++ cap int ++ }{(*byte)(unsafe.Pointer(&buf[0])), len(buf) * 2, cap(buf) * 2} ++ return *(*[]byte)(unsafe.Pointer(&sl)) ++} ++ ++func wcslen(str []uint16) int { ++ for i := 0; i < len(str); i++ { ++ if str[i] == 0 { ++ return i ++ } ++ } ++ return len(str) ++} ++ ++// DeviceRegistryProperty method retrieves a specified Plug and Play device property. ++func (deviceInfoSet DevInfo) DeviceRegistryProperty(deviceInfoData *DevInfoData, property SPDRP) (interface{}, error) { ++ return SetupDiGetDeviceRegistryProperty(deviceInfoSet, deviceInfoData, property) ++} ++ ++//sys setupDiSetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyBuffer *byte, propertyBufferSize uint32) (err error) = setupapi.SetupDiSetDeviceRegistryPropertyW ++ ++// SetupDiSetDeviceRegistryProperty function sets a Plug and Play device property for a device. ++func SetupDiSetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyBuffers []byte) error { ++ return setupDiSetDeviceRegistryProperty(deviceInfoSet, deviceInfoData, property, &propertyBuffers[0], uint32(len(propertyBuffers))) ++} ++ ++// SetDeviceRegistryProperty function sets a Plug and Play device property for a device. ++func (deviceInfoSet DevInfo) SetDeviceRegistryProperty(deviceInfoData *DevInfoData, property SPDRP, propertyBuffers []byte) error { ++ return SetupDiSetDeviceRegistryProperty(deviceInfoSet, deviceInfoData, property, propertyBuffers) ++} ++ ++// SetDeviceRegistryPropertyString method sets a Plug and Play device property string for a device. ++func (deviceInfoSet DevInfo) SetDeviceRegistryPropertyString(deviceInfoData *DevInfoData, property SPDRP, str string) error { ++ str16, err := UTF16FromString(str) ++ if err != nil { ++ return err ++ } ++ err = SetupDiSetDeviceRegistryProperty(deviceInfoSet, deviceInfoData, property, utf16ToBuf(append(str16, 0))) ++ runtime.KeepAlive(str16) ++ return err ++} ++ ++//sys setupDiGetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) (err error) = setupapi.SetupDiGetDeviceInstallParamsW ++ ++// SetupDiGetDeviceInstallParams function retrieves device installation parameters for a device information set or a particular device information element. ++func SetupDiGetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (*DevInstallParams, error) { ++ params := &DevInstallParams{} ++ params.size = uint32(unsafe.Sizeof(*params)) ++ ++ return params, setupDiGetDeviceInstallParams(deviceInfoSet, deviceInfoData, params) ++} ++ ++// DeviceInstallParams method retrieves device installation parameters for a device information set or a particular device information element. ++func (deviceInfoSet DevInfo) DeviceInstallParams(deviceInfoData *DevInfoData) (*DevInstallParams, error) { ++ return SetupDiGetDeviceInstallParams(deviceInfoSet, deviceInfoData) ++} ++ ++//sys setupDiGetDeviceInstanceId(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, instanceId *uint16, instanceIdSize uint32, instanceIdRequiredSize *uint32) (err error) = setupapi.SetupDiGetDeviceInstanceIdW ++ ++// SetupDiGetDeviceInstanceId function retrieves the instance ID of the device. ++func SetupDiGetDeviceInstanceId(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (string, error) { ++ reqSize := uint32(1024) ++ for { ++ buf := make([]uint16, reqSize) ++ err := setupDiGetDeviceInstanceId(deviceInfoSet, deviceInfoData, &buf[0], uint32(len(buf)), &reqSize) ++ if err == ERROR_INSUFFICIENT_BUFFER { ++ continue ++ } ++ if err != nil { ++ return "", err ++ } ++ return UTF16ToString(buf), nil ++ } ++} ++ ++// DeviceInstanceID method retrieves the instance ID of the device. ++func (deviceInfoSet DevInfo) DeviceInstanceID(deviceInfoData *DevInfoData) (string, error) { ++ return SetupDiGetDeviceInstanceId(deviceInfoSet, deviceInfoData) ++} ++ ++// SetupDiGetClassInstallParams function retrieves class installation parameters for a device information set or a particular device information element. ++//sys SetupDiGetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32, requiredSize *uint32) (err error) = setupapi.SetupDiGetClassInstallParamsW ++ ++// ClassInstallParams method retrieves class installation parameters for a device information set or a particular device information element. ++func (deviceInfoSet DevInfo) ClassInstallParams(deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32, requiredSize *uint32) error { ++ return SetupDiGetClassInstallParams(deviceInfoSet, deviceInfoData, classInstallParams, classInstallParamsSize, requiredSize) ++} ++ ++//sys SetupDiSetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) (err error) = setupapi.SetupDiSetDeviceInstallParamsW ++ ++// SetDeviceInstallParams member sets device installation parameters for a device information set or a particular device information element. ++func (deviceInfoSet DevInfo) SetDeviceInstallParams(deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) error { ++ return SetupDiSetDeviceInstallParams(deviceInfoSet, deviceInfoData, deviceInstallParams) ++} ++ ++// SetupDiSetClassInstallParams function sets or clears class install parameters for a device information set or a particular device information element. ++//sys SetupDiSetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32) (err error) = setupapi.SetupDiSetClassInstallParamsW ++ ++// SetClassInstallParams method sets or clears class install parameters for a device information set or a particular device information element. ++func (deviceInfoSet DevInfo) SetClassInstallParams(deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32) error { ++ return SetupDiSetClassInstallParams(deviceInfoSet, deviceInfoData, classInstallParams, classInstallParamsSize) ++} ++ ++//sys setupDiClassNameFromGuidEx(classGUID *GUID, className *uint16, classNameSize uint32, requiredSize *uint32, machineName *uint16, reserved uintptr) (err error) = setupapi.SetupDiClassNameFromGuidExW ++ ++// SetupDiClassNameFromGuidEx function retrieves the class name associated with a class GUID. The class can be installed on a local or remote computer. ++func SetupDiClassNameFromGuidEx(classGUID *GUID, machineName string) (className string, err error) { ++ var classNameUTF16 [MAX_CLASS_NAME_LEN]uint16 ++ ++ var machineNameUTF16 *uint16 ++ if machineName != "" { ++ machineNameUTF16, err = UTF16PtrFromString(machineName) ++ if err != nil { ++ return ++ } ++ } ++ ++ err = setupDiClassNameFromGuidEx(classGUID, &classNameUTF16[0], MAX_CLASS_NAME_LEN, nil, machineNameUTF16, 0) ++ if err != nil { ++ return ++ } ++ ++ className = UTF16ToString(classNameUTF16[:]) ++ return ++} ++ ++//sys setupDiClassGuidsFromNameEx(className *uint16, classGuidList *GUID, classGuidListSize uint32, requiredSize *uint32, machineName *uint16, reserved uintptr) (err error) = setupapi.SetupDiClassGuidsFromNameExW ++ ++// SetupDiClassGuidsFromNameEx function retrieves the GUIDs associated with the specified class name. This resulting list contains the classes currently installed on a local or remote computer. ++func SetupDiClassGuidsFromNameEx(className string, machineName string) ([]GUID, error) { ++ classNameUTF16, err := UTF16PtrFromString(className) ++ if err != nil { ++ return nil, err ++ } ++ ++ var machineNameUTF16 *uint16 ++ if machineName != "" { ++ machineNameUTF16, err = UTF16PtrFromString(machineName) ++ if err != nil { ++ return nil, err ++ } ++ } ++ ++ reqSize := uint32(4) ++ for { ++ buf := make([]GUID, reqSize) ++ err = setupDiClassGuidsFromNameEx(classNameUTF16, &buf[0], uint32(len(buf)), &reqSize, machineNameUTF16, 0) ++ if err == ERROR_INSUFFICIENT_BUFFER { ++ continue ++ } ++ if err != nil { ++ return nil, err ++ } ++ return buf[:reqSize], nil ++ } ++} ++ ++//sys setupDiGetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) = setupapi.SetupDiGetSelectedDevice ++ ++// SetupDiGetSelectedDevice function retrieves the selected device information element in a device information set. ++func SetupDiGetSelectedDevice(deviceInfoSet DevInfo) (*DevInfoData, error) { ++ data := &DevInfoData{} ++ data.size = uint32(unsafe.Sizeof(*data)) ++ ++ return data, setupDiGetSelectedDevice(deviceInfoSet, data) ++} ++ ++// SelectedDevice method retrieves the selected device information element in a device information set. ++func (deviceInfoSet DevInfo) SelectedDevice() (*DevInfoData, error) { ++ return SetupDiGetSelectedDevice(deviceInfoSet) ++} ++ ++// SetupDiSetSelectedDevice function sets a device information element as the selected member of a device information set. This function is typically used by an installation wizard. ++//sys SetupDiSetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) = setupapi.SetupDiSetSelectedDevice ++ ++// SetSelectedDevice method sets a device information element as the selected member of a device information set. This function is typically used by an installation wizard. ++func (deviceInfoSet DevInfo) SetSelectedDevice(deviceInfoData *DevInfoData) error { ++ return SetupDiSetSelectedDevice(deviceInfoSet, deviceInfoData) ++} ++ ++//sys setupUninstallOEMInf(infFileName *uint16, flags SUOI, reserved uintptr) (err error) = setupapi.SetupUninstallOEMInfW ++ ++// SetupUninstallOEMInf uninstalls the specified driver. ++func SetupUninstallOEMInf(infFileName string, flags SUOI) error { ++ infFileName16, err := UTF16PtrFromString(infFileName) ++ if err != nil { ++ return err ++ } ++ return setupUninstallOEMInf(infFileName16, flags, 0) ++} ++ ++//sys cm_MapCrToWin32Err(configRet CONFIGRET, defaultWin32Error Errno) (ret Errno) = CfgMgr32.CM_MapCrToWin32Err ++ ++//sys cm_Get_Device_Interface_List_Size(len *uint32, interfaceClass *GUID, deviceID *uint16, flags uint32) (ret CONFIGRET) = CfgMgr32.CM_Get_Device_Interface_List_SizeW ++//sys cm_Get_Device_Interface_List(interfaceClass *GUID, deviceID *uint16, buffer *uint16, bufferLen uint32, flags uint32) (ret CONFIGRET) = CfgMgr32.CM_Get_Device_Interface_ListW ++ ++func CM_Get_Device_Interface_List(deviceID string, interfaceClass *GUID, flags uint32) ([]string, error) { ++ deviceID16, err := UTF16PtrFromString(deviceID) ++ if err != nil { ++ return nil, err ++ } ++ var buf []uint16 ++ var buflen uint32 ++ for { ++ if ret := cm_Get_Device_Interface_List_Size(&buflen, interfaceClass, deviceID16, flags); ret != CR_SUCCESS { ++ return nil, ret ++ } ++ buf = make([]uint16, buflen) ++ if ret := cm_Get_Device_Interface_List(interfaceClass, deviceID16, &buf[0], buflen, flags); ret == CR_SUCCESS { ++ break ++ } else if ret != CR_BUFFER_SMALL { ++ return nil, ret ++ } ++ } ++ var interfaces []string ++ for i := 0; i < len(buf); { ++ j := i + wcslen(buf[i:]) ++ if i < j { ++ interfaces = append(interfaces, UTF16ToString(buf[i:j])) ++ } ++ i = j + 1 ++ } ++ if interfaces == nil { ++ return nil, ERROR_NO_SUCH_DEVICE_INTERFACE ++ } ++ return interfaces, nil ++} ++ ++//sys cm_Get_DevNode_Status(status *uint32, problemNumber *uint32, devInst DEVINST, flags uint32) (ret CONFIGRET) = CfgMgr32.CM_Get_DevNode_Status ++ ++func CM_Get_DevNode_Status(status *uint32, problemNumber *uint32, devInst DEVINST, flags uint32) error { ++ ret := cm_Get_DevNode_Status(status, problemNumber, devInst, flags) ++ if ret == CR_SUCCESS { ++ return nil ++ } ++ return ret ++} +diff --git a/vendor/golang.org/x/sys/windows/setupapierrors_windows.go b/vendor/golang.org/x/sys/windows/setupapierrors_windows.go +deleted file mode 100644 +index 1681810..0000000 +--- a/vendor/golang.org/x/sys/windows/setupapierrors_windows.go ++++ /dev/null +@@ -1,100 +0,0 @@ +-// Copyright 2020 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 windows +- +-import "syscall" +- +-const ( +- ERROR_EXPECTED_SECTION_NAME syscall.Errno = 0x20000000 | 0xC0000000 | 0 +- ERROR_BAD_SECTION_NAME_LINE syscall.Errno = 0x20000000 | 0xC0000000 | 1 +- ERROR_SECTION_NAME_TOO_LONG syscall.Errno = 0x20000000 | 0xC0000000 | 2 +- ERROR_GENERAL_SYNTAX syscall.Errno = 0x20000000 | 0xC0000000 | 3 +- ERROR_WRONG_INF_STYLE syscall.Errno = 0x20000000 | 0xC0000000 | 0x100 +- ERROR_SECTION_NOT_FOUND syscall.Errno = 0x20000000 | 0xC0000000 | 0x101 +- ERROR_LINE_NOT_FOUND syscall.Errno = 0x20000000 | 0xC0000000 | 0x102 +- ERROR_NO_BACKUP syscall.Errno = 0x20000000 | 0xC0000000 | 0x103 +- ERROR_NO_ASSOCIATED_CLASS syscall.Errno = 0x20000000 | 0xC0000000 | 0x200 +- ERROR_CLASS_MISMATCH syscall.Errno = 0x20000000 | 0xC0000000 | 0x201 +- ERROR_DUPLICATE_FOUND syscall.Errno = 0x20000000 | 0xC0000000 | 0x202 +- ERROR_NO_DRIVER_SELECTED syscall.Errno = 0x20000000 | 0xC0000000 | 0x203 +- ERROR_KEY_DOES_NOT_EXIST syscall.Errno = 0x20000000 | 0xC0000000 | 0x204 +- ERROR_INVALID_DEVINST_NAME syscall.Errno = 0x20000000 | 0xC0000000 | 0x205 +- ERROR_INVALID_CLASS syscall.Errno = 0x20000000 | 0xC0000000 | 0x206 +- ERROR_DEVINST_ALREADY_EXISTS syscall.Errno = 0x20000000 | 0xC0000000 | 0x207 +- ERROR_DEVINFO_NOT_REGISTERED syscall.Errno = 0x20000000 | 0xC0000000 | 0x208 +- ERROR_INVALID_REG_PROPERTY syscall.Errno = 0x20000000 | 0xC0000000 | 0x209 +- ERROR_NO_INF syscall.Errno = 0x20000000 | 0xC0000000 | 0x20A +- ERROR_NO_SUCH_DEVINST syscall.Errno = 0x20000000 | 0xC0000000 | 0x20B +- ERROR_CANT_LOAD_CLASS_ICON syscall.Errno = 0x20000000 | 0xC0000000 | 0x20C +- ERROR_INVALID_CLASS_INSTALLER syscall.Errno = 0x20000000 | 0xC0000000 | 0x20D +- ERROR_DI_DO_DEFAULT syscall.Errno = 0x20000000 | 0xC0000000 | 0x20E +- ERROR_DI_NOFILECOPY syscall.Errno = 0x20000000 | 0xC0000000 | 0x20F +- ERROR_INVALID_HWPROFILE syscall.Errno = 0x20000000 | 0xC0000000 | 0x210 +- ERROR_NO_DEVICE_SELECTED syscall.Errno = 0x20000000 | 0xC0000000 | 0x211 +- ERROR_DEVINFO_LIST_LOCKED syscall.Errno = 0x20000000 | 0xC0000000 | 0x212 +- ERROR_DEVINFO_DATA_LOCKED syscall.Errno = 0x20000000 | 0xC0000000 | 0x213 +- ERROR_DI_BAD_PATH syscall.Errno = 0x20000000 | 0xC0000000 | 0x214 +- ERROR_NO_CLASSINSTALL_PARAMS syscall.Errno = 0x20000000 | 0xC0000000 | 0x215 +- ERROR_FILEQUEUE_LOCKED syscall.Errno = 0x20000000 | 0xC0000000 | 0x216 +- ERROR_BAD_SERVICE_INSTALLSECT syscall.Errno = 0x20000000 | 0xC0000000 | 0x217 +- ERROR_NO_CLASS_DRIVER_LIST syscall.Errno = 0x20000000 | 0xC0000000 | 0x218 +- ERROR_NO_ASSOCIATED_SERVICE syscall.Errno = 0x20000000 | 0xC0000000 | 0x219 +- ERROR_NO_DEFAULT_DEVICE_INTERFACE syscall.Errno = 0x20000000 | 0xC0000000 | 0x21A +- ERROR_DEVICE_INTERFACE_ACTIVE syscall.Errno = 0x20000000 | 0xC0000000 | 0x21B +- ERROR_DEVICE_INTERFACE_REMOVED syscall.Errno = 0x20000000 | 0xC0000000 | 0x21C +- ERROR_BAD_INTERFACE_INSTALLSECT syscall.Errno = 0x20000000 | 0xC0000000 | 0x21D +- ERROR_NO_SUCH_INTERFACE_CLASS syscall.Errno = 0x20000000 | 0xC0000000 | 0x21E +- ERROR_INVALID_REFERENCE_STRING syscall.Errno = 0x20000000 | 0xC0000000 | 0x21F +- ERROR_INVALID_MACHINENAME syscall.Errno = 0x20000000 | 0xC0000000 | 0x220 +- ERROR_REMOTE_COMM_FAILURE syscall.Errno = 0x20000000 | 0xC0000000 | 0x221 +- ERROR_MACHINE_UNAVAILABLE syscall.Errno = 0x20000000 | 0xC0000000 | 0x222 +- ERROR_NO_CONFIGMGR_SERVICES syscall.Errno = 0x20000000 | 0xC0000000 | 0x223 +- ERROR_INVALID_PROPPAGE_PROVIDER syscall.Errno = 0x20000000 | 0xC0000000 | 0x224 +- ERROR_NO_SUCH_DEVICE_INTERFACE syscall.Errno = 0x20000000 | 0xC0000000 | 0x225 +- ERROR_DI_POSTPROCESSING_REQUIRED syscall.Errno = 0x20000000 | 0xC0000000 | 0x226 +- ERROR_INVALID_COINSTALLER syscall.Errno = 0x20000000 | 0xC0000000 | 0x227 +- ERROR_NO_COMPAT_DRIVERS syscall.Errno = 0x20000000 | 0xC0000000 | 0x228 +- ERROR_NO_DEVICE_ICON syscall.Errno = 0x20000000 | 0xC0000000 | 0x229 +- ERROR_INVALID_INF_LOGCONFIG syscall.Errno = 0x20000000 | 0xC0000000 | 0x22A +- ERROR_DI_DONT_INSTALL syscall.Errno = 0x20000000 | 0xC0000000 | 0x22B +- ERROR_INVALID_FILTER_DRIVER syscall.Errno = 0x20000000 | 0xC0000000 | 0x22C +- ERROR_NON_WINDOWS_NT_DRIVER syscall.Errno = 0x20000000 | 0xC0000000 | 0x22D +- ERROR_NON_WINDOWS_DRIVER syscall.Errno = 0x20000000 | 0xC0000000 | 0x22E +- ERROR_NO_CATALOG_FOR_OEM_INF syscall.Errno = 0x20000000 | 0xC0000000 | 0x22F +- ERROR_DEVINSTALL_QUEUE_NONNATIVE syscall.Errno = 0x20000000 | 0xC0000000 | 0x230 +- ERROR_NOT_DISABLEABLE syscall.Errno = 0x20000000 | 0xC0000000 | 0x231 +- ERROR_CANT_REMOVE_DEVINST syscall.Errno = 0x20000000 | 0xC0000000 | 0x232 +- ERROR_INVALID_TARGET syscall.Errno = 0x20000000 | 0xC0000000 | 0x233 +- ERROR_DRIVER_NONNATIVE syscall.Errno = 0x20000000 | 0xC0000000 | 0x234 +- ERROR_IN_WOW64 syscall.Errno = 0x20000000 | 0xC0000000 | 0x235 +- ERROR_SET_SYSTEM_RESTORE_POINT syscall.Errno = 0x20000000 | 0xC0000000 | 0x236 +- ERROR_SCE_DISABLED syscall.Errno = 0x20000000 | 0xC0000000 | 0x238 +- ERROR_UNKNOWN_EXCEPTION syscall.Errno = 0x20000000 | 0xC0000000 | 0x239 +- ERROR_PNP_REGISTRY_ERROR syscall.Errno = 0x20000000 | 0xC0000000 | 0x23A +- ERROR_REMOTE_REQUEST_UNSUPPORTED syscall.Errno = 0x20000000 | 0xC0000000 | 0x23B +- ERROR_NOT_AN_INSTALLED_OEM_INF syscall.Errno = 0x20000000 | 0xC0000000 | 0x23C +- ERROR_INF_IN_USE_BY_DEVICES syscall.Errno = 0x20000000 | 0xC0000000 | 0x23D +- ERROR_DI_FUNCTION_OBSOLETE syscall.Errno = 0x20000000 | 0xC0000000 | 0x23E +- ERROR_NO_AUTHENTICODE_CATALOG syscall.Errno = 0x20000000 | 0xC0000000 | 0x23F +- ERROR_AUTHENTICODE_DISALLOWED syscall.Errno = 0x20000000 | 0xC0000000 | 0x240 +- ERROR_AUTHENTICODE_TRUSTED_PUBLISHER syscall.Errno = 0x20000000 | 0xC0000000 | 0x241 +- ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED syscall.Errno = 0x20000000 | 0xC0000000 | 0x242 +- ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED syscall.Errno = 0x20000000 | 0xC0000000 | 0x243 +- ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH syscall.Errno = 0x20000000 | 0xC0000000 | 0x244 +- ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE syscall.Errno = 0x20000000 | 0xC0000000 | 0x245 +- ERROR_DEVICE_INSTALLER_NOT_READY syscall.Errno = 0x20000000 | 0xC0000000 | 0x246 +- ERROR_DRIVER_STORE_ADD_FAILED syscall.Errno = 0x20000000 | 0xC0000000 | 0x247 +- ERROR_DEVICE_INSTALL_BLOCKED syscall.Errno = 0x20000000 | 0xC0000000 | 0x248 +- ERROR_DRIVER_INSTALL_BLOCKED syscall.Errno = 0x20000000 | 0xC0000000 | 0x249 +- ERROR_WRONG_INF_TYPE syscall.Errno = 0x20000000 | 0xC0000000 | 0x24A +- ERROR_FILE_HASH_NOT_IN_CATALOG syscall.Errno = 0x20000000 | 0xC0000000 | 0x24B +- ERROR_DRIVER_STORE_DELETE_FAILED syscall.Errno = 0x20000000 | 0xC0000000 | 0x24C +- ERROR_UNRECOVERABLE_STACK_OVERFLOW syscall.Errno = 0x20000000 | 0xC0000000 | 0x300 +- EXCEPTION_SPAPI_UNRECOVERABLE_STACK_OVERFLOW syscall.Errno = ERROR_UNRECOVERABLE_STACK_OVERFLOW +- ERROR_NO_DEFAULT_INTERFACE_DEVICE syscall.Errno = ERROR_NO_DEFAULT_DEVICE_INTERFACE +- ERROR_INTERFACE_DEVICE_ACTIVE syscall.Errno = ERROR_DEVICE_INTERFACE_ACTIVE +- ERROR_INTERFACE_DEVICE_REMOVED syscall.Errno = ERROR_DEVICE_INTERFACE_REMOVED +- ERROR_NO_SUCH_INTERFACE_DEVICE syscall.Errno = ERROR_NO_SUCH_DEVICE_INTERFACE +-) +diff --git a/vendor/golang.org/x/sys/windows/str.go b/vendor/golang.org/x/sys/windows/str.go +index 917cc2a..4fc0143 100644 +--- a/vendor/golang.org/x/sys/windows/str.go ++++ b/vendor/golang.org/x/sys/windows/str.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + package windows +diff --git a/vendor/golang.org/x/sys/windows/syscall.go b/vendor/golang.org/x/sys/windows/syscall.go +index 6122f55..8732cdb 100644 +--- a/vendor/golang.org/x/sys/windows/syscall.go ++++ b/vendor/golang.org/x/sys/windows/syscall.go +@@ -2,6 +2,7 @@ + // Use of this source code is governed by a BSD-style + // license that can be found in the LICENSE file. + ++//go:build windows + // +build windows + + // Package windows contains an interface to the low-level operating system +@@ -29,8 +30,6 @@ import ( + "strings" + "syscall" + "unsafe" +- +- "golang.org/x/sys/internal/unsafeheader" + ) + + // ByteSliceFromString returns a NUL-terminated slice of bytes +@@ -82,13 +81,7 @@ func BytePtrToString(p *byte) string { + ptr = unsafe.Pointer(uintptr(ptr) + 1) + } + +- var s []byte +- h := (*unsafeheader.Slice)(unsafe.Pointer(&s)) +- h.Data = unsafe.Pointer(p) +- h.Len = n +- h.Cap = n +- +- return string(s) ++ return string(unsafe.Slice(p, n)) + } + + // Single-word zero for use when we need a valid pointer to 0 bytes. +diff --git a/vendor/golang.org/x/sys/windows/syscall_windows.go b/vendor/golang.org/x/sys/windows/syscall_windows.go +index 1215b2a..a49853e 100644 +--- a/vendor/golang.org/x/sys/windows/syscall_windows.go ++++ b/vendor/golang.org/x/sys/windows/syscall_windows.go +@@ -10,6 +10,7 @@ import ( + errorspkg "errors" + "fmt" + "runtime" ++ "strings" + "sync" + "syscall" + "time" +@@ -86,10 +87,8 @@ func StringToUTF16(s string) []uint16 { + // s, with a terminating NUL added. If s contains a NUL byte at any + // location, it returns (nil, syscall.EINVAL). + func UTF16FromString(s string) ([]uint16, error) { +- for i := 0; i < len(s); i++ { +- if s[i] == 0 { +- return nil, syscall.EINVAL +- } ++ if strings.IndexByte(s, 0) != -1 { ++ return nil, syscall.EINVAL + } + return utf16.Encode([]rune(s + "\x00")), nil + } +@@ -139,13 +138,7 @@ func UTF16PtrToString(p *uint16) string { + ptr = unsafe.Pointer(uintptr(ptr) + unsafe.Sizeof(*p)) + } + +- var s []uint16 +- h := (*unsafeheader.Slice)(unsafe.Pointer(&s)) +- h.Data = unsafe.Pointer(p) +- h.Len = n +- h.Cap = n +- +- return string(utf16.Decode(s)) ++ return string(utf16.Decode(unsafe.Slice(p, n))) + } + + func Getpagesize() int { return 4096 } +@@ -186,8 +179,8 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys GetNamedPipeInfo(pipe Handle, flags *uint32, outSize *uint32, inSize *uint32, maxInstances *uint32) (err error) + //sys GetNamedPipeHandleState(pipe Handle, state *uint32, curInstances *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32, userName *uint16, maxUserNameSize uint32) (err error) = GetNamedPipeHandleStateW + //sys SetNamedPipeHandleState(pipe Handle, state *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32) (err error) = SetNamedPipeHandleState +-//sys ReadFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) +-//sys WriteFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) ++//sys readFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) = ReadFile ++//sys writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) = WriteFile + //sys GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wait bool) (err error) + //sys SetFilePointer(handle Handle, lowoffset int32, highoffsetptr *int32, whence uint32) (newlowoffset uint32, err error) [failretval==0xffffffff] + //sys CloseHandle(handle Handle) (err error) +@@ -248,6 +241,7 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys FreeEnvironmentStrings(envs *uint16) (err error) = kernel32.FreeEnvironmentStringsW + //sys GetEnvironmentVariable(name *uint16, buffer *uint16, size uint32) (n uint32, err error) = kernel32.GetEnvironmentVariableW + //sys SetEnvironmentVariable(name *uint16, value *uint16) (err error) = kernel32.SetEnvironmentVariableW ++//sys ExpandEnvironmentStrings(src *uint16, dst *uint16, size uint32) (n uint32, err error) = kernel32.ExpandEnvironmentStringsW + //sys CreateEnvironmentBlock(block **uint16, token Token, inheritExisting bool) (err error) = userenv.CreateEnvironmentBlock + //sys DestroyEnvironmentBlock(block *uint16) (err error) = userenv.DestroyEnvironmentBlock + //sys getTickCount64() (ms uint64) = kernel32.GetTickCount64 +@@ -274,6 +268,11 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys VirtualAlloc(address uintptr, size uintptr, alloctype uint32, protect uint32) (value uintptr, err error) = kernel32.VirtualAlloc + //sys VirtualFree(address uintptr, size uintptr, freetype uint32) (err error) = kernel32.VirtualFree + //sys VirtualProtect(address uintptr, size uintptr, newprotect uint32, oldprotect *uint32) (err error) = kernel32.VirtualProtect ++//sys VirtualProtectEx(process Handle, address uintptr, size uintptr, newProtect uint32, oldProtect *uint32) (err error) = kernel32.VirtualProtectEx ++//sys VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) = kernel32.VirtualQuery ++//sys VirtualQueryEx(process Handle, address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) = kernel32.VirtualQueryEx ++//sys ReadProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size uintptr, numberOfBytesRead *uintptr) (err error) = kernel32.ReadProcessMemory ++//sys WriteProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size uintptr, numberOfBytesWritten *uintptr) (err error) = kernel32.WriteProcessMemory + //sys TransmitFile(s Handle, handle Handle, bytesToWrite uint32, bytsPerSend uint32, overlapped *Overlapped, transmitFileBuf *TransmitFileBuffers, flags uint32) (err error) = mswsock.TransmitFile + //sys ReadDirectoryChanges(handle Handle, buf *byte, buflen uint32, watchSubTree bool, mask uint32, retlen *uint32, overlapped *Overlapped, completionRoutine uintptr) (err error) = kernel32.ReadDirectoryChangesW + //sys FindFirstChangeNotification(path string, watchSubtree bool, notifyFilter uint32) (handle Handle, err error) [failretval==InvalidHandle] = kernel32.FindFirstChangeNotificationW +@@ -317,6 +316,8 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) = kernel32.WriteConsoleW + //sys ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW + //sys CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, err error) [failretval==InvalidHandle] = kernel32.CreateToolhelp32Snapshot ++//sys Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) = kernel32.Module32FirstW ++//sys Module32Next(snapshot Handle, moduleEntry *ModuleEntry32) (err error) = kernel32.Module32NextW + //sys Process32First(snapshot Handle, procEntry *ProcessEntry32) (err error) = kernel32.Process32FirstW + //sys Process32Next(snapshot Handle, procEntry *ProcessEntry32) (err error) = kernel32.Process32NextW + //sys Thread32First(snapshot Handle, threadEntry *ThreadEntry32) (err error) +@@ -355,6 +356,18 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys SetProcessWorkingSetSizeEx(hProcess Handle, dwMinimumWorkingSetSize uintptr, dwMaximumWorkingSetSize uintptr, flags uint32) (err error) + //sys GetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) + //sys SetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) ++//sys GetActiveProcessorCount(groupNumber uint16) (ret uint32) ++//sys GetMaximumProcessorCount(groupNumber uint16) (ret uint32) ++//sys EnumWindows(enumFunc uintptr, param unsafe.Pointer) (err error) = user32.EnumWindows ++//sys EnumChildWindows(hwnd HWND, enumFunc uintptr, param unsafe.Pointer) = user32.EnumChildWindows ++//sys GetClassName(hwnd HWND, className *uint16, maxCount int32) (copied int32, err error) = user32.GetClassNameW ++//sys GetDesktopWindow() (hwnd HWND) = user32.GetDesktopWindow ++//sys GetForegroundWindow() (hwnd HWND) = user32.GetForegroundWindow ++//sys IsWindow(hwnd HWND) (isWindow bool) = user32.IsWindow ++//sys IsWindowUnicode(hwnd HWND) (isUnicode bool) = user32.IsWindowUnicode ++//sys IsWindowVisible(hwnd HWND) (isVisible bool) = user32.IsWindowVisible ++//sys GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) = user32.GetGUIThreadInfo ++//sys GetLargePageMinimum() (size uintptr) + + // Volume Management Functions + //sys DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) = DefineDosDeviceW +@@ -396,8 +409,19 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys LoadResource(module Handle, resInfo Handle) (resData Handle, err error) = kernel32.LoadResource + //sys LockResource(resData Handle) (addr uintptr, err error) = kernel32.LockResource + ++// Version APIs ++//sys GetFileVersionInfoSize(filename string, zeroHandle *Handle) (bufSize uint32, err error) = version.GetFileVersionInfoSizeW ++//sys GetFileVersionInfo(filename string, handle uint32, bufSize uint32, buffer unsafe.Pointer) (err error) = version.GetFileVersionInfoW ++//sys VerQueryValue(block unsafe.Pointer, subBlock string, pointerToBufferPointer unsafe.Pointer, bufSize *uint32) (err error) = version.VerQueryValueW ++ + // Process Status API (PSAPI) + //sys EnumProcesses(processIds []uint32, bytesReturned *uint32) (err error) = psapi.EnumProcesses ++//sys EnumProcessModules(process Handle, module *Handle, cb uint32, cbNeeded *uint32) (err error) = psapi.EnumProcessModules ++//sys EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *uint32, filterFlag uint32) (err error) = psapi.EnumProcessModulesEx ++//sys GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb uint32) (err error) = psapi.GetModuleInformation ++//sys GetModuleFileNameEx(process Handle, module Handle, filename *uint16, size uint32) (err error) = psapi.GetModuleFileNameExW ++//sys GetModuleBaseName(process Handle, module Handle, baseName *uint16, size uint32) (err error) = psapi.GetModuleBaseNameW ++//sys QueryWorkingSetEx(process Handle, pv uintptr, cb uint32) (err error) = psapi.QueryWorkingSetEx + + // NT Native APIs + //sys rtlNtStatusToDosErrorNoTeb(ntstatus NTStatus) (ret syscall.Errno) = ntdll.RtlNtStatusToDosErrorNoTeb +@@ -408,11 +432,20 @@ func NewCallbackCDecl(fn interface{}) uintptr { + //sys RtlInitString(destinationString *NTString, sourceString *byte) = ntdll.RtlInitString + //sys NtCreateFile(handle *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, allocationSize *int64, attributes uint32, share uint32, disposition uint32, options uint32, eabuffer uintptr, ealength uint32) (ntstatus error) = ntdll.NtCreateFile + //sys NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, share uint32, disposition uint32, options uint32, typ uint32, readMode uint32, completionMode uint32, maxInstances uint32, inboundQuota uint32, outputQuota uint32, timeout *int64) (ntstatus error) = ntdll.NtCreateNamedPipeFile ++//sys NtSetInformationFile(handle Handle, iosb *IO_STATUS_BLOCK, inBuffer *byte, inBufferLen uint32, class uint32) (ntstatus error) = ntdll.NtSetInformationFile + //sys RtlDosPathNameToNtPathName(dosName *uint16, ntName *NTUnicodeString, ntFileNamePart *uint16, relativeName *RTL_RELATIVE_NAME) (ntstatus error) = ntdll.RtlDosPathNameToNtPathName_U_WithStatus + //sys RtlDosPathNameToRelativeNtPathName(dosName *uint16, ntName *NTUnicodeString, ntFileNamePart *uint16, relativeName *RTL_RELATIVE_NAME) (ntstatus error) = ntdll.RtlDosPathNameToRelativeNtPathName_U_WithStatus + //sys RtlDefaultNpAcl(acl **ACL) (ntstatus error) = ntdll.RtlDefaultNpAcl + //sys NtQueryInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.Pointer, procInfoLen uint32, retLen *uint32) (ntstatus error) = ntdll.NtQueryInformationProcess + //sys NtSetInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.Pointer, procInfoLen uint32) (ntstatus error) = ntdll.NtSetInformationProcess ++//sys NtQuerySystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoLen uint32, retLen *uint32) (ntstatus error) = ntdll.NtQuerySystemInformation ++//sys NtSetSystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoLen uint32) (ntstatus error) = ntdll.NtSetSystemInformation ++//sys RtlAddFunctionTable(functionTable *RUNTIME_FUNCTION, entryCount uint32, baseAddress uintptr) (ret bool) = ntdll.RtlAddFunctionTable ++//sys RtlDeleteFunctionTable(functionTable *RUNTIME_FUNCTION) (ret bool) = ntdll.RtlDeleteFunctionTable ++ ++// Desktop Window Manager API (Dwmapi) ++//sys DwmGetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmGetWindowAttribute ++//sys DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmSetWindowAttribute + + // syscall interface implementation for other packages + +@@ -524,12 +557,6 @@ func Read(fd Handle, p []byte) (n int, err error) { + } + return 0, e + } +- if raceenabled { +- if done > 0 { +- raceWriteRange(unsafe.Pointer(&p[0]), int(done)) +- } +- raceAcquire(unsafe.Pointer(&ioSync)) +- } + return int(done), nil + } + +@@ -542,12 +569,31 @@ func Write(fd Handle, p []byte) (n int, err error) { + if e != nil { + return 0, e + } +- if raceenabled && done > 0 { +- raceReadRange(unsafe.Pointer(&p[0]), int(done)) +- } + return int(done), nil + } + ++func ReadFile(fd Handle, p []byte, done *uint32, overlapped *Overlapped) error { ++ err := readFile(fd, p, done, overlapped) ++ if raceenabled { ++ if *done > 0 { ++ raceWriteRange(unsafe.Pointer(&p[0]), int(*done)) ++ } ++ raceAcquire(unsafe.Pointer(&ioSync)) ++ } ++ return err ++} ++ ++func WriteFile(fd Handle, p []byte, done *uint32, overlapped *Overlapped) error { ++ if raceenabled { ++ raceReleaseMerge(unsafe.Pointer(&ioSync)) ++ } ++ err := writeFile(fd, p, done, overlapped) ++ if raceenabled && *done > 0 { ++ raceReadRange(unsafe.Pointer(&p[0]), int(*done)) ++ } ++ return err ++} ++ + var ioSync int64 + + func Seek(fd Handle, offset int64, whence int) (newoffset int64, err error) { +@@ -586,7 +632,6 @@ var ( + + func getStdHandle(stdhandle uint32) (fd Handle) { + r, _ := GetStdHandle(stdhandle) +- CloseOnExec(r) + return r + } + +@@ -711,7 +756,7 @@ func Utimes(path string, tv []Timeval) (err error) { + if e != nil { + return e + } +- defer Close(h) ++ defer CloseHandle(h) + a := NsecToFiletime(tv[0].Nanoseconds()) + w := NsecToFiletime(tv[1].Nanoseconds()) + return SetFileTime(h, nil, &a, &w) +@@ -731,7 +776,7 @@ func UtimesNano(path string, ts []Timespec) (err error) { + if e != nil { + return e + } +- defer Close(h) ++ defer CloseHandle(h) + a := NsecToFiletime(TimespecToNsec(ts[0])) + w := NsecToFiletime(TimespecToNsec(ts[1])) + return SetFileTime(h, nil, &a, &w) +@@ -825,6 +870,7 @@ const socket_error = uintptr(^uint32(0)) + //sys GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) = iphlpapi.GetAdaptersAddresses + //sys GetACP() (acp uint32) = kernel32.GetACP + //sys MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar ++//sys getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) = iphlpapi.GetBestInterfaceEx + + // For testing: clients can set this flag to force + // creation of IPv6 sockets to return EAFNOSUPPORT. +@@ -873,9 +919,7 @@ func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, int32, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), int32(unsafe.Sizeof(sa.raw)), nil + } + +@@ -895,9 +939,7 @@ func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, int32, error) { + 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] +- } ++ sa.raw.Addr = sa.Addr + return unsafe.Pointer(&sa.raw), int32(unsafe.Sizeof(sa.raw)), nil + } + +@@ -938,6 +980,32 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, int32, error) { + return unsafe.Pointer(&sa.raw), sl, nil + } + ++type RawSockaddrBth struct { ++ AddressFamily [2]byte ++ BtAddr [8]byte ++ ServiceClassId [16]byte ++ Port [4]byte ++} ++ ++type SockaddrBth struct { ++ BtAddr uint64 ++ ServiceClassId GUID ++ Port uint32 ++ ++ raw RawSockaddrBth ++} ++ ++func (sa *SockaddrBth) sockaddr() (unsafe.Pointer, int32, error) { ++ family := AF_BTH ++ sa.raw = RawSockaddrBth{ ++ AddressFamily: *(*[2]byte)(unsafe.Pointer(&family)), ++ BtAddr: *(*[8]byte)(unsafe.Pointer(&sa.BtAddr)), ++ Port: *(*[4]byte)(unsafe.Pointer(&sa.Port)), ++ ServiceClassId: *(*[16]byte)(unsafe.Pointer(&sa.ServiceClassId)), ++ } ++ return unsafe.Pointer(&sa.raw), int32(unsafe.Sizeof(sa.raw)), nil ++} ++ + func (rsa *RawSockaddrAny) Sockaddr() (Sockaddr, error) { + switch rsa.Addr.Family { + case AF_UNIX: +@@ -970,9 +1038,7 @@ func (rsa *RawSockaddrAny) Sockaddr() (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + + case AF_INET6: +@@ -981,9 +1047,7 @@ func (rsa *RawSockaddrAny) Sockaddr() (Sockaddr, error) { + 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] +- } ++ sa.Addr = pp.Addr + return sa, nil + } + return nil, syscall.EAFNOSUPPORT +@@ -1017,6 +1081,14 @@ func Connect(fd Handle, sa Sockaddr) (err error) { + return connect(fd, ptr, n) + } + ++func GetBestInterfaceEx(sa Sockaddr, pdwBestIfIndex *uint32) (err error) { ++ ptr, _, err := sa.sockaddr() ++ if err != nil { ++ return err ++ } ++ return getBestInterfaceEx(ptr, pdwBestIfIndex) ++} ++ + func Getsockname(fd Handle) (sa Sockaddr, err error) { + var rsa RawSockaddrAny + l := int32(unsafe.Sizeof(rsa)) +@@ -1044,9 +1116,13 @@ func Shutdown(fd Handle, how int) (err error) { + } + + func WSASendto(s Handle, bufs *WSABuf, bufcnt uint32, sent *uint32, flags uint32, to Sockaddr, overlapped *Overlapped, croutine *byte) (err error) { +- rsa, l, err := to.sockaddr() +- if err != nil { +- return err ++ var rsa unsafe.Pointer ++ var l int32 ++ if to != nil { ++ rsa, l, err = to.sockaddr() ++ if err != nil { ++ return err ++ } + } + return WSASendTo(s, bufs, bufcnt, sent, flags, (*RawSockaddrAny)(unsafe.Pointer(rsa)), l, overlapped, croutine) + } +@@ -1670,3 +1746,71 @@ func LoadResourceData(module, resInfo Handle) (data []byte, err error) { + h.Cap = int(size) + return + } ++ ++// PSAPI_WORKING_SET_EX_BLOCK contains extended working set information for a page. ++type PSAPI_WORKING_SET_EX_BLOCK uint64 ++ ++// Valid returns the validity of this page. ++// If this bit is 1, the subsequent members are valid; otherwise they should be ignored. ++func (b PSAPI_WORKING_SET_EX_BLOCK) Valid() bool { ++ return (b & 1) == 1 ++} ++ ++// ShareCount is the number of processes that share this page. The maximum value of this member is 7. ++func (b PSAPI_WORKING_SET_EX_BLOCK) ShareCount() uint64 { ++ return b.intField(1, 3) ++} ++ ++// Win32Protection is the memory protection attributes of the page. For a list of values, see ++// https://docs.microsoft.com/en-us/windows/win32/memory/memory-protection-constants ++func (b PSAPI_WORKING_SET_EX_BLOCK) Win32Protection() uint64 { ++ return b.intField(4, 11) ++} ++ ++// Shared returns the shared status of this page. ++// If this bit is 1, the page can be shared. ++func (b PSAPI_WORKING_SET_EX_BLOCK) Shared() bool { ++ return (b & (1 << 15)) == 1 ++} ++ ++// Node is the NUMA node. The maximum value of this member is 63. ++func (b PSAPI_WORKING_SET_EX_BLOCK) Node() uint64 { ++ return b.intField(16, 6) ++} ++ ++// Locked returns the locked status of this page. ++// If this bit is 1, the virtual page is locked in physical memory. ++func (b PSAPI_WORKING_SET_EX_BLOCK) Locked() bool { ++ return (b & (1 << 22)) == 1 ++} ++ ++// LargePage returns the large page status of this page. ++// If this bit is 1, the page is a large page. ++func (b PSAPI_WORKING_SET_EX_BLOCK) LargePage() bool { ++ return (b & (1 << 23)) == 1 ++} ++ ++// Bad returns the bad status of this page. ++// If this bit is 1, the page is has been reported as bad. ++func (b PSAPI_WORKING_SET_EX_BLOCK) Bad() bool { ++ return (b & (1 << 31)) == 1 ++} ++ ++// intField extracts an integer field in the PSAPI_WORKING_SET_EX_BLOCK union. ++func (b PSAPI_WORKING_SET_EX_BLOCK) intField(start, length int) uint64 { ++ var mask PSAPI_WORKING_SET_EX_BLOCK ++ for pos := start; pos < start+length; pos++ { ++ mask |= (1 << pos) ++ } ++ ++ masked := b & mask ++ return uint64(masked >> start) ++} ++ ++// PSAPI_WORKING_SET_EX_INFORMATION contains extended working set information for a process. ++type PSAPI_WORKING_SET_EX_INFORMATION struct { ++ // The virtual address. ++ VirtualAddress Pointer ++ // A PSAPI_WORKING_SET_EX_BLOCK union that indicates the attributes of the page at VirtualAddress. ++ VirtualAttributes PSAPI_WORKING_SET_EX_BLOCK ++} +diff --git a/vendor/golang.org/x/sys/windows/types_windows.go b/vendor/golang.org/x/sys/windows/types_windows.go +index 17f0331..0c4add9 100644 +--- a/vendor/golang.org/x/sys/windows/types_windows.go ++++ b/vendor/golang.org/x/sys/windows/types_windows.go +@@ -66,9 +66,21 @@ var signals = [...]string{ + } + + const ( +- FILE_LIST_DIRECTORY = 0x00000001 +- FILE_APPEND_DATA = 0x00000004 ++ FILE_READ_DATA = 0x00000001 ++ FILE_READ_ATTRIBUTES = 0x00000080 ++ FILE_READ_EA = 0x00000008 ++ FILE_WRITE_DATA = 0x00000002 + FILE_WRITE_ATTRIBUTES = 0x00000100 ++ FILE_WRITE_EA = 0x00000010 ++ FILE_APPEND_DATA = 0x00000004 ++ FILE_EXECUTE = 0x00000020 ++ ++ FILE_GENERIC_READ = STANDARD_RIGHTS_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE ++ FILE_GENERIC_WRITE = STANDARD_RIGHTS_WRITE | FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_APPEND_DATA | SYNCHRONIZE ++ FILE_GENERIC_EXECUTE = STANDARD_RIGHTS_EXECUTE | FILE_READ_ATTRIBUTES | FILE_EXECUTE | SYNCHRONIZE ++ ++ FILE_LIST_DIRECTORY = 0x00000001 ++ FILE_TRAVERSE = 0x00000020 + + FILE_SHARE_READ = 0x00000001 + FILE_SHARE_WRITE = 0x00000002 +@@ -144,8 +156,14 @@ const ( + MAX_PATH = 260 + MAX_LONG_PATH = 32768 + ++ MAX_MODULE_NAME32 = 255 ++ + MAX_COMPUTERNAME_LENGTH = 15 + ++ MAX_DHCPV6_DUID_LENGTH = 130 ++ ++ MAX_DNS_SUFFIX_STRING_LENGTH = 256 ++ + TIME_ZONE_ID_UNKNOWN = 0 + TIME_ZONE_ID_STANDARD = 1 + +@@ -242,6 +260,14 @@ const ( + TH32CS_INHERIT = 0x80000000 + ) + ++const ( ++ // flags for EnumProcessModulesEx ++ LIST_MODULES_32BIT = 0x01 ++ LIST_MODULES_64BIT = 0x02 ++ LIST_MODULES_ALL = 0x03 ++ LIST_MODULES_DEFAULT = 0x00 ++) ++ + const ( + // filters for ReadDirectoryChangesW and FindFirstChangeNotificationW + FILE_NOTIFY_CHANGE_FILE_NAME = 0x001 +@@ -916,8 +942,8 @@ type StartupInfoEx struct { + type ProcThreadAttributeList struct{} + + type ProcThreadAttributeListContainer struct { +- data *ProcThreadAttributeList +- heapAllocations []uintptr ++ data *ProcThreadAttributeList ++ pointers []unsafe.Pointer + } + + type ProcessInformation struct { +@@ -950,6 +976,21 @@ type ThreadEntry32 struct { + Flags uint32 + } + ++type ModuleEntry32 struct { ++ Size uint32 ++ ModuleID uint32 ++ ProcessID uint32 ++ GlblcntUsage uint32 ++ ProccntUsage uint32 ++ ModBaseAddr uintptr ++ ModBaseSize uint32 ++ ModuleHandle Handle ++ Module [MAX_MODULE_NAME32 + 1]uint16 ++ ExePath [MAX_PATH]uint16 ++} ++ ++const SizeofModuleEntry32 = unsafe.Sizeof(ModuleEntry32{}) ++ + type Systemtime struct { + Year uint16 + Month uint16 +@@ -1781,7 +1822,53 @@ type reparseDataBuffer struct { + } + + const ( +- FSCTL_GET_REPARSE_POINT = 0x900A8 ++ FSCTL_CREATE_OR_GET_OBJECT_ID = 0x0900C0 ++ FSCTL_DELETE_OBJECT_ID = 0x0900A0 ++ FSCTL_DELETE_REPARSE_POINT = 0x0900AC ++ FSCTL_DUPLICATE_EXTENTS_TO_FILE = 0x098344 ++ FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX = 0x0983E8 ++ FSCTL_FILESYSTEM_GET_STATISTICS = 0x090060 ++ FSCTL_FILE_LEVEL_TRIM = 0x098208 ++ FSCTL_FIND_FILES_BY_SID = 0x09008F ++ FSCTL_GET_COMPRESSION = 0x09003C ++ FSCTL_GET_INTEGRITY_INFORMATION = 0x09027C ++ FSCTL_GET_NTFS_VOLUME_DATA = 0x090064 ++ FSCTL_GET_REFS_VOLUME_DATA = 0x0902D8 ++ FSCTL_GET_OBJECT_ID = 0x09009C ++ FSCTL_GET_REPARSE_POINT = 0x0900A8 ++ FSCTL_GET_RETRIEVAL_POINTER_COUNT = 0x09042B ++ FSCTL_GET_RETRIEVAL_POINTERS = 0x090073 ++ FSCTL_GET_RETRIEVAL_POINTERS_AND_REFCOUNT = 0x0903D3 ++ FSCTL_IS_PATHNAME_VALID = 0x09002C ++ FSCTL_LMR_SET_LINK_TRACKING_INFORMATION = 0x1400EC ++ FSCTL_MARK_HANDLE = 0x0900FC ++ FSCTL_OFFLOAD_READ = 0x094264 ++ FSCTL_OFFLOAD_WRITE = 0x098268 ++ FSCTL_PIPE_PEEK = 0x11400C ++ FSCTL_PIPE_TRANSCEIVE = 0x11C017 ++ FSCTL_PIPE_WAIT = 0x110018 ++ FSCTL_QUERY_ALLOCATED_RANGES = 0x0940CF ++ FSCTL_QUERY_FAT_BPB = 0x090058 ++ FSCTL_QUERY_FILE_REGIONS = 0x090284 ++ FSCTL_QUERY_ON_DISK_VOLUME_INFO = 0x09013C ++ FSCTL_QUERY_SPARING_INFO = 0x090138 ++ FSCTL_READ_FILE_USN_DATA = 0x0900EB ++ FSCTL_RECALL_FILE = 0x090117 ++ FSCTL_REFS_STREAM_SNAPSHOT_MANAGEMENT = 0x090440 ++ FSCTL_SET_COMPRESSION = 0x09C040 ++ FSCTL_SET_DEFECT_MANAGEMENT = 0x098134 ++ FSCTL_SET_ENCRYPTION = 0x0900D7 ++ FSCTL_SET_INTEGRITY_INFORMATION = 0x09C280 ++ FSCTL_SET_INTEGRITY_INFORMATION_EX = 0x090380 ++ FSCTL_SET_OBJECT_ID = 0x090098 ++ FSCTL_SET_OBJECT_ID_EXTENDED = 0x0900BC ++ FSCTL_SET_REPARSE_POINT = 0x0900A4 ++ FSCTL_SET_SPARSE = 0x0900C4 ++ FSCTL_SET_ZERO_DATA = 0x0980C8 ++ FSCTL_SET_ZERO_ON_DEALLOCATION = 0x090194 ++ FSCTL_SIS_COPYFILE = 0x090100 ++ FSCTL_WRITE_USN_CLOSE_RECORD = 0x0900EF ++ + MAXIMUM_REPARSE_DATA_BUFFER_SIZE = 16 * 1024 + IO_REPARSE_TAG_MOUNT_POINT = 0xA0000003 + IO_REPARSE_TAG_SYMLINK = 0xA000000C +@@ -1917,27 +2004,62 @@ type IpAdapterPrefix struct { + } + + type IpAdapterAddresses struct { +- Length uint32 +- IfIndex uint32 +- Next *IpAdapterAddresses +- AdapterName *byte +- FirstUnicastAddress *IpAdapterUnicastAddress +- FirstAnycastAddress *IpAdapterAnycastAddress +- FirstMulticastAddress *IpAdapterMulticastAddress +- FirstDnsServerAddress *IpAdapterDnsServerAdapter +- DnsSuffix *uint16 +- Description *uint16 +- FriendlyName *uint16 +- PhysicalAddress [syscall.MAX_ADAPTER_ADDRESS_LENGTH]byte +- PhysicalAddressLength uint32 +- Flags uint32 +- Mtu uint32 +- IfType uint32 +- OperStatus uint32 +- Ipv6IfIndex uint32 +- ZoneIndices [16]uint32 +- FirstPrefix *IpAdapterPrefix +- /* more fields might be present here. */ ++ Length uint32 ++ IfIndex uint32 ++ Next *IpAdapterAddresses ++ AdapterName *byte ++ FirstUnicastAddress *IpAdapterUnicastAddress ++ FirstAnycastAddress *IpAdapterAnycastAddress ++ FirstMulticastAddress *IpAdapterMulticastAddress ++ FirstDnsServerAddress *IpAdapterDnsServerAdapter ++ DnsSuffix *uint16 ++ Description *uint16 ++ FriendlyName *uint16 ++ PhysicalAddress [syscall.MAX_ADAPTER_ADDRESS_LENGTH]byte ++ PhysicalAddressLength uint32 ++ Flags uint32 ++ Mtu uint32 ++ IfType uint32 ++ OperStatus uint32 ++ Ipv6IfIndex uint32 ++ ZoneIndices [16]uint32 ++ FirstPrefix *IpAdapterPrefix ++ TransmitLinkSpeed uint64 ++ ReceiveLinkSpeed uint64 ++ FirstWinsServerAddress *IpAdapterWinsServerAddress ++ FirstGatewayAddress *IpAdapterGatewayAddress ++ Ipv4Metric uint32 ++ Ipv6Metric uint32 ++ Luid uint64 ++ Dhcpv4Server SocketAddress ++ CompartmentId uint32 ++ NetworkGuid GUID ++ ConnectionType uint32 ++ TunnelType uint32 ++ Dhcpv6Server SocketAddress ++ Dhcpv6ClientDuid [MAX_DHCPV6_DUID_LENGTH]byte ++ Dhcpv6ClientDuidLength uint32 ++ Dhcpv6Iaid uint32 ++ FirstDnsSuffix *IpAdapterDNSSuffix ++} ++ ++type IpAdapterWinsServerAddress struct { ++ Length uint32 ++ Reserved uint32 ++ Next *IpAdapterWinsServerAddress ++ Address SocketAddress ++} ++ ++type IpAdapterGatewayAddress struct { ++ Length uint32 ++ Reserved uint32 ++ Next *IpAdapterGatewayAddress ++ Address SocketAddress ++} ++ ++type IpAdapterDNSSuffix struct { ++ Next *IpAdapterDNSSuffix ++ String [MAX_DNS_SUFFIX_STRING_LENGTH]uint16 + } + + const ( +@@ -2300,6 +2422,12 @@ type LIST_ENTRY struct { + Blink *LIST_ENTRY + } + ++type RUNTIME_FUNCTION struct { ++ BeginAddress uint32 ++ EndAddress uint32 ++ UnwindData uint32 ++} ++ + type LDR_DATA_TABLE_ENTRY struct { + reserved1 [2]uintptr + InMemoryOrderLinks LIST_ENTRY +@@ -2490,6 +2618,60 @@ const ( + FILE_PIPE_SERVER_END = 0x00000001 + ) + ++const ( ++ // FileInformationClass for NtSetInformationFile ++ FileBasicInformation = 4 ++ FileRenameInformation = 10 ++ FileDispositionInformation = 13 ++ FilePositionInformation = 14 ++ FileEndOfFileInformation = 20 ++ FileValidDataLengthInformation = 39 ++ FileShortNameInformation = 40 ++ FileIoPriorityHintInformation = 43 ++ FileReplaceCompletionInformation = 61 ++ FileDispositionInformationEx = 64 ++ FileCaseSensitiveInformation = 71 ++ FileLinkInformation = 72 ++ FileCaseSensitiveInformationForceAccessCheck = 75 ++ FileKnownFolderInformation = 76 ++ ++ // Flags for FILE_RENAME_INFORMATION ++ FILE_RENAME_REPLACE_IF_EXISTS = 0x00000001 ++ FILE_RENAME_POSIX_SEMANTICS = 0x00000002 ++ FILE_RENAME_SUPPRESS_PIN_STATE_INHERITANCE = 0x00000004 ++ FILE_RENAME_SUPPRESS_STORAGE_RESERVE_INHERITANCE = 0x00000008 ++ FILE_RENAME_NO_INCREASE_AVAILABLE_SPACE = 0x00000010 ++ FILE_RENAME_NO_DECREASE_AVAILABLE_SPACE = 0x00000020 ++ FILE_RENAME_PRESERVE_AVAILABLE_SPACE = 0x00000030 ++ FILE_RENAME_IGNORE_READONLY_ATTRIBUTE = 0x00000040 ++ FILE_RENAME_FORCE_RESIZE_TARGET_SR = 0x00000080 ++ FILE_RENAME_FORCE_RESIZE_SOURCE_SR = 0x00000100 ++ FILE_RENAME_FORCE_RESIZE_SR = 0x00000180 ++ ++ // Flags for FILE_DISPOSITION_INFORMATION_EX ++ FILE_DISPOSITION_DO_NOT_DELETE = 0x00000000 ++ FILE_DISPOSITION_DELETE = 0x00000001 ++ FILE_DISPOSITION_POSIX_SEMANTICS = 0x00000002 ++ FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK = 0x00000004 ++ FILE_DISPOSITION_ON_CLOSE = 0x00000008 ++ FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE = 0x00000010 ++ ++ // Flags for FILE_CASE_SENSITIVE_INFORMATION ++ FILE_CS_FLAG_CASE_SENSITIVE_DIR = 0x00000001 ++ ++ // Flags for FILE_LINK_INFORMATION ++ FILE_LINK_REPLACE_IF_EXISTS = 0x00000001 ++ FILE_LINK_POSIX_SEMANTICS = 0x00000002 ++ FILE_LINK_SUPPRESS_STORAGE_RESERVE_INHERITANCE = 0x00000008 ++ FILE_LINK_NO_INCREASE_AVAILABLE_SPACE = 0x00000010 ++ FILE_LINK_NO_DECREASE_AVAILABLE_SPACE = 0x00000020 ++ FILE_LINK_PRESERVE_AVAILABLE_SPACE = 0x00000030 ++ FILE_LINK_IGNORE_READONLY_ATTRIBUTE = 0x00000040 ++ FILE_LINK_FORCE_RESIZE_TARGET_SR = 0x00000080 ++ FILE_LINK_FORCE_RESIZE_SOURCE_SR = 0x00000100 ++ FILE_LINK_FORCE_RESIZE_SR = 0x00000180 ++) ++ + // ProcessInformationClasses for NtQueryInformationProcess and NtSetInformationProcess. + const ( + ProcessBasicInformation = iota +@@ -2606,6 +2788,240 @@ type PROCESS_BASIC_INFORMATION struct { + InheritedFromUniqueProcessId uintptr + } + ++type SYSTEM_PROCESS_INFORMATION struct { ++ NextEntryOffset uint32 ++ NumberOfThreads uint32 ++ WorkingSetPrivateSize int64 ++ HardFaultCount uint32 ++ NumberOfThreadsHighWatermark uint32 ++ CycleTime uint64 ++ CreateTime int64 ++ UserTime int64 ++ KernelTime int64 ++ ImageName NTUnicodeString ++ BasePriority int32 ++ UniqueProcessID uintptr ++ InheritedFromUniqueProcessID uintptr ++ HandleCount uint32 ++ SessionID uint32 ++ UniqueProcessKey *uint32 ++ PeakVirtualSize uintptr ++ VirtualSize uintptr ++ PageFaultCount uint32 ++ PeakWorkingSetSize uintptr ++ WorkingSetSize uintptr ++ QuotaPeakPagedPoolUsage uintptr ++ QuotaPagedPoolUsage uintptr ++ QuotaPeakNonPagedPoolUsage uintptr ++ QuotaNonPagedPoolUsage uintptr ++ PagefileUsage uintptr ++ PeakPagefileUsage uintptr ++ PrivatePageCount uintptr ++ ReadOperationCount int64 ++ WriteOperationCount int64 ++ OtherOperationCount int64 ++ ReadTransferCount int64 ++ WriteTransferCount int64 ++ OtherTransferCount int64 ++} ++ ++// SystemInformationClasses for NtQuerySystemInformation and NtSetSystemInformation ++const ( ++ SystemBasicInformation = iota ++ SystemProcessorInformation ++ SystemPerformanceInformation ++ SystemTimeOfDayInformation ++ SystemPathInformation ++ SystemProcessInformation ++ SystemCallCountInformation ++ SystemDeviceInformation ++ SystemProcessorPerformanceInformation ++ SystemFlagsInformation ++ SystemCallTimeInformation ++ SystemModuleInformation ++ SystemLocksInformation ++ SystemStackTraceInformation ++ SystemPagedPoolInformation ++ SystemNonPagedPoolInformation ++ SystemHandleInformation ++ SystemObjectInformation ++ SystemPageFileInformation ++ SystemVdmInstemulInformation ++ SystemVdmBopInformation ++ SystemFileCacheInformation ++ SystemPoolTagInformation ++ SystemInterruptInformation ++ SystemDpcBehaviorInformation ++ SystemFullMemoryInformation ++ SystemLoadGdiDriverInformation ++ SystemUnloadGdiDriverInformation ++ SystemTimeAdjustmentInformation ++ SystemSummaryMemoryInformation ++ SystemMirrorMemoryInformation ++ SystemPerformanceTraceInformation ++ systemObsolete0 ++ SystemExceptionInformation ++ SystemCrashDumpStateInformation ++ SystemKernelDebuggerInformation ++ SystemContextSwitchInformation ++ SystemRegistryQuotaInformation ++ SystemExtendServiceTableInformation ++ SystemPrioritySeperation ++ SystemVerifierAddDriverInformation ++ SystemVerifierRemoveDriverInformation ++ SystemProcessorIdleInformation ++ SystemLegacyDriverInformation ++ SystemCurrentTimeZoneInformation ++ SystemLookasideInformation ++ SystemTimeSlipNotification ++ SystemSessionCreate ++ SystemSessionDetach ++ SystemSessionInformation ++ SystemRangeStartInformation ++ SystemVerifierInformation ++ SystemVerifierThunkExtend ++ SystemSessionProcessInformation ++ SystemLoadGdiDriverInSystemSpace ++ SystemNumaProcessorMap ++ SystemPrefetcherInformation ++ SystemExtendedProcessInformation ++ SystemRecommendedSharedDataAlignment ++ SystemComPlusPackage ++ SystemNumaAvailableMemory ++ SystemProcessorPowerInformation ++ SystemEmulationBasicInformation ++ SystemEmulationProcessorInformation ++ SystemExtendedHandleInformation ++ SystemLostDelayedWriteInformation ++ SystemBigPoolInformation ++ SystemSessionPoolTagInformation ++ SystemSessionMappedViewInformation ++ SystemHotpatchInformation ++ SystemObjectSecurityMode ++ SystemWatchdogTimerHandler ++ SystemWatchdogTimerInformation ++ SystemLogicalProcessorInformation ++ SystemWow64SharedInformationObsolete ++ SystemRegisterFirmwareTableInformationHandler ++ SystemFirmwareTableInformation ++ SystemModuleInformationEx ++ SystemVerifierTriageInformation ++ SystemSuperfetchInformation ++ SystemMemoryListInformation ++ SystemFileCacheInformationEx ++ SystemThreadPriorityClientIdInformation ++ SystemProcessorIdleCycleTimeInformation ++ SystemVerifierCancellationInformation ++ SystemProcessorPowerInformationEx ++ SystemRefTraceInformation ++ SystemSpecialPoolInformation ++ SystemProcessIdInformation ++ SystemErrorPortInformation ++ SystemBootEnvironmentInformation ++ SystemHypervisorInformation ++ SystemVerifierInformationEx ++ SystemTimeZoneInformation ++ SystemImageFileExecutionOptionsInformation ++ SystemCoverageInformation ++ SystemPrefetchPatchInformation ++ SystemVerifierFaultsInformation ++ SystemSystemPartitionInformation ++ SystemSystemDiskInformation ++ SystemProcessorPerformanceDistribution ++ SystemNumaProximityNodeInformation ++ SystemDynamicTimeZoneInformation ++ SystemCodeIntegrityInformation ++ SystemProcessorMicrocodeUpdateInformation ++ SystemProcessorBrandString ++ SystemVirtualAddressInformation ++ SystemLogicalProcessorAndGroupInformation ++ SystemProcessorCycleTimeInformation ++ SystemStoreInformation ++ SystemRegistryAppendString ++ SystemAitSamplingValue ++ SystemVhdBootInformation ++ SystemCpuQuotaInformation ++ SystemNativeBasicInformation ++ systemSpare1 ++ SystemLowPriorityIoInformation ++ SystemTpmBootEntropyInformation ++ SystemVerifierCountersInformation ++ SystemPagedPoolInformationEx ++ SystemSystemPtesInformationEx ++ SystemNodeDistanceInformation ++ SystemAcpiAuditInformation ++ SystemBasicPerformanceInformation ++ SystemQueryPerformanceCounterInformation ++ SystemSessionBigPoolInformation ++ SystemBootGraphicsInformation ++ SystemScrubPhysicalMemoryInformation ++ SystemBadPageInformation ++ SystemProcessorProfileControlArea ++ SystemCombinePhysicalMemoryInformation ++ SystemEntropyInterruptTimingCallback ++ SystemConsoleInformation ++ SystemPlatformBinaryInformation ++ SystemThrottleNotificationInformation ++ SystemHypervisorProcessorCountInformation ++ SystemDeviceDataInformation ++ SystemDeviceDataEnumerationInformation ++ SystemMemoryTopologyInformation ++ SystemMemoryChannelInformation ++ SystemBootLogoInformation ++ SystemProcessorPerformanceInformationEx ++ systemSpare0 ++ SystemSecureBootPolicyInformation ++ SystemPageFileInformationEx ++ SystemSecureBootInformation ++ SystemEntropyInterruptTimingRawInformation ++ SystemPortableWorkspaceEfiLauncherInformation ++ SystemFullProcessInformation ++ SystemKernelDebuggerInformationEx ++ SystemBootMetadataInformation ++ SystemSoftRebootInformation ++ SystemElamCertificateInformation ++ SystemOfflineDumpConfigInformation ++ SystemProcessorFeaturesInformation ++ SystemRegistryReconciliationInformation ++ SystemEdidInformation ++ SystemManufacturingInformation ++ SystemEnergyEstimationConfigInformation ++ SystemHypervisorDetailInformation ++ SystemProcessorCycleStatsInformation ++ SystemVmGenerationCountInformation ++ SystemTrustedPlatformModuleInformation ++ SystemKernelDebuggerFlags ++ SystemCodeIntegrityPolicyInformation ++ SystemIsolatedUserModeInformation ++ SystemHardwareSecurityTestInterfaceResultsInformation ++ SystemSingleModuleInformation ++ SystemAllowedCpuSetsInformation ++ SystemDmaProtectionInformation ++ SystemInterruptCpuSetsInformation ++ SystemSecureBootPolicyFullInformation ++ SystemCodeIntegrityPolicyFullInformation ++ SystemAffinitizedInterruptProcessorInformation ++ SystemRootSiloInformation ++) ++ ++type RTL_PROCESS_MODULE_INFORMATION struct { ++ Section Handle ++ MappedBase uintptr ++ ImageBase uintptr ++ ImageSize uint32 ++ Flags uint32 ++ LoadOrderIndex uint16 ++ InitOrderIndex uint16 ++ LoadCount uint16 ++ OffsetToFileName uint16 ++ FullPathName [256]byte ++} ++ ++type RTL_PROCESS_MODULES struct { ++ NumberOfModules uint32 ++ Modules [1]RTL_PROCESS_MODULE_INFORMATION ++} ++ + // Constants for LocalAlloc flags. + const ( + LMEM_FIXED = 0x0 +@@ -2700,6 +3116,22 @@ var ( + RT_MANIFEST ResourceID = 24 + ) + ++type VS_FIXEDFILEINFO struct { ++ Signature uint32 ++ StrucVersion uint32 ++ FileVersionMS uint32 ++ FileVersionLS uint32 ++ ProductVersionMS uint32 ++ ProductVersionLS uint32 ++ FileFlagsMask uint32 ++ FileFlags uint32 ++ FileOS uint32 ++ FileType uint32 ++ FileSubtype uint32 ++ FileDateMS uint32 ++ FileDateLS uint32 ++} ++ + type COAUTHIDENTITY struct { + User *uint16 + UserLength uint32 +@@ -2773,3 +3205,56 @@ const ( + + // Flag for QueryFullProcessImageName. + const PROCESS_NAME_NATIVE = 1 ++ ++type ModuleInfo struct { ++ BaseOfDll uintptr ++ SizeOfImage uint32 ++ EntryPoint uintptr ++} ++ ++const ALL_PROCESSOR_GROUPS = 0xFFFF ++ ++type Rect struct { ++ Left int32 ++ Top int32 ++ Right int32 ++ Bottom int32 ++} ++ ++type GUIThreadInfo struct { ++ Size uint32 ++ Flags uint32 ++ Active HWND ++ Focus HWND ++ Capture HWND ++ MenuOwner HWND ++ MoveSize HWND ++ CaretHandle HWND ++ CaretRect Rect ++} ++ ++const ( ++ DWMWA_NCRENDERING_ENABLED = 1 ++ DWMWA_NCRENDERING_POLICY = 2 ++ DWMWA_TRANSITIONS_FORCEDISABLED = 3 ++ DWMWA_ALLOW_NCPAINT = 4 ++ DWMWA_CAPTION_BUTTON_BOUNDS = 5 ++ DWMWA_NONCLIENT_RTL_LAYOUT = 6 ++ DWMWA_FORCE_ICONIC_REPRESENTATION = 7 ++ DWMWA_FLIP3D_POLICY = 8 ++ DWMWA_EXTENDED_FRAME_BOUNDS = 9 ++ DWMWA_HAS_ICONIC_BITMAP = 10 ++ DWMWA_DISALLOW_PEEK = 11 ++ DWMWA_EXCLUDED_FROM_PEEK = 12 ++ DWMWA_CLOAK = 13 ++ DWMWA_CLOAKED = 14 ++ DWMWA_FREEZE_REPRESENTATION = 15 ++ DWMWA_PASSIVE_UPDATE_MODE = 16 ++ DWMWA_USE_HOSTBACKDROPBRUSH = 17 ++ DWMWA_USE_IMMERSIVE_DARK_MODE = 20 ++ DWMWA_WINDOW_CORNER_PREFERENCE = 33 ++ DWMWA_BORDER_COLOR = 34 ++ DWMWA_CAPTION_COLOR = 35 ++ DWMWA_TEXT_COLOR = 36 ++ DWMWA_VISIBLE_FRAME_BORDER_THICKNESS = 37 ++) +diff --git a/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/vendor/golang.org/x/sys/windows/zsyscall_windows.go +index 148de0f..ac60052 100644 +--- a/vendor/golang.org/x/sys/windows/zsyscall_windows.go ++++ b/vendor/golang.org/x/sys/windows/zsyscall_windows.go +@@ -36,9 +36,11 @@ func errnoErr(e syscall.Errno) error { + } + + var ( ++ modCfgMgr32 = NewLazySystemDLL("CfgMgr32.dll") + modadvapi32 = NewLazySystemDLL("advapi32.dll") + modcrypt32 = NewLazySystemDLL("crypt32.dll") + moddnsapi = NewLazySystemDLL("dnsapi.dll") ++ moddwmapi = NewLazySystemDLL("dwmapi.dll") + modiphlpapi = NewLazySystemDLL("iphlpapi.dll") + modkernel32 = NewLazySystemDLL("kernel32.dll") + modmswsock = NewLazySystemDLL("mswsock.dll") +@@ -48,13 +50,19 @@ var ( + modpsapi = NewLazySystemDLL("psapi.dll") + modsechost = NewLazySystemDLL("sechost.dll") + modsecur32 = NewLazySystemDLL("secur32.dll") ++ modsetupapi = NewLazySystemDLL("setupapi.dll") + modshell32 = NewLazySystemDLL("shell32.dll") + moduser32 = NewLazySystemDLL("user32.dll") + moduserenv = NewLazySystemDLL("userenv.dll") ++ modversion = NewLazySystemDLL("version.dll") + modwintrust = NewLazySystemDLL("wintrust.dll") + modws2_32 = NewLazySystemDLL("ws2_32.dll") + modwtsapi32 = NewLazySystemDLL("wtsapi32.dll") + ++ procCM_Get_DevNode_Status = modCfgMgr32.NewProc("CM_Get_DevNode_Status") ++ procCM_Get_Device_Interface_ListW = modCfgMgr32.NewProc("CM_Get_Device_Interface_ListW") ++ procCM_Get_Device_Interface_List_SizeW = modCfgMgr32.NewProc("CM_Get_Device_Interface_List_SizeW") ++ procCM_MapCrToWin32Err = modCfgMgr32.NewProc("CM_MapCrToWin32Err") + procAdjustTokenGroups = modadvapi32.NewProc("AdjustTokenGroups") + procAdjustTokenPrivileges = modadvapi32.NewProc("AdjustTokenPrivileges") + procAllocateAndInitializeSid = modadvapi32.NewProc("AllocateAndInitializeSid") +@@ -114,6 +122,7 @@ var ( + procOpenThreadToken = modadvapi32.NewProc("OpenThreadToken") + procQueryServiceConfig2W = modadvapi32.NewProc("QueryServiceConfig2W") + procQueryServiceConfigW = modadvapi32.NewProc("QueryServiceConfigW") ++ procQueryServiceDynamicInformation = modadvapi32.NewProc("QueryServiceDynamicInformation") + procQueryServiceLockStatusW = modadvapi32.NewProc("QueryServiceLockStatusW") + procQueryServiceStatus = modadvapi32.NewProc("QueryServiceStatus") + procQueryServiceStatusEx = modadvapi32.NewProc("QueryServiceStatusEx") +@@ -124,6 +133,7 @@ var ( + procRegQueryInfoKeyW = modadvapi32.NewProc("RegQueryInfoKeyW") + procRegQueryValueExW = modadvapi32.NewProc("RegQueryValueExW") + procRegisterEventSourceW = modadvapi32.NewProc("RegisterEventSourceW") ++ procRegisterServiceCtrlHandlerExW = modadvapi32.NewProc("RegisterServiceCtrlHandlerExW") + procReportEventW = modadvapi32.NewProc("ReportEventW") + procRevertToSelf = modadvapi32.NewProc("RevertToSelf") + procSetEntriesInAclW = modadvapi32.NewProc("SetEntriesInAclW") +@@ -166,8 +176,11 @@ var ( + procDnsNameCompare_W = moddnsapi.NewProc("DnsNameCompare_W") + procDnsQuery_W = moddnsapi.NewProc("DnsQuery_W") + procDnsRecordListFree = moddnsapi.NewProc("DnsRecordListFree") ++ procDwmGetWindowAttribute = moddwmapi.NewProc("DwmGetWindowAttribute") ++ procDwmSetWindowAttribute = moddwmapi.NewProc("DwmSetWindowAttribute") + procGetAdaptersAddresses = modiphlpapi.NewProc("GetAdaptersAddresses") + procGetAdaptersInfo = modiphlpapi.NewProc("GetAdaptersInfo") ++ procGetBestInterfaceEx = modiphlpapi.NewProc("GetBestInterfaceEx") + procGetIfEntry = modiphlpapi.NewProc("GetIfEntry") + procAssignProcessToJobObject = modkernel32.NewProc("AssignProcessToJobObject") + procCancelIo = modkernel32.NewProc("CancelIo") +@@ -196,6 +209,7 @@ var ( + procDeviceIoControl = modkernel32.NewProc("DeviceIoControl") + procDuplicateHandle = modkernel32.NewProc("DuplicateHandle") + procExitProcess = modkernel32.NewProc("ExitProcess") ++ procExpandEnvironmentStringsW = modkernel32.NewProc("ExpandEnvironmentStringsW") + procFindClose = modkernel32.NewProc("FindClose") + procFindCloseChangeNotification = modkernel32.NewProc("FindCloseChangeNotification") + procFindFirstChangeNotificationW = modkernel32.NewProc("FindFirstChangeNotificationW") +@@ -216,6 +230,7 @@ var ( + procFreeLibrary = modkernel32.NewProc("FreeLibrary") + procGenerateConsoleCtrlEvent = modkernel32.NewProc("GenerateConsoleCtrlEvent") + procGetACP = modkernel32.NewProc("GetACP") ++ procGetActiveProcessorCount = modkernel32.NewProc("GetActiveProcessorCount") + procGetCommTimeouts = modkernel32.NewProc("GetCommTimeouts") + procGetCommandLineW = modkernel32.NewProc("GetCommandLineW") + procGetComputerNameExW = modkernel32.NewProc("GetComputerNameExW") +@@ -237,10 +252,12 @@ var ( + procGetFileType = modkernel32.NewProc("GetFileType") + procGetFinalPathNameByHandleW = modkernel32.NewProc("GetFinalPathNameByHandleW") + procGetFullPathNameW = modkernel32.NewProc("GetFullPathNameW") ++ procGetLargePageMinimum = modkernel32.NewProc("GetLargePageMinimum") + procGetLastError = modkernel32.NewProc("GetLastError") + procGetLogicalDriveStringsW = modkernel32.NewProc("GetLogicalDriveStringsW") + procGetLogicalDrives = modkernel32.NewProc("GetLogicalDrives") + procGetLongPathNameW = modkernel32.NewProc("GetLongPathNameW") ++ procGetMaximumProcessorCount = modkernel32.NewProc("GetMaximumProcessorCount") + procGetModuleFileNameW = modkernel32.NewProc("GetModuleFileNameW") + procGetModuleHandleExW = modkernel32.NewProc("GetModuleHandleExW") + procGetNamedPipeHandleStateW = modkernel32.NewProc("GetNamedPipeHandleStateW") +@@ -285,6 +302,8 @@ var ( + procLockFileEx = modkernel32.NewProc("LockFileEx") + procLockResource = modkernel32.NewProc("LockResource") + procMapViewOfFile = modkernel32.NewProc("MapViewOfFile") ++ procModule32FirstW = modkernel32.NewProc("Module32FirstW") ++ procModule32NextW = modkernel32.NewProc("Module32NextW") + procMoveFileExW = modkernel32.NewProc("MoveFileExW") + procMoveFileW = modkernel32.NewProc("MoveFileW") + procMultiByteToWideChar = modkernel32.NewProc("MultiByteToWideChar") +@@ -303,6 +322,7 @@ var ( + procReadConsoleW = modkernel32.NewProc("ReadConsoleW") + procReadDirectoryChangesW = modkernel32.NewProc("ReadDirectoryChangesW") + procReadFile = modkernel32.NewProc("ReadFile") ++ procReadProcessMemory = modkernel32.NewProc("ReadProcessMemory") + procReleaseMutex = modkernel32.NewProc("ReleaseMutex") + procRemoveDirectoryW = modkernel32.NewProc("RemoveDirectoryW") + procResetEvent = modkernel32.NewProc("ResetEvent") +@@ -345,11 +365,16 @@ var ( + procVirtualFree = modkernel32.NewProc("VirtualFree") + procVirtualLock = modkernel32.NewProc("VirtualLock") + procVirtualProtect = modkernel32.NewProc("VirtualProtect") ++ procVirtualProtectEx = modkernel32.NewProc("VirtualProtectEx") ++ procVirtualQuery = modkernel32.NewProc("VirtualQuery") ++ procVirtualQueryEx = modkernel32.NewProc("VirtualQueryEx") + procVirtualUnlock = modkernel32.NewProc("VirtualUnlock") ++ procWTSGetActiveConsoleSessionId = modkernel32.NewProc("WTSGetActiveConsoleSessionId") + procWaitForMultipleObjects = modkernel32.NewProc("WaitForMultipleObjects") + procWaitForSingleObject = modkernel32.NewProc("WaitForSingleObject") + procWriteConsoleW = modkernel32.NewProc("WriteConsoleW") + procWriteFile = modkernel32.NewProc("WriteFile") ++ procWriteProcessMemory = modkernel32.NewProc("WriteProcessMemory") + procAcceptEx = modmswsock.NewProc("AcceptEx") + procGetAcceptExSockaddrs = modmswsock.NewProc("GetAcceptExSockaddrs") + procTransmitFile = modmswsock.NewProc("TransmitFile") +@@ -359,8 +384,13 @@ var ( + procNtCreateFile = modntdll.NewProc("NtCreateFile") + procNtCreateNamedPipeFile = modntdll.NewProc("NtCreateNamedPipeFile") + procNtQueryInformationProcess = modntdll.NewProc("NtQueryInformationProcess") ++ procNtQuerySystemInformation = modntdll.NewProc("NtQuerySystemInformation") ++ procNtSetInformationFile = modntdll.NewProc("NtSetInformationFile") + procNtSetInformationProcess = modntdll.NewProc("NtSetInformationProcess") ++ procNtSetSystemInformation = modntdll.NewProc("NtSetSystemInformation") ++ procRtlAddFunctionTable = modntdll.NewProc("RtlAddFunctionTable") + procRtlDefaultNpAcl = modntdll.NewProc("RtlDefaultNpAcl") ++ procRtlDeleteFunctionTable = modntdll.NewProc("RtlDeleteFunctionTable") + procRtlDosPathNameToNtPathName_U_WithStatus = modntdll.NewProc("RtlDosPathNameToNtPathName_U_WithStatus") + procRtlDosPathNameToRelativeNtPathName_U_WithStatus = modntdll.NewProc("RtlDosPathNameToRelativeNtPathName_U_WithStatus") + procRtlGetCurrentPeb = modntdll.NewProc("RtlGetCurrentPeb") +@@ -376,21 +406,67 @@ var ( + procCoTaskMemFree = modole32.NewProc("CoTaskMemFree") + procCoUninitialize = modole32.NewProc("CoUninitialize") + procStringFromGUID2 = modole32.NewProc("StringFromGUID2") ++ procEnumProcessModules = modpsapi.NewProc("EnumProcessModules") ++ procEnumProcessModulesEx = modpsapi.NewProc("EnumProcessModulesEx") + procEnumProcesses = modpsapi.NewProc("EnumProcesses") ++ procGetModuleBaseNameW = modpsapi.NewProc("GetModuleBaseNameW") ++ procGetModuleFileNameExW = modpsapi.NewProc("GetModuleFileNameExW") ++ procGetModuleInformation = modpsapi.NewProc("GetModuleInformation") ++ procQueryWorkingSetEx = modpsapi.NewProc("QueryWorkingSetEx") + procSubscribeServiceChangeNotifications = modsechost.NewProc("SubscribeServiceChangeNotifications") + procUnsubscribeServiceChangeNotifications = modsechost.NewProc("UnsubscribeServiceChangeNotifications") + procGetUserNameExW = modsecur32.NewProc("GetUserNameExW") + procTranslateNameW = modsecur32.NewProc("TranslateNameW") ++ procSetupDiBuildDriverInfoList = modsetupapi.NewProc("SetupDiBuildDriverInfoList") ++ procSetupDiCallClassInstaller = modsetupapi.NewProc("SetupDiCallClassInstaller") ++ procSetupDiCancelDriverInfoSearch = modsetupapi.NewProc("SetupDiCancelDriverInfoSearch") ++ procSetupDiClassGuidsFromNameExW = modsetupapi.NewProc("SetupDiClassGuidsFromNameExW") ++ procSetupDiClassNameFromGuidExW = modsetupapi.NewProc("SetupDiClassNameFromGuidExW") ++ procSetupDiCreateDeviceInfoListExW = modsetupapi.NewProc("SetupDiCreateDeviceInfoListExW") ++ procSetupDiCreateDeviceInfoW = modsetupapi.NewProc("SetupDiCreateDeviceInfoW") ++ procSetupDiDestroyDeviceInfoList = modsetupapi.NewProc("SetupDiDestroyDeviceInfoList") ++ procSetupDiDestroyDriverInfoList = modsetupapi.NewProc("SetupDiDestroyDriverInfoList") ++ procSetupDiEnumDeviceInfo = modsetupapi.NewProc("SetupDiEnumDeviceInfo") ++ procSetupDiEnumDriverInfoW = modsetupapi.NewProc("SetupDiEnumDriverInfoW") ++ procSetupDiGetClassDevsExW = modsetupapi.NewProc("SetupDiGetClassDevsExW") ++ procSetupDiGetClassInstallParamsW = modsetupapi.NewProc("SetupDiGetClassInstallParamsW") ++ procSetupDiGetDeviceInfoListDetailW = modsetupapi.NewProc("SetupDiGetDeviceInfoListDetailW") ++ procSetupDiGetDeviceInstallParamsW = modsetupapi.NewProc("SetupDiGetDeviceInstallParamsW") ++ procSetupDiGetDeviceInstanceIdW = modsetupapi.NewProc("SetupDiGetDeviceInstanceIdW") ++ procSetupDiGetDevicePropertyW = modsetupapi.NewProc("SetupDiGetDevicePropertyW") ++ procSetupDiGetDeviceRegistryPropertyW = modsetupapi.NewProc("SetupDiGetDeviceRegistryPropertyW") ++ procSetupDiGetDriverInfoDetailW = modsetupapi.NewProc("SetupDiGetDriverInfoDetailW") ++ procSetupDiGetSelectedDevice = modsetupapi.NewProc("SetupDiGetSelectedDevice") ++ procSetupDiGetSelectedDriverW = modsetupapi.NewProc("SetupDiGetSelectedDriverW") ++ procSetupDiOpenDevRegKey = modsetupapi.NewProc("SetupDiOpenDevRegKey") ++ procSetupDiSetClassInstallParamsW = modsetupapi.NewProc("SetupDiSetClassInstallParamsW") ++ procSetupDiSetDeviceInstallParamsW = modsetupapi.NewProc("SetupDiSetDeviceInstallParamsW") ++ procSetupDiSetDeviceRegistryPropertyW = modsetupapi.NewProc("SetupDiSetDeviceRegistryPropertyW") ++ procSetupDiSetSelectedDevice = modsetupapi.NewProc("SetupDiSetSelectedDevice") ++ procSetupDiSetSelectedDriverW = modsetupapi.NewProc("SetupDiSetSelectedDriverW") ++ procSetupUninstallOEMInfW = modsetupapi.NewProc("SetupUninstallOEMInfW") + procCommandLineToArgvW = modshell32.NewProc("CommandLineToArgvW") + procSHGetKnownFolderPath = modshell32.NewProc("SHGetKnownFolderPath") + procShellExecuteW = modshell32.NewProc("ShellExecuteW") ++ procEnumChildWindows = moduser32.NewProc("EnumChildWindows") ++ procEnumWindows = moduser32.NewProc("EnumWindows") + procExitWindowsEx = moduser32.NewProc("ExitWindowsEx") ++ procGetClassNameW = moduser32.NewProc("GetClassNameW") ++ procGetDesktopWindow = moduser32.NewProc("GetDesktopWindow") ++ procGetForegroundWindow = moduser32.NewProc("GetForegroundWindow") ++ procGetGUIThreadInfo = moduser32.NewProc("GetGUIThreadInfo") + procGetShellWindow = moduser32.NewProc("GetShellWindow") + procGetWindowThreadProcessId = moduser32.NewProc("GetWindowThreadProcessId") ++ procIsWindow = moduser32.NewProc("IsWindow") ++ procIsWindowUnicode = moduser32.NewProc("IsWindowUnicode") ++ procIsWindowVisible = moduser32.NewProc("IsWindowVisible") + procMessageBoxW = moduser32.NewProc("MessageBoxW") + procCreateEnvironmentBlock = moduserenv.NewProc("CreateEnvironmentBlock") + procDestroyEnvironmentBlock = moduserenv.NewProc("DestroyEnvironmentBlock") + procGetUserProfileDirectoryW = moduserenv.NewProc("GetUserProfileDirectoryW") ++ procGetFileVersionInfoSizeW = modversion.NewProc("GetFileVersionInfoSizeW") ++ procGetFileVersionInfoW = modversion.NewProc("GetFileVersionInfoW") ++ procVerQueryValueW = modversion.NewProc("VerQueryValueW") + procWinVerifyTrustEx = modwintrust.NewProc("WinVerifyTrustEx") + procFreeAddrInfoW = modws2_32.NewProc("FreeAddrInfoW") + procGetAddrInfoW = modws2_32.NewProc("GetAddrInfoW") +@@ -425,6 +501,30 @@ var ( + procWTSQueryUserToken = modwtsapi32.NewProc("WTSQueryUserToken") + ) + ++func cm_Get_DevNode_Status(status *uint32, problemNumber *uint32, devInst DEVINST, flags uint32) (ret CONFIGRET) { ++ r0, _, _ := syscall.Syscall6(procCM_Get_DevNode_Status.Addr(), 4, uintptr(unsafe.Pointer(status)), uintptr(unsafe.Pointer(problemNumber)), uintptr(devInst), uintptr(flags), 0, 0) ++ ret = CONFIGRET(r0) ++ return ++} ++ ++func cm_Get_Device_Interface_List(interfaceClass *GUID, deviceID *uint16, buffer *uint16, bufferLen uint32, flags uint32) (ret CONFIGRET) { ++ r0, _, _ := syscall.Syscall6(procCM_Get_Device_Interface_ListW.Addr(), 5, uintptr(unsafe.Pointer(interfaceClass)), uintptr(unsafe.Pointer(deviceID)), uintptr(unsafe.Pointer(buffer)), uintptr(bufferLen), uintptr(flags), 0) ++ ret = CONFIGRET(r0) ++ return ++} ++ ++func cm_Get_Device_Interface_List_Size(len *uint32, interfaceClass *GUID, deviceID *uint16, flags uint32) (ret CONFIGRET) { ++ r0, _, _ := syscall.Syscall6(procCM_Get_Device_Interface_List_SizeW.Addr(), 4, uintptr(unsafe.Pointer(len)), uintptr(unsafe.Pointer(interfaceClass)), uintptr(unsafe.Pointer(deviceID)), uintptr(flags), 0, 0) ++ ret = CONFIGRET(r0) ++ return ++} ++ ++func cm_MapCrToWin32Err(configRet CONFIGRET, defaultWin32Error Errno) (ret Errno) { ++ r0, _, _ := syscall.Syscall(procCM_MapCrToWin32Err.Addr(), 2, uintptr(configRet), uintptr(defaultWin32Error), 0) ++ ret = Errno(r0) ++ return ++} ++ + func AdjustTokenGroups(token Token, resetToDefault bool, newstate *Tokengroups, buflen uint32, prevstate *Tokengroups, returnlen *uint32) (err error) { + var _p0 uint32 + if resetToDefault { +@@ -955,6 +1055,18 @@ func QueryServiceConfig(service Handle, serviceConfig *QUERY_SERVICE_CONFIG, buf + return + } + ++func QueryServiceDynamicInformation(service Handle, infoLevel uint32, dynamicInfo unsafe.Pointer) (err error) { ++ err = procQueryServiceDynamicInformation.Find() ++ if err != nil { ++ return ++ } ++ r1, _, e1 := syscall.Syscall(procQueryServiceDynamicInformation.Addr(), 3, uintptr(service), uintptr(infoLevel), uintptr(dynamicInfo)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func QueryServiceLockStatus(mgr Handle, lockStatus *QUERY_SERVICE_LOCK_STATUS, bufSize uint32, bytesNeeded *uint32) (err error) { + r1, _, e1 := syscall.Syscall6(procQueryServiceLockStatusW.Addr(), 4, uintptr(mgr), uintptr(unsafe.Pointer(lockStatus)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded)), 0, 0) + if r1 == 0 { +@@ -1044,6 +1156,15 @@ func RegisterEventSource(uncServerName *uint16, sourceName *uint16) (handle Hand + return + } + ++func RegisterServiceCtrlHandlerEx(serviceName *uint16, handlerProc uintptr, context uintptr) (handle Handle, err error) { ++ r0, _, e1 := syscall.Syscall(procRegisterServiceCtrlHandlerExW.Addr(), 3, uintptr(unsafe.Pointer(serviceName)), uintptr(handlerProc), uintptr(context)) ++ handle = Handle(r0) ++ if handle == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func ReportEvent(log Handle, etype uint16, category uint16, eventId uint32, usrSId uintptr, numStrings uint16, dataSize uint32, strings **uint16, rawData *byte) (err error) { + r1, _, e1 := syscall.Syscall9(procReportEventW.Addr(), 9, uintptr(log), uintptr(etype), uintptr(category), uintptr(eventId), uintptr(usrSId), uintptr(numStrings), uintptr(dataSize), uintptr(unsafe.Pointer(strings)), uintptr(unsafe.Pointer(rawData))) + if r1 == 0 { +@@ -1417,6 +1538,22 @@ func DnsRecordListFree(rl *DNSRecord, freetype uint32) { + return + } + ++func DwmGetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) { ++ r0, _, _ := syscall.Syscall6(procDwmGetWindowAttribute.Addr(), 4, uintptr(hwnd), uintptr(attribute), uintptr(value), uintptr(size), 0, 0) ++ if r0 != 0 { ++ ret = syscall.Errno(r0) ++ } ++ return ++} ++ ++func DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) { ++ r0, _, _ := syscall.Syscall6(procDwmSetWindowAttribute.Addr(), 4, uintptr(hwnd), uintptr(attribute), uintptr(value), uintptr(size), 0, 0) ++ if r0 != 0 { ++ ret = syscall.Errno(r0) ++ } ++ return ++} ++ + func GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) { + r0, _, _ := syscall.Syscall6(procGetAdaptersAddresses.Addr(), 5, uintptr(family), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(adapterAddresses)), uintptr(unsafe.Pointer(sizePointer)), 0) + if r0 != 0 { +@@ -1433,6 +1570,14 @@ func GetAdaptersInfo(ai *IpAdapterInfo, ol *uint32) (errcode error) { + return + } + ++func getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) { ++ r0, _, _ := syscall.Syscall(procGetBestInterfaceEx.Addr(), 2, uintptr(sockaddr), uintptr(unsafe.Pointer(pdwBestIfIndex)), 0) ++ if r0 != 0 { ++ errcode = syscall.Errno(r0) ++ } ++ return ++} ++ + func GetIfEntry(pIfRow *MibIfRow) (errcode error) { + r0, _, _ := syscall.Syscall(procGetIfEntry.Addr(), 1, uintptr(unsafe.Pointer(pIfRow)), 0, 0) + if r0 != 0 { +@@ -1673,6 +1818,15 @@ func ExitProcess(exitcode uint32) { + return + } + ++func ExpandEnvironmentStrings(src *uint16, dst *uint16, size uint32) (n uint32, err error) { ++ r0, _, e1 := syscall.Syscall(procExpandEnvironmentStringsW.Addr(), 3, uintptr(unsafe.Pointer(src)), uintptr(unsafe.Pointer(dst)), uintptr(size)) ++ n = uint32(r0) ++ if n == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func FindClose(handle Handle) (err error) { + r1, _, e1 := syscall.Syscall(procFindClose.Addr(), 1, uintptr(handle), 0, 0) + if r1 == 0 { +@@ -1854,6 +2008,12 @@ func GetACP() (acp uint32) { + return + } + ++func GetActiveProcessorCount(groupNumber uint16) (ret uint32) { ++ r0, _, _ := syscall.Syscall(procGetActiveProcessorCount.Addr(), 1, uintptr(groupNumber), 0, 0) ++ ret = uint32(r0) ++ return ++} ++ + func GetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) { + r1, _, e1 := syscall.Syscall(procGetCommTimeouts.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(timeouts)), 0) + if r1 == 0 { +@@ -2021,6 +2181,12 @@ func GetFullPathName(path *uint16, buflen uint32, buf *uint16, fname **uint16) ( + return + } + ++func GetLargePageMinimum() (size uintptr) { ++ r0, _, _ := syscall.Syscall(procGetLargePageMinimum.Addr(), 0, 0, 0, 0) ++ size = uintptr(r0) ++ return ++} ++ + func GetLastError() (lasterr error) { + r0, _, _ := syscall.Syscall(procGetLastError.Addr(), 0, 0, 0, 0) + if r0 != 0 { +@@ -2056,6 +2222,12 @@ func GetLongPathName(path *uint16, buf *uint16, buflen uint32) (n uint32, err er + return + } + ++func GetMaximumProcessorCount(groupNumber uint16) (ret uint32) { ++ r0, _, _ := syscall.Syscall(procGetMaximumProcessorCount.Addr(), 1, uintptr(groupNumber), 0, 0) ++ ret = uint32(r0) ++ return ++} ++ + func GetModuleFileName(module Handle, filename *uint16, size uint32) (n uint32, err error) { + r0, _, e1 := syscall.Syscall(procGetModuleFileNameW.Addr(), 3, uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size)) + n = uint32(r0) +@@ -2456,6 +2628,22 @@ func MapViewOfFile(handle Handle, access uint32, offsetHigh uint32, offsetLow ui + return + } + ++func Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) { ++ r1, _, e1 := syscall.Syscall(procModule32FirstW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func Module32Next(snapshot Handle, moduleEntry *ModuleEntry32) (err error) { ++ r1, _, e1 := syscall.Syscall(procModule32NextW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func MoveFileEx(from *uint16, to *uint16, flags uint32) (err error) { + r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(flags)) + if r1 == 0 { +@@ -2618,7 +2806,7 @@ func ReadDirectoryChanges(handle Handle, buf *byte, buflen uint32, watchSubTree + return + } + +-func ReadFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) { ++func readFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) { + var _p0 *byte + if len(buf) > 0 { + _p0 = &buf[0] +@@ -2630,6 +2818,14 @@ func ReadFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) ( + return + } + ++func ReadProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size uintptr, numberOfBytesRead *uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall6(procReadProcessMemory.Addr(), 5, uintptr(process), uintptr(baseAddress), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(numberOfBytesRead)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func ReleaseMutex(mutex Handle) (err error) { + r1, _, e1 := syscall.Syscall(procReleaseMutex.Addr(), 1, uintptr(mutex), 0, 0) + if r1 == 0 { +@@ -2984,6 +3180,30 @@ func VirtualProtect(address uintptr, size uintptr, newprotect uint32, oldprotect + return + } + ++func VirtualProtectEx(process Handle, address uintptr, size uintptr, newProtect uint32, oldProtect *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procVirtualProtectEx.Addr(), 5, uintptr(process), uintptr(address), uintptr(size), uintptr(newProtect), uintptr(unsafe.Pointer(oldProtect)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall(procVirtualQuery.Addr(), 3, uintptr(address), uintptr(unsafe.Pointer(buffer)), uintptr(length)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func VirtualQueryEx(process Handle, address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall6(procVirtualQueryEx.Addr(), 4, uintptr(process), uintptr(address), uintptr(unsafe.Pointer(buffer)), uintptr(length), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func VirtualUnlock(addr uintptr, length uintptr) (err error) { + r1, _, e1 := syscall.Syscall(procVirtualUnlock.Addr(), 2, uintptr(addr), uintptr(length), 0) + if r1 == 0 { +@@ -2992,6 +3212,12 @@ func VirtualUnlock(addr uintptr, length uintptr) (err error) { + return + } + ++func WTSGetActiveConsoleSessionId() (sessionID uint32) { ++ r0, _, _ := syscall.Syscall(procWTSGetActiveConsoleSessionId.Addr(), 0, 0, 0, 0) ++ sessionID = uint32(r0) ++ return ++} ++ + func waitForMultipleObjects(count uint32, handles uintptr, waitAll bool, waitMilliseconds uint32) (event uint32, err error) { + var _p0 uint32 + if waitAll { +@@ -3022,7 +3248,7 @@ func WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, + return + } + +-func WriteFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) { ++func writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) { + var _p0 *byte + if len(buf) > 0 { + _p0 = &buf[0] +@@ -3034,6 +3260,14 @@ func WriteFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) + return + } + ++func WriteProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size uintptr, numberOfBytesWritten *uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall6(procWriteProcessMemory.Addr(), 5, uintptr(process), uintptr(baseAddress), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(numberOfBytesWritten)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func AcceptEx(ls Handle, as Handle, buf *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, recvd *uint32, overlapped *Overlapped) (err error) { + r1, _, e1 := syscall.Syscall9(procAcceptEx.Addr(), 8, uintptr(ls), uintptr(as), uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(overlapped)), 0) + if r1 == 0 { +@@ -3103,6 +3337,22 @@ func NtQueryInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe + return + } + ++func NtQuerySystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoLen uint32, retLen *uint32) (ntstatus error) { ++ r0, _, _ := syscall.Syscall6(procNtQuerySystemInformation.Addr(), 4, uintptr(sysInfoClass), uintptr(sysInfo), uintptr(sysInfoLen), uintptr(unsafe.Pointer(retLen)), 0, 0) ++ if r0 != 0 { ++ ntstatus = NTStatus(r0) ++ } ++ return ++} ++ ++func NtSetInformationFile(handle Handle, iosb *IO_STATUS_BLOCK, inBuffer *byte, inBufferLen uint32, class uint32) (ntstatus error) { ++ r0, _, _ := syscall.Syscall6(procNtSetInformationFile.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(iosb)), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferLen), uintptr(class), 0) ++ if r0 != 0 { ++ ntstatus = NTStatus(r0) ++ } ++ return ++} ++ + func NtSetInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.Pointer, procInfoLen uint32) (ntstatus error) { + r0, _, _ := syscall.Syscall6(procNtSetInformationProcess.Addr(), 4, uintptr(proc), uintptr(procInfoClass), uintptr(procInfo), uintptr(procInfoLen), 0, 0) + if r0 != 0 { +@@ -3111,6 +3361,20 @@ func NtSetInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.P + return + } + ++func NtSetSystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoLen uint32) (ntstatus error) { ++ r0, _, _ := syscall.Syscall(procNtSetSystemInformation.Addr(), 3, uintptr(sysInfoClass), uintptr(sysInfo), uintptr(sysInfoLen)) ++ if r0 != 0 { ++ ntstatus = NTStatus(r0) ++ } ++ return ++} ++ ++func RtlAddFunctionTable(functionTable *RUNTIME_FUNCTION, entryCount uint32, baseAddress uintptr) (ret bool) { ++ r0, _, _ := syscall.Syscall(procRtlAddFunctionTable.Addr(), 3, uintptr(unsafe.Pointer(functionTable)), uintptr(entryCount), uintptr(baseAddress)) ++ ret = r0 != 0 ++ return ++} ++ + func RtlDefaultNpAcl(acl **ACL) (ntstatus error) { + r0, _, _ := syscall.Syscall(procRtlDefaultNpAcl.Addr(), 1, uintptr(unsafe.Pointer(acl)), 0, 0) + if r0 != 0 { +@@ -3119,6 +3383,12 @@ func RtlDefaultNpAcl(acl **ACL) (ntstatus error) { + return + } + ++func RtlDeleteFunctionTable(functionTable *RUNTIME_FUNCTION) (ret bool) { ++ r0, _, _ := syscall.Syscall(procRtlDeleteFunctionTable.Addr(), 1, uintptr(unsafe.Pointer(functionTable)), 0, 0) ++ ret = r0 != 0 ++ return ++} ++ + func RtlDosPathNameToNtPathName(dosName *uint16, ntName *NTUnicodeString, ntFileNamePart *uint16, relativeName *RTL_RELATIVE_NAME) (ntstatus error) { + r0, _, _ := syscall.Syscall6(procRtlDosPathNameToNtPathName_U_WithStatus.Addr(), 4, uintptr(unsafe.Pointer(dosName)), uintptr(unsafe.Pointer(ntName)), uintptr(unsafe.Pointer(ntFileNamePart)), uintptr(unsafe.Pointer(relativeName)), 0, 0) + if r0 != 0 { +@@ -3218,6 +3488,22 @@ func stringFromGUID2(rguid *GUID, lpsz *uint16, cchMax int32) (chars int32) { + return + } + ++func EnumProcessModules(process Handle, module *Handle, cb uint32, cbNeeded *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procEnumProcessModules.Addr(), 4, uintptr(process), uintptr(unsafe.Pointer(module)), uintptr(cb), uintptr(unsafe.Pointer(cbNeeded)), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *uint32, filterFlag uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procEnumProcessModulesEx.Addr(), 5, uintptr(process), uintptr(unsafe.Pointer(module)), uintptr(cb), uintptr(unsafe.Pointer(cbNeeded)), uintptr(filterFlag), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func EnumProcesses(processIds []uint32, bytesReturned *uint32) (err error) { + var _p0 *uint32 + if len(processIds) > 0 { +@@ -3230,6 +3516,38 @@ func EnumProcesses(processIds []uint32, bytesReturned *uint32) (err error) { + return + } + ++func GetModuleBaseName(process Handle, module Handle, baseName *uint16, size uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procGetModuleBaseNameW.Addr(), 4, uintptr(process), uintptr(module), uintptr(unsafe.Pointer(baseName)), uintptr(size), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func GetModuleFileNameEx(process Handle, module Handle, filename *uint16, size uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procGetModuleFileNameExW.Addr(), 4, uintptr(process), uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procGetModuleInformation.Addr(), 4, uintptr(process), uintptr(module), uintptr(unsafe.Pointer(modinfo)), uintptr(cb), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func QueryWorkingSetEx(process Handle, pv uintptr, cb uint32) (err error) { ++ r1, _, e1 := syscall.Syscall(procQueryWorkingSetEx.Addr(), 3, uintptr(process), uintptr(pv), uintptr(cb)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func SubscribeServiceChangeNotifications(service Handle, eventType uint32, callback uintptr, callbackCtx uintptr, subscription *uintptr) (ret error) { + ret = procSubscribeServiceChangeNotifications.Find() + if ret != nil { +@@ -3267,6 +3585,233 @@ func TranslateName(accName *uint16, accNameFormat uint32, desiredNameFormat uint + return + } + ++func SetupDiBuildDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiBuildDriverInfoList.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiCallClassInstaller(installFunction DI_FUNCTION, deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiCallClassInstaller.Addr(), 3, uintptr(installFunction), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiCancelDriverInfoSearch(deviceInfoSet DevInfo) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiCancelDriverInfoSearch.Addr(), 1, uintptr(deviceInfoSet), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiClassGuidsFromNameEx(className *uint16, classGuidList *GUID, classGuidListSize uint32, requiredSize *uint32, machineName *uint16, reserved uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiClassGuidsFromNameExW.Addr(), 6, uintptr(unsafe.Pointer(className)), uintptr(unsafe.Pointer(classGuidList)), uintptr(classGuidListSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiClassNameFromGuidEx(classGUID *GUID, className *uint16, classNameSize uint32, requiredSize *uint32, machineName *uint16, reserved uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiClassNameFromGuidExW.Addr(), 6, uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(className)), uintptr(classNameSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiCreateDeviceInfoListEx(classGUID *GUID, hwndParent uintptr, machineName *uint16, reserved uintptr) (handle DevInfo, err error) { ++ r0, _, e1 := syscall.Syscall6(procSetupDiCreateDeviceInfoListExW.Addr(), 4, uintptr(unsafe.Pointer(classGUID)), uintptr(hwndParent), uintptr(unsafe.Pointer(machineName)), uintptr(reserved), 0, 0) ++ handle = DevInfo(r0) ++ if handle == DevInfo(InvalidHandle) { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiCreateDeviceInfo(deviceInfoSet DevInfo, DeviceName *uint16, classGUID *GUID, DeviceDescription *uint16, hwndParent uintptr, CreationFlags DICD, deviceInfoData *DevInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall9(procSetupDiCreateDeviceInfoW.Addr(), 7, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(DeviceName)), uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(DeviceDescription)), uintptr(hwndParent), uintptr(CreationFlags), uintptr(unsafe.Pointer(deviceInfoData)), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiDestroyDeviceInfoList(deviceInfoSet DevInfo) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiDestroyDeviceInfoList.Addr(), 1, uintptr(deviceInfoSet), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiDestroyDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiDestroyDriverInfoList.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiEnumDeviceInfo(deviceInfoSet DevInfo, memberIndex uint32, deviceInfoData *DevInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiEnumDeviceInfo.Addr(), 3, uintptr(deviceInfoSet), uintptr(memberIndex), uintptr(unsafe.Pointer(deviceInfoData))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiEnumDriverInfo(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT, memberIndex uint32, driverInfoData *DrvInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiEnumDriverInfoW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType), uintptr(memberIndex), uintptr(unsafe.Pointer(driverInfoData)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetClassDevsEx(classGUID *GUID, Enumerator *uint16, hwndParent uintptr, Flags DIGCF, deviceInfoSet DevInfo, machineName *uint16, reserved uintptr) (handle DevInfo, err error) { ++ r0, _, e1 := syscall.Syscall9(procSetupDiGetClassDevsExW.Addr(), 7, uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(Enumerator)), uintptr(hwndParent), uintptr(Flags), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(machineName)), uintptr(reserved), 0, 0) ++ handle = DevInfo(r0) ++ if handle == DevInfo(InvalidHandle) { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiGetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32, requiredSize *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiGetClassInstallParamsW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(classInstallParams)), uintptr(classInstallParamsSize), uintptr(unsafe.Pointer(requiredSize)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetDeviceInfoListDetail(deviceInfoSet DevInfo, deviceInfoSetDetailData *DevInfoListDetailData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiGetDeviceInfoListDetailW.Addr(), 2, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoSetDetailData)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiGetDeviceInstallParamsW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(deviceInstallParams))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetDeviceInstanceId(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, instanceId *uint16, instanceIdSize uint32, instanceIdRequiredSize *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiGetDeviceInstanceIdW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(instanceId)), uintptr(instanceIdSize), uintptr(unsafe.Pointer(instanceIdRequiredSize)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetDeviceProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, propertyKey *DEVPROPKEY, propertyType *DEVPROPTYPE, propertyBuffer *byte, propertyBufferSize uint32, requiredSize *uint32, flags uint32) (err error) { ++ r1, _, e1 := syscall.Syscall9(procSetupDiGetDevicePropertyW.Addr(), 8, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(propertyKey)), uintptr(unsafe.Pointer(propertyType)), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(flags), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyRegDataType *uint32, propertyBuffer *byte, propertyBufferSize uint32, requiredSize *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall9(procSetupDiGetDeviceRegistryPropertyW.Addr(), 7, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(property), uintptr(unsafe.Pointer(propertyRegDataType)), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), uintptr(unsafe.Pointer(requiredSize)), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetDriverInfoDetail(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData, driverInfoDetailData *DrvInfoDetailData, driverInfoDetailDataSize uint32, requiredSize *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiGetDriverInfoDetailW.Addr(), 6, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData)), uintptr(unsafe.Pointer(driverInfoDetailData)), uintptr(driverInfoDetailDataSize), uintptr(unsafe.Pointer(requiredSize))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiGetSelectedDevice.Addr(), 2, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiGetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiGetSelectedDriverW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiOpenDevRegKey(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, Scope DICS_FLAG, HwProfile uint32, KeyType DIREG, samDesired uint32) (key Handle, err error) { ++ r0, _, e1 := syscall.Syscall6(procSetupDiOpenDevRegKey.Addr(), 6, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(Scope), uintptr(HwProfile), uintptr(KeyType), uintptr(samDesired)) ++ key = Handle(r0) ++ if key == InvalidHandle { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiSetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiSetClassInstallParamsW.Addr(), 4, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(classInstallParams)), uintptr(classInstallParamsSize), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiSetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiSetDeviceInstallParamsW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(deviceInstallParams))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupDiSetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyBuffer *byte, propertyBufferSize uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procSetupDiSetDeviceRegistryPropertyW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(property), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiSetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiSetSelectedDevice.Addr(), 2, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func SetupDiSetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupDiSetSelectedDriverW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData))) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func setupUninstallOEMInf(infFileName *uint16, flags SUOI, reserved uintptr) (err error) { ++ r1, _, e1 := syscall.Syscall(procSetupUninstallOEMInfW.Addr(), 3, uintptr(unsafe.Pointer(infFileName)), uintptr(flags), uintptr(reserved)) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func CommandLineToArgv(cmd *uint16, argc *int32) (argv *[8192]*[8192]uint16, err error) { + r0, _, e1 := syscall.Syscall(procCommandLineToArgvW.Addr(), 2, uintptr(unsafe.Pointer(cmd)), uintptr(unsafe.Pointer(argc)), 0) + argv = (*[8192]*[8192]uint16)(unsafe.Pointer(r0)) +@@ -3292,6 +3837,19 @@ func ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *ui + return + } + ++func EnumChildWindows(hwnd HWND, enumFunc uintptr, param unsafe.Pointer) { ++ syscall.Syscall(procEnumChildWindows.Addr(), 3, uintptr(hwnd), uintptr(enumFunc), uintptr(param)) ++ return ++} ++ ++func EnumWindows(enumFunc uintptr, param unsafe.Pointer) (err error) { ++ r1, _, e1 := syscall.Syscall(procEnumWindows.Addr(), 2, uintptr(enumFunc), uintptr(param), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func ExitWindowsEx(flags uint32, reason uint32) (err error) { + r1, _, e1 := syscall.Syscall(procExitWindowsEx.Addr(), 2, uintptr(flags), uintptr(reason), 0) + if r1 == 0 { +@@ -3300,6 +3858,35 @@ func ExitWindowsEx(flags uint32, reason uint32) (err error) { + return + } + ++func GetClassName(hwnd HWND, className *uint16, maxCount int32) (copied int32, err error) { ++ r0, _, e1 := syscall.Syscall(procGetClassNameW.Addr(), 3, uintptr(hwnd), uintptr(unsafe.Pointer(className)), uintptr(maxCount)) ++ copied = int32(r0) ++ if copied == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func GetDesktopWindow() (hwnd HWND) { ++ r0, _, _ := syscall.Syscall(procGetDesktopWindow.Addr(), 0, 0, 0, 0) ++ hwnd = HWND(r0) ++ return ++} ++ ++func GetForegroundWindow() (hwnd HWND) { ++ r0, _, _ := syscall.Syscall(procGetForegroundWindow.Addr(), 0, 0, 0, 0) ++ hwnd = HWND(r0) ++ return ++} ++ ++func GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) { ++ r1, _, e1 := syscall.Syscall(procGetGUIThreadInfo.Addr(), 2, uintptr(thread), uintptr(unsafe.Pointer(info)), 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func GetShellWindow() (shellWindow HWND) { + r0, _, _ := syscall.Syscall(procGetShellWindow.Addr(), 0, 0, 0, 0) + shellWindow = HWND(r0) +@@ -3315,6 +3902,24 @@ func GetWindowThreadProcessId(hwnd HWND, pid *uint32) (tid uint32, err error) { + return + } + ++func IsWindow(hwnd HWND) (isWindow bool) { ++ r0, _, _ := syscall.Syscall(procIsWindow.Addr(), 1, uintptr(hwnd), 0, 0) ++ isWindow = r0 != 0 ++ return ++} ++ ++func IsWindowUnicode(hwnd HWND) (isUnicode bool) { ++ r0, _, _ := syscall.Syscall(procIsWindowUnicode.Addr(), 1, uintptr(hwnd), 0, 0) ++ isUnicode = r0 != 0 ++ return ++} ++ ++func IsWindowVisible(hwnd HWND) (isVisible bool) { ++ r0, _, _ := syscall.Syscall(procIsWindowVisible.Addr(), 1, uintptr(hwnd), 0, 0) ++ isVisible = r0 != 0 ++ return ++} ++ + func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret int32, err error) { + r0, _, e1 := syscall.Syscall6(procMessageBoxW.Addr(), 4, uintptr(hwnd), uintptr(unsafe.Pointer(text)), uintptr(unsafe.Pointer(caption)), uintptr(boxtype), 0, 0) + ret = int32(r0) +@@ -3352,6 +3957,58 @@ func GetUserProfileDirectory(t Token, dir *uint16, dirLen *uint32) (err error) { + return + } + ++func GetFileVersionInfoSize(filename string, zeroHandle *Handle) (bufSize uint32, err error) { ++ var _p0 *uint16 ++ _p0, err = syscall.UTF16PtrFromString(filename) ++ if err != nil { ++ return ++ } ++ return _GetFileVersionInfoSize(_p0, zeroHandle) ++} ++ ++func _GetFileVersionInfoSize(filename *uint16, zeroHandle *Handle) (bufSize uint32, err error) { ++ r0, _, e1 := syscall.Syscall(procGetFileVersionInfoSizeW.Addr(), 2, uintptr(unsafe.Pointer(filename)), uintptr(unsafe.Pointer(zeroHandle)), 0) ++ bufSize = uint32(r0) ++ if bufSize == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func GetFileVersionInfo(filename string, handle uint32, bufSize uint32, buffer unsafe.Pointer) (err error) { ++ var _p0 *uint16 ++ _p0, err = syscall.UTF16PtrFromString(filename) ++ if err != nil { ++ return ++ } ++ return _GetFileVersionInfo(_p0, handle, bufSize, buffer) ++} ++ ++func _GetFileVersionInfo(filename *uint16, handle uint32, bufSize uint32, buffer unsafe.Pointer) (err error) { ++ r1, _, e1 := syscall.Syscall6(procGetFileVersionInfoW.Addr(), 4, uintptr(unsafe.Pointer(filename)), uintptr(handle), uintptr(bufSize), uintptr(buffer), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ ++func VerQueryValue(block unsafe.Pointer, subBlock string, pointerToBufferPointer unsafe.Pointer, bufSize *uint32) (err error) { ++ var _p0 *uint16 ++ _p0, err = syscall.UTF16PtrFromString(subBlock) ++ if err != nil { ++ return ++ } ++ return _VerQueryValue(block, _p0, pointerToBufferPointer, bufSize) ++} ++ ++func _VerQueryValue(block unsafe.Pointer, subBlock *uint16, pointerToBufferPointer unsafe.Pointer, bufSize *uint32) (err error) { ++ r1, _, e1 := syscall.Syscall6(procVerQueryValueW.Addr(), 4, uintptr(block), uintptr(unsafe.Pointer(subBlock)), uintptr(pointerToBufferPointer), uintptr(unsafe.Pointer(bufSize)), 0, 0) ++ if r1 == 0 { ++ err = errnoErr(e1) ++ } ++ return ++} ++ + func WinVerifyTrustEx(hwnd HWND, actionId *GUID, data *WinTrustData) (ret error) { + r0, _, _ := syscall.Syscall(procWinVerifyTrustEx.Addr(), 3, uintptr(hwnd), uintptr(unsafe.Pointer(actionId)), uintptr(unsafe.Pointer(data))) + if r0 != 0 { +diff --git a/vendor/modules.txt b/vendor/modules.txt +index a3ac285..093fec7 100644 +--- a/vendor/modules.txt ++++ b/vendor/modules.txt +@@ -167,7 +167,7 @@ golang.org/x/net/html/charset + golang.org/x/net/internal/iana + golang.org/x/net/internal/socket + golang.org/x/net/ipv4 +-# golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e ++# golang.org/x/sys v0.3.0 + ## explicit; go 1.17 + golang.org/x/sys/internal/unsafeheader + golang.org/x/sys/unix +-- +2.33.0 + diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec index 6acb07e..05b02f5 100644 --- a/containernetworking-plugins.spec +++ b/containernetworking-plugins.spec @@ -16,7 +16,7 @@ Name: %{project}-%{repo} Version: 1.1.1 -Release: 2 +Release: 3 Summary: Libraries for use by writing CNI plugin License: ASL 2.0 URL: https://github.com/containernetworking/plugins @@ -40,6 +40,9 @@ BuildRequires: golang(github.com/vishvananda/netlink) BuildRequires: golang(golang.org/x/sys/unix) BuildRequires: golang(github.com/coreos/go-iptables/iptables) %endif +%ifarch loongarch64 +Patch001: 0001-update-sys-to-support-loongarch64.patch +%endif Obsoletes: %{project}-cni < 0.7.1-2 Provides: %{project}-cni = %{version}-%{release} @@ -313,6 +316,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %changelog +* Sat Feb 18 2023 Wenlong Zhang - 1.1.1-3 +- update sys to support loongarch64 + * Thu Feb 09 2023 yaoxin - 1.1.1-2 - Add PIE,BIND_NOW,RELRO,STRIP secure compilation options -- Gitee